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
  #301  
Old 10-08-2010, 05:21 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by toricred View Post
I tried using the built-in recordings menu and I still don't see anything about run comskip or deleting the edl files. I'm not actually using comskip, but rather ShowAnalyzer. Could that be a clue that I have some setting missing?
Possibly. First check to make sure you have installed the CommercialDetector UI Mod plugin and not just the CommercialDetector General plugin. Next go to Settings->Detailed Settings->Advanced and look for Comskip Options (near the end of the list). There is a setting in there that enables/disables showing the Comskip button on the menus.

Let me know how that works out. There is something amiss for sure if you are not seeing the button.
__________________

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
  #302  
Old 10-08-2010, 05:23 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Sambo555 View Post
That .jar fixed deleting orphan 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
  #303  
Old 10-08-2010, 05:39 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by uberpixel View Post
I've made a bunch of changes lately so I'm not sure how this started but...

With comskip running on 2 threads at a time and processing active recordings, the cpu load goes to 100% and SageTV v7 becomes unusable. I've tried disabling comskip and every calms back down. I also hear heavy hard drive activity when comskip is running.

Comskip was running fine in the configuration noted above except for one or two hiccups per hour in my recordings so I decided I needed to make it better.

I rebuilt my WHS system around a 1.8ghz Intel E4300 Core2Duo (which should have been an upgrade from the single core 3.0ghz P4 530).

After the upgrade I also installed the most recent v7 beta software from SageTV.

I got an error message that I had run out of memory so I adjusted my Java heap size to 512mb.

I've also been get "Halt detected" errors and occasional "no signal" errors.

Not sure if comskip is the problem or just a symptom... Any ideas what's going on or how I can troubleshoot?
Here are a few comments and observations that I hope will help:

- 512MB Java heap is probably too small. CommercialDetector does not use much java heap but many other plugins do. I would consider 512MB small and 1MB about right for "most" people.

- What version of CD are you using? The current version available in the repository (0.70) has a bug that sometimes prevents more than one comskip job from starting. This bug is fixed in the forum beta (0.75) I posted a few days back so if you are running 0.75 it could be you were never really running more than 1 comskip and now you are.

- Try running comskip with the "Run More Slowly" option set to True. That may free up some CPU cycles for you.

- Try setting the maximum number of jobs to 1 to see ifthat helps. (Or see what happens when only 1 job is actually running.) I would guess that with only 1 job running your system will be disk bound and not CPU bound. I'm not certain given the CPU you have, but it's worth a shot.

- Do you have any other plugins installed? If so try uninstalling those one at a time to verify that it's CommercialDetector causing the issues.

- When you say you "rebuilt your system", did you just change the CPU or did you also change other components? I'm sure I'm preaching to the choir but since you changed several things at once you need to try to isolate various components to see which one is failing.

Let me know how you get on.

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
  #304  
Old 10-08-2010, 09:03 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
OK, I had the buttons turned off. What an idiot move. Unfortunately when I turn them both on I only see the delete comskip files button, not the run comskip option. If I just delete the comskip files will CD try to run comskip again automatically?
Reply With Quote
  #305  
Old 10-09-2010, 02:44 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by toricred View Post
OK, I had the buttons turned off. What an idiot move. Unfortunately when I turn them both on I only see the delete comskip files button, not the run comskip option. If I just delete the comskip files will CD try to run comskip again automatically?
If you press the button it will change from "delete the comskip files" to "run comskip".
__________________

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
  #306  
Old 10-09-2010, 03:23 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Version 0.80

I just uploaded version 0.80 which has the following:

- Added ability to scan for and delete files that should have been cleaned up but were not.
- Added experimental option, Intelligent Scheduling, which only starts jobs if Sage is not recording and the job will finish before the next scheduled recording.
- Added advanced options to show what's currently being processed and what is queued.
- Added more robust error detection and recovery.
- Moved some configuration options to Advanced since most users will never need them.
- Fixed bug that would sometimes cause only 1 job to start even though more than 1 could have been started.
- Fixed bug that prevented jobs queued after scan from starting until after a SageEvent.
- Fixed bug that prevented files from being cleaned up if CD was set to start immediately, user was watching live TV, and Sage attempted to delete the MediaFile.
- Fixed bug that caused no jobs to get processed if a queued job contained a MediaFile that was deleted.
- Fixed bug that prevented proper cleanup if a recording was split into multiple parts.

