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
  #481  
Old 09-18-2008, 11:34 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Based on your comskip.ini and the cmd file I am not seeing anything. Do you see anything in the logging of the SageTV server setting a priority on it?

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #482  
Old 09-27-2008, 06:00 PM
sorrowstyr's Avatar
sorrowstyr sorrowstyr is offline
Sage User
 
Join Date: Dec 2006
Posts: 71
TS Support?

I have been using comskip for years and its been awesome, but I havent upgraded in a long time.

I just got a hd pvr 1212, and I see the new comskip supports TS files.


Does comskip support h264 TS files, for my hdtv ??
__________________
Want Personal Freedom ? -- Get Sage TV baby with Com Skip
Reply With Quote
  #483  
Old 09-28-2008, 12:59 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
See here
http://forums.sage.tv/forums/showthread.php?t=35381
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #484  
Old 09-30-2008, 01:36 AM
sorrowstyr's Avatar
sorrowstyr sorrowstyr is offline
Sage User
 
Join Date: Dec 2006
Posts: 71
Wow, thanks Erik for all the hard work !
__________________
Want Personal Freedom ? -- Get Sage TV baby with Com Skip
Reply With Quote
  #485  
Old 11-05-2008, 12:09 PM
null_pointer_us null_pointer_us is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 135
In your installation steps:

Quote:
Installation is a 3 step process.
Step 1. Unzip into SageTV maintaining the directories. (ie: The df_sageutils.jar from the zip file needs to be in the JARS directory. The other files need to be in the STVs\SageTV3 directory.)
Step 2. Restart Sage so it will pick up the new jar.
Step 3. Load the import by going to Setup -> Detailed Setup -> Advanced, then select "Import SageTV Application Package"
There is no option to "Import SageTV Application Package," but there is an option to "Manage STVI plugins," which is what I needed to use to install your plugin (v1.5.4) into Sage MC (v6.4.8). I found this a little confusing, as if I'd misconfigured something.
Reply With Quote
  #486  
Old 11-05-2008, 03:15 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
That's because the "Manage STVI plugins" is a realitvely new feature. Prior to 6.4.8 you "Import SageTV Application Package" and it was a one plugin at a time affair. The new method works so much better.

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
  #487  
Old 11-08-2008, 10:49 AM
null_pointer_us null_pointer_us is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 135
I configured ComSkip (79.144), DirMon2 (0.6.4), Sage TV (6.4.8), and Comskip Playback STVI (1.5.4) using the steps in my attached Instructions.txt file. The server works fine: I can see the CS icons on the menus and the commercial breaks on the timeline.

However, the clients (6.4.8) can see neither the CS icons nor the timelines.

