|
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 |
#401
|
|||
|
|||
Jetty is unable to create a file in the root installation directory of SageTV. If you're on Vista or Win7 then I think this probably has something to do with UAC? Either way, see if the user that Sage runs as can create files in the root install dir of Sage and if it can't then fix it.
On a side note, SJQ should die and refuse to start if it can't create the server log file - that's a bug I should probably fix.
__________________
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... |
#402
|
||||
|
||||
Slugger... it's WHS... and I'm running Sage w/ the Admin account. Still no dice. What am I missing, this is driving me nuts...
If I haven't said this before, thanks again for all your hard work. This is an amazing product like all of what you do.
__________________
Server: AMD Phenom II X6 1090T 3.2GHz, ASRock 890FX Deluxe4 890FX, PNY Optima 8GB DDR3 1333 Media Storage: Rosewill RSV-S4-X 4 Bay Enclosure w/ 4 x 3TB via unRAID Capture: HDHomerun Prime, HDHomerun x 2 Software: Sage Server 7.1.9 on Windows 7 (Virtualized in ESXi) Clients: i3-2105, ASRock Z68 Pro3-M, 4GB DDR3 1600, 64GB SATA III (OS), 2TB WD Green (Recording), PNY GT 430 // 2 x HD-300 Last edited by ChaOConnor; 01-28-2010 at 06:57 PM. |
#403
|
||||
|
||||
WHS & SJQ
Any ideas what could be wrong w/ my setup and not being able to see the logs? I've checked permissions (I believe I have...), changed the entire directory to NOT read-on... but still no logs. I made a fake sjq.log file and the error went away, but the file was blank. Ran media debugger, said the contents were posted to the log, but again, blank. I opened up sjq.log file and put some dummy text in there, and I can see it via the SJQ Log screen, but nothing from SJQ is actually posting there. I'm really at a loss.
__________________
Server: AMD Phenom II X6 1090T 3.2GHz, ASRock 890FX Deluxe4 890FX, PNY Optima 8GB DDR3 1333 Media Storage: Rosewill RSV-S4-X 4 Bay Enclosure w/ 4 x 3TB via unRAID Capture: HDHomerun Prime, HDHomerun x 2 Software: Sage Server 7.1.9 on Windows 7 (Virtualized in ESXi) Clients: i3-2105, ASRock Z68 Pro3-M, 4GB DDR3 1600, 64GB SATA III (OS), 2TB WD Green (Recording), PNY GT 430 // 2 x HD-300 |
#404
|
|||
|
|||
Restart SJQ. If the file can't be created at SJQ startup then the logger will never try to write to it.
__________________
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... |
#405
|
||||
|
||||
Restart SJQ by stopping and starting SageTV Service? I've done that. Darn it.
__________________
Server: AMD Phenom II X6 1090T 3.2GHz, ASRock 890FX Deluxe4 890FX, PNY Optima 8GB DDR3 1333 Media Storage: Rosewill RSV-S4-X 4 Bay Enclosure w/ 4 x 3TB via unRAID Capture: HDHomerun Prime, HDHomerun x 2 Software: Sage Server 7.1.9 on Windows 7 (Virtualized in ESXi) Clients: i3-2105, ASRock Z68 Pro3-M, 4GB DDR3 1600, 64GB SATA III (OS), 2TB WD Green (Recording), PNY GT 430 // 2 x HD-300 |
#406
|
|||
|
|||
Then for whatever reason, SageTV/SJQ is unable to write to the file. If you enable Jetty debug logging then Jetty might give more details as to why not.
__________________
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... |
#407
|
||||
|
||||
I will give that a shot, thanks for the idea.
__________________
Server: AMD Phenom II X6 1090T 3.2GHz, ASRock 890FX Deluxe4 890FX, PNY Optima 8GB DDR3 1333 Media Storage: Rosewill RSV-S4-X 4 Bay Enclosure w/ 4 x 3TB via unRAID Capture: HDHomerun Prime, HDHomerun x 2 Software: Sage Server 7.1.9 on Windows 7 (Virtualized in ESXi) Clients: i3-2105, ASRock Z68 Pro3-M, 4GB DDR3 1600, 64GB SATA III (OS), 2TB WD Green (Recording), PNY GT 430 // 2 x HD-300 |
#408
|
|||
|
|||
I can't figure out why my client log is telling me "Unexpected "|" on line 15
Code:
COMSKIP { :MAX 2 :RESOURCES 25 :RETURNCODE 1 "D:/shares/Software/sagetv/comskip80_027/comskip.exe \"--ini=D:/shares/Software/sagetv/comskip80_027/comskip.ini\" \"%c%\"" } # Run at most 1 mediashink job from 2am - 10am Monday - Friday :OFFHOUR "0-2, 14-23" MEDIASHRINKHQARCHIVE { :CPU "LOW" :MAX 1 :RESOURCES 50 "D:\\shares\\Software\\sagetv\\mediashrinkfresh\\mediaEngine.exe \"%c%\" /inPlace /mediaShrink /batch /findFileRegEx "avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms" /saveLog /defaultProfile autoEncode /onepass" } # Run at most 1 mediashink job from 2am - 10am Monday - Friday :OFFHOUR "0-2, 14-23
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#409
|
|||
|
|||
Quote:
Code:
"D:\\shares\\Software\\sagetv\\mediashrinkfresh\\mediaEngine.exe \"%c%\" /inPlace /mediaShrink /batch /findFileRegEx "avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms" /saveLog /defaultProfile autoEncode /onepass" Code:
"D:\\shares\\Software\\sagetv\\mediashrinkfresh\\mediaEngine.exe \"%c%\" /inPlace /mediaShrink /batch /findFileRegEx \"avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms\" /saveLog /defaultProfile autoEncode /onepass"
__________________
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... |
#410
|
|||
|
|||
One more question (for now)
I'm trying to exclude some shows and I wanted to make sure I had the syntax right for it Code:
if [IsObjMediaFile == true && $.IsTVFile{} == true && $.GetShowTitle{} != "Late Show With David Letterman|Late Night With Jimmy Fallon|The Tonight Show with Conan O'Brien" && MediaAge > "14D" && Filename =$ ".mpg"] { MEDIASHRINKHQARCHIVE }
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#411
|
|||
|
|||
Also, I'm having the same problem that Chaoconner is having in this post over in the MediaShrink thread http://forums.sagetv.com/forums/show...&postcount=475
I changed my recording directory on my WHS to point to the UNC instead of \\localhost, but for some reason I'm still getting error logs that say Code:
+ Parsing switches - optionsString: "\\localhost\recorded tv\LateNightWithJimmyFallon-1508546-0.mpg" "/inPlace" "/mediaShrink" "/batch" "/findFileRegEx" "avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms" "/saveLog" "/defaultProfile" "autoEncode" "/onepass" - Replacing quote0: \\localhost\recorded tv\LateNightWithJimmyFallon-1508546-0.mpg - Replacing quote1: /inPlace - Replacing quote2: /mediaShrink - Replacing quote3: /batch - Replacing quote4: /findFileRegEx - Replacing quote5: avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms - Replacing quote6: /saveLog - Replacing quote7: /defaultProfile - Replacing quote8: autoEncode - Replacing quote9: /onepass ! couldn't understand (\\localhost\recorded tv\LateNightWithJimmyFallon-1508546-0.mpg), throwing it away
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#412
|
|||
|
|||
Quote:
The problem is that you're using the != operator when checking the title. The != (and ==) operators are literal string matching operators. What you're trying to do is match against a regular expression, so use the (does not match) regex operator, which is !%. All the operators and their meanings are explained in the User's Guide. Details on how to create regex expressions are described in the User's Guide (though your regex is fine). If the User Guide is unclear about certain things then I'd love to hear about that - a better User Guide saves on support questions so please do provide feedback as necessary. 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... |
#413
|
|||
|
|||
I've got sjq3 running on my server and have set up a comskip rule and task event (see below).
Code:
/**************************************************************************************/ /* Rule block for comskip */ if [IsObjMediaFile == true && $.IsTVFile{} == true && $.IsNotManualOrFavorite{} == false && $.IsFileCurrentlyRecording{} == false && $.IsWatchedCompletely{} == false] { COMSKIP } /*************************************************************************************/ Code:
/**************************************************************************************/ /* Definition setup for comskip */ COMSKIP { :CPU NORMAL :RESOURCES 50 :MAX 2 // max 2 instance of this task :MAXRUNRATIO 4.0 // Up to 4 length of recording. :RETURNCODE 1 "C:/comskip/comskip.exe \"%c%\"" } /*************************************************************************************/
__________________
AMD Athlon X2-3800+, Asus A8N-SLI Deluxe, 2x512 GB DDR400, BFG 7600 GT, 2 Hauppauge PVR 500 Cards, Motorola DCT6208 via FW, USB-UIRT, 3 MediaMVP's, DirMon2, ShowAnalyzer |
#414
|
|||
|
|||
Quote:
I've literally read through the entire manual a few times, yet still probably only understand 1/3 to 1/2 of it. I've even taken the step of checking out a few books on Java from the library, not in the hopes of learning how to code (although I would love to learn eventually), but mostly to understand syntax. I literally feel guilty posting requests to look over my syntax and troubleshooting because I feel like the information is probably out there in the manual for me to find. It's not your fault that I'm not savvy enough to find exactly what I need. I'm going to spend some more time in the manual to get the above two issues solved. If I fail at that, expect more dumb questions from me. Trust me when I say that I really appreciate all the time you put into this and all of your excellent add-ons.
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#415
|
|||
|
|||
ohpleaseno,
see this thread about mapping localhost. http://forums.sagetv.com/forums/show...772#post404772
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#416
|
|||
|
|||
So I read through the user manual.
1) MAPDIR was straightforward enough. Put it in and it works great. 2) I think there may be too fine a distinction in the manual between when you would use != vs. !%. After reading through a few times, I still couldn't figure out which one to use (other than the fact that you told me outright). Again though, you're hearing this from a guy with very little syntactical knowledge. Thanks for teaching me how to fish instead of giving me a fish.
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#417
|
|||
|
|||
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... |
#418
|
|||
|
|||
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... |
#419
|
|||
|
|||
In the user guide, Example 2 of creating a ruleset discusses why you would use reg ex versus individually naming channels and shows to exclude. Looking at it now, it is clear to me which one is used for each, but that is through the eyes of someone who understands the difference after it being explained to them. Also, I did a text search on every page of this thread for "!%" and didn't find anything that discusses the difference between the two. I didn't go back to the v2 thread though.
Which kind of makes my point that I'm not quite sure what audience you should inherently be writing for in your user manual. There are going to be people who understand syntax at a level that you've written it for, but then there are people like me who should probably not even try to use this tool because it may be too advanced for them.
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#420
|
|||
|
|||
Quote:
Code:
if [IsObjMediaFile == true && $.GetShowTitle{} != "Late Show With David Letterman|The Tonight Show With Conan O'Brien"] { MYTASK } Quote:
A read over of the above paragraph sounds like I'm barking at you, please don't take it that way. Ask questions when you need to and I'm more than happy to help (along with a few other veteran SJQ users). But also be mindful that SJQ is a free app, written in my spare time, and so though I aim for high quality docs, I think we can all agree that unless others start to contribute as well, that may or may not happen. And, of course, as you alluded to already, one person's def'n of "high quality" docs is another person's gibberish.
__________________
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 |