|
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 |
#1341
|
|||
|
|||
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... |
#1342
|
|||
|
|||
That's not looking so good either. When I try to connect to the HS database I get this message after a while - I get to the login screen and put in admin for user and pwd and then I get:
Code:
Connection is broken: "connect timed out" [90067-145] 90067/90067 (Help) Code:
Problem accessing /sage/sjq4.groovy. Reason: GroovyServlet Error: script: 'sjq4.groovy': Script processing failed. Cannot invoke method getQueue() on null objectorg.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77) -------------------------------------------------------------------------------- Powered by Jetty:// I may have actually deleted the lobs.db files while SageTVService was running so that probably didn't help either.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#1343
|
|||
|
|||
I'm suddenly getting errors trying to run comskip, the error log is attached. I haven't changed anything on my system, but obviously something is fubar. I've tried rebooting, but still no luck. All plugins are up to date. Any suggestions?
|
#1344
|
|||
|
|||
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... |
#1345
|
|||
|
|||
That error means the sagex-services plugin is not running (or not running properly). That's what needs to be fixed.
__________________
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... |
#1346
|
|||
|
|||
Thanks Slugger. I re-set the configuration of that plugin and it seems to be working now.
|
#1347
|
|||
|
|||
Quote:
Over the holidays I finally made the plunge to sjq v4 and am working on getting it setup properly. Actually i reinstalled my whole sage environment, upgraded the operating system to win7, and all of the plugins i use got upgraded to the latest as well... needless to say things are progressing slowly Anyway i'm trying to get sagegroovy setup so i can debug my scripts more easily and i've run into a snag. I downloaded the latest sagegroovy from the project site (v4.0.0.1805). When i attempt to run sagegroovy it complains that the registered email (which is correct) does not match the license file. The license file exists on my server and sjq / sagealert show as registered. I am running sagegroovy remotely. Any ideas... Does something special need to be done with the license file? Code:
F:\Docs\SageTV\SageGroovy\bin>sagegroovy.exe -s 192.168.2.100 INFO - Configured Logging for: sagex-api using file: sagex-api.log4j.properties LOG4J: Configured Logging for: sagex-api using file: sagex-api.log4j.properties sagex-services manually set to 'rmi://192.168.2.100:1098' INFO - Received request from 'SageGroovy' for plugin 'SageGroovy' WARN - SageGroovy: The registered email ['correct_email_address'] does not match th e email in the license file! You must have a sagetv-addons license to use this application! See http://code. google.com/p/sagetv-addons/wiki/DonationsFaq License server response: The registered email ['correct_email_address'] does not ma tch the email in the license file! F:\Docs\SageTV\SageGroovy\bin>
__________________
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 |
#1348
|
|||
|
|||
Copy the salicense.jar file from SageTV\JARs\ into the lib dir of your SageGroovy installation. That should fix things up. It appears the wrong jar was packaged in the last build of SageGroovy.
__________________
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... |
#1349
|
|||
|
|||
awesome thanks
__________________
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 |
#1350
|
||||
|
||||
This seems like stupid question and probably not the correct thread to ask... but anyway...
what is the proper procedure to manually transcode a file (using handbrake) and put it back in the sage recording library?? for some reason I thought all you had to do was have the file name the same with the different extension and replace it with the original file and rescan the library and all would be good? That's not working for me! If I just replace the file in the recording directory sage doesn't see it. If I put the new file with the different extension in a import directory, sage finds it and marks it as archived. I can unarchive but I'd like the file in the recording directory! Am I missing a step? Oh.. and I will use a groovy script to automate once the manual process is done! :-) Jim |
#1351
|
||||
|
||||
Quote:
|
#1352
|
||||
|
||||
So I CAN'T do this manually? I need to use some API's??
And I never saw the final script posted. Only snippits. Could you share? (or did I miss it?) And thanks BTW... Jim |
#1353
|
||||
|
||||
don't understand what you mean by 'manual'... sjq is all about automatic/script based activities...
check this thread for the scripts I'm using...:http://forums.sagetv.com/forums/showthread.php?t=55908 there are others floating around too, and probably more efficient as I'm definately not a programmer |
#1354
|
|||
|
|||
I have a process that reencodes Kids' shows with Handbrake but I don't leave them in the TV folder, I move them to folders named with the Show Title. If you want I can post that code. This works quite well with a few minor issues - with the odd show the original file is still listed in Sage but when you try to play it you get a file doesn't exist error. This is depite the fact that Sage has rescanned imported media. I believe a reboot of the service can fix this.
I have some other problems with the handrake encoded files, but I won't post those issues here.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#1355
|
|||
|
|||
Quote:
Batch Script below Code:
move "%~f1" "%~d1%~p1" set checkuse=%ERRORLEVEL% if %checkuse% NEQ 0 exit 1 if not exist "c:\temp" md "c:\temp" set shrinklevel=1 if exist "%~d1%~p1tmpEncode\%~n1.encoded.tmp" del "%~d1%~p1tmpEncode\%~n1.encoded.tmp" if exist "%~d1%~p1tmpEncode\%~n1.tmp" set shrinklevel=0 if exist "%~d1%~p1tmpEncode\%~n1.tmp" goto goodtogo SET HBPATH=C:\SJQNEW\HandBrake64 SET TOOLSPATH=C:\SJQNEW\tools SET WGETPATH=C:\SJQNEW\wget if not exist "%~d1%~p1tmpEncode" md "%~d1%~p1tmpEncode" CD "%HBPATH%" c: start "MediaShrink" /B /BELOWNORMAL /WAIT HandBrakeCLI.exe -i "%~f1" -o "%~d1%~p1tmpEncode\%~n1.encoded.tmp" -f mp4 -w 640 --loose-anamorphic -r 29.97 -e x264 -q 20 --vfr -E faac -B 160 -6 dpl2 -R Auto -D 0 --gain=0 --audio-copy-mask none --audio-fallback ffac3 -x ref=1:weightp=1:subq=2:rc-lookahead=10:trellis=0:8x8dct=0 --verbose=1 > "%~d1%~p1handbrake.log" 2>&1 set shrinklevel=%ERRORLEVEL% if %shrinklevel% NEQ 0 DEL "%~d1%~p1tmpEncode\%~n1.encoded.tmp" if %shrinklevel% NEQ 0 dir "%~f1">>"%~d1%~p1%~n1.check" if %shrinklevel% NEQ 0 EXIT 1 if %shrinklevel% EQU 0 if exist "%~d1%~p1tmpEncode\%~n1.encoded.tmp" move "%~d1%~p1tmpEncode\%~n1.encoded.tmp" "%~d1%~p1tmpEncode\%~n1.tmp" :goodtogo if %shrinklevel% EQU 0 if exist "%~d1%~p1tmpEncode\%~n1.tmp" "%TOOLSPATH%\touch.exe" -r "%~f1" "%~d1%~p1tmpEncode\%~n1.tmp" if %shrinklevel% EQU 0 if exist "%~d1%~p1tmpEncode\%~n1.tmp" DEL "%~f1" if %shrinklevel% EQU 0 if exist "%~f1" if exist "%~d1%~p1tmpEncode\%~n1.tmp" exit 1 if %shrinklevel% EQU 0 move "%~d1%~p1tmpEncode\%~n1.tmp" "%~d1%~p1%~n1.mp4" copy "%~f1.properties" "%~d1%~p1%~n1.mp4.properties" if exist "%~f1" exit 1 %WGETPATH%\wget.exe --delete-after --tries=3 --directory-prefix="%WGETPATH%" "http://username:password@servername:8080/sage/GlobalCommand?command=UpdateMediaLibrary" exit 0
__________________
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; 01-08-2013 at 07:21 PM. |
#1356
|
||||
|
||||
Quote:
Now these are regular Sage recordings that you transcode, right? Maybe it has something to do with the files being corrupt??? Maybe I'll try it with a "good" file... Jim |
#1357
|
|||
|
|||
Yes regular recordings I schedule that batch job on shows I have not watch for x amount of days. In SJQ.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#1358
|
||||
|
||||
Quote:
I assume your script is SJQ3? not 4? Thanks! Jim |
#1359
|
|||
|
|||
It is neither it is simply a batchfile that SJQ3 simply passes the file to it and it runs. I am sure that you can run any batch script in SJQ4... by simply also passing the file name. My impression is that you can do this with SJQ Crontab.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#1360
|
|||
|
|||
@slugger: In post 1355 above nyplayer touch.exe with the -r parameter to change the time stamp of reencoded file to be the same as the timestamp of the original recording. Is there an elegant way to do this in Groovy or should I just call the touch.exe command?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
Currently Active Users Viewing This Thread: 4 (0 members and 4 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 |