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
  #181  
Old 09-14-2010, 10:55 AM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,151
Quote:
Originally Posted by tmiranda
...
- Change color of comskip icon next to show that is being processed.
...
Here you mentioned that the color of the CS icon should be different for the recording currently being processed. I'm seeing this on some, but not all of my clients (Placeshifters for one don't, maybe they are not supported?). I have v1.2 installed everywhere.

Any ideas what I should be looking for to debug this? Thanks.
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial
Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT
Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders
Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders
Backup: Synology
SageTV version: FINAL
Reply With Quote
  #182  
Old 09-14-2010, 11:35 AM
psicat psicat is offline
Sage User
 
Join Date: Oct 2006
Posts: 33
Quote:
Originally Posted by tmiranda View Post
Yes, the CS icon should show up in the header (SageCleints as well as extenders) when something is being processed. If it's not something is wrong or nothing is being processed.
I checked that comskip is indeed running (task manager), plus my new recordings are getting flagged properly. I tried killing comskip and it launched another process. I had 5 or so recordings queued manually by deleted their .edl files and pressing the Queue button in the config screen. So, it appears to be working in the background properly.

Quote:
Originally Posted by tmiranda View Post
Are .edl files getting generated for new recordings or not? If not, set debugging to Trace and post a log for me to look at.
Yep, it's working. But still no CS icon in the display header.

No big deal. I can live without it, but it's a nice detail.
Reply With Quote
  #183  
Old 09-14-2010, 01:36 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by sacrament055 View Post
Since you're asking for suggestions and you mentioned no comskip if type feature you could add support for no comskip if - channel = premium movie network.. (HBO, Showtime etc that don't have commercials)
That's already available. Look in the options and there is a place to enter channels to not run comskip on. You can put in the name (HBO, Show, ..) ot the channel number.
__________________

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
  #184  
Old 09-14-2010, 01:39 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by psicat View Post
I checked that comskip is indeed running (task manager), plus my new recordings are getting flagged properly. I tried killing comskip and it launched another process. I had 5 or so recordings queued manually by deleted their .edl files and pressing the Queue button in the config screen. So, it appears to be working in the background properly.


Yep, it's working. But still no CS icon in the display header.

No big deal. I can live without it, but it's a nice detail.
Are you sure you have the UI Mod plugin installed as well "Commercial Detector UI"? This is the mod that adds the CS icon.
__________________
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
  #185  
Old 09-14-2010, 01:47 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by ChePazzo View Post
My question to the group: Is there any place I can change the cmd that is run to not include the -s option?
What shell are you using?
__________________

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
  #186  
Old 09-14-2010, 01:49 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
@psicat and phelme - I'll have to look into the icon issue some more. It sounds like you are both having similar issues.
__________________

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
  #187  
Old 09-14-2010, 01:51 PM
psicat psicat is offline
Sage User
 
Join Date: Oct 2006
Posts: 33
Quote:
Originally Posted by Fuzzy View Post
Are you sure you have the UI Mod plugin installed as well "Commercial Detector UI"? This is the mod that adds the CS icon.
Yes, the UI mod is also installed. I might try uninstalling and re-installing everything and see if that makes a difference.
Reply With Quote
  #188  
Old 09-14-2010, 03:56 PM
HelenWeathers's Avatar
HelenWeathers HelenWeathers is offline
Sage Icon
 
Join Date: Aug 2008
Location: Miami, Florida
Posts: 1,321
I too am having the same issue with the CS icon. Seems to show up for a while on the extender I installed from, then next day is not there (although I do see files being created). I have tried uninstalling and re-installing - behavior is the same.

I would like to voice my desire to be able to define the hours comskip can be triggered, OR define the hours comskip should not be triggered.

I love the ease of installation/setup of the commercial detector plugin.

I donated to get the comskip version that supports .ts files and, although not 100% yet, it works very well so far.

In setup I had to add txt and logo.txt files to list of files to be deleted with log and edl files. Extensions appear to be case sensative BTW.
__________________
Server: SageTV 9, Win10/32, Intel DP55KG Mb, Intel QC i5 2.66GHz , 4GB 1333MHz DDR3 SDRAM, 2 Hauppauge 2255s for 4 OTA ATSC tuners, HDHRPrime w Comcast, 3 STP-HD300s 20101007-0 firmware, nVidia Shield. Java v7u55. Plugins:SD EPG, OpenDCT
Reply With Quote
  #189  
