|
|
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... 21 22 23 24 25 ...53 Previous Next
|
New Plugin: LoadDVD - Open/Play Media and Automation Client |
|
|
|
Author |
Message |
Registered: April 13, 2007 | Posts: 26 |
| Posted: | | | | It only happens with the Sony 777es changers. I will send you the rs232.bat and the playfromdisk.bat files I'm using. I'm working from a totally different system at this time and I don't have access to the actual system it's failing on. Like I said I backed down to 1.43 and still had the issue. 1.4 seems ok, actually I think I posted my playfromdisk.bat back on page 17 or 18, I will send all I can tomorrow for you.
Thanks
Art |
| Registered: March 18, 2007 | Reputation: | Posts: 6,460 |
| Posted: | | | | Quoting abierce512: Quote: It only happens with the Sony 777es changers. I will send you the rs232.bat and the playfromdisk.bat files I'm using. I'm working from a totally different system at this time and I don't have access to the actual system it's failing on. Like I said I backed down to 1.43 and still had the issue. 1.4 seems ok, actually I think I posted my playfromdisk.bat back on page 17 or 18, I will send all I can tomorrow for you.
Thanks
Art None of thise things can cause the error you mention. What I asked for was what you have typed in the Location and Slot fields. I don't need the .bat files. Thanks. | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. |
| Registered: April 13, 2007 | Posts: 26 |
| Posted: | | | | Location rs232 Slot 202
Options Default changer is set to SonyCX777es
Text for disc selection |
| Registered: March 18, 2007 | Reputation: | Posts: 6,460 |
| Posted: | | | | Quoting abierce512: Quote: Location rs232 Slot 202
Options Default changer is set to SonyCX777es
Text for disc selection Great. I can now reproduce the error. I'll let you know when I get it fixed. Thanks for the report. Edit: Ok fixed, V1.46. Could you do me a favor and confirm? Seems like this is my second round on the same bug - I want to make sure. Thanks. | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. | | | Last edited: by mediadogg |
| Registered: April 13, 2007 | Posts: 26 |
| Posted: | | | | Media Dog, The good news, I no longer get that error. The bad news, with the following,
Location rs232 com2 Slot 24
The com2 does not seem to work anymore and It goes to com1 slot number,ie(24)
Thanks
Art |
| Registered: March 18, 2007 | Reputation: | Posts: 6,460 |
| Posted: | | | | Quoting abierce512: Quote: Media Dog, The good news, I no longer get that error. The bad news, with the following,
Location rs232 com2 Slot 24
The com2 does not seem to work anymore and It goes to com1 slot number,ie(24)
Thanks
Art You should be checking %8 for com2. I think this change might have been made after 1.4. Anyway, here is the sample .bat file that is correct for the current version: @echo off rem %1 DescriptionSideA rem %2 profileid - this is usually the UPC code rem %3 disc# rem %4 slot# or collection# rem %5 Title or Sort Title or Label Side A rem %6 filepath rem %7 mediatype = "DVD", "HD" or "BluRay" rem %8 and thereafter - remainder of Location field echo %1 %2 %3 %4 %5 %6 %7 %8 %9 pause rem Sample call to play from Sony cx777es rem cx777.exe com1 36 %4 0 0 1 | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. |
| Registered: November 11, 2007 | Posts: 3 |
| Posted: | | | | Quoting mediadogg: Quote: Quoting brabandt:
Quote: Can I setup an intro to movie AVI file to play then follow with the actual movie from my HDD on my computer with your plugin? Yes. Use the PlayFromDisk.bat option which means you put the word "play" in the location field, and the filepath in the Notes field, using the documented syntax (see post#1). You can have a filepath for each disc in the profile. In your case, wanting to immediately follow one file with the other, setup the filepath without the extension, such as [filepath disc=1]c:\myfolder\mymovie[/filepath]. Then code PlayFromDisk.bat as:
@echo off %6.avi %6.ISO
Depending on your player, you will either get them queued up, both playing simultaneously, or the second one interrupting the first.
Try it, and then we'll augment the script to accomodate your player (for example, we could cause the script to create a simple playlist before calling the player to load the playlist). Here is my bat file: @echo off %6.wmv %6.ifo rem %1 DescriptionSideA rem %2 profileid - this is usually the UPC code rem %3 disc# rem %4 slot# or collection# rem %5 Title or Sort Title or Label Side A rem %6 filepath rem %7 mediatype = "DVD", "HD" or "BluRay" rem %8 and thereafter - remainder of Location field echo %1 %2 %3 %4 %5 %6 %7 %8 %9 if %7=="DVD" echo %6 if %7=="HD" echo Do whatever for an HD disc if %7=="BluRay" echo c:\program files\powerdvd\powerdvd.exe %6 pause This is from my collection list: [filepath disc=1]C:\Documents and Settings\bbrabandt\My Documents\My Videos\countdown01[/filepath] [filepath disc=2]\\Adstech\share\2 FAST 2 FURIOUS\VIDEO_TS\VIDEO_TS[/filepath] When I play from collection list, it only plats first file. I'm using WMP11 to play files. What should I try to get one file to play after the other? |
| Registered: March 14, 2007 | Posts: 3,830 |
| Posted: | | | | make a wmp list in each location of files it has to play, and call for the wmp list in that location. you can test this out by double clicking the wmp list in that location. you can make playlist in wmp by opening the media library and drag the files to play in the media play list. (only those you want to play) | | | Sources for one or more of the changes and/or additions were not submitted. Please include the sources for your changes in the contribution notes, especially for cast and crew additions. |
| Registered: March 18, 2007 | Reputation: | Posts: 6,460 |
| Posted: | | | | Quoting brabandt: Quote:
Here is my bat file:
@echo off %6.wmv %6.ifo rem %1 DescriptionSideA rem %2 profileid - this is usually the UPC code rem %3 disc# rem %4 slot# or collection# rem %5 Title or Sort Title or Label Side A rem %6 filepath rem %7 mediatype = "DVD", "HD" or "BluRay" rem %8 and thereafter - remainder of Location field echo %1 %2 %3 %4 %5 %6 %7 %8 %9 if %7=="DVD" echo %6 if %7=="HD" echo Do whatever for an HD disc if %7=="BluRay" echo c:\program files\powerdvd\powerdvd.exe %6 pause
This is from my collection list:
[filepath disc=1]C:\Documents and Settings\bbrabandt\My Documents\My Videos\countdown01[/filepath] [filepath disc=2]\\Adstech\share\2 FAST 2 FURIOUS\VIDEO_TS\VIDEO_TS[/filepath]
When I play from collection list, it only plats first file. I'm using WMP11 to play files. What should I try to get one file to play after the other? Several comments: (1) No need to keep all those rem statements after your code, unless that is your way of keeping the examples around (2) The way you have the filepaths coded, you will always get: C:\Documents and Settings\bbrabandt\My Documents\My Videos\countdown01.wmv C:\Documents and Settings\bbrabandt\My Documents\My Videos\countdown01.iso when you click on the disc 1 icon, or: \\Adstech\share\2 FAST 2 FURIOUS\VIDEO_TS\VIDEO_TS.wmv \\Adstech\share\2 FAST 2 FURIOUS\VIDEO_TS\VIDEO_TS.iso when you click on the disc 2 icon. The reason for the pause is for when you use play/s, the window will stay open and you would have seen that. It is for testing. Otherwise, you don't need the pause. You seem to have created another kind of scenario - making up "playlists" from the filepaths saved in Notes. I would have to put some kind of new code in for that, but I'm not si sure how many people would need it. Interesting idea though. [Edit: I got it. Something like code play or play/s followed by %fp%. When I see the %fp%, I will send all the remaining filepaths in notes, one after the other as %8, %9, .... (of course you have to use SHIFT after %9 ) Could that work?] Otherwise, you need to use Giga's technique. | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. | | | Last edited: by mediadogg |
| Registered: April 13, 2007 | Posts: 26 |
| Posted: | | | | Media Dog, Remember these?
"Ok, problem solved. Here is a link to a post with downloads for the code you need, and how to use them. One utility lets you capture and test any IR code. The other utility, written by the USBUIRT author, will send any code from the command line. Codes are stored in a text file. So all you have to do is a few minutes work to call the sending program from rs232.bat, and you are all set. No changes to LoadDVD required!!!! "
I finally got around to using them and all is working. Just thought I would let you know that I am fooling around with REXX and doing some different things to try and automate the process, I will keep you informed as I progress (or digress) with it.
Thansk
Art |
| Registered: March 18, 2007 | Reputation: | Posts: 6,460 |
| Posted: | | | | Quoting abierce512: Quote: Media Dog, Remember these?
I finally got around to using them and all is working. Just thought I would let you know that I am fooling around with REXX and doing some different things to try and automate the process, I will keep you informed as I progress (or digress) with it. Art Yeah, actually I do. And I was hoping that you would do exactly what you are doing. None of us has the time to try everything, so we count on others to contribute to the knowledge base. | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. |
| Registered: July 30, 2008 | Posts: 22 |
| Posted: | | | | I moved this post over from the plugins forum. I read quite a few posts concerning this, but my situation is somewhat different from the ones described. I guess I could use the "play" command instead of "file" and run the batch file described by many users. I would have to edit it down to just playing one out of two other batch files, which I explain in the text below. My problem is that "play" only opens one batch file, the one called PlayFromDisk.bat. Is there a way of duplicating this to add a new verb like play2 or something? If so I could use the file command for the movies that is associated with a player on the current OS, and the other two commands to play batch files for reboot. I also asked for a keyboard shortcut of some kind for actually playing the selected movie in DVDPro with just a remote.
[i]Hi,
I use Load DVD with DVD Pro to open media files on my harddisks. This has worked well so far, but now I`m setting up a double boot HTPC with XP and Vista, where low def files are being played in XP, and high def files in Vista. To make a long story short, I have associated the media files with batch files instead of "real" programs, to be able to reboot the computer to the right OS. This works in XP, but not in Vista. Here, LoadDVD (or DVDPro) shows the following error notification when trying to play the files: "No application is associated with the specified file for this operation". Is there anything I need to change to make this work? Of course, the files behave as they should when double clicked in windows. Also, I use Girder to control all this, so it would be useful to know if there is a keyboard shortcut or other command that starts LoadDVD playing the selected movie.
Jan[/i] |
| Registered: March 18, 2007 | Reputation: | Posts: 6,460 |
| Posted: | | | | @jankri, Let' see, let me do the easy one first: (1) Shortcut: LoadDVD Options panel has an option to switch from the default context play menu, to an item off the DVD menu. When you do that, your remote control sequence becomes "Alt-D, Shift-P, Shift-P, Enter " if you have only one disc, or if you have more than one disc, you will have to "down arrow" and then press enter. That should be enough for you to finalize it. The exact sequence will depend on if you have other plugins that start with "P" on the DVD menu also. (2) Now the other issue. If I understand you correctly, you suggest that I recode the plugin to support play2, etc. How far should I go? Play3, Play99? The whole point of this option is to allow you to do your own thing. Call as many .bat files as you want. Think about it: wouldn't you prefer to have only 3 scripts to manage verus programming play or play2 or whatever in each Location field? Correct me if I got the scenario wrong, and I'll try again, but contrary to your view, I think the posted solutions are exactly what you need. I use them an all my systems, some XP and some Vista - eactly the same script. The issues you have with Vista have to do with its wierd new way of doing file associations. Everybody has trouble with it, and trust me, if there was an iron-clad way for me to fix it by re-programming the plugin, it would have been done, because I want it too! If you read some of the posts, you'll see where somebody came along and blasted my way of doing it, and gave me the "correct way". I re-programmed and got exactly the same results. (Haven't heard from that guy since.) Bottom line: use "play" everywhere. If you code %6, it basically works just like "file", otherwise you can put additional code to overcome file association issues, and if you need two versions, just call another .bat from within PlayFromDisk.bat, or use IF statements inside it, like the posted solutions. At this point, I don't see the justification for me to change the plugin, but if I have misunderstood something, please try again to help me understand. (Giga ... my hero ... and BTW if detecting the OS is the issue as Giga has shown, then take a look at the tutorial on XP commands - there are environment variables and other things available in a .bat file that could help you make the OS determination - I'm editing, cause I hate always being the last poster in my threads ... ) | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. | | | Last edited: by mediadogg |
| Registered: March 14, 2007 | Posts: 3,830 |
| Posted: | | | | can"t help you out on Vista, still on XP here. to execute a second batch file you have to call it from the first batch file: Call Second.bat
you could also test for a condition with IF if the dual boot has each its own c:\root you could make in the XP root (C:\XP.DAT) and for Vista in its root C:\VISTA.DAT. This is a condition you could then test on. XP.DAT would not be there in Vista and the reverse when running vista: XP.DAT would not be there.
the batch file would look like this if exist C:\XP.DAT goto XP if exist C:\VISTA.DAT goto Vista Echo THE OS SYSTEM TEST FAILED pause goto end
:XP Echo XP runing :: if this works here the original content of PlayFromDisk.bat pause goto end
:VISTA Echo Vista running :: if this works here the modified content of PlayFromDisk.bat to do what Vista have to do pause goto end :END exit | | | Sources for one or more of the changes and/or additions were not submitted. Please include the sources for your changes in the contribution notes, especially for cast and crew additions. | | | Last edited: by ? |
| Registered: July 30, 2008 | Posts: 22 |
| Posted: | | | | OOOps,
I did not mean to offend you, Mediadogg. To be honest, your plug is the only reason I use DVD Pro. I have ripped quite a few titles to disk, and my main goal is to be able to call them from within DVD Pro using a remote signal. I realize, of course, that no software will be written or rewritten to suit my demands, so , being new at this program, my questions are just about what is possible and what is not, given the tools at hand. That being said, your answers will help me write the code in Girder necessary to select and play titles with my remote. I thank you for that. As for the batch files, I have already written those, and I use Girder to switch between the OS`s and play the selected file after reboot. This requires the media files to be associated with one of two batch files (it`s a triple boot machine), hence my original question. Actually, only two of my three OS`s are used for playing files. The third is used exclusively for BD and HD-DVD playback. This is the only OS that requires association with two batch files, so it`s not crucial, but user friendliness and WAF plays a part here. Anyway, I will try out using conditionals in the PlayFromDisk batch file. That may solve it for me. Once again, a big thanks to you both for helping me out!!!
Jan. |
| Registered: March 14, 2007 | Posts: 3,830 |
| Posted: | | | | if you have 2 bootable OS (XP, Vista), you could in each install DVD Pro with LoadDVD (is this not even required for flawless operation?) then you would only have to adapt each PlayFromDisk.bat to let them do what they have to do. (as you would have one in the XP evironment and one in Vista environment. | | | Sources for one or more of the changes and/or additions were not submitted. Please include the sources for your changes in the contribution notes, especially for cast and crew additions. | | | Last edited: by ? |
|
|
Invelos Forums->DVD Profiler: Plugins |
Page:
1... 21 22 23 24 25 ...53 Previous Next
|
|
|
|
|
|
|
|
|