SageTV Community  

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

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-22-2006, 06:03 AM
Nate Nate is offline
Sage Advanced User
 
Join Date: Jun 2004
Posts: 92
comskip STV for SageTV v5?

Hi, I just upgraded to version 5 of Sage and I lost the ability to have Sage visually show where comskip thinks commercials are and to auto-jump over them. I was using a special STV file with v4 (forget which exactly). Is this possible with v5? Thanks!
Reply With Quote
  #2  
Old 07-22-2006, 07:36 AM
blade blade is offline
SageTVaholic
 
Join Date: Jan 2005
Posts: 2,500
Yes, when you upgrade Sage it goes back to using the stock STV. So you'll have to re-import any customizations you want.

The comskip import you need is here. The thread says Sage v4, but it works with v5 as well.
Reply With Quote
  #3  
Old 07-22-2006, 07:35 PM
iceman iceman is offline
Sage User
 
Join Date: Dec 2004
Location: Texas
Posts: 58
Send a message via AIM to iceman Send a message via Yahoo to iceman
Nate and Blade here's what I've discovered with Comskip STVI being imported into Version 5. The display of commercial segments doesn't display nor does a comskip enable or disable option show up if a right click of the mouse is done will playing a recording. The reason is that by default in the Sage Properties file the option "mmc/encode_digital_tv_as_program_stream=" is TRUE which means that all recordings will be generated with an extension of MPG. In mine I changed that option to false so that I would generate a transport stream or a file with an extention of TS vs. MPG. Well I changed the option back to TRUE and recorded one show and it created an MPG file. I then ran comskip against it via Dirmon2 and when I played back the recording the commercial segments displayed in the timeline and when right clicking using the mouse the Comskip enable/disable option showed up. I would guess that the comskip STVI is strictly looking at MPG file and not TS files. Does anyone have a fix for this. I have two Avermedia A180 HD cards and would prefer to record the files as transport streams.

HELP
__________________
ICEMAN
Reply With Quote
  #4  
Old 07-22-2006, 08:03 PM
ToxMox's Avatar
ToxMox ToxMox is offline
Sage Icon
 
Join Date: Oct 2003
Location: NJ
Posts: 1,980
I don't have the time right now to look into the import etc but a quick fix that I imagine would work would be this: Just close Sage and backup your XML first.
Open your STV .XML file that you've already imported the comskip STVI into and look for this line:
Code:
<Conditional Name="(GetMediaFileID(GetCurrentMediaFile()) != comshowid) &amp;&amp; (GetNumberOfSegments(GetCurrentMediaFile()) &gt; 0) &amp;&amp; IsVideoFile(GetCurrentMediaFile())  &amp;&amp; (StringEndsWith(GetFileForSegment(GetCurrentMediaFile(),0),&quot;.avi&quot;) || StringEndsWith(GetFileForSegment(GetCurrentMediaFile(),0),&quot;.mpg&quot;))">
Then change it to this:
Code:
<Conditional Name="(GetMediaFileID(GetCurrentMediaFile()) != comshowid) &amp;&amp; (GetNumberOfSegments(GetCurrentMediaFile()) &gt; 0) &amp;&amp; IsVideoFile(GetCurrentMediaFile())  &amp;&amp; (StringEndsWith(GetFileForSegment(GetCurrentMediaFile(),0),&quot;.avi&quot;) || StringEndsWith(GetFileForSegment(GetCurrentMediaFile(),0),&quot;.mpg&quot;) || StringEndsWith(GetFileForSegment(GetCurrentMediaFile(),0),&quot;.ts&quot;))">
Reply With Quote
  #5  
Old 08-02-2006, 07:35 PM
iceman iceman is offline
Sage User
 
Join Date: Dec 2004
Location: Texas
Posts: 58
Send a message via AIM to iceman Send a message via Yahoo to iceman
TOXMox I tried your above suggestion howvere there was no change at all. I have posted several inquiries into the forums to see if others are having issues with using .TS files with the comskip stvi and I have seen that there are. I just can't imagination that there aren't more wanting to get this issued fixed. Any others suggustions?

Gerry
__________________
ICEMAN
Reply With Quote
  #6  
Old 08-02-2006, 07:37 PM
ToxMox's Avatar
ToxMox ToxMox is offline
Sage Icon
 
Join Date: Oct 2003
Location: NJ
Posts: 1,980
I'm surprised it didn't work. Make sure it actually saved to the file is the only thing I can think of.
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


All times are GMT -6. The time now is 09:30 PM.


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