Old 09-14-2010, 04:06 PM
ChePazzo ChePazzo is offline
Sage Aficionado
 
Join Date: Oct 2004
Posts: 287
Quote:
Originally Posted by tmiranda View Post
What shell are you using?
bash

it's not just wine, either. It's anything (see code output below).

Code:
mike@sagebuntu:~$ echo $SHELL
/bin/bash

mike@sagebuntu:~$ sudo echo $SHELL
[sudo] password for mike: 
/bin/bash

mike@sagebuntu:~$ sudo -H -u mike echo $SHELL
/bin/bash

mike@sagebuntu:~$ sudo -H -u mike -s echo $SHELL
/bin/echo: /bin/echo: cannot execute binary file
Reply With Quote
  #190  
Old 09-14-2010, 05:18 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
Quote:
Originally Posted by tmiranda View Post
If I let SA handle the queue I can't easily monitor the progress or determine how many jobs are running. I'm not an expert on SA, is there a reason why I should use their queue management?
The reason to use SA instead of the engine is so that you can monitor the progress of each engine through the SA GUI. When you call the engine directly you lose that functionality. In addition you would not have to monitor how many are running simultaneously because SA will take care of that for you. Finally, there are features to limit disk bandwidth usage per engine and I don't believe this works if you call the engine directly.

Not a huge deal, just different than what I'm used to.
Reply With Quote
  #191  
Old 09-14-2010, 05:23 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
I'll look into the CS icon issue and the linux issue as soon as reasonably possible. After that I'll look into restricting comskipping to certain times.

Thanks for your feedback.

Tom
__________________

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
  #192  
Old 09-14-2010, 06:07 PM
MrE MrE is offline
Sage User
 
Join Date: Mar 2006
Posts: 28
Thanks for the great plugin. I had always meant to get around to installing and configuring ComSkip and this really made it easy.

Now I just have to break the habit of reaching for the remote to skip commercials.
Reply With Quote
  #193  
Old 09-15-2010, 10:14 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
@ChePazzo - Are you running the Sage process as root or as a user? If a user, which one? If as root, which user has wine installed?

Can you double check that you have the configuration options set correctly for linux?

Tom
__________________

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
  #194  
Old 09-15-2010, 10:31 AM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,151
Quote:
Originally Posted by tmiranda View Post
@psicat and phelme - I'll have to look into the icon issue some more. It sounds like you are both having similar issues.
The CS icon is showing in the header for me on all clients, but the differentiating icon on the individual recording currently being comskipped is inconsistent. Thanks for looking into it.
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial
Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT
Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders
Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders
Backup: Synology
SageTV version: FINAL
Reply With Quote
  #195  
Old 09-15-2010, 10:47 AM
ChePazzo ChePazzo is offline
Sage Aficionado
 
Join Date: Oct 2004
Posts: 287
Quote:
Originally Posted by tmiranda View Post
@ChePazzo - Are you running the Sage process as root or as a user? If a user, which one? If as root, which user has wine installed?

Can you double check that you have the configuration options set correctly for linux?

Tom
Sage is running as root
user: mike has wine installed

What configuration options do I need to check?
if you mean the plugin configuration through the sage ui, then I set the "sage running as root" to "true" and the "wine running as user" to "mike"
Reply With Quote
  #196  
Old 09-15-2010, 01:39 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
That's the info I was looking for and it is setup correctly. Can you try one more thing for me please? Get to a shell as root and then try the command line to see what happens. I suspect you will get the same results but I want to make sure.

Tom
__________________

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
  #197  
Old 09-15-2010, 02:10 PM
ChePazzo ChePazzo is offline
Sage Aficionado
 
Join Date: Oct 2004
Posts: 287
Quote:
Originally Posted by tmiranda View Post
That's the info I was looking for and it is setup correctly. Can you try one more thing for me please? Get to a shell as root and then try the command line to see what happens. I suspect you will get the same results but I want to make sure.

Tom
like this:

Code:
root@sagebuntu:~# sudo -H -u mike echo $SHELL
/bin/bash

