|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#421
|
||||
|
||||
I just upgraded from SJQ version 3 to version 4. I installed both 'Sage Job Queue version 4.0.0.1380' and 'Sage Job Queue Agent (Task Client) version 4.0.0.1379' plug-ins. I then entered my e-mail address in the plug-in and it gave me a 'licensed' status.
A SJQ4 Client service was not created. I don't see SJQ on the SageTV 'setup' menu. How do I get SJQ4 installed? Dave |
#422
|
|||
|
|||
Install the SJQ UI plugin as well (under UI mods).
__________________
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... |
#423
|
||||
|
||||
I installed the SJQ UI plug-in, and still don't see SJQ under the SageTV 'setup' menu. However, when I browse to a recording, then I see 'Assign SJQ Tasks' as an option. I drill down into that menu, and I see 'My Tasks'. I can check or uncheck 'My Tasks', but can't see anything in 'My Tasks'.
Dave Last edited by davephan; 02-13-2011 at 07:40 AM. |
#424
|
|||
|
|||
Let's make sure the SJQ engine and agent are running...
Is the SageTV\plugins\sjq\ dir on your server? Is there a file in there named sjq.log? Is it being written to? If so, we know the engine is installed and running. Same thing for SageTV\plugins\sjq-agent\logs\. Is there a file in there named sjqagent.log? Is it being written to? If so, we know the agent is installed and running. If the agent and engine are running properly then it seems to be just an issue with the UI plugin and I have to defer those issues to tmiranda. Best bet is to open a ticket and he'll address it as soon as he can. If the agent nor engine are running properly then that's my department and I'll be happy to help you track down those problems.
__________________
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... |
#425
|
||||
|
||||
Quote:
Dave |
#426
|
|||
|
|||
Can someone tell me what SQJv4 (or SQJ) does?
|
#427
|
|||
|
|||
The task client is a Sage plugin as you've installed it, not a Windows service (though there is also a Windows service task client available for SJQv4). The plugin task client runs inside of the Sage JVM and not as a Windows service so it will not show up in your Windows services list. That Windows Service you see now is the old v3 task client and is of no use to you. You can uninstall it (using the bat file available in the v3 task client installation dir).
The logs mean the engine and task client are running properly, which is good. Were you editing the sjqagent.properties file? Did you create a task? The errors you show in the logs just mean the script it was told to run for that configured task can't be found as specified so it failed the precheck. That's normal (in that it can't find the script so it bailed, as expected). To remove those errors, just remove that task def'n from the sjqagent.properties file in sjq-agent\conf\ Basically, SJQ engine and task client are up and running, there just seems to be an issue with the UI. Did you restart the UI after installing the UI plugin? You have to do that before the SJQ entries will appear on the menus. If so, open a ticket unless tmiranda sees these posts and replies.
__________________
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... |
#428
|
|||
|
|||
It's a multi-threaded, distributed task queue and scripting environment for SageTV. Use it to automate tasks (comskip, file moves, transcoding, etc.).
Online User Guide (with more details).
__________________
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... |
#429
|
|||
|
|||
@davephan I just looked at your server logs and it seems you still have SJQv3 installed and running alongside SJQv4. This is not good. I'm assuming you never installed SJQv3 as a Sage 7 plugin, but just carried it over from your Sage 6 to 7 upgrade? If so, you need to manually remove SJQv3 by deleting the sjq.context.xml file from SageTV\jetty\contexts\ (you can also remove the sjq.war file from SageTV\jetty\webapps\ AFTER removing the xml file).
__________________
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... |
#430
|
||||
|
||||
@davephan - I suspect another Plugin has added an item to the Setup menu which causes the SJQ4 menu item to get hidden off the bottom of the screen. Cursor down one item past the last item, then cursor right, and the menus should appear.
Installing the "Scrolling Setup" UI Mod Plugin will make the Setup menu scrollable. Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#431
|
||||
|
||||
Quote:
Quote:
Thanks for the help! Dave |
#432
|
|||
|
|||
It would replace the v3 files if you removed the Sage v6 version of SJQ and replaced it with the version from the plugin manager when you upgraded from Sage v6 to v7. If you didn't then the SJQv4 plugin would not be aware that a Sage v6 plugin was installed. But as long as you removed the old version then you're fine.
__________________
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... |
#433
|
||||
|
||||
So, I've read every post in this thread trying to find my answer to my question (and I think my head is going to explode by the way )...
I also am seeking to implement the aforementioned "seek and destroy" method of firing comskips with SJQv4 to account not only for scheduled recordings, but also for when someone decides to throw in a manual record here and there, and also ignore comskipping of movie channels (ie The Movie Network). I see a few mentions in here of people wanting to do the same thing. The scripting in this version is way over my head... I guess my questions are: a) Is the capability to do that "seek and destroy but ignoring ones from these channels" currently possible using the current version of SJQv4? b) If someone has already implemented this, could they share a sample of their scripts? If I could get my hands on a working sample I'd be able to work my way through it to set it up for my needs... Tnx! -S
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, 36TB Synology 1019+ for DVD/Bluray Rips, Music, Home Movies, etc., SageTV Server 64 Bit Ver 9.2.6.976, HDPVR x 2, Bell TV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver Clients: PC Client x 2, HD-300 x 2 (1 Using Netgear MoCA Coax Bridges), SageTV Miniclient on NVidia Shield x 3 |
#434
|
|||
|
|||
Quote:
1) I moved SJQ to the Groovy platform to get out of the script maintenance business. It's my hope that other users will contribute to the available scripts. 2) I got out of the scripting business because I wanted to narrow the scope of my involvement to that of providing the environment. I provide the task queue, the multi-threaded and distributed task execution environment and I leave the details of what tasks you do to each user/the community. With that said, I don't mind whipping up some of these common/popular use case examples, but be forewarned: 1) If I don't plan on using it, the Groovy script(s) I produce for these scenarios will be lightly tested. Depending on what it does, you'll want to be careful. 2) I won't rush to do these example scripts. Again, if I'm not using it then creating/fixing/maintaining them won't be a priority. 3) I'm not picking on you specifically here, but it's my hope that users, where possible, start to explore Groovy on their own (kind of the "feed a man a fish vs. teach him to fish" idea). I think with the use of Groovy, I'm starting to build a rather powerful scripting platform for SageTV here and I really hope others beside myself start to explore and harness its power and share their solutions with the community. Quote:
Do you want to periodically inspect every media file on your system and determine if it needs to be comskipped or do you want to handle the RecordingStarted event for any recording and then determine if that recording needs to be comskipped? You decide and I'll whip up an example for your choice, leaving the other as an exercise for the reader.
__________________
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... |
#435
|
||||
|
||||
It is very powerful, but not for the faint-hearted. Advanced scripting skills are highly recommended for usage.
Also, it is somewhat limited without a paid license.
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming |
#436
|
|||
|
|||
Media File Scan & Queue Example Available...
@SteveW I didn't hear back from you so I went ahead and whipped up the periodic scan and queue example (as opposed to the event based handler). This script simulates the old SJQv3 way of doing things. Basically, configure this script to run via the SJQv4 crontab once every 10 mins, an hour, etc. and it will scan and process each media file, queuing up tasks for matching files. Read the script carefully and configure it to your needs before letting it loose on your media collection!
The script is available here. The event based scan and queue script is, therefore, left as an exercise for the reader. Happy scripting!
__________________
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... |
#437
|
||||
|
||||
The SJQ4 GUI interface does not clearly display the video recording names in the queue, completed, or failed like the old SJQ3 did. Is there any way to display that information?
SJQ4 is working, but when it is running, my impression that it is running blind, processing the files with comskip. There isn't a nice GUI to track which files are being processed, which files are in the queue, and which files failed. SJQ4 has advantages over SJQ3 for many things, but the lack of a good GUI to monitor the status seems like a step backwards, unless there is a way to do it and I am missing something. Dave |
#438
|
||||
|
||||
Quote:
Thanks for that! I'll give it a spin. As long as there is a framework there, I should be able to tweak it up. -S
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, 36TB Synology 1019+ for DVD/Bluray Rips, Music, Home Movies, etc., SageTV Server 64 Bit Ver 9.2.6.976, HDPVR x 2, Bell TV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver Clients: PC Client x 2, HD-300 x 2 (1 Using Netgear MoCA Coax Bridges), SageTV Miniclient on NVidia Shield x 3 |
#439
|
||||
|
||||
Quote:
Open a ticket and I'll look into providing more information about what is happening. I generally agree that I need to show more status and some of that is in the works. (Slugger - Have you looked at the update I sent to you?) Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#440
|
|||
|
|||
That email got lost in the clutter that is my inbox. Anyway, just installed it this morning and tested it out. Looks good except for one issue on your end and the UI update also discovered a bug in the task client on my end, which is now fixed in the repository. See your inbox for more details.
__________________
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... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) | cslatt | SageTV Customizations | 48 | 06-11-2012 10:44 AM |
SJQv4: Technology Preview | Slugger | SageTV v7 Customizations | 39 | 12-17-2010 01:17 PM |
SageTV Plugin Developers: Any way to see stats for your plugin? | mkanet | SageTV Software | 4 | 12-12-2010 10:33 PM |
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin | deria | SageTV Customizations | 447 | 12-11-2010 07:38 PM |
SJQv4: Design Discussion | Slugger | SageTV v7 Customizations | 26 | 10-18-2010 08:22 AM |