I also updated the wiki: http://code.google.com/p/tmiranda/wi...ercialDetector
__________________

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
  #307  
Old 10-09-2010, 06:40 PM
Email68 Email68 is offline
Sage Advanced User
 
Join Date: Aug 2010
Location: N. Cal.
Posts: 109
Great job.

Thanks!
Reply With Quote
  #308  
Old 10-13-2010, 12:28 PM
wrems's Avatar
wrems wrems is offline
Sage Icon
 
Join Date: Feb 2007
Location: Marietta, GA
Posts: 1,332
I just got up and running with this. It's pretty slick. For commercial skipping I've only ever used SA and dirmon in the past. So I thought I would give this plugin a try with the default setup and using comskip.

One thing I either haven't figured out yet or isn't currently available is an option to choose a portion of the file not to execute comskip on. For example, don't process the first 3min of the recording or the last 3min. User selectable times of course, but this was nice in SA to avoid detecting the scenes for the next week's show as commercials. Or, in the beginning of the file the intro/credits etc.

I have tried setting the option for not processing commercials shorter than X... We'll see I'm re-processing some files now to see the results of that change.

BTW, great work on the integration. I won't miss dirmon Although I can't complain when setup it just worked.
Reply With Quote
  #309  
Old 10-13-2010, 02:05 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Glad you like it

There is nothing in the plugin that allows not processing the first and last n minutes of a show. It might be something that is configurable in the comskip.ini file, but I'm not sure. Your best bet will be to look at the comskip manual.

If you were using SA in the past and it supported this function, you can still use SA with this plugin. I'm assuming there is a SA setting in the profile that can be set that tells it to not process the first/last n minutes? To use SA just enable the advanced settings and choose Use ShowAnalyzer instead of comskip. It supports SA profiles on a per show, per channel or global basis.

You can get even fancier and use comskip on some channels and SA on others.
__________________

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
  #310  
Old 10-13-2010, 02:22 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by tmiranda View Post
There is nothing in the plugin that allows not processing the first and last n minutes of a show. It might be something that is configurable in the comskip.ini file, but I'm not sure.
This setting is available in the comskip.ini file.

Quote:
- Added parameters always_keep_first_seconds and always_keep_last_seconds, Set them to the number of seconds at start/end you always want to be regarded as show.
This will accomplish what you want.

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
  #311  
Old 10-15-2010, 10:36 AM
vexhold's Avatar
vexhold vexhold is offline
Sage Aficionado
 
Join Date: Mar 2008
Location: Hastings, MN
Posts: 353
I scanned this post for an answer but saw none.

I am a 1st time commercial skipper. (I know, I should have been a loooong time ago) and installed this a couple weeks ago. The problem is, is that my only sources are HD-PVR's and I realized the other day that I needed the donators version.

I now have that and it is configured, how do I redo all the shows that the bad version already completed?
Reply With Quote
  #312  
Old 10-15-2010, 10:45 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Get rid of the .edl, .txt files that bear the same name as the recording you wish to comskip again.

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
  #313  
Old 10-15-2010, 10:46 AM
vexhold's Avatar
vexhold vexhold is offline
Sage Aficionado
 
Join Date: Mar 2008
Location: Hastings, MN
Posts: 353
Can I just click Delete Comskip Files in the show menu and run it again.

Will that accomplish the same task, or is it better to go in there and manually delete them?
Reply With Quote
  #314  
Old 10-15-2010, 10:48 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
That command has been there awhile so I'm not positive but you could try that first. Comskip used .txt files before it eventually moved to .edl files. So that may work for you.

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
  #315  
Old 10-15-2010, 11:17 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by vexhold View Post
I now have that and it is configured, how do I redo all the shows that the bad version already completed?
1. Manually delete all of the .edl, .txt, .log files.

2. Go to the CommercialDetector General plugin options and select Show Advanced Options. Then look for a setting that says "Scan All Recordings Without comskip Info". Once you select that everything will get queued. Note that if you have a lot of files the scan will take a while and you will get the "spinning circle".
__________________

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
  #316  
