|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
MediaShrink + SJQ v4
Can someone help me get MediaShrink set up with SJQ v4?
What I want to do is have MediaShrink automatically compress all recordings during the hours of 1am to 7am. I'm to the point where I set up the task and the trigger. MediaShrink is installed, and SJQ is licensed. Using the SJQ UI, I selected my client and added a task. Here are the settings I used: Task ID: COMPRESS Executable: C:\Program Files\SageTV\SageTV\MediaShrink\MediaShrink.exe Executable Arguments: "%c%" /inPlace /batch /vprofile HQ /vbitrate 2500 Test Script: Test Script Arguments: Maximum Instances: 1 Maximum Return Code: 0 Minimum Return Code: 0 Maximum Time: 86400 Resources: 100 Schedule * 1,2,3,4,5,6 * * * Maximum Time Ratio: 1.0 I guessed that %c% is used to represent the media file as before. But it seems wrong. See below. Next, I set up Events for Tasks, with RecordingStopped and "COMPRESS" selected. At the end of the show I see a task created in the queue. Then a bit later I see that the task failed. When I look at the log I see literally %c% in the log. When I run the command in the command prompt it seems to work okay. How do I pass the show.mpg to MediaShrink.exe? |
#2
|
|||
|
|||
Instead of %c% use "$SJQ4_LAST_SEGMENT"
Details on all the predefined variables in SJQv4 are discussed in this doc: http://code.google.com/p/sagetv-addo...i/Sjq4Metadata
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#3
|
|||
|
|||
Okay, I figured out that I need to use "$SJQ4_PATH\SJQ4_LAST_SEGMENT" for the path and filename. At least the job isn't failing immediately.
How do I make this automatic for all recordings? When I manually record a show I get a popup for the events and tasks. It seems like I also need to configure each of my many favorites. |
#4
|
|||
|
|||
If you want it for EVERY recording, go to Setup > SJQ > Assign Tasks to Events and select it from there. Attaching tasks to RecordingStarted there will queue it up for every recording (fav, manual, IR, live tv). If you only want it to run on certain favs then, yes, you will have to go through each fav and assign as desired.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#5
|
|||
|
|||
Is there a way to avoid the task popup for manual recordings? They should automatically get scheduled for conversion based on the global recording completion event handler.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Utility: MediaShrink v3.0 - An HTPC focused encoder | evilpenguin | SageTV Customizations | 228 | 10-05-2016 07:05 PM |
Sage Job Queue (SJQ) - What Do YOU Use It For? | SDeGonge | SageTV Customizations | 7 | 05-12-2010 03:16 AM |
(Old) MediaShrink - An HTPC focused encoder | evilpenguin | SageTV Customizations | 603 | 04-26-2010 08:05 PM |
SRE and SJQ? | SageGk | SageMC Custom Interface | 2 | 01-15-2009 05:14 PM |