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
  #841  
Old 09-27-2013, 01:53 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by adone36 View Post
Isn't there a spec in the plugin config where you specify file types???
Yes there is and the defaults don't include MKV and AVI as far as I can remember. So it would have to have been changed to pick up those. Unless you are auto converting the recordings in SageTV as that could be happening first before Commercial Detector picks them up.
Reply With Quote
  #842  
Old 09-27-2013, 02:06 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by BobPhoenix View Post
Yes there is and the defaults don't include MKV and AVI as far as I can remember. So it would have to have been changed to pick up those. Unless you are auto converting the recordings in SageTV as that could be happening first before Commercial Detector picks them up.
I just reinstalled it yesterday and it was setup that way I did not change any defaults. I know enough not to try and comskip avis etc.... and I am not auto converting any recordings.

This is how it was setup. It could be something that was leftover from a previous Installation as Commercial Detector does not appear to cleanup its properties settings.

cd/video_ext=mpg,mp4,avi,ts,mkv
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 09-27-2013 at 02:18 PM.
Reply With Quote
  #843  
Old 09-27-2013, 02:32 PM
adone36 adone36 is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 142
While we are discussing file types, etc, I noticed Sage will support playing back wtv files but timeline does not show properly (skip ahead does not work, etc).

I have the donator version of Comskip (which supports wtv) and added wtv to the files in the comskip plug in. I run comskip on the wtv files and the directories contain the edl files, but Sage shows the different colors on the timeline bar, but it does not skip. So I think there may be something going on with the way the plugin works.
Reply With Quote
  #844  
Old 09-27-2013, 02:41 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
I did a fresh Install on my test machine that never had Commercial detector installed. It has all the files as valid. See screenshot attached. If you scan for files not comskipped it will add all the TV files regardless of extension.
Attached Images
File Type: jpg cd.jpg (90.1 KB, 192 views)
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 09-27-2013 at 02:44 PM.
Reply With Quote
  #845  
Old 09-27-2013, 03:04 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Based on tmiranda's comment:

Quote:
Several times you may want to run comskip manually:
- If you import recordings.
- If you edit the comskip.ini to try to get better results.
it makes sense that scanning for all files not comskipped would include not just the sagetv recording types, but also video that you might import from elsewhere that has commercials.
Reply With Quote
  #846  
Old 09-27-2013, 05:44 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Comskip now has multi-thread support:

Quote:
Add
thread_count=2
to your config.ini for the fastest multiple comskip decoding.
When only running one instance of comskip on a multicore CPU you can set
thread_count=4
for even faster processing.
http://www.kaashoek.com/comskip/view...php?f=1&t=1130
Reply With Quote
  #847  
Old 09-27-2013, 05:50 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Is it possible to apply the

Code:
videoframe/disable_timescaling_on_seek=true
to the properties files of the SageTV extenders?
Or is this unnecessary since it is in the SageTV server properties file?
Reply With Quote
  #848  
Old 09-27-2013, 06:04 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Does the 'Scan All Recordings' parameter apply only to the 'RecordedTV' directories?
Reply With Quote
  #849  
Old 09-27-2013, 06:10 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
Is it possible to apply the

Code:
videoframe/disable_timescaling_on_seek=true
to the properties files of the SageTV extenders?
Or is this unnecessary since it is in the SageTV server properties file?
There is a configuration option as part of the comskip playback stvi to do this (not a part of CommercialDetector, but installed with it):

Setup -> Detailed Setup -> Customize -> Comskip Playback Options -> Operation Options -> Disable Timeline Scaling == Yes

Just make this change from each extender, and it will set it in that extender's properties file. (You could, also, just make the change in the properties file on the server. each extender has it's own properties file in the SageTV/Clients folder on the server, named for the extender's MAC address. But the UI change is much easier.
__________________
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
  #850  
Old 09-27-2013, 06:37 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Right - I looked in the extender client config files first and didnt notice the parameter at all...

I wanted to confirm that adding it manually actually has an effect on the extenders.

I run SageMC on my extenders so I do not have the Comskip Playback Plugin configured for the extenders (SageMC and Phoenix have the feature built-in...) so it should be unnecessary.

By adding the entry manually I should get a more accurate commercial timeline for the extenders correct? (using either comskip or SAV)
Reply With Quote
  #851  
Old 09-27-2013, 11:11 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
yes, it should. It is not in the .properties file by default, but adding it (with the service shut down) will enable the feature (technically, disable the scaling feature)
__________________
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
  #852  
Old 09-30-2013, 11:52 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by sflamm View Post
Does the 'Scan All Recordings' parameter apply only to the 'RecordedTV' directories?
No, it will look for every MediaFile that is video. I think the questions was answered but there is a setting in there to tell CommercialDetector what type of files to process.
__________________

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
  #853  
Old 09-30-2013, 05:12 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Got it. Would be nice if you ever get a chance to have an option just to look in the RecordedTV directories....

Typically anything else would not have commercials...
Reply With Quote
  #854  
Old 01-27-2014, 03:18 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
How do you prevent commercials from being detected on MKV files .... When I transcode to MKV and delete the original files it will run Comskip on the mkv even though the edl exists.... and exactly where is that setting to tell it only to run on mpg? The only option I see is cleanup of files.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 01-27-2014 at 03:22 PM.
Reply With Quote
  #855  
Old 01-27-2014, 03:27 PM
adone36 adone36 is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 142
Remove mkv from the file types in the plugin config.
Reply With Quote
  #856  
Old 01-27-2014, 03:38 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by adone36 View Post
Remove mkv from the file types in the plugin config.
The problem with that is wouldn't it delete EDL files when it does it cleanup for the mpg files?


I will do some testing see what happens.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 01-27-2014 at 03:43 PM.
Reply With Quote
  #857  
Old 01-27-2014, 03:48 PM
adone36 adone36 is offline
Sage Advanced User
 
Join Date: Nov 2007
Posts: 142
It is going to "clean up" when you delete the video file. Why are you comskipping and then converting? Why not convert and then comskip?

Are you talking imports or recordings?
Reply With Quote
  #858  
Old 01-27-2014, 04:08 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by adone36 View Post
It is going to "clean up" when you delete the video file. Why are you comskipping and then converting? Why not convert and then comskip?

Are you talking imports or recordings?
I do live Comskipping and autoconvert some Favorites. I am testing now it appears to be working with just the mpg. After conversion even though the MPG is deleted it is not deleting the EDL so your suggestion appears to work.

PS I was not converting then Comskipping because I did not use the Donator version and that would not do MKV...
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 01-27-2014 at 04:14 PM.
Reply With Quote
  #859  
Old 02-26-2014, 08:49 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Why would the commercial detector be violating the set restricted times? I have the restricted times set from 07:00 till 23:59. It is currently running detection on two recordings. I've checked Process Explorer and it says that they were started at 08:04 and 08:40. It does have 7 recordings in the queue but shouldn't it wait to start those until the restriction is lifted at midnight?
__________________
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
  #860  
Old 02-26-2014, 09:58 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
Why would the commercial detector be violating the set restricted times? I have the restricted times set from 07:00 till 23:59. It is currently running detection on two recordings. I've checked Process Explorer and it says that they were started at 08:04 and 08:40. It does have 7 recordings in the queue but shouldn't it wait to start those until the restriction is lifted at midnight?
Sounds like a bug. Can you turn on debug logging in Sage, set the debug level in the plugin to "trace", reproduce the problem and then upload the logfile? I will take a look to see what's going on.
__________________

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


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