Old 10-15-2010, 12:01 PM
vexhold's Avatar
vexhold vexhold is offline
Sage Aficionado
 
Join Date: Mar 2008
Location: Hastings, MN
Posts: 353
Ok, so I found the .txt files but there were no .edl or .log files.

I made sure before posting by doing a full system search for them.

But I deleted the .txt files and went to the config and followed your steps.

When I clicked "Scan All Recordings Without comskip Info" It bumped up to 48 and the option 2 down from it changed to 100, I wasnt sure if there were other options (ie all) so I clicked it again and the option 2 down went from 100 to 148... I then stopped in fear I was doing something wrong. I check back later and it went down to 146.

Checked again for .edl files and still nothing.

Haha, I know Im doing something wrong but alas know not what.
Reply With Quote
  #317  
Old 10-15-2010, 01:17 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by vexhold View Post
Ok, so I found the .txt files but there were no .edl or .log files.

I made sure before posting by doing a full system search for them.

But I deleted the .txt files and went to the config and followed your steps.

When I clicked "Scan All Recordings Without comskip Info" It bumped up to 48 and the option 2 down from it changed to 100, I wasnt sure if there were other options (ie all) so I clicked it again and the option 2 down went from 100 to 148... I then stopped in fear I was doing something wrong. I check back later and it went down to 146.

Checked again for .edl files and still nothing.

Haha, I know Im doing something wrong but alas know not what.
You did not do anything wrong.

The first time you click on "Scan All Recordings Without comskip Info" it counts how many it found without .edl or .txt. In your case it was 48. The second time you clicked on it it queued them to be comskipped, that's why the "second option down" ("Show Jobs That Are Queued" which shows the number of recordings queued) went from 100 to 148. You had 100 already queued to be comskipped and you added 48 to it. When you checked back later and it was 146 tells you that 2 were completed. If you actually click on the "146" it will display the shows that are queued.

The fact that you didn't find any .edl files tells me you did not edit the new comskip.ini to create the edl files. (I am assuming you installed the donator's version of comskip and used the default .ini.) To get comskip to create .edl files add "output_edl=1" into the .ini file. To suppress the .txt files (you don't need both .edl and .txt) set "output_default=0". To avoid the .log files set "verbose=0".

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
  #318  
Old 10-15-2010, 02:51 PM
vexhold's Avatar
vexhold vexhold is offline
Sage Aficionado
 
Join Date: Mar 2008
Location: Hastings, MN
Posts: 353
Quote:
The fact that you didn't find any .edl files tells me you did not edit the new comskip.ini to create the edl files. (I am assuming you installed the donator's version of comskip and used the default .ini.)
Yes, I am using the most recent donator's version and the default .ini

Quote:
To get comskip to create .edl files add "output_edl=1" into the .ini file.
This was already there

Quote:
To suppress the .txt files (you don't need both .edl and .txt) set "output_default=0".
This is not in the .ini, do I need to add it in there?

Quote:
To avoid the .log files set "verbose=0".
This one was there and is now changed.
Reply With Quote
  #319  
Old 10-15-2010, 07:26 PM
vexhold's Avatar
vexhold vexhold is offline
Sage Aficionado
 
Join Date: Mar 2008
Location: Hastings, MN
Posts: 353
Thanks guys, I got it working. Thanks for the hard work Tom.
Reply With Quote
  #320  
Old 10-19-2010, 10:55 PM
Email68 Email68 is offline
Sage Advanced User
 
Join Date: Aug 2010
Location: N. Cal.
Posts: 109
Quote:
Originally Posted by toricred View Post
OK, I had the buttons turned off. What an idiot move. Unfortunately when I turn them both on I only see the delete comskip files button, not the run comskip option. If I just delete the comskip files will CD try to run comskip again automatically?
I think I have the same problem. I have both buttons, del comskip and run comskip set to show in the configuration and the UI plugin enabled. However, only the del comskip for shows that have been auto comskipped shows up. The run comskip button does not show up at all for shows that were not comskpped.

I'm running the latest version of comskip and the .20 sage beta.

-Tim
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:09 PM.


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