|
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 |
#421
|
|||
|
|||
I had SJQ and Sagealert set up and running fine last week. Starting yesterday, when I try to log in to the GUI, the webpages aren't there.
I've stopped/restarted the sage service, rebooted the sage server, cleared cookies/cache, tried to access via different PCs and even from different WAN locations. Have you seen this issues before? If it means anything, I have BMT set up and running no problem using the same port as SJQ. Also, SJQ and Sagealert are still working fine in the background. It posts to my twitter when a recording starts, commercials process and skip, etc. I just can't get to the web gui. Last edited by MitchSchaft; 02-01-2010 at 12:12 PM. |
#422
|
|||
|
|||
I've seen this with one or two other users. For whatever reason, the temp folder that Jetty is expanding the war into to run from is being wiped - you are missing all the html files, etc. Redeploy the war file and that should fix the problem. Jetty should be expanding the war into your system temp folder - something (or someone) is wiping the contents of that directory. Once started, however, all the background threads will run just fine (as you're seeing).
__________________
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
|
||||
|
||||
External Apps
Quote:
Slugger, I've drawn a blank, can you point me in the right direction as to how the ruleset would accomplish this |
#424
|
|||
|
|||
Quote:
Quote:
write a batch file that would -delete a temp DEFRAG.COMPLETE file (empty text file) -make a temp DEFRAG.RUNNING file -run the defrag -delete the temp DEFRAG.RUNNING file -make a temp DEFRAG.COMPLETE file then write your sjq ruleset would check the timestamp on the DEFRAG.COMPLETE file ( older then x hrs) and the DEFRAG.RUNNING does not exist and all your other conditions are met... then the defrag task is run (which is the bat file i just described) edit... i do not know if its possible to check the timestamp on the file with sjq but i bet there is a java function that can do it....
__________________
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 |
#425
|
|||
|
|||
Quote:
Code:
:MAPDIR "D:\\recorded tv" "\\\\sagehtpc\\recorded tv" COMSKIP { :RETURNCODE 1 "C:/SJQc/comskip80_025/comskip.exe \"--ini=C:/SJQc/comskip80_025/comskip.ini\" \"%c%\"" } Quote:
Here's part of the log after I turn on the client on the network: [quote] 2010-02-01 15:19:28,671 INFO [ClientParser]: MAPPING: D:\recorded tv => \\sagehtpc\recorded tv 2010-02-01 15:19:28,671 INFO [SJQServlet]: Checking client '192.168.2.11': 100 resources free. 2010-02-01 15:19:28,671 INFO [SJQServlet]: Servlet POST request completed [0ms] 2010-02-01 15:19:28,702 INFO [SJQServlet]: Servlet POST request completed [15ms] 2010-02-01 15:19:38,687 INFO [SJQServlet]: Servlet POST request completed [0ms] 2010-02-01 15:19:44,827 INFO [SJQServlet]: Servlet POST request completed [0ms] 2010-02-01 15:19:48,687 INFO [SJQServlet]: Servlet POST request completed [0ms] 2010-02-01 15:19:58,687 INFO [SJQServlet]: Servlet POST request completed [0ms] [/qutoe] It looks like it's mapped properly. |
#426
|
||||
|
||||
That looks like it may be a case issue. SJQ is telling the client to process the files in "D:\Recorded TV". The client checks it's list of remaps first, to see it "D:\Recorded TV" is there, and it isn't (only "d:\recorded tv" is), so it uses it directly, and of course, doens't find the file.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#427
|
|||
|
|||
Oh, you're awesome. That did the trick. I didn't think this stuff was case sensative, but it is!
|
#428
|
||||
|
||||
Quote:
|
#429
|
|||
|
|||
Quote:
Quote:
Code:
if [IsObjMediaFile == true && $.GetShowTitle{} == "Something I've Archived and Will Always Be Around, Ideally a Movie or Something With Only 1 Episode" && <Whatever conditions you care about>] { MYTASK }
__________________
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
|
||||
|
||||
You may want to look at a full-time background defragger. Most are pretty non-intrusive, and monitor drive/cpu usage to only work when idle. I use Diskkeeper, and it seems to work great.
I think, in the end, fragmentation should be of little concern to a sage system. Fragmented or not, a drive head is likely to be jumping around quite often when doing things like recording and playing back at the same time, no matter how much/little fragmentation you have on the drive. This is the key reason for sage recommending 64kb cluster sizes, to minimize the impact of fragments.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#431
|
|||
|
|||
I hope this is an easy one, and I hope I am just not sure where to look. I had to physically move my server do to some work in our house, and my router has graciously assigned it a new IP address (192.168.1.4 -> 192.168.1.6). I noticed comskip was not processing my files, so I went in SJQ and saw that my connected client is now 192.168.1.6, but when I click on Configure my task client is gone. Is there any way to find the task client I had in there when it was 192.168.1.4, so I do not have to reinvent the wheel? Does that make sense?
Thanks so much for your help in advance.
__________________
Server: OS: MS WHS v1; MB: GIGABYTE GA-EP45-UD3R; CPU: Intel Q9400 2.66GHz; RAM: G.SKILL 4GB (4x1GB); HDs: 1x80GB, 7x1.5TB; Graphics: EVGA GeForce 9500 GT 512MB Capture/Content: HD-PVR, 2xHDHRP (CC), Comcast STBs (Controllers): RNG110 (Firewire ChCh) Clients: 2xHD300, 2xHD200, 2xPS, Client SageTV/Plugins: v7.1.9, SageDCT, SRE, Comm Det, Jetty, Web Server, Mob Web, PlayOn, E/D Fav, Fav Ex, MF Stop, Enc Names |
#432
|
|||
|
|||
Quote:
The other option is to download the SQLite CLP and manually switch the IP address for the client inside the database. If you choose this route, I can give you the SQL query you'll need to run in order to switch the IP address for the client.
__________________
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
|
||||
|
||||
unexpected '?' error.
I've seen a view posts with similar errors, but can't for the life of me track down where the problem is or what line of what file I should be looking at....
Any suggestions/advice would be HUGELY helpful. Running latest versions of everything.... nt version of client on vista 32. sjq is giving me this error from the client log.: Problem accessing /sjq/SJQ. Reason: Unexpected '?' encountered on line 11 Caused by: java.lang.RuntimeException: Unexpected '?' encountered on line 11 at com.google.code.sagetvaddons.sjq.server.ClientParser.readTask(ClientParser.java:399) at com.google.code.sagetvaddons.sjq.server.ClientParser.<init>(ClientParser.java:244) at com.google.code.sagetvaddons.sjq.server.SJQServlet.doPost(SJQServlet.java:185) at com.google.code.sagetvaddons.sjq.server.SJQServlet.doGet(SJQServlet.java:100) .... |
#434
|
|||
|
|||
I assume your client config is only 11 lines? If so, then that error usually means you're missing a closing bracket somewhere. Post your client config if you can't find 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... |
#435
|
||||
|
||||
Quote:
COMSKIP { :RESOURCES 25 # Up to 4 comskips can be run simultaneously (every client has exactly 100 resources available) # CPU priority to be used for this task process; one of LOW, NORMAL, HIGH (case sensitive) :CPU "NORMAL" # Default is NORMAL if not specified # Comskip returns 1 on success instead of the universally accepted zero; tell SJQ that # a return code of 1 means success instead of the default value of zero :RETURNCODE 1 "C:\Program Files\ComskipMonitor\comskip80_031\comskip.exe \"%c%\"" } |
#436
|
|||
|
|||
Just wait 5 mins or so and then check the logs.
__________________
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
|
||||
|
||||
Thanks so much for the help!
I've got a syntax question regarding spaces, the command in the client config seems to be choking on the directory structure with "C:\Program Files\ComskipMonitor\comskip80_031\comskip.exe \"%c%\"" in reading the docs on client command syntax I'm understanding that double quotes should be ok with spaces?? |
#438
|
|||
|
|||
Choking how? Paste in the task output. Looks like your command line should be like this instead:
Code:
"\"C:\\Program Files\\ComskipMonitor\\comskip80_031\\comskip.exe\" \"%c%\""
__________________
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... |
#439
|
||||
|
||||
Quote:
Tue Feb 02 13:27:17 PST 2010: Starting task with priority 5/1/10 Executing command line: C:Program FilesComskipMonitorcomskip80_031comskip.exe "J:\Recorded TV\LawOrderCriminalIntent-AMurdererAmongUs-300804-0.ts" Cannot run program "C:Program": CreateProcess error=2, The system cannot find the file specified Tue Feb 02 13:42:18 PST 2010: Starting task with priority 5/1/10 Executing command line: C:Program FilesComskipMonitorcomskip80_031comskip.exe "J:\Recorded TV\LawOrderCriminalIntent-AMurdererAmongUs-300804-0.ts" Cannot run program "C:Program": CreateProcess error=2, The system cannot find the file specified Tue Feb 02 13:47:35 PST 2010: Starting task with priority 5/1/10 Executing command line: C:Program FilesComskipMonitorcomskip80_031comskip.exe "J:\Recorded TV\LawOrderCriminalIntent-AMurdererAmongUs-300804-0.ts" Cannot run program "C:Program": CreateProcess error=2, The system cannot find the file specified |
#440
|
|||
|
|||
Yeah, try the command line I posted, should fix the problem.
__________________
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 |