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
  #501  
Old 02-03-2011, 08:26 AM
dealsdyker's Avatar
dealsdyker dealsdyker is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 183
Hi Tom,

I'm "kind of" sure I do have the UI Mod Plugin installed on the server where I ran the test but will confirm when I get home. The reason I'm pretty sure is because I went to the "All" tab and I'm pretty sure I saw it there. I also recall seeing the button in Sage/Setup for comskip playback options. Looked at the settings but did not change any. Also, on some shows commercials are found. On some they are not. But all the shows play fine in both Sage and Windows Media player.

I watched the recordings directory through file manager. When I and pushed the button to delete the comsip files I verified through file manager they disappeared. Additionally I also tried manually deleting the comskip files and pushing "run comskip" on the file. In all cases the CS support files disappeared and then reappeared when I pushed "run comskip".

And when I do this the "CS" icon appears in the header area the in the list of files that particular file has the CS icon in a slightly "off" color (maroon?) which I assume to mean it is processing. After about 6-8 minutes the CS in the header disappears and the color of CS on that show goes to the "normal CS" color. So I assumed I waited long enough. Additionally, all the files show as "existing" on the directory again with the date/time when I ran it, with the EDL empty and the one file containing
FILE PROCESSING COMPLETE 107838 FRAMES AT 2997
-------------------
107837 107838

What is odd is some shows do CS just fine, while some have zero length EDL files. And if I re-process a file that processed OK before it processes OK again (I can watch the files get deleted and recreated on those too).

Any ideas? Maybe I should just delete all the comskip support files where the EDL is zero length, uninstall and reinstall commercial skip on the server and client, push the button again to recreate all the CS files (in the settings of the plug in) and let it run overnight tonight. One more thing, I also have tried pushing the "reset all settings" button on the Comskip server options.
__________________
This space intentionally left blank
Reply With Quote
  #502  
Old 02-03-2011, 10:28 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Sounds like comskip is definitely running on the files fine, and there is no problem with CommercialDetector. It looks like comskip is having some problem with the recordings themselves. You'd need to look at the comskip log files (you'll have to turn logging on in the comskip.ini). It may point to a problem in the recordings themselves, that comskip is hanging up on.
__________________
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
  #503  
Old 02-03-2011, 11:28 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
As Fuzzy said, it appears that comskip is running because thte "off color" CS icon indicates that the file is in-process and the normal color indicates it has completed.

Edit the comskip.ini file and change verbose=0 to verbose=10. Make sure the CommercialDetector loglevel is set to Verbose. Send me the logfile after doing that and processing one or two of these troublesome files.
__________________

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
  #504  
Old 02-03-2011, 11:30 AM
95TBird's Avatar
95TBird 95TBird is offline
Sage Advanced User
 
Join Date: Mar 2006
Location: Berthoud, CO
Posts: 143
I saw the "empty EDL" issue on Jeopardy Monday & Tuesday & I was able to determine that it was caused by the "ticker bar" that was running on the bottom of the screen (they were announcing school closures) Apparently the bar renders comskip unable to properly detect the logo.

-Bruce
__________________
Server: Intel DH55HC MB, Intel Core i5-661 CPU, 4 GB Corsair PC3 10666 RAM, 2 Ceton InfiniTV 4s (Comcast), RocketRAID 2740 16PORT SAS 6.0Gb Controller, 2.56TB TV Storage (4 WD Caviar Black 640GB SATA 6.0Gb Drives), 8.5TB Movie Storage, Norco 4220 Case, Corsair HX750 PS, W7 Professional (Windows Media Center), TunerSalad Foot Long, My Channel Logos, & MYMovies.
Reply With Quote
  #505  
Old 02-03-2011, 11:34 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by 95TBird View Post
I saw the "empty EDL" issue on Jeopardy Monday & Tuesday & I was able to determine that it was caused by the "ticker bar" that was running on the bottom of the screen (they were announcing school closures) Apparently the bar renders comskip unable to properly detect the logo.

