SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1001  
Old 11-12-2016, 04:57 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by tmiranda View Post
I setup my dev system and loaded Phoenix 3. I'm no longer convinced the error is due to the SageTV7 dependency in the manifest. I can see that the plugin is loaded and the start() method runs as expected.
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
Reply With Quote
  #1002  
Old 11-12-2016, 05:39 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Fuzzy View Post
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.
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.
Reply With Quote
  #1003  
Old 01-16-2017, 04:17 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
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
So it either needs to wrap it in quotes, or escape the spaces (but I think escaping spaces only works in windows, so the quotes is probably the more universal fix).
__________________
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
Reply With Quote
  #1004  
Old 01-16-2017, 04:50 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Fuzzy View Post
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
So it either needs to wrap it in quotes, or escape the spaces (but I think escaping spaces only works in windows, so the quotes is probably the more universal fix).
Looks like I need to get an update out. Thanks for finding this new bug.
__________________

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.
Reply With Quote
  #1005  
Old 01-16-2017, 07:21 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Fuzzy View Post
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
So it either needs to wrap it in quotes, or escape the spaces (but I think escaping spaces only works in windows, so the quotes is probably the more universal fix).
comskip doesn't like the name in quotes. I'll have to sort something else out.
__________________

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.
Reply With Quote
  #1006  
Old 01-16-2017, 07:23 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by tmiranda View Post
comskip doesn't like the name in quotes. I'll have to sort something else out.
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
Reply With Quote
  #1007  
Old 01-17-2017, 05:42 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Taddeusz View Post
The fix you gave me for this works just fine.
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.
Reply With Quote
  #1008  
Old 01-17-2017, 07:44 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by tmiranda View Post
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?
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
Reply With Quote
  #1009  
Old 01-17-2017, 08:01 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by tmiranda View Post
comskip doesn't like the name in quotes. I'll have to sort something else out.
If you are starting comskip using the java Runtime.exec() api and you are passing the command and args separately, then spaces should not matter. ie, visually when you log it out it might show the commandline with the spaces not escaped, but as long as the process, and args are all passed separately in the args array, it shouldn't be an issue.
Reply With Quote
  #1010  
Old 01-17-2017, 03:01 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by stuckless View Post
If you are starting comskip using the java Runtime.exec() api and you are passing the command and args separately, then spaces should not matter. ie, visually when you log it out it might show the commandline with the spaces not escaped, but as long as the process, and args are all passed separately in the args array, it shouldn't be an issue.
That's what I thought too, and that's what I'm doing. (Using Runtime.exec(String[]))

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.
Reply With Quote
  #1011  
Old 01-17-2017, 03:01 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
If you are starting comskip using the java Runtime.exec() api and you are passing the command and args separately, then spaces should not matter. ie, visually when you log it out it might show the commandline with the spaces not escaped, but as long as the process, and args are all passed separately in the args array, it shouldn't be an issue.
well, it definitely is seeing each word as a different arg.

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.
Reply With Quote
  #1012  
Old 01-17-2017, 03:07 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
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
Reply With Quote
  #1013  
Old 01-17-2017, 03:10 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
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
Reply With Quote
  #1014  
Old 01-17-2017, 04:24 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Fuzzy View Post
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.
That code has been changed.
__________________

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.
Reply With Quote
  #1015  
Old 01-17-2017, 07:21 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by tmiranda View Post
That code has been changed.
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
Reply With Quote
  #1016  
Old 01-17-2017, 08:00 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Fuzzy View Post
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?
It uses String[].

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.
Reply With Quote
  #1017  
Old 01-17-2017, 09:59 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
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
Reply With Quote
  #1018  
Old 01-18-2017, 03:28 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Quote:
now that the android client is so good
What client are you using?
Reply With Quote
  #1019  
Old 01-18-2017, 05:21 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by sflamm View Post
What client are you using?
SageTV miniclient.
__________________
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
Reply With Quote
  #1020  
Old 01-19-2017, 02:24 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 01:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.