root@sagebuntu:~# sudo -H -u mike -s echo $SHELL
/bin/echo: /bin/echo: cannot execute binary file

root@sagebuntu:~# echo $SHELL
/bin/bash

root@sagebuntu:~# whoami
root

root@sagebuntu:~# sudo -H -u mike whoami
mike

root@sagebuntu:~# sudo -H -u mike -s whoami
/usr/bin/whoami: /usr/bin/whoami: cannot execute binary file
Reply With Quote
  #198  
Old 09-15-2010, 02:57 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Yes. I figured that would also fail.

Can you show me the log a few lines before the command is run? I'm specifically interested in the line that begins: "run: WinePath ".

Using sudo with the -s allows me to pass the shell specific environment variables that need to be set. On my machine the only vars I set are WINEPREFIX and WINEPATH, maybe in your setup we need to set more. I'm thinking there is something different about your environment / environment variables that I have not taken into account.

Sorry for all of the prodding, but this works fine on my system and I need your assistance to help debug. I'm not an expert at linux either Maybe the best course of action is simply to run the commadn without the -s but I want to be sire of that.

Tom
__________________

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
  #199  
Old 09-15-2010, 03:33 PM
ChePazzo ChePazzo is offline
Sage Aficionado
 
Join Date: Oct 2004
Posts: 287
Quote:
Originally Posted by tmiranda View Post
Yes. I figured that would also fail.

Can you show me the log a few lines before the command is run? I'm specifically interested in the line that begins: "run: WinePath ".
grabbed 10 before and 10 after. let me know if you needed more than that or if you need me to change the debug level.