-Bruce
Yes, Something like this is the most likely culprit. Comskip is very good, but it's not infalible.
__________________

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
  #506  
Old 02-03-2011, 02:02 PM
dealsdyker's Avatar
dealsdyker dealsdyker is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 183
That might explain Tuesday's Biggest Loser... I recall the local network had "shrunk" the video some and put a bunch of closings along the bottom. I will look closer at the recordings and in light of that, see if there are still recordings that cannot be explained.
__________________
This space intentionally left blank
Reply With Quote
  #507  
Old 02-03-2011, 02:29 PM
jlmdxtv jlmdxtv is offline
Sage Advanced User
 
Join Date: Oct 2005
Location: PA
Posts: 182
Is this possible?

Hi Tom,

I perform post-recording comskip processing only.

Is it possible to have comskip wait a few (eg. 10 or 20) seconds after a show is finished before starting its commercial detection?

I'm asking this because I use use the "multifunction stop plugin" often to "stop recoding and delete now" news and another shows that don't keep my interest, but as soon as I stop a recording comskip takes over, locks up the file while it starts its thing, and the show isn't easily deleted and/or edl files are left behind as orphans.

thank, john
Reply With Quote
  #508  
Old 02-03-2011, 02:36 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
John,

Are you getting an error or warning from Sage saying the file can't be deleted or does it appear to successfully delete and then the .mpg and .edl are left behind?

I thought I had put in code to handle this situation so I guess I need to make sure it's working as advertised.

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
  #509  
Old 02-03-2011, 04:04 PM
jlmdxtv jlmdxtv is offline
Sage Advanced User
 
Join Date: Oct 2005
Location: PA
Posts: 182
Tom,

The "stop" plugin always stops the recording when I ask it to, but typically doesn't delete the recording file as expected - no error messages in the UI ever about it being in use.

If the recording is still there (almost always), comskip starts right up and I delete the recording file from the recordings list a few seconds later. The recording file is deleted, comskip stops, and the orphans are left behind.

Comskip likely starts the moment the recording is stopped and before the command to delete it takes place. That's why it's there on the "Recordings" list moments later. If comskip wasn't so quick to open the file and process it, I think the "stop" plugin would be able to delete it properly and the orphan issue would go away.

john
Reply With Quote
  #510  
Old 02-03-2011, 06:18 PM
dealsdyker's Avatar
dealsdyker dealsdyker is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 183
It seems that some of the files do, in fact have school closings etc. But here is some weirdness. On the server I record all to e:\tvrecs\*.*. And prior to earlier this week, I had "e:\tvrecs\" as the recordings directory. But I recently (to use this plug-in) changed to UNC \\servername\tvrecs which seemed to work fine. I'd say 80-90% of the files, when I display "view recording detail" show the UNC path now. But on some of the problem files the file location still says e:\tvrecs\Programname_... under the "View Recording Detail" in Sage. I'm assuming that commercial skip looks at this field to determine where the comskip support files are. It sees "E:" on the client machine (on which there is no E: drive). And then comskip can't work on that file. Sage still serves the file cuz on the server E: exists, but commskip on the client cannot resolve E:\. On new recordings it seems to be storing the file location as \\servername\tvrecs\programname correctly.

I thought by changing to UNC that Sage would change all the file location references to the UNC for any existing recording/file. I looked and the media imports to not reference e specifically, nor does the recorded TV directory. So why do a few files still have a hard-code reference to e:\... this might be why some files don't seem to be able to CS from the TV computer.

