|
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 |
#281
|
|||
|
|||
The server logs should tell you why it's only running 1 job at a time (typically it'll be because of lack of resources available or :MAX tasks already running). What do the server logs say?
__________________
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... |
#282
|
||||
|
||||
OK, I've figured it out and the problem is more in the way I'm calling SAV1. It is calling them with the ShowAnalyzer.exe program. This adds them to the queue and SAV1 takes over the management and tells SJQ that it's done its job. Now I have every recording set in SAV1's queue while it works through them seeing which ones already have edl files and skipping those. I had forgotten about how SAV1 works when it is called via Showanalyzer.exe.
|
#283
|
|||
|
|||
Quote:
Quote:
This is a big enough problem to warrant a 3.0.1 release before my Christmas hiatus. I'm testing the fix now and will make the release hopefully sometime today.
__________________
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... |
#284
|
|||
|
|||
Quote:
__________________
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... |
#285
|
|||
|
|||
Hi team,
I" having a problem with a rule and I would like to know if there is a way to actually print the content of getAiringChannelNumber and getAiringChannelName? I"m under the impression those fields are not populated for some shows and want to make sure of this. Right now, I"m trying to just create a rule for station that have adds but... it is returning the whole list of recordings back as apparently the channel number are always out of the range I"ve specified (also tried by name) while in the reality, most of the recordings come from the same few stations so... I should be able to reach them easily. So, I just want to know how to print the value of the methods (like getAiring...) in the log or anywhere else. I just went back in SageTV remembering that I should be able to see the channel name in there. I have recordings that shows a "-". Anybody has an idea why the channel has been replaced/erased? I"m using BMT which is the only one I think could have change metadata but I would have expected channel recorded from to be a fixed field (at least, I can"t change it manually in BMT as far as I know). Thank you. ehfortin |
#286
|
|||
|
|||
bmt might overwrite that bit of data... what happens on shows that are recorded but have not have their metadata updated by bmt?
getAiringChannelNumber and Name should exist for all channels... definitely the number not 100% positive on the Name. If you go to your epg that will show you what the ChannelNumber and ChannelName are.
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#287
|
|||
|
|||
I see the same thing for some of my recordings. The channel info is lost on any recordings that I've manually updated the fanart for via BMT web UI. I believe because doing it through the web UI overwrites the metadata as well as downloads the fanart so when the metadata is overwritten then the channel info is lost. I mostly do this for movies I've recorded because the automatic call I do via a command line in SJQ never seems to work for movies recorded from tv.
__________________
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... |
#288
|
|||
|
|||
I just did a quick check. I know I have not used BMT to update metadata for a few days. I have a few shows that still have the channelnumber (those that have no fanart/background so, basically, that have not been found in an external DB) and I have one show that have been recorded two times (once per day) where the title and description is all there but where the channelnumber is now a "-".
I have the automatic metadata activated but the option for overwrite fanart and overwrite metadata are unchecked. Should not change the channelnumber based on this as it is already existing metadata coming from SageTV, right? I"ll deactivate the automatic plugin to see if the same thing happens again for that specific show at the next recording. Outside of this, any idea? Can I find back the information somewhere else or recreate it? Thanks. ehfortin |
#289
|
|||
|
|||
You might be able to recreate it by importing the info back in via the web server plugin. Alternatively, if you happen to know the airing id for the show you could relink it via Studio calls, if Sage hasn't already purged the airing info (if airing info isn't linked to an available media file and the show is not marked as watched or don't like then Sage will purge the airing info on a future EPG update).
__________________
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... |
#290
|
||||
|
||||
Quote:
I just came to the forum to learn this very thing after following the User's Guide to setup SJQ and comskip. Very nice work, much improved since the last time I played with it a year or so ago. dave |
#291
|
|||
|
|||
Quote:
__________________
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... |
#292
|
|||
|
|||
Is there a way to configure the amount of time the client tasks are started from the queue? I'm able to create the task, but it may take up to 5 minutes before the task process is started. I' trying to respond to a system message that an encoder failed and want to run a batch script as soon as possible.
Thanks, Gregg |
#293
|
||||
|
||||
Restore
Can anyone tell me if a restore of the client or sever configs is possible? I had my configs setup perfectly and re-formatted the drive. I do have a full backup copy of the drive though.
|
#294
|
|||
|
|||
Quote:
__________________
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... |
#295
|
|||
|
|||
Restore the sjq.sqlite file - that's the file with all the settings, rulesets, client configs etc. Make sure to stop SageTV before replacing that 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... |
#296
|
||||
|
||||
_transcode que
Thanks for the answer. One more question for you, I have a SJQ command to find all files older than 30 days and transcode them ( adds them to the native sage que fine), the issue is that all files it finds get dumped into Sages que, which is a ton. Can the command be changed to allow it to find the first file and only process that file until the SJQ process que runs again ( which will find the next, and so on and so on) this would avoid having to transcode 50 shows all at once as it would eventually stop processing when the time on the original command is past its run time ( I have it set to run between 2am and 8am ). Or this there something I can put in the command to wait until it gets an "all clear" from sage letting it know that the file is done and then send the next file to it
|
#297
|
|||
|
|||
Quote:
Code:
# Only load one transcode job into the queue at a time... if [IsObjMediaFile == true && $.GetShowTitle{} == "Whatever" && TranscodeQueueSize < 1] { _TRANSCODE }
__________________
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... |
#298
|
||||
|
||||
Quote:
|
#299
|
||||
|
||||
Quote:
# Convert files older than 2 days if [IsObjMediaFile == true && $.IsTVFile{} == true && MediaAge >= "10D" && Filename =$ ".mpg" && TranscodeQueueSize < 1 && DayOfWeek == 1 && TimeOfDay >= "2:00" && TimeOfDay < "9:00"] { # Only transcode on Sundays between 2am and 9am :TRANSCODEOPTS "MPEG4-Good Quality AVI" "false" _TRANSCODE } This still seems to find all files older than 10 days and dump them into the internal Que for transcoding, I was hoping to dump one file at a time to the internal Que, this would allow it to follow the time constraints I have, otherwise it just dumps all fifty files into the Que, which may run for 24 hours ( well outside the time constraints setup). Is there any way to have it submit one file at a time to the Que? My idea behind this is to transcode any file over the age limit, but only in the time constraints setup, even if it means that it has to que items up and run them several nights in a row or every night to get it completed |
#300
|
|||
|
|||
Open an issue ticket asking for the TranscodeQueueSize test to account for the number of pending jobs queued up in SJQ. I won't be coding again until mid January, but could add this feature when I get back into it.
Basically the test could be changed to look at the Sage queue (as it currently does), but then also add any jobs pending in the SJQ queue so basically it'd only queue up one at a time as you want. You'll need to add this ticket or else I'll likely forget about this come mid January.
__________________
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 |
Sage Job Queue (SJQ) new release notifications | Slugger | Customization Announcements | 3 | 12-17-2009 09:59 AM |
Plugin: Sage Job Queue (SJQ) | Slugger | SageTV Customizations | 991 | 12-11-2009 03:52 PM |
Sage Job Queue Completed tasks problem | raffmanlt | SageTV Customizations | 2 | 08-18-2009 07:34 PM |
Comskip Monitor VS Sage Job Queue SJQ | personalt | SageTV Customizations | 6 | 03-02-2009 10:27 AM |
Plugin: SJQ v1.1.0RC1 Available - Testers Needed | Slugger | SageTV Customizations | 35 | 04-21-2008 08:12 AM |