|
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 |
#21
|
|||
|
|||
Quote:
Alternatively, you could compile a custom version of the web server plugin. The constant that needs to be increased is in the Serve.java file. The const name is MAX_FORM_LENGTH. I'd increase it to 100,000. If this isn't an option for you, then hopefully the next release of the web server plugin will include a fix for this. |
#22
|
|||
|
|||
Slugger,
Thanks for looking into to this.... Fortunately it does not corrupt the Rules file. It will just not save anything to it. As Far as compiling a webserver appl.. I am not really a programmer so that is not an option. I have to edit the rules file manually once it reaches the max .
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#23
|
|||
|
|||
Hi Slugger,
I am trying to do the same thing that nyplayer is doing. I need to run VideoReDo qfix on my mpg files. I am trying to do it with the web UI. Here is some feedback for you: 1) how do I enter something like ! FileExist "%d\%b\.qfix" ? The options I get are if fileExists / does not equal / %d\%b\.qfix This doesn't seem to imply the same thing as file doesn't exist. I am hoping that it means that but I can't succesfully enter a rule so I can't try it out. 2) I wanted to look at the Log. I clicked on one of the + signs to expand the log and it locked up the browser for a few minutes loading in a ton of log entries - one for each photo in my photo gallery. I suspect there was also one for each music file and one for each recording. This kills the browser. 3) I can't enter a rule with the ruleset editor because I have zero idea what the "of type ___________" field is. this doesn't seem to correspond to anything in your example rule you provided nyplayer earlier in the thread. There also seems to be no reference to it in the documentation. And once I hit Save, it tells me this field needs to be filled in I think it should work great once I get it going but i am stuck right now. Oh, the other thing is ... is there an example of calling comskip? I am not a comskip expert and I have been using the built in SageMC comskip mechanism, but I really need to run videoReDo on all my mpg files first so now I have to switch to having SJQ call comskip. Any pointer would be appreciated. I just don't know what to put in the command line. Did your installer install comskip? Or are you expecting that it is already installed and we should know how to invoke it and therefore we should know what to put in the command line field? Thanks Greg |
#24
|
|||||
|
|||||
Quote:
Quote:
Quote:
Quote:
Quote:
|
#25
|
|||
|
|||
Your Rule file should look like this. i added the working file because I run my jobs on a Client and the server.
###__QFIX $ Filename: .mpg = IsTV: true != FileExists: %d%\%b%.QFixed != FileExists: %d%\%b%.working = IsActivelyRecording: false = IsScheduledRecording: true RUNQFIX "C:\QFIXSAGE\qfixsage.bat" "%f%" ###__Comskip $ Filename: .mpg = IsTV: true != FileExists: %d%\%b%.working != FileExists: %d%\%b%.edl = FileExists: %d%\%b%.QFixed RunComskip "c:\comskip\comskip.bat" "%f%" Then my comskip batch file looks like this. IF EXIST "%~d1%~p1%~n1.working" goto end echo "Commercial Skip">>"%~d1%~p1%~n1.working" cd "C:\comskip" c: start /w /low cimpskip.exe "%~f1" del "%~d1%~p1%~n1.working" :end exit Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 05-10-2008 at 09:13 PM. |
#26
|
|||
|
|||
Quote:
|
#27
|
|||
|
|||
Thanks guys.
Slugger - sorry to hear you are laid up in bed instead of on vacation. One suggestion: "of type" could be relabeled to "Action Unique ID". That makes sense and matches the docs. nyplayer - thanks for the help. I am using your qfixsage.bat file (well modified because it was missing some quotes and it didn't clean up some files in error conditions. I will modify my rule and then tape another show. BTW, because canceling a recording deletes it immediately, how do you guys test this stuff? Thanks again for your help. Greg |
#28
|
|||
|
|||
Sage will not delete partial files if you set this property. I believe the default is set to true. Also if you plan on cutting commercials make sure the property is set to false as below.
seeker/clear_partials_and_unwanted_when_ir_off=false. You can set this property using the UI its under Detailed Setup... Customize...Delete LiveTV files when not using IR.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#29
|
|||
|
|||
Is there any harm in having the comskip bat file delete the .QFixed file? If I understand SJQ properly, then the fact that this mpg file was QFixed is stored in the database and does not need to be tracked with the .QFixed file anymore.
In fact, do we even need the .QFixed or the .working file at all? I guess we need it in case Sage crashes and restarts. And I think from the comskip run, all I really need to keep around is the .edl file, right. Today it leaves around a .txt, .logo.txt, .edl and .log. This really makes finding recordings in explorer hard. your thoughts? Last edited by gveres; 05-10-2008 at 10:03 PM. |
#30
|
|||
|
|||
Quote:
I use the QFIX and Working files because I run th SJQ both in the server and a client. I run it on the Server When nothing is recording and on the Client when nothing is being watched. If you are running it in only 1 Place You do not need it.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#31
|
|||
|
|||
Great. Thanks.
I will keep them there for now, and once I get it working I will remove them. right now it just doesn't seem to be scheduling anything. I am waiting the 10 minutes for the browser to load the log file so that I can see what is going on. Hmmm, I guess the log file is on disk somewhere, I'll just go look for it. Greg |
#32
|
|||
|
|||
Quote:
But then again, maybe you don't care about what it looks like in explorer. Greg |
#33
|
|||
|
|||
Quote:
|
#34
|
|||
|
|||
Thanks, my library is probably 400+ recordings and 15,000 photos.
I thought purging the log would help but it does not. I am guessing because when I wake up the service and ask it to run now, it processes each recording again trying to find the one that needs to be processed and each time it does, it adds an entry to the log. So I am destined to always have a huge log file. The strange thing that I found is that I woke it up, it processed the library for a minute or so looking for the recording to work on. Then it said that it was running Qfix.bat but nothing happened. I was watching to see if the tray icon of VideoReDo would show up. It did not. Then after a while, SJQ said it was going back to sleep. I guess I need to get a look at the log to see what might have happened. I know the bat file works because I have it working with DirMon2. Greg |
#35
|
|||
|
|||
I figured out the problem: I used %F% instead of %f%.
It still isn't working but I am making progress. I think it has to do with working directory, I don't know what the working directory is. Last edited by gveres; 05-10-2008 at 10:59 PM. |
#36
|
|||
|
|||
Quote:
I'm working on fixing the log display to use plain text instead of the tree view. I'm just about done, but a recording started so I can't test anything further until the recordings stop. By dinner I will hopefully have a v1.3.0 build that will allow you to at least view the logs without locking up the browser. |
#37
|
|||
|
|||
SJQ v1.3.0 is now available.
Code:
v1.2.0 -> v1.3.0 ================ * 1947915: New test: TimeUntilNextRecording * 1961517: Catch all exceptions; prevent plugin from terminating early * 1961766: Display logs in plain text; dump YUI tree widget |
#38
|
|||
|
|||
This version makes it easier to get the monster list of jobs (I was trying to get it to run more frequently while debugging and had it run every 2 minutes), but I have not successfully pulled up the details of a single run with this new version. It hangs and pegs the cpu. Remember, I have 15000 photos in my library and another 400 or so recordings.
You might want to consider having a flag that controls whether the user wants you to process music and photos. I am sure it would save some cpu time if you didn't have to look at my photos, and I don't want them touched anyway. This would then cut the log files down significantly. BTW, it wasn't processing and then I restarted Sage this morning and it started processsing all the files from yesterday. |
#39
|
|||
|
|||
Quote:
|
#40
|
|||
|
|||
Slugger,
I just tried your latest build '1.3.0a' what a difference. The Scan was quicker and I can browse the logs in no time. Great job!!!!!
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: Sage Job Queue (SJQ) v3 | Slugger | SageTV Customizations | 1355 | 07-25-2013 07:44 AM |
Sage Job Queue (SJQ) new release notifications | Slugger | Customization Announcements | 3 | 12-17-2009 09:59 AM |
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 |