Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Plugins Page: 1... 5 6 7 8  Previous   Next
New Plugin: DVDProfileLoop - send profile data to scripts (.bat, .exe)
Author Message
DVD Profiler Unlimited RegistrantSparkss
Registered: May 27, 2009
Posts: 50
Posted:
PM this userView this user's DVD collectionEdit postDirect link to this postReply with quote
Ok, I was able to test the auto-parameter setting(s) and it worked great. I think I may just end up writing a "one script to rule them all" script (thinking of converting to PERL and calling the .pl from the bat script... I am just more confortable in PERL, I can do things easier, mainly due to greater familiarity w/ PERL over windows shell scripting ). So I guess I should retract my request 

Thanks 
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,394
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Quoting Sparkss:
Quote:
Ok, I was able to test the auto-parameter setting(s) and it worked great. I think I may just end up writing a "one script to rule them all" script (thinking of converting to PERL and calling the .pl from the bat script... I am just more confortable in PERL, I can do things easier, mainly due to greater familiarity w/ PERL over windows shell scripting ). So I guess I should retract my request 

Thanks 

I'm really glad that it is working out for you.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Unlimited RegistrantSparkss
Registered: May 27, 2009
Posts: 50
Posted:
PM this userView this user's DVD collectionEdit postDirect link to this postReply with quote
Yes it is. Many thnaks. I also made good (finally) on my previous promise 
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,394
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Quoting Sparkss:
Quote:
Yes it is. Many thnaks. I also made good (finally) on my previous promise 

Well indeed you did, and handsomely I might add. Thanks.

People don't realize how powerful a motivator that support is for an author, because nobody is gonna donate hard cash unless they see some real value in what you are doing. I don't expect to get rich. It does provide some cold beers and DVDs to keep the jiuces flowing.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Unlimited RegistrantSparkss
Registered: May 27, 2009
Posts: 50
Posted:
PM this userView this user's DVD collectionEdit postDirect link to this postReply with quote
When you consider that 2 of the 3 plugins that I use, and 1 of the 2 that I use on a regular basis right now, are yours, how could I not donate ? 
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,394
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Version 2.11 Available

- Fixed a couple of critical bugs preventing operation on DVDP 3.6 / 3.7
- Added .Wsf as supported script type

Note: This version still does not yet support the new fields introduced in 3.6. I am not even sure that this plugin is used anymore, so I will refrain from spending any time on upgrades unless requested. But at least I wanted it to work correctly, within its limitations, just in case it can be of use in the future.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Desktop and Mobile RegistrantDr. Killpatient
Here's my card
Registered: May 19, 2007
Reputation: Highest Rating
United States Posts: 5,916
Posted:
PM this userView this user's DVD collectionEdit postDirect link to this postReply with quote
Just started working with this plugin and I believe it'll help me create files for each profile to use with Boxee.

Ran into a snag though with version 2.11.  A profile I was testing with ("3:10 to Yuma", 031398221890) contains double-quotes inside the overview and it breaks the batch file parameters.

Quote:
Infamous outlaw Ben Wade (Crowe) and his vicious gang of thieves and murderers have plagued the Southern Railroad. When Wade is captured, Civil War veteran Dan Evans (Bale) volunteers to deliver him alive to the "3:10 to Yuma," a train that will take the killer to trial. But with Wade's outfit on their trail – and dangers at every turn – the mission soon becomes a violent, impossible journey toward each man's destiny.


Parses out to:
%1="Infamous outlaw Ben Wade (Crowe) and his vicious gang of thieves and murderers have plagued the Southern Railroad. When Wade is captured, Civil War veteran Dan Evans (Bale) volunteers to deliver him alive to the "3:10
%2=to
%3=Yuma,
%4=" a train that will take the killer to trial. But with Wade's outfit on their trail – and dangers at every turn – the mission soon becomes a violent, impossible journey toward each man's destiny."
DVD Profiler Desktop and Mobile RegistrantDr. Killpatient
Here's my card
Registered: May 19, 2007
Reputation: Highest Rating
United States Posts: 5,916
Posted:
PM this userView this user's DVD collectionEdit postDirect link to this postReply with quote
I managed to code around the quote problem using VBScript. The plugin causes an error if there are no discs on the profile even though the option to export disc information wasn't checked.
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,394
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Quoting Dr. Killpatient:
Quote:
I managed to code around the quote problem using VBScript. The plugin causes an error if there are no discs on the profile even though the option to export disc information wasn't checked.