So more importantly how do I fix so that all recordings metadata switches over to UNC instead of e:\tvrecs\... (or is this not a problem and I'm down the wrong path). I can post in another thread if that is best.
__________________
This space intentionally left blank

Last edited by dealsdyker; 02-03-2011 at 09:44 PM.
Reply With Quote
  #511  
Old 02-04-2011, 07:15 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
comskip.exe always runs on the Server so it can always find the file. If it can't you have bigger problems

To get all of the files updated to UNC paths Sage must "see" that e:\tvrecs is empty. There are loads of discussons on this on the forums, I'd suggesting searching for "UNC path".
__________________

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
  #512  
Old 02-04-2011, 09:50 AM
dealsdyker's Avatar
dealsdyker dealsdyker is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 183
Thanks Tom. What I noticed is the files still coded with E:\TVRECS\... is that from the Client Machine (which has no E: drive) when I select the show instead of "Delete Comskip Files" I get the "Run Comskip" selection, even though those comskip files actually exist out on the server. From the server itself I get "Delete Comskip files" on the same popup, I'm guessing, because the server can see them either way.

I wonder if I go to E:\ and rename the directory tvrecs to something else, will the UNC path stay "tvrecs"? I guess I better search because I don't want to mess things up more.
__________________
This space intentionally left blank
Reply With Quote
  #513  
Old 02-04-2011, 01:13 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by dealsdyker View Post
What I noticed is the files still coded with E:\TVRECS\... is that from the Client Machine (which has no E: drive) when I select the show instead of "Delete Comskip Files" I get the "Run Comskip" selection, even though those comskip files actually exist out on the server.
That's totally normal because your Client can't see E:\tvrecs. Double check these instructions but I believe doing this will get all the paths changed on the server:


- Stop sage.
- Rename the e:\tvrecs directory to something else like e:\tvrecs2.
- Make your share point to tvrecs2
- Make an empty directory e:\tvrecs
- Restart Sage

Sage will scan e:\tvrecs and when it finds it is empty it will update all of the recordings to use the share name.

That should solve the last of your problems.
__________________

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
  #514  
Old 02-09-2011, 09:01 AM
rockinray rockinray is offline
Sage User
 
Join Date: Aug 2009
Location: Lakeville, MN
Posts: 45
Smile

Hey Tom,

This looks to be a fantastic setup.... Except I cannot for the life of me get it to work!

I am running 64 Bit server, running Sage as "root", I know....

I have installed wine without issue and I have installed the plug in...

When I go to set things up, I ask to scan the shows that have already been recorded. It finds them (in my case 9) and it appears the job starts. The icon is displayed on the screen, it is purple... It appears to run for a bit and if I arrow down to see the shows that are currently being processed, the icon disappears and when I land on the current processing shows, it will go from say 2 to 0. Then the program appears to die. I have also tried to kick off the scan in the recored shows menu (note the CS icon does appear next the the show with a red - slash) and it does not appear to do anything.

So, I am kind of stuck here and wondering what I could try next? I do have a powerful machine running this so that should not be a problem.

I was thinking maybe a permissions issue??? Not sure.

Thanks for any advice you could provide!

--Ray
__________________
Best regards,

Ray

Linux 2.6.38-10-server on x86_64 / SageTV 7.1.9 / Placeshifter / Boxee - soon / 2-HDHOMERUN
Core i3 / 8GB / 72 GIG Raptor Boot / 2TB WD Green TV Drive
Reply With Quote
  #515  
Old 02-09-2011, 09:17 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by rockinray View Post
Hey Tom,

This looks to be a fantastic setup.... Except I cannot for the life of me get it to work!

I am running 64 Bit server, running Sage as "root", I know....

I have installed wine without issue and I have installed the plug in...

When I go to set things up, I ask to scan the shows that have already been recorded. It finds them (in my case 9) and it appears the job starts. The icon is displayed on the screen, it is purple... It appears to run for a bit and if I arrow down to see the shows that are currently being processed, the icon disappears and when I land on the current processing shows, it will go from say 2 to 0. Then the program appears to die. I have also tried to kick off the scan in the recored shows menu (note the CS icon does appear next the the show with a red - slash) and it does not appear to do anything.

So, I am kind of stuck here and wondering what I could try next? I do have a powerful machine running this so that should not be a problem.

I was thinking maybe a permissions issue??? Not sure.

Thanks for any advice you could provide!

--Ray
Just to confirm... you did follow the linux specific configuration...
Quote:
If your Sage server is running on linux do the following:

You MUST install wine on your linux server under a normal user account (not root). CommercialDetector uses comskip to scan the recordings and comskip is a native Windows program. comskip does work quite well under wine and in some cases actually runs faster under wine than under Windows. Do NOT install wine from the root account.
If you are running the Sage server as root I suggest making a special account solely for the purpose of running comskip. If you call the account comskip, or anything that has "commercial", "sage", "wine" or "detect" in it, the plugin should find that account and use it as the default.
If you are not running Sage under the root account, install wine under the same user you are using for sage.
Go to the plugin manager->All Installed Plugins and select the "General" section.
Select the CommercialDetector plugin, then select "Configure".
Navigate down the list of options until you find "SageTV is Running as Root". Set this to True or False according to your setup.
If the Sage server is running as root you must select a user account that will be used to run comskip. This should be the user account where you installed wine in step 1.
If the Sage server is not running as root, enter the user account that is running Sage.
If you installed wine in the normal way the Home directory for wine default will be OK. If you did something funky you can enter the appropriate Home directory for wine.
And if you have HD recordings you'll need to donate to get the HD version of comskip.
Reply With Quote
  #516  
Old 02-09-2011, 09:32 AM
rockinray rockinray is offline
Sage User
 
Join Date: Aug 2009
Location: Lakeville, MN
Posts: 45
I think that is the issue. All of my recordings are HD! I was unaware of the donation needed.

I will do some further reading on this and donate.

So, questions:

1. What is the best approach to install the software since I will not "package" them together?
2. Do I simply put Comskip in a seperate directory and move the files to the correct directory once I install the CommercialDetector Plug In???

Just looking for best approach on this!

Thanks!

--Ray
__________________
Best regards,

Ray

Linux 2.6.38-10-server on x86_64 / SageTV 7.1.9 / Placeshifter / Boxee - soon / 2-HDHOMERUN
Core i3 / 8GB / 72 GIG Raptor Boot / 2TB WD Green TV Drive
Reply With Quote
  #517  
Old 02-09-2011, 01:16 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by rockinray View Post
I think that is the issue. All of my recordings are HD! I was unaware of the donation needed.

I will do some further reading on this and donate.

So, questions:

1. What is the best approach to install the software since I will not "package" them together?
2. Do I simply put Comskip in a seperate directory and move the files to the correct directory once I install the CommercialDetector Plug In???

Just looking for best approach on this!

Thanks!

--Ray
Both of those questions are answered in the comskip wiki (which I copied from in my post above). The wiki is linked in the first post.
Reply With Quote
  #518  
Old 02-09-2011, 01:42 PM
cjbojrab cjbojrab is offline
Sage User
 
Join Date: Jan 2011
Location: Berwyn
Posts: 40
Safe to update to latest version of Comskip?

I installed the CommercialDetector plugin and it in turn installed comskip, dated 8/15/2010. But I notice there is a later version of comskip available here: http://www.kaashoek.com/files/. Is it safe to download the latest version of comskip and use it in place of the 8/15/2010 version? I don't know what's different, but just wanted to update to the latest and greatest.
Reply With Quote
  #519  
Old 02-09-2011, 02:42 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
If you want to be able to comskip any recrodings in h.264 format you need to donate $10 for the special donators version that the later versions are. You are then provided a login and password to download the file from.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #520  
Old 02-09-2011, 03:20 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by cjbojrab View Post
I installed the CommercialDetector plugin and it in turn installed comskip, dated 8/15/2010. But I notice there is a later version of comskip available here: http://www.kaashoek.com/files/. Is it safe to download the latest version of comskip and use it in place of the 8/15/2010 version? I don't know what's different, but just wanted to update to the latest and greatest.
You can use whatever version of comskip you like. Unzip comskip to the location of your choosing and then go to the CommercialDetector setup options and point it at comskip.exe and comskip.ini. You should proabably tweak the comskip.ini to make sure the follwoing are set:

live_tv=1
output_default=0
output_edl=1
verbose=0
delete_logo=1 (check this one, I'm going from memory.)
__________________

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 03:36 AM.


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