|
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 |
#1001
|
||||
|
||||
Any particular reason you haven't updated the code onto github? (I know you used to have it on google code), and I think you imported 0.7 onto github a while ago. Might help to get some other eyes on it.
__________________
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 |
#1002
|
||||
|
||||
Just lazy. I'll get it on GitHub soon.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#1003
|
||||
|
||||
Hey, so I found an issue with CD. I noticed that comskip hasn't been running lately, so went to debug mode on it this morning. It is failing out with exit code 2 (this is in the unraid docker). Went to trace mode, and started a recording, and it is passing everything mostly correct, but here's the problem.
I had turned on sage's newer expanded filename option, which now retains spaces in the filename. CD is not wrapping the filename in quotes when passing to comskip, so I get the following comskip command from cd: Code:
/opt/sagetv/comskip/comskip --playnice --ini=/opt/sagetv/comskip/comskip.ini /var/media/tv/High School Basketball - Spalding Hoophall Classic La Lumiere (Ind) vs Sierra Canyon (Calif) - 33104469-0.ts
__________________
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 |
#1004
|
||||
|
||||
Quote:
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#1005
|
||||
|
||||
Quote:
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#1006
|
|||
|
|||
The fix you gave me for this works just fine.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#1007
|
||||
|
||||
I sent you the version that is used in the docker image which is what I believe Fuzzy is using. Are you using the expanded files names that contain spaces?
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#1008
|
|||
|
|||
Yes
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#1009
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#1010
|
||||
|
||||
Quote:
I don't understand why Fuzzy is having the issue
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#1011
|
||||
|
||||
Quote:
Code:
Tue 1/17 12:58:50.559 [Thread-50@b0b6a13] CD: ComskipJob: Starting new ComskipJob Tue 1/17 12:58:50.567 [Thread-50@b0b6a13] CD: QueuedJob.getComskipIni: Looking for comskip ini. Tue 1/17 12:58:50.567 [Thread-50@b0b6a13] CD: QueuedJob.getComskipIni: Looking for comskip ini file /opt/sagetv/server/CommercialDetector/comskip/TheBoldandtheBeautiful.ini Tue 1/17 12:58:50.578 [Thread-50@b0b6a13] CD: QueuedJob.getComskipIni: Looking for comskip ini file /opt/sagetv/server/CommercialDetector/comskip/KCBSDT.ini Tue 1/17 12:58:50.580 [Thread-50@b0b6a13] CD: QueuedJob.getComskipIni: No ini found, using default. Tue 1/17 12:58:50.581 [Thread-50@b0b6a13] CD: ComskipJob.executeComskipLinux: WinePath Tue 1/17 12:58:50.581 [Thread-50@b0b6a13] CD: ComskipJob.executeComskipLinux: Job parts 1 Tue 1/17 12:58:50.582 [Thread-50@b0b6a13] CD: ComskipJob.executeComskipLinux: Processing /var/media/tv/The Bold and the Beautiful - S30E104 - 33572376-0.ts Tue 1/17 12:58:50.582 [Thread-50@b0b6a13] CD: ComskipJob.executeComskipLinux: Command sudo -H -u sagetv wine /opt/sagetv/comskip/comskip --playnice --ini=/opt/sagetv/comskip/comskip.ini /var/media/tv/The Bold and the Beautiful - S30E104 - 33572376-0.ts Tue 1/17 12:58:50.659 [Thread-53@38155dd8] CD: StreamGetter: stdout: The commandline used was: Tue 1/17 12:58:50.669 [Thread-53@38155dd8] CD: StreamGetter: stdout: /opt/sagetv/comskip/comskip --playnice --ini=/opt/sagetv/comskip/comskip.ini /var/media/tv/The Bold and the Beautiful - S30E104 - 33572376-0.ts Tue 1/17 12:58:50.670 [Thread-53@38155dd8] CD: StreamGetter: stdout: Tue 1/17 12:58:50.670 [Thread-53@38155dd8] CD: StreamGetter: stdout: Usage: Tue 1/17 12:58:50.670 [Thread-53@38155dd8] CD: StreamGetter: stdout: comskip [-h|--help] [-w|--debugwindow] [-n|--playnice] [--zpcut] [--zpchapter] [--videoredo] [--videoredo3] [--csvout] [--quality] [--plist] [-m|--demux] [--hwassist] [--threads=<int>] [-p|--pid=<string>] [-t|--ts] [-d|--detectmethod=<int>] [-v|--verbose=<int>] [-u|--dump=<int>] [-s|--play] [--timing] [-q|--quiet] [--ini=<file>] [--logo=<file>] [--cut=<file>] [--output=<file>] [--selftest=<int>] <file> [<file>] Tue 1/17 12:58:50.671 [Thread-53@38155dd8] CD: StreamGetter: stdout: Tue 1/17 12:58:50.673 [Thread-53@38155dd8] CD: StreamGetter: stdout: -h, --help Display syntax Tue 1/17 12:58:50.674 [Thread-53@38155dd8] CD: StreamGetter: stdout: -w, --debugwindow Show debug window Tue 1/17 12:58:50.675 [Thread-53@38155dd8] CD: StreamGetter: stdout: -n, --playnice Slows detection down Tue 1/17 12:58:50.676 [Thread-53@38155dd8] CD: StreamGetter: stdout: --zpcut Outputs a ZoomPlayer cutlist Tue 1/17 12:58:50.676 [Thread-53@38155dd8] CD: StreamGetter: stdout: --zpchapter Outputs a ZoomPlayer chapter file Tue 1/17 12:58:50.677 [Thread-53@38155dd8] CD: StreamGetter: stdout: --videoredo Outputs a VideoRedo cutlist Tue 1/17 12:58:50.677 [Thread-53@38155dd8] CD: StreamGetter: stdout: --videoredo3 Outputs a VideoRedo3 cutlist Tue 1/17 12:58:50.677 [Thread-53@38155dd8] CD: StreamGetter: stdout: --csvout Outputs a csv of the frame array Tue 1/17 12:58:50.678 [Thread-53@38155dd8] CD: StreamGetter: stdout: --quality Outputs a csv of false detection segments Tue 1/17 12:58:50.678 [Thread-53@38155dd8] CD: StreamGetter: stdout: --plist Outputs a mac-style plist for addition to an EyeTV archive as the 'markers' property Tue 1/17 12:58:50.678 [Thread-53@38155dd8] CD: StreamGetter: stdout: -m, --demux Demux the input into elementary streams Tue 1/17 12:58:50.679 [Thread-53@38155dd8] CD: StreamGetter: stdout: --hwassist Activate Hardware Assisted video decoding Tue 1/17 12:58:50.681 [Thread-53@38155dd8] CD: StreamGetter: stdout: --threads=<int> The number of threads to use Tue 1/17 12:58:50.682 [Thread-53@38155dd8] CD: StreamGetter: stdout: -p, --pid=<string> The PID of the video in the TS Tue 1/17 12:58:50.682 [Thread-53@38155dd8] CD: StreamGetter: stdout: -t, --ts The input file is a Transport Stream Tue 1/17 12:58:50.683 [Thread-53@38155dd8] CD: StreamGetter: stdout: -d, --detectmethod=<int> An integer sum of the detection methods to use Tue 1/17 12:58:50.683 [Thread-53@38155dd8] CD: StreamGetter: stdout: -v, --verbose=<int> Verbose level Tue 1/17 12:58:50.684 [Thread-53@38155dd8] CD: StreamGetter: stdout: -u, --dump=<int> Dump the cutscene at this frame number Tue 1/17 12:58:50.684 [Thread-53@38155dd8] CD: StreamGetter: stdout: -s, --play Play the video Tue 1/17 12:58:50.685 [Thread-53@38155dd8] CD: StreamGetter: stdout: --timing Dump the timing into a file Tue 1/17 12:58:50.686 [Thread-53@38155dd8] CD: StreamGetter: stdout: -q, --quiet Not output logging to the console window Tue 1/17 12:58:50.686 [Thread-53@38155dd8] CD: StreamGetter: stdout: --ini=<file> Ini file to use Tue 1/17 12:58:50.687 [Thread-53@38155dd8] CD: StreamGetter: stdout: --logo=<file> Logo file to use Tue 1/17 12:58:50.687 [Thread-53@38155dd8] CD: StreamGetter: stdout: --cut=<file> CutScene file to use Tue 1/17 12:58:50.688 [Thread-53@38155dd8] CD: StreamGetter: stdout: --output=<file> Folder to use for all output files Tue 1/17 12:58:50.688 [Thread-53@38155dd8] CD: StreamGetter: stdout: --selftest=<int> Execute a selftest Tue 1/17 12:58:50.688 [Thread-53@38155dd8] CD: StreamGetter: stdout: <file> Input file Tue 1/17 12:58:50.689 [Thread-53@38155dd8] CD: StreamGetter: stdout: <file> Output folder for cutlist Tue 1/17 12:58:50.689 [Thread-53@38155dd8] CD: StreamGetter: stdout: Tue 1/17 12:58:50.690 [Thread-53@38155dd8] CD: StreamGetter: stdout: Detection methods available: Tue 1/17 12:58:50.690 [Thread-53@38155dd8] CD: StreamGetter: stdout: 1 - Black Frame Tue 1/17 12:58:50.691 [Thread-53@38155dd8] CD: StreamGetter: stdout: 2 - Logo Tue 1/17 12:58:50.691 [Thread-53@38155dd8] CD: StreamGetter: stdout: 4 - Scene Change Tue 1/17 12:58:50.691 [Thread-53@38155dd8] CD: StreamGetter: stdout: 8 - Resolution Change Tue 1/17 12:58:50.692 [Thread-53@38155dd8] CD: StreamGetter: stdout: 16 - Closed Captions Tue 1/17 12:58:50.692 [Thread-53@38155dd8] CD: StreamGetter: stdout: 32 - Aspect Ratio Tue 1/17 12:58:50.693 [Thread-53@38155dd8] CD: StreamGetter: stdout: 64 - Silence Tue 1/17 12:58:50.693 [Thread-53@38155dd8] CD: StreamGetter: stdout: 128 - CutScenes Tue 1/17 12:58:50.694 [Thread-53@38155dd8] CD: StreamGetter: stdout: 255 - USE ALL AVAILABLE Tue 1/17 12:58:50.694 [Thread-53@38155dd8] CD: StreamGetter: stdout: Tue 1/17 12:58:50.694 [Thread-53@38155dd8] CD: StreamGetter: stdout: Errors: Tue 1/17 12:58:50.695 [Thread-53@38155dd8] CD: StreamGetter: stdout: ComSkip: excess option and Tue 1/17 12:58:50.695 [Thread-53@38155dd8] CD: StreamGetter: stdout: ComSkip: unexpected argument "the" Tue 1/17 12:58:50.695 [Thread-53@38155dd8] CD: StreamGetter: stdout: ComSkip: unexpected argument "Beautiful" Tue 1/17 12:58:50.712 [Thread-53@38155dd8] CD: StreamGetter: stdout: ComSkip: unexpected argument "-" Tue 1/17 12:58:50.712 [Thread-53@38155dd8] CD: StreamGetter: stdout: ComSkip: unexpected argument "S30E104" Tue 1/17 12:58:50.712 [Thread-53@38155dd8] CD: StreamGetter: stdout: ComSkip: unexpected argument "-" Tue 1/17 12:58:50.713 [Thread-53@38155dd8] CD: StreamGetter: stdout: ComSkip: unexpected argument "33572376-0.ts"
__________________
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 Last edited by Fuzzy; 01-17-2017 at 03:08 PM. |
#1012
|
||||
|
||||
At a quick clance through ComskipJob.java in the (admittedly old) version of CD on github, I can see that in ExecuteComskipWindows() it is passing the args to Runtime.exe as a String[]. In ExecuteComskipLinux(), however, it is passing the entire line to Runtime.exec as a single String. If this code is still the same, I'm pretty sure this is the issue, and changing the handling in the Linux method would fix it.
__________________
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 |
#1013
|
|||
|
|||
I can't find where I brought this problem up before. Both Fuzzy and I are running on unRAID. You sent me an updated jar file that fixed this exact issue for me.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#1014
|
||||
|
||||
Quote:
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#1015
|
||||
|
||||
does the new code still send a single string to the .exec call? Or do they all send a String[], with each full argument it's own element?
__________________
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 |
#1016
|
||||
|
||||
Quote:
I'm super busy at work right now. I'll probably send you a new version to try in a day or two. Sorry I can't get to it sooner
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#1017
|
||||
|
||||
No problem, was easy enough to just turn off extended filenames for now. I only turned it on on a whim anyway, as I don't use the files outside of SageTV (now that the android client is so good).
__________________
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 |
#1018
|
|||
|
|||
Quote:
|
#1019
|
||||
|
||||
__________________
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 |
#1020
|
||||
|
||||
So with the new .JAR you sent me, it is now processing files with spaces in it just fine, and it IS now passing a string array instead of a single string.
Code:
Old: Command sudo -H -u sagetv wine /opt/sagetv/comskip/comskip --playnice --ini=/opt/sagetv/comskip/comskip.ini /var/media/tv/Jerry Springer - S25E80 - Betrayed by My Parrot - 33631125-0.ts New: Command [/opt/sagetv/comskip/comskip, --playnice, --ini=/opt/sagetv/comskip/comskip.ini, /var/media/tv/Jerry Springer - S25E80 - Betrayed by My Parrot - 33631125-0.ts]
__________________
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 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 |
Plugin :: My TV for V7 | bialio | SageTV v7 Customizations | 41 | 03-26-2011 11:09 AM |
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin | deria | SageTV Customizations | 447 | 12-11-2010 07:38 PM |
Plugin Manager: Configure plugin | medwynd | SageTV Beta Test Software | 0 | 05-29-2010 08:43 AM |
Hulu: Possible to Use XBMC Hulu Plugin to create SageTV Plugin? | Brent | SageTV Customizations | 8 | 02-24-2009 04:16 PM |