Ok thanks for the scoop. This is a little used, albeit powerful plugin, so those bugs have not been reported before. I'm glad you were able to code around the problem in the meantime. I have forgotten whether or how well I support the newest fields, so if you hit any that aren't there, let me know and I will cobble them in.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Desktop and Mobile RegistrantDr. Killpatient
Here's my card
Registered: May 19, 2007
Reputation: Highest Rating
United States Posts: 5,916
Posted:
PM this userView this user's DVD collectionEdit postDirect link to this postReply with quote
No need for any fields to be added. My only wishlist would be to auto-detect the parm list in WSF files like you do for BAT files.

Something like parsing out the following:
' %0 = RunCode (1 = start, 0 = run, 2 = finish)
' %1 = Profile ID
' %2 = title
' %3 = Rating
' %4 = Overview
' %5 = Genres
' %6 = ProductionYear
' %7 = RunTime
 Last edited: by Dr. Killpatient
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,394
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
OK!!!
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Desktop and Mobile RegistrantDr. Killpatient
Here's my card
Registered: May 19, 2007
Reputation: Highest Rating
United States Posts: 5,916
Posted:
PM this userView this user's DVD collectionEdit postDirect link to this postReply with quote
If you do add parsing to WSF files, here's the parmtest.wsf file I used to debug things.

<?xml version="1.0" ?>
<package>
<job id="DVDP">
  <script language="VBScript">
  <![CDATA[

' %0 = RunCode (1 = start, 0 = run, 2 = finish)
' %1 = Profile ID
' %2 = title
' %3 = Rating
' %4 = Overview
' %5 = Genres
' %6 = ProductionYear
' %7 = RunTime

DIM i
DIM Out
DIM Ok
DIM ArgCnt

ArgCnt=wscript.arguments.count

IF ArgCnt = 0 THEN
  WScript.echo "There were no arguments passed."
ELSE
  ArgCnt=ArgCnt - 1
  FOR i=0 to ArgCnt
    Out=Out & "Argument " & i & ": [" & WSCript.Arguments.Item(i) & "]" & Chr(13) & Chr(10)
  NEXT
  WScript.echo Out
END IF
  ]]>
  </script>
</job>
</package>
 Last edited: by Dr. Killpatient
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,394
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Thanks! Once I understand it, I think I will include it in the package as a sample, with your permission. If you want to edit the post with an embedded credit, I will cut and paste the whole smash when I get close to release. Oh, do me a favor - if you could edit and insert your suggested parameter comments in the appropriate place. Saves me researching wsf syntax - I haven't used them much.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Desktop and Mobile RegistrantDr. Killpatient
Here's my card
Registered: May 19, 2007
Reputation: Highest Rating
United States Posts: 5,916
Posted:
PM this userView this user's DVD collectionEdit postDirect link to this postReply with quote
Bah, had a long reply typed in and it got lost when I posted!

Summarized verson:
Updated last post to include param block. Feel free to use as you wish, credit not needed. Identical to batch format except zero based and uses an apostrophe instead of "REM".
I plan on posting my Boxee script in the Home Theater forum after I get some sleep.
Just picked up WSF VBScript a few days ago, seems easy enough though somewhat limited in power.
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,394
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Quoting Dr. Killpatient:
Quote:
Bah, had a long reply typed in and it got lost when I posted!

Oh man I hate when that happens. Anyway, you gave me what I needed. Thanks and Happy New Year!
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,394
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
DVD ProfileLoop V2.12 Available

- Handles cases where Overview or other strings have embedded double quotes
- Auto-recognition of parameter specs embedded as comments in .wsf files
- Performance enhancement
- Inclusion of ParmTest.wsf as a sample, thanks to Dr. Killpatient 

I hope this is what the Dr. ordered. This plugin is relatively small, so I should be able to respond fairly quickly on any additional bugs. Have fun!

(If this works, it will probably screw up your emergency coding, so don't forget to adjust your posted Boxee script!)
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
    Invelos Forums->DVD Profiler: Plugins Page: 1... 5 6 7 8  Previous   Next