|
 |
|
09-19-2007, 10:26 PM
|
#1
|
|
Variable Bitrate
Join Date: Oct 2006
Posts: 234
|
Launch video/dvd/cd/audio via any drive letter
MediaLaunch for RoadRunner
Looks at defined drive letters trying to find playable media(VIDEO/AUDIO) from USB/CD/DVD/and any other drive letter. Autoplay/reload previous playlist/load media skin options. Returns to exact playlist position after playing audio (thanks John and LS) is optional. This started as a modification of JohnWPB's script (thanks again John). It's meant to have a single media type on a given drive (just like a audio CD is Audio and a DVD is Video). The default is set to ignore mixed media drives(optional). A DVD full of audio, CD with video files, USB with audio or video, etc... Oh and a normal DVD and CD work too. This is an exact fit for my needs, hopefully someone else may find it useful. I'm new to autoit scripts so beware
Extract the ZIP, look at the Readme.txt to install.
This is communicated to RR from the script about the media it detects (the number 1 is the first drive it's scanning, handles up to 7)
1.07 released 2/19/2009
Located here:
http://n8sgarage.com/download/chevyn8/
Last edited by chevyn8; 02-19-2009 at 08:55 PM.
Reason: new version
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
09-20-2007, 12:55 PM
|
#2
|
|
FLAC
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
|
i dont see my name but you welcome, enjoy. .i'm glad you got it working.
|
|
|
09-20-2007, 07:47 PM
|
#3
|
|
Variable Bitrate
Join Date: Oct 2006
Posts: 234
|
How could I forget El Camino!!! Thanks El Camino. I didn't describe some of the stuff you helped with, like the folder searching. Working on a new version with a couple more options in the ini.
|
|
|
09-20-2007, 09:15 PM
|
#4
|
|
Variable Bitrate
Join Date: Oct 2006
Posts: 234
|
Updated version. Cleaned up the code a bit, more efficient searching, optional media labeling. Media labeling works like this:
Put audio.txt in the root of your usb drive.
The script finds this and assumes the drive is audio without searching. Useful if you have lots of folders without media files in the root...it identifies the drive without the recursive folder search--might be good for slower computers. My thinking, if you know it's audio/video, why should the script search the same drive every time you put it in. Also video.txt, unknown.txt, and blank.txt function the same way. This is optional as the searching works just fine.
|
|
|
09-21-2007, 10:05 AM
|
#5
|
|
Variable Bitrate
Join Date: Oct 2006
Posts: 234
|
New version .70
Ability to change button size....create your own bitmap buttons for the prompt
Code cleanup
|
|
|
09-21-2007, 11:40 AM
|
#6
|
|
FLAC
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
|
chevy, why not just make a regular RR skin dedicated for the promt? thats how i do it, the script call's the skin and then use the buttons to select what the script should do, dont go in to the complicated route.a friendly advice. .
|
|
|
09-21-2007, 11:59 AM
|
#7
|
|
Variable Bitrate
Join Date: Oct 2006
Posts: 234
|
Do you have some examples you can post (like the skin)? I can make it call a skin for the prompt, but I don't know how the skin tells the script what to do. While I don't think the prompt I have is complicated to use/set-up, I think a skin based prompt would look much better. Post that skin you have and I'll work on it next week and add it to the next version....I'll be camping this weekend (I don't bring any of my computers along).
|
|
|
09-21-2007, 12:32 PM
|
#8
|
|
THE EXPERIMENTER
Join Date: Sep 2007
Location: UK,Surrey
Posts: 1,358
|
just so i have got this right
the play/exit prompt, dose this appear when media has been found in a drive, and it will ask you to play or exit. if so , if i load a media disc in the drive which is in the boot of the car,and i don't want to listen to it straight away the play / exit buttons will appear and i can exit. but how do i return to the disc when i wnat to play it.
having a media skin sounds like the way to go. you can have a window that shows what is in the drive, and buttons down the side of it to choose from. ie.
play media / stop media/ eject media/
this way you can return to the media in the drive's as many times as you wish.
you can set a button in your skin to launch media script and open the media skin.
just a very quick skin making here to give you an idea,the play buttons can be obtained via the script i think, i know the media copy skin i use dose, it loads the drives it see's in the my computer and refreashies everytime i enter that skin, same with the window ,
Just hit the drive letter to play the media, use the scroll buttons at the side to selct drive to stop or eject.
the skin image you see is a copy ver. of johns digitalfx skin ,i'm using his .psd's from blue devil skin that are easy to obtain.
not 1 to change things but i hope its and idea for you.
Last edited by carputer1; 09-21-2007 at 01:30 PM.
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
09-21-2007, 01:05 PM
|
#9
|
|
Variable Bitrate
Join Date: Oct 2006
Posts: 234
|
Right now, to play that disk you told it to ignore, you would either have to browse to it via rr(if you have that set-up with BROWSE.RRL) or remove it and put it back in. If I can communicate from RR back to the running script that it should 'not ignore' and 'set type to none' for that media it would prompt again. While this is really a Launching script, looking for media to launch, you are giving me some good ideas...As the current script knows which drive letters have media, the type, and sets the ignore flag to yes if you click exit on the prompt. It looks like I could easily change the current script so that if the drive had media and the ignore flag was switched to no it would play/prompt the media. The communication between the script and RR is what I need to learn more about. Hopefully the script/skin El Camino has will help. I'll probably start by using a skin for play/exit and work from there. I do like your idea: A skin that lists the currently known media by the script, a play/stop button to emulate the inserting and removing of the actual media. Time to hook up the camper....
|
|
|
09-21-2007, 01:31 PM
|
#10
|
|
FLAC
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
|
well is so easy, to acomplish, just set a directory list, in that skin and just browse normally with roadrunner. thats it, in my skin i have a dedicated cdplayer button, next to it an eject button, also for a usb stick button same function.something like this.so my version is to autolaunch when inserted, and if a cd is already loaded i use the buttons to play, like a normal car stereo.
@chevy to see how i do the,from skin to the script comunication, get my tags editor and decompile it you'll see how i do it.
|
|
|
09-21-2007, 01:35 PM
|
#11
|
|
THE EXPERIMENTER
Join Date: Sep 2007
Location: UK,Surrey
Posts: 1,358
|
i know what you mean
i have been using the loadcd batch files from LSX i think it was(can't remeber)
to do the same. but i was thinking it would be good to combine the lot in this 1 script.
as i find the batch to be good, its also a hit and miss for me, no big deal
|
|
|
09-21-2007, 02:15 PM
|
#12
|
|
Variable Bitrate
Join Date: Oct 2006
Posts: 234
|
Just caught me before I left...I'll look at all that stuff. El Camino, the current scripts created by the latest version of autoit won't decompile. I haven't tried to decompile yours yet. One more question....
$cmdlineraw will work with an already running script?
thanks,
Last edited by chevyn8; 09-21-2007 at 02:40 PM.
Reason: added question
|
|
|
09-21-2007, 04:00 PM
|
#13
|
|
FLAC
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
|
Quote: Originally Posted by chevyn8 
$cmdlineraw will work with an already running script?
thanks,
!!bingo!!
|
|
|
09-21-2007, 04:31 PM
|
#14
|
|
Variable Bitrate
Join Date: Oct 2006
Posts: 234
|
Quote: Originally Posted by EL CAMINO 
!!bingo!!
How does a person send it to the running MediaLaunch.exe. If I run /Road Runner/MediaLaunch/MediaLaunch.exe testing....it grabs the 'testing' like it should using $cmdlineraw. How do I send it something else now that MediaLaunch is already going?
thanks.....still haven't left yet.
|
|
|
09-21-2007, 09:26 PM
|
#15
|
|
FLAC
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
|
adjust to your needs.
Code:
$medialaunch=$cmdlineraw
select
;from road runner, use - "RUN;$RRPATH$medialaunch.exe|play"
case $medialaunch = "$play"
$rr.execute("PLAY")
;from road runner, use - "RUN;$RRPATH$medialaunch.exe|exit"
case $medialaunch = "exit"
$rr.execute("CANCEL")
endselect
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:14 PM.
| |