Author |
Message |
Registered: March 18, 2007 | Reputation: | Posts: 6,461 |
| Posted: | | | | Hey guys, I have two plugins that might help you out: (1) LoadDVD - will play any kind of media file associated with the profile. You can put the path to the file in the Notes field, in the disc Description (define a "disc" for each trailer), or in the Location field (limited to 32 bytes). Then you get a toolbar with an icon for each disc. Click on the icon and the movie plays (also ISOs, etc). (2) DVDProfileLoop - if you want to make your own custom HTML pages, using a simple script with data from the profiles, you could export XML, CSV, or you can just insert your script into a "profile loop" and my plugin will call your script and pass it whatever data you select from a checklist, by tags, by flags, or filtered. I hope you find these tools useful. | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. | | | Last edited: by mediadogg |
|
Registered: October 4, 2007 | Posts: 21 |
| Posted: | | | | I tried all you wrote:
I wrote:
- "file" into "location field" - "nothing" into "slot field" - [filepath]H:\Média\Vidéos\Comedie\Bande annonce de American dreamz.mkv[/filepath] into "notes field"
and the trailer doesn't start but this error message appears "please check file path and file association and retry" |
|
Registered: March 15, 2007 | Reputation: | Posts: 5,459 |
| Posted: | | | | I can get the plugin to work using the same set-up. Are your file associations correct? What happens when you double-click on the .mkv file directly in Windows? |
|
Registered: October 4, 2007 | Posts: 21 |
| Posted: | | | | Quoting northbloke: Quote: I can get the plugin to work using the same set-up. Are your file associations correct? What happens when you double-click on the .mkv file directly in Windows? I don't know why it's works by you and by me not when I click on the file in windows the trailer starts in full screen |
|
Registered: March 15, 2007 | Reputation: | Posts: 5,459 |
| Posted: | | | | Quoting VTETAZ: Quote:
- "nothing" into "slot field"
Looking at this quote, are you actually writing "nothing" in the slot field or are you leaving it blank? Because you're supposed to leave it blank. |
|
Registered: March 18, 2007 | Reputation: | Posts: 6,461 |
| Posted: | | | | Quoting northbloke: Quote: Quoting VTETAZ:
Quote:
- "nothing" into "slot field"
Looking at this quote, are you actually writing "nothing" in the slot field or are you leaving it blank? Because you're supposed to leave it blank. Sorry you are having troubles. I believe that northbloke's prior comment about file associations may be on point. Not remembering the code totally, but I think the plugin doesn't look at slot when either "file" or "play" are specified alone in the Location field. I assume you are using LoadDVD 1.0. I did make a change that usually has a beneficial effect when trying to use file associations for media files. Make sure you uninstall 0.7 first. If all else fails, you can use "play" instead of file, and code PlayFromDiisk.bat as @echo off %6 or @echo off cmd /C %6 If double-click on the file works, one of those should work. | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. |
|
Registered: October 4, 2007 | Posts: 21 |
| Posted: | | | | Hi mediadogg
I do what you said:
- Sure I let slot field blank - I never install the 0.7 version - I tried to use "play" instead "file"
But I don't understand what I must do with:
"code PlayFromDiisk.bat as
@echo off %6
or
@echo off cmd /C %6"
Sorry, I don't want to disturb you |
|
Registered: March 18, 2007 | Reputation: | Posts: 6,461 |
| Posted: | | | | VTETAZ, your politeness is refreshing. I'm delighted to help you. But out of respect for this thread, could you please move this discussion to the LoadDVD thread of the Plugins forum? Actually, your exact issue, with examples and solutions, is discussed there already. And after you do that, if you still have troubles, go ahead an post there and I will work with you until you get it going. Then after that, you will introduce me to the twins from your avatar ... | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. |
|
Registered: October 4, 2007 | Posts: 21 |
| Posted: | | | | oki doki thanks a lot |
|
Registered: January 9, 2008 | Posts: 3 |
| Posted: | | | | Quoting northbloke: Quote: OK, I've done some fiddling. Turns out the OBJECT value didn't like having the script in the middle, but it works if the whole thing is inside the script. Try this:
<HTML> <HEAD>
<SCRIPT TYPE="text/javascript"> <!-- <DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False"> //--> </SCRIPT>
</HEAD> <BODY> <SCRIPT> document.write('<OBJECT id="VIDEO" style="position:absolute; left:0;top:0;" width="640" height="480" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">') document.write('<PARAM NAME="URL" VALUE="D:/Movie Trailers (Divx)/' + DP_Title + '.divx"><PARAM NAME="AutoStart" VALUE="False">') document.write('<PARAM name="uiMode" value="mini"><PARAM name="PlayCount" value="1"></OBJECT>') </SCRIPT> </BODY> </HTML>
Please note there is no error checking in this script, it assumes that there will always be a trailer there. First, just wanna say you guys do an incredible job of helping us figure this stuff out on here. This code works fine for me, but was wondering what I would need to change if I wanted the trailer to reference the upc number and not the title. Mostly just aesthetic reasons, don't wanna change every title just because the naming for a divx file won't let me include colons and I don't wanna use dashes. Any help would be GREATLY appreciated! Thanks in advance. |
|
Registered: March 14, 2007 | Reputation: | Posts: 1,819 |
| Posted: | | | | Quote:
Try this:
<HTML> <HEAD>
<SCRIPT TYPE="text/javascript"> <!-- <DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False"> //--> </SCRIPT>
</HEAD> <BODY> <SCRIPT> document.write('<OBJECT id="VIDEO" style="position:absolute; left:0;top:0;" width="640" height="480" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">') document.write('<PARAM NAME="URL" VALUE="D:/Movie Trailers (Divx)/' + DP_Title + '.divx"><PARAM NAME="AutoStart" VALUE="False">') document.write('<PARAM name="uiMode" value="mini"><PARAM name="PlayCount" value="1"></OBJECT>') </SCRIPT> </BODY> </HTML> Hi all I've decided to jump on board with this particular feature and I am having some problems. Firstly I know NOTHING about writing code so all and any help will be much appreciated. I can't seem to get it to work if there is a colon in the film title. How can I resolve this? | | | Last edited: by Pantheon |
|
Registered: March 15, 2007 | Reputation: | Posts: 5,459 |
| Posted: | | | | I'm at work now, but if no one else gets the chance, I'll take a look at both your problems tonight. @ caineblack, do you want the locality number included at the end of the UPC or not? @Pantheon, I never realised that colons would cause an issue, that could be quite nasty to fix. The only way I can think of off-hand is to find some way of replacing the colon with an underscore, or removing it completely. |
|
Registered: March 13, 2007 | Posts: 350 |
| Posted: | | | | I believe that the variable DP_UPC can be used to supply the UPC value (including locality), however I am not near a windows computer to check.
I think that replacing DP_Title with DP_Title.replace(/:/g,'_') will give you a filename which has underscores in place of colons (note that there are other characters which are illegal in filenames, specifically / \ : * ? " < > |
so i guess that you could use DP_Title.replace(/[\/\\:\*\?"<>|]/g,'') to just remove the illegal characters from the filename.)
Sorry that's pretty hard to read ... | | | -fred |
|
Registered: March 18, 2007 | Reputation: | Posts: 6,461 |
| Posted: | | | | Quoting FredLooks: Quote: I believe that the variable DP_UPC can be used to supply the UPC value (including locality), however I am not near a windows computer to check. Confirmed - yes. | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. |
|
Registered: March 15, 2007 | Reputation: | Posts: 5,459 |
| Posted: | | | | Thanks guys, Pantheon, use this script - as Fredlook describes it, it simply removes illegal characters from the filename. Quote: <HTML> <HEAD>
<SCRIPT TYPE="text/javascript"> <!-- <DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False"> //--> </SCRIPT>
</HEAD> <BODY> <DP NAME="UPC" Formatted="false"> <SCRIPT> document.write('<OBJECT id="VIDEO" style="position:absolute; left:0;top:0;" width="640" height="480" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">') document.write('<PARAM NAME="URL" VALUE="D:/Movie Trailers (Divx)/' + DP_Title.replace(/[\/\\:\*\?"<>|]/g,'') + '.divx"><PARAM NAME="AutoStart" VALUE="False">') document.write('<PARAM name="uiMode" value="mini"><PARAM name="PlayCount" value="1"></OBJECT>') </SCRIPT> </BODY> </HTML> So, "Buffy the Vampire Slayer: Season One" becomes "Buffy the Vampire Slayer Season One" Caineblack, simply replace the line Quote: document.write('<PARAM NAME="URL" VALUE="D:/Movie Trailers (Divx)/' + DP_Title.replace(/[\/\\:\*\?"<>|]/g,'') + '.divx"><PARAM NAME="AutoStart" VALUE="False">') with Quote: document.write('<PARAM NAME="URL" VALUE="D:/Movie Trailers (Divx)/' + DP_UPC + '.divx"><PARAM NAME="AutoStart" VALUE="False">') Please note, this will include the locality code so, for example, most of my UPC codes include the ".4" at the end. | | | Last edited: by northbloke |
|
Registered: March 14, 2007 | Reputation: | Posts: 1,819 |
| Posted: | | | | All working.
Many thanks
Help much appreciated. |
|