Dragon Global Forums

Go Back   Dragon Global Forums > ShowAnalyzer > ShowAnalyzer Beta

ShowAnalyzer Beta Discussion related to the ShowAnalyzer Beta.

Reply
 
LinkBack (1) Thread Tools Display Modes
  #21 (permalink)  
Old 06-27-2005, 06:07 PM
Member
 
Join Date: Jun 2005
Location: Chicago, IL
Posts: 66
babgvant is on a distinguished road
Default

Does SA have an API? I'd love to be able to call it directly instead of shelling.
Reply With Quote
  #22 (permalink)  
Old 06-27-2005, 06:34 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default

Quote:
Originally Posted by babgvant
Does SA have an API? I'd love to be able to call it directly instead of shelling.
Could you elaborate some?

Jere
Reply With Quote
  #23 (permalink)  
Old 06-28-2005, 10:58 AM
Member
 
Join Date: Jun 2005
Location: Chicago, IL
Posts: 66
babgvant is on a distinguished road
Default

Quote:
Originally Posted by Jere_Jones
Quote:
Originally Posted by babgvant
Does SA have an API? I'd love to be able to call it directly instead of shelling.
Could you elaborate some?

Jere
Right now I use comskip in my program by shelling out calling "comskip.exe pathtompg", then when the shell returns I read the text file it creates using a regex then build an object which contains the commercial spans, which I later use in the program to cut out the commercials or skip the commercials in the UI.

I would love to be able to do something like

ShowAnaylzer sa = new ShowAnaylzer();
sa.Path(PathToMpg);

SACommercials comm = sa.FindCommercials();

where SACommercials would be an object containing the spans.

The easiest way for me would be if the API was exposed through COM, but it wouldn't need to be
Reply With Quote
  #24 (permalink)  
Old 06-28-2005, 12:27 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default

Quote:
Originally Posted by babgvant
I would love to be able to do something like

ShowAnaylzer sa = new ShowAnaylzer();
sa.Path(PathToMpg);

SACommercials comm = sa.FindCommercials();

where SACommercials would be an object containing the spans.

The easiest way for me would be if the API was exposed through COM, but it wouldn't need to be
Let's talk about this offline. Fire me an email.

Jere
Reply With Quote
  #25 (permalink)  
Old 06-29-2005, 04:14 PM
Junior Member
 
Join Date: Jun 2005
Posts: 21
lseats is on a distinguished road
Default SA as a service

This is related to my request for DirMon as a service so that they can be run without a user logged in.
Reply With Quote
  #26 (permalink)  
Old 06-29-2005, 05:25 PM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default Re: SA as a service

Quote:
Originally Posted by lseats
This is related to my request for DirMon as a service so that they can be run without a user logged in.
I don't think this is possible. However if DirMon is a service, it should be able to run SA without a user logged in.

Jere
Reply With Quote
  #27 (permalink)  
Old 06-29-2005, 05:33 PM
Junior Member
 
Join Date: Jun 2005
Posts: 21
lseats is on a distinguished road
Default Re: SA as a service

I would have thought that too. In fact, I was a little puzzled when I setup DirMon to run as service with FireDaemon and it didn't properly start SA. Actually the behavior I saw was exactly the same as I saw when I tried to run SA from the GB-PVR postprocessing batch file. I think it is more than a coincidence that the behaviour is the same since GB-PVR runs as a service too. Hmmm....

Quote:
Originally Posted by Jere_Jones
Quote:
Originally Posted by lseats
This is related to my request for DirMon as a service so that they can be run without a user logged in.
I don't think this is possible. However if DirMon is a service, it should be able to run SA without a user logged in.

Jere
Reply With Quote
  #28 (permalink)  
Old 07-03-2005, 05:52 PM
Junior Member
 
Join Date: May 2005
Posts: 17
maniac2k is on a distinguished road
Default

A request for a new Output File type.

Filename is sourcefilename.xml

Here is the format:

<root>
<commercial start="488.354533333333" end="699.432066666667" />
<commercial start="1209.17463333333" end="1440.5391" />
<commercial start="2152.81733333333" end="2426.5241" />
<commercial start="2901.13156666667" end="3156.01953333333" />
</root>

Also, can the directory of the output file be a configurable option? If not, this file needs to be generated in the following directoy (C:\Program Files\DVRMSToolbox).

This is needed for a MCE addon to skip commercials. Here is a link to the program discussion.

http://www.thegreenbutton.com/commun...mp;TopicPage=1

Thanks!

-Tom
Reply With Quote
  #29 (permalink)  
Old 07-04-2005, 08:21 AM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default Re: SA as a service

Quote:
Originally Posted by lseats
Actually the behavior I saw was exactly the same as I saw when I tried to run SA from the GB-PVR postprocessing batch file. I think it is more than a coincidence that the behaviour is the same since GB-PVR runs as a service too. Hmmm....
Interesting. I will investigate this.

Jere
Reply With Quote
  #30 (permalink)  
Old 07-04-2005, 08:31 AM
Jere_Jones's Avatar
Administrator
 
Join Date: Apr 2008
Posts: 1,991
Jere_Jones has disabled reputation
Default

Quote:
Originally Posted by maniac2k
This is needed for a MCE addon to skip commercials. Here is a link to the program discussion.
The author has already contacted me about providing a programatical interface to SA via an API. The API was originally supposed to be easy, but is causing me to have to (almost) rewite SA's entire infrastructure.

Rest assured that working on it as I would love for MCErs to be able to use SA as well!

Jere
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.dragonglobal.biz/forums/showanalyzer-beta/9-official-showanalyzer-feature-request-thread.html
Posted By For Type Date
ShowAnalyzer Beta - Dragon Global Forums This thread Refback 04-21-2008 08:36 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Official DirMon2 Feature Request Thread Jere_Jones DirMon Discussion 21 12-12-2008 10:46 PM
New Feature PeteT ShowAnalyzer Beta 6 10-19-2006 12:52 PM
Feature Request: display PID AndyS DirMon Discussion 0 06-19-2006 01:23 PM
ShowAnalyzer Error: Couldn't terminate thread (error 87: the parameter is incorrect.) FZ1 ShowAnalyzer Beta 17 03-25-2006 11:01 PM
Official DirMon Feature Request Thread Jere_Jones DirMon Discussion 23 02-20-2006 03:47 AM


All times are GMT -4. The time now is 11:40 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0