Opened 19 years ago
Closed 15 years ago
#3126 closed enhancement (Won't Fix)
[PATCH] Enable JOBQUEUE remote control using mythprotocol
| Reported by: | Owned by: | cpinkham | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - General | Version: | head |
| Severity: | medium | Keywords: | mythtranscode remote transcode frontend |
| Cc: | Rob Smith | Ticket locked: | no |
Description
With this patch, I added an entry at MythProtocol so remote frontends can request, for the backend, the transcode of files.
Sintax of msg:
START_TRANSCODE_DISK FILE TRANSCODE_PROFILE e.g.: START_TRANSCODE_DISK 1000_20061207123000.nuv High Quality
STOP_TRANSCODE_DISK FILE e.g.: STOP_TRANSCODE_DISK 1000_20061207123000.nuv
The backend will answer with an "OK" if the job was correctly inserted in the queue or "ERROR" if something went wrong (e.g.: there is no such transcode profile).
Attachments (4)
Change History (11)
comment:1 by , 19 years ago
| Summary: | [PATCH] Enable remote front end start/stop transcoding of file in the backend → [PATCH] Enable JOBQUEUE remote control using mythprotocol |
|---|
Using Captain Murdoch and xris's suggestions changed somethings:
Now we can handle any kind of JOBQUEUE operation, instead of just handling transcode as before.
Sintax:
JOBQUEUE ADD <TYPE> <CHANID> <STARTTIME> <OPTIONS>
You can use ADD, STOP, RESTART, RESUME, PAUSE as what I call "actions".
There is the need to code this actions for another type of jobs, but the "cases" are all in the code. TRANSCODE is already working 100%.
Sintax for transcoding:
JOBQUEUE ADD JOB_TRANSCODE <CHANID> <STARTTIME> JOB_USE_CUTLIST JOB_OUTPUT <outfile> <PROFILE>
eg: JOBQUEUE ADD JOB_TRANSCODE 1000 2006-12-07T12:30:00 JOB_USE_CUTLIST JOB_OUTPUT /tmp/test.nuv High Quality
by , 19 years ago
| Attachment: | patch3126_2.2.gz added |
|---|
Second patch (control jobqueue now) - Bug fixed
by , 19 years ago
| Attachment: | patch3126_2.3.gz added |
|---|
Second patch (control jobqueue now) - Another bug fixed
comment:2 by , 19 years ago
| Cc: | removed |
|---|---|
| Owner: | changed from to |
comment:3 by , 19 years ago
| Type: | patch → enhancement |
|---|---|
| Version: | 0.20 → head |
comment:4 by , 17 years ago
| Cc: | added |
|---|
comment:5 by , 17 years ago
| Status: | new → assigned |
|---|
comment:6 by , 16 years ago
| Component: | mythtv → MythTV - General |
|---|

Patch against svn tree using "svn diff"