- The STVI appears to have been imported correctly on all of the clients, since I can go to Setup -> Detailed Setup -> Customization -> Comskip Options.
- Java has been updated to release 6, update 10.
- The clients are all using Windows XP.
- The server is using Vista Home Premium (32-bit), with password-protected file sharing disabled.
- SageTV has been reconfigured to record to a UNC path (i.e. smb:///bonus-room/stv-video) so that the clients can see the .edl files.
- The clients can browse to the .edl files in Windows Explorer and view them in Notepad.

So...what am I missing?


EDIT:

I found a response here:
http://forums.sagetv.com/forums/show...&postcount=386

Quote:
That is because you told Sage to use UNC for new recordings. When Sage recorded tvshow-12345 on the F: drive, it logged that info into the database. Even though you have now told Sage to use a UNC folder for recording now, Sage still sees tvshow-12345 at it's original location, so it hasn't modified the recording path to show the UNC location.
I'll see if the advanced_video_file_recovery option (or something more drastic) fixes it:
http://forums.sagetv.com/forums/show...99&postcount=2


EDIT 2:

Yes, the advanced_video_file_recovery option fixed everything, but you have to have both the (empty) original folder and the UNC path visible to SageTV at the same time so that SageTV realizes the files have been moved.
Attached Files
File Type: txt Instructions.txt (2.6 KB, 251 views)

Last edited by null_pointer_us; 11-08-2008 at 12:28 PM.
Reply With Quote
  #488  
Old 11-09-2008, 12:59 PM
jpaddock3000 jpaddock3000 is offline
Sage Aficionado
 
Join Date: Dec 2006
Location: San Diego, CA
Posts: 341
I have followed your instructions, but I'm having an issue with getting Dirmon2 to have multiple monitors setup in the same directory. I want dirmon2 to lock onto a file and only have 1 process be started for that file, if another file is detected, then another process is started for that file. I have 4 tuners and would like to be able to comskip all 4 programs at the same time. Currently, all processes run on each file, so I have 4 instances of comskip running on the same file. How do I configure it differently? I would like comskip to be monitoring the file while it is recording as well. I have played with the priority settings, giving process 1 a priority of 1 and process 2 a priority of 2, but with no success as of yet.

Thanks in advance for the help.
Reply With Quote
  #489  
Old 11-10-2008, 03:27 PM
null_pointer_us null_pointer_us is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 135
Well...those instructions I posted were just for reference (in case I did something wrong). This is actually the thread for the STV plugin that provides a UI for the comskip files. The DirMon2 thread is somewhere else.

But I think I know what you are asking. What you want is to have the same job executed on any new video file in your recorded TV folder, up to four processes simultaneously. To do this, you only need one job, but you set its resource usage to 25 (instead of 100) so that DirMon2 can execute up to 4 copies of that job to meet its global resource limit of 100. Stop, save, and restart the DirMon2 process, and then check its Status tab to see how many processes start to run simultaneously (it may take a few seconds).

The --playnice command line option will let comskip run in the background on new recordings without choking SageTV. However, for some reason, the Comskip Playback STVI (in this thread) will only pick up the generated txt/edl files *after* the show has finished recording. Does anyone know of a way to make this more immediate, so that the commercial blocks appear one-by-one?
Reply With Quote
  #490  
Old 11-11-2008, 06:49 PM
jpaddock3000 jpaddock3000 is offline
Sage Aficionado
 
Join Date: Dec 2006
Location: San Diego, CA
Posts: 341
The worked perfectly. Thank you for that.

As for SageTV not picking up the files while you are watching the show is because you don't have Start on Watch enabled. Just do that and you should be good to go. Go to Setup -> Detailed Setup -> Customize -> ComSkip Playback Options.
Reply With Quote
  #491  
Old 11-13-2008, 01:44 PM
null_pointer_us null_pointer_us is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 135
Quote:
Originally Posted by jpaddock3000 View Post
As for SageTV not picking up the files while you are watching the show is because you don't have Start on Watch enabled. Just do that and you should be good to go. Go to Setup -> Detailed Setup -> Customize -> ComSkip Playback Options.
Does the "Start on Watch" option actually try to run comskip, or does it simply start looking for existing edl files?

Thank you!
Reply With Quote
  #492  
Old 11-13-2008, 02:34 PM
jpaddock3000 jpaddock3000 is offline
Sage Aficionado
 
Join Date: Dec 2006
Location: San Diego, CA
Posts: 341
It simply starts looking at the edl files being created.
Reply With Quote
  #493  
Old 11-13-2008, 04:13 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by null_pointer_us View Post
Does the "Start on Watch" option actually try to run comskip, or does it simply start looking for existing edl files?
Quote:
Originally Posted by jpaddock3000 View Post
It simply starts looking at the edl files being created.
Incorrect. Start on Watch will try and run comskip if there is no existing edl or txt file.

You still need live_tv=1 set in the comskip.ini for any marked blocks to appear while a scan is in progress. Start on Watch just starts comskip processing on the video if it hasn't been started already.

John
Reply With Quote
  #494  
Old 11-14-2008, 08:32 AM
hemicuda's Avatar
hemicuda hemicuda is offline
Sage Icon
 
Join Date: May 2006
Location: north of Chattanooga, Tennessee
Posts: 1,118
Speaking of Start-on-Watch...

Is there a way to have multiple comskips running or will I have to have separate comskip directories for each instance. That's the way I have to do things now; 1 folder for CSM and another for S-o-W. I'm running a Q6600 and typically comskip doesn't run more than a few % on a core.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage

Clients: HD300 x2; HD200 x2; Placeshifter

Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc.
Reply With Quote
  #495  
Old 11-14-2008, 01:45 PM
null_pointer_us null_pointer_us is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 135
Quote:
Originally Posted by JREkiwi View Post
Incorrect. Start on Watch will try and run comskip if there is no existing edl or txt file.
I enabled Start on Watch and then gave it a dummy.cmd file:

Code:
rem This file does nothing. :)
This way Start on Watch will notice commercials found during live TV playback without interfering with DirMon2.

It'd be nice if there was an option for this in your STVI. (My apologies if I missed it.)

Quote:
You still need live_tv=1 set in the comskip.ini for any marked blocks to appear while a scan is in progress. Start on Watch just starts comskip processing on the video if it hasn't been started already.
Oddly, I got live TV commercial scanning running just fine with live_tv=0. Maybe the --playnice (or -n) option I'm passing in DirMon2 overrides the live_tv setting in comskip's .ini file? Without --playnice, SageTV chokes.

Last edited by null_pointer_us; 11-14-2008 at 02:00 PM.
Reply With Quote
  #496  
Old 11-14-2008, 01:56 PM
null_pointer_us null_pointer_us is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 135
Quote:
Originally Posted by hemicuda View Post
Speaking of Start-on-Watch...

