Opened 18 years ago
Closed 14 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 Changed 18 years ago by
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
Changed 18 years ago by
Attachment: | patch3126_2.2.gz added |
---|
Second patch (control jobqueue now) - Bug fixed
Changed 18 years ago by
Attachment: | patch3126_2.3.gz added |
---|
Second patch (control jobqueue now) - Another bug fixed
comment:2 Changed 18 years ago by
Cc: | cpinkham@… removed |
---|---|
Owner: | changed from Isaac Richards to cpinkham |
comment:3 Changed 18 years ago by
Type: | patch → enhancement |
---|---|
Version: | 0.20 → head |
comment:4 Changed 17 years ago by
Cc: | Rob Smith added |
---|
comment:5 Changed 16 years ago by
Status: | new → assigned |
---|
comment:6 Changed 16 years ago by
Component: | mythtv → MythTV - General |
---|
Patch against svn tree using "svn diff"