Code:
Tue 9/14 12:14:52.510 [Thread-2823@432be4] CD: QueuedJob: Looking for comskip ini.
Tue 9/14 12:14:52.510 [Thread-2823@432be4] CD: QueuedJob: Looking for comskip ini file /opt/sagetv/server/CommercialDetector/comskip/TheDailyShowWithJonStewart.ini
Tue 9/14 12:14:52.510 [Thread-2823@432be4] CD: QueuedJob: Looking for comskip ini file /opt/sagetv/server/CommercialDetector/comskip/COMEDY.ini
Tue 9/14 12:14:52.510 [Thread-2823@432be4] CD: QueuedJob: No ini found, using default.
Tue 9/14 12:14:52.510 [Thread-2823@432be4] CD: plugin: STVPath = /opt/sagetv/server/STVs/SageTV7
Tue 9/14 12:14:52.510 [Thread-2823@432be4] CD: run: WinePath /home/mike/.wine/
Tue 9/14 12:14:52.511 [Thread-2823@432be4] CD: run: Job parts 1
Tue 9/14 12:14:52.511 [Thread-2823@432be4] CD: run: Processing /var/media3/tv/TheDailyShowWithJonStewart-111797-0.mpg
Tue 9/14 12:14:52.511 [Thread-2823@432be4] CD: hasAnEdlOrTxtFile: Looking for existing file /var/media3/tv/TheDailyShowWithJonStewart-111797-0.edl
Tue 9/14 12:14:52.511 [Thread-2823@432be4] CD: hasAnEdlOrTxtFile: Looking for existing file /var/media3/tv/TheDailyShowWithJonStewart-111797-0.txt
Tue 9/14 12:14:52.511 [Thread-2823@432be4] CD: run: Command sudo -H -u mike -s wine /opt/sagetv/server/comskip/comskip.exe --ini=/opt/sagetv/server/comskip/comskip.ini /var/media3/tv/TheDailyShowWithJonStewart-111797-0.mpg
Tue 9/14 12:14:52.577 [Thread-2824@bbd1] CD: stderr: /usr/bin/wine: /usr/bin/wine: cannot execute binary file
Tue 9/14 12:14:52.579 [Thread-2823@432be4] CD: run: comskip return code = 126
Tue 9/14 12:14:52.579 [Thread-2823@432be4] CD: run: comskip failed with return code = 126
Tue 9/14 12:14:52.579 [Thread-2823@432be4] CD: ComskipManager: job has completed with status true
Tue 9/14 12:14:52.579 [Thread-2823@432be4] CD: readQueuedJobs: complete. null
Tue 9/14 12:14:52.580 [Thread-2823@432be4] CD: readQueuedJobs: found 0
Tue 9/14 12:14:52.580 [Thread-2823@432be4] CD: ComskipManager: No more jobs to process.
Tue 9/14 12:14:52.580 [Thread-2823@432be4] CD: CSC removeStatus: item before remove 356352348,,344,340,336,332,328,324,320,316,312,308,304,300,296,292,288,284,280,276,272,268,264,260,256,252,248,244,240,236,232,228,224,220,216,212,208,204,200,196,192,188,184,180,176,172,168,164,160,156,152,148,144,140,136,132,124,120,108,104,100,92,84,80,76,68,60,56,52,44,39,584,580,576,572,568,564,560,556,552,548,544,540,536,532,528,524,520,516,512,508,504,500,496,492,488,484,480,476,472,468,464,460,456,452,448,444,440,436,432,428,424,420,416,412,408,404,400,396,392,388,384,380,376,372,368,360,356,352,348,344,340,336,332,328,324,320,316,312,308,304,296,292,288,280,276,268,264,260,252,248,240,236,232,228,224,220,212,208,204,200,196,192,188,180,172,168,160,156,152,148,144,140,136,132,120,108,104,100,92,84,80,76,68,60,52,44,39,357017,357017,39,172,316,340,360,384,408,428,444,460,476,480,504,512,528,540,552,568,192303,192419,192431,192435,192451,192463,192471,192479,192487,192495,192511,192519,192523,192531,192543,192551,192563,192579,192587,192595,192607,192615,192627,192635,192651,192663,192671,192687,192699,192707,192715,192803,192815,192835,192843,192855,192859,192867,192875,192887,192895,192899,192935,362721,357426,357383,357365,357362,357069,357027,357026,357025,357020,357017,357016,333695,333693,333683,192891,192883,192879,192871,192863,192851,192847,192839,192831,192827,192823,192819,192811,192807,192799,192795,192791,192787,192783,192779,192775,192771,192767,192763,192759,192755,192751,192747,192743,192739,192735,192731,192727,192723,192719,192711,192703,192695,192691,192683,192679,192675,192667,192659,192655,192647,192643,192639,192631,192623,192619,192611,192603,192599,192591,192583,192575,192571,192567,192559,192555,192547,192539,192535,192527,192515,192507,192503,192499,192491,192483,192475,192467,192459,192455,192447,192443,192439,192427,192423,192415,192411,192407,192403,192399,192395,192391,192387,192383,192379,192375,192371,192367,192363,192359,192355,192351,192347,192335,192331,192327,192323,192311,192307,192299,192295,192291,192287,192283,192271,192267,192263,192259,192255,192251,192247,612,608,604,600,596,592,588,584,580,576,572,564,560,556,548,544,536,532,524,520,516,508,500,496,492,488,484,472,468,464,456,452,448,440,436,432,424,420,416,412,404,400,396,392,388,380,376,372,368,356,352,348,344,336,332,328,324,320,312,308,304,300,296,292,288,284,280,276,272,268,264,260,256,252,248,244,240,236,232,228,224,220,216,212,208,204,200,196,192,188,184,180,176,168,164,160,156,152,148,144,140,136,132,124,120,108,104,100,92,84,80,76,68,60,56,52,44,357383,357383,357383
Tue 9/14 12:14:52.581 [Thread-2823@432be4] Exception in thread "Thread-2823" Tue 9/14 12:14:52.581 [Thread-2823@432be4] java.lang.NumberFormatException: For input string: ""
Tue 9/14 12:14:52.581 [Thread-2823@432be4] 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
Quote:
Originally Posted by tmiranda View Post
Sorry for all of the prodding, but this works fine on my system and I need your assistance to help debug.
No problem at all. I'm happy to help in any way. I've used the comskip with the autoskip for a while now, but never had integration like this, so this is great. Even with this one issue, the full-package integration is excellent.

I'm pretty excited about the new GUI for installing plugins and such and it really shows SageTVs commitment to maintaining an open platform while still making money!
Reply With Quote
  #200  
Old 09-15-2010, 04:07 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
That log helped a lot. It also shows me why the CS Icon is not always showing.
__________________

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
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 07:08 PM.


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