Is there a way to have multiple comskips running or will I have to have separate comskip directories for each instance. That's the way I have to do things now; 1 folder for CSM and another for S-o-W. I'm running a Q6600 and typically comskip doesn't run more than a few % on a core.
Not sure exactly what you want to do, but...

Comskip's --ini=filename.ini parameter will let you pick whatever .ini file you want, so you can keep one folder with all the comskip program files and a bunch of .ini files for specific channels, shows, etc.

Check out the SageTV\SageTV\STVs\SageTV3\Externals folder for the stock comskip.cmd provided with this STVI. (You can edit the .cmd file in Notepad.) There are lots of nice examples for using different comskip .ini files based on what is being recorded.
Reply With Quote
  #497  
Old 11-14-2008, 04:29 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by hemicuda View Post
Is there a way to have multiple comskips running or will I have to have separate comskip directories for each instance. That's the way I have to do things now; 1 folder for CSM and another for S-o-W.
You can have S-o-W just pointing at comskip.exe in the CSM directory and it will run with the same ini as CSM.

CSM just queues comskip processing in filename order and runs one instance at a time. It means if you are recording multiple shows then the show "ZZZ" may not get comskip run against it for some time. If you have S-o-W configured, then if "ZZZ" does not have an edl or txt file then it will run whatever bat/exe is configured in S-o-W parsing the filename (and other stuff) as a parameter when you start watching the recording.

S-o-W has no relationship with CSM, aside from the fact that neither will run comskip on a file that already has an edl or txt file. You can also kick of the same process using the "Run Comskip" button on the Options panel for the recording. So you can have more than one instance of comkip running.. One started by CSM, and many started by S-o-W or the "Run Comskip" button.

Quote:
Originally Posted by null_pointer_us View Post
I enabled Start on Watch and then gave it a dummy.cmd file:..
This way Start on Watch will notice commercials found during live TV playback without interfering with DirMon2.
If you don't want Start on Watch to run, just disable it in the Comskip Playback Options. Start on Watch has absolutely nothing to do with your ability to "notice commercials found during live TV", with the exception that it may be running comskip with a different ini file that has live_tv=1

Quote:
Originally Posted by null_pointer_us View Post
Oddly, I got live TV commercial scanning running just fine with live_tv=0. Maybe the --playnice (or -n) option I'm passing in DirMon2 overrides the live_tv setting in comskip's .ini file? Without --playnice, SageTV chokes.
When live_tv=1 comskip creates it's edl/txt files while it's scanning. If live_tv=0, then the edl/txt are not created until the scan is finished, which on Live TV, is not until the recording stops

John

Last edited by JREkiwi; 11-14-2008 at 04:32 PM.
Reply With Quote
  #498  
Old 11-21-2008, 07:12 PM
49studebaker 49studebaker is offline
Sage Advanced User
 
Join Date: Nov 2008
Posts: 103
Would it be possible to implement a feature showing the comskip status of a recorded show? For each recording a red icon would indicate recording has not be comskipped, yellow would indicate comskip is in progess, and green would indicate comskip has finished. See attached image.
Attached Images
File Type: png image1.PNG (492.2 KB, 216 views)
Reply With Quote
  #499  
Old 11-21-2008, 08:08 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
There are icons for cs and not cs already. I'm not sure if it would be possible to have one for in progress.

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
  #500  
Old 11-22-2008, 01:40 AM
49studebaker 49studebaker is offline
Sage Advanced User
 
Join Date: Nov 2008
Posts: 103
I see the Comskip icons in the directory:
"C:\Program Files\SageTV\SageTV\STVs\SageTV3"
but they do not show up in the recordings. Do the icons show up if a person is using SageMC? By the way I am only using the server.

One way to check if Comskip is in progress would be by checking the .log file to see if the phrase "Time at end of run" is currently in the file. That phrase appears when Comskip has finished. So in order to implement that a programmer would need to run a loop and check every so often(maybe every 30 minutes plus extra time for padded recordings, since that is the shortest lenght of a show) if that phrase exists in the log file. If .edl or .log exist comskip is running(yellow icon), if the phrase is in the log file then comskip is done(green icon), or if no .edl or .log file exists then comskip has not started(red icon).

Last edited by 49studebaker; 11-22-2008 at 01:56 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (0 members and 2 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
Big problem with Google Calendar STV import!! mrshanes SageMC Custom Interface 6 03-26-2008 05:57 AM
STV: Cayars17 Ultimate STV (Release 17 - Jan 18) Cayars SageTV Customizations 3664 12-13-2005 05:35 PM
Comskip - STV import module possible??? briands SageTV Customizations 7 01-02-2005 04:25 PM
Choppy Playback with Import STV's??? RedCoat999 SageTV Customizations 3 12-09-2004 10:28 PM


All times are GMT -6. The time now is 02:12 PM.


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