Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Plugins


Reply
 
Share Thread Tools Display Modes
Old 09-19-2007, 10:26 PM   #1
Variable Bitrate
 
chevyn8's Avatar
 
Join Date: Oct 2006
Posts: 234
chevyn8 is an unknown quantity at this point
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/
__________________
CarPC nearly complete in my 82 Camaro. Dual core atom in the works , 2140 PS, 7 inch generic touch screen. Shock v6.1.1
MediaLaunch for RR
Online Check for RR
Locker for RR

Last edited by chevyn8; 02-19-2009 at 08:55 PM. Reason: new version
chevyn8 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 09-20-2007, 12:55 PM   #2
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
i dont see my name but you welcome, enjoy. .i'm glad you got it working.
EL CAMINO is offline   Reply With Quote
Old 09-20-2007, 07:47 PM   #3
Variable Bitrate
 
chevyn8's Avatar
 
Join Date: Oct 2006
Posts: 234
chevyn8 is an unknown quantity at this point
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.
__________________
CarPC nearly complete in my 82 Camaro. Dual core atom in the works , 2140 PS, 7 inch generic touch screen. Shock v6.1.1
MediaLaunch for RR
Online Check for RR
Locker for RR
chevyn8 is offline   Reply With Quote
Old 09-20-2007, 09:15 PM   #4
Variable Bitrate
 
chevyn8's Avatar
 
Join Date: Oct 2006
Posts: 234
chevyn8 is an unknown quantity at this point
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.
__________________
CarPC nearly complete in my 82 Camaro. Dual core atom in the works , 2140 PS, 7 inch generic touch screen. Shock v6.1.1
MediaLaunch for RR
Online Check for RR
Locker for RR
chevyn8 is offline   Reply With Quote
Old 09-21-2007, 10:05 AM   #5
Variable Bitrate
 
chevyn8's Avatar
 
Join Date: Oct 2006
Posts: 234
chevyn8 is an unknown quantity at this point
New version .70
Ability to change button size....create your own bitmap buttons for the prompt
Code cleanup
__________________
CarPC nearly complete in my 82 Camaro. Dual core atom in the works , 2140 PS, 7 inch generic touch screen. Shock v6.1.1
MediaLaunch for RR
Online Check for RR
Locker for RR
chevyn8 is offline   Reply With Quote
Old 09-21-2007, 11:40 AM   #6
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
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. .
EL CAMINO is offline   Reply With Quote
Old 09-21-2007, 11:59 AM   #7
Variable Bitrate
 
chevyn8's Avatar
 
Join Date: Oct 2006
Posts: 234
chevyn8 is an unknown quantity at this point
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).
__________________
CarPC nearly complete in my 82 Camaro. Dual core atom in the works , 2140 PS, 7 inch generic touch screen. Shock v6.1.1
MediaLaunch for RR
Online Check for RR
Locker for RR
chevyn8 is offline   Reply With Quote
Old 09-21-2007, 12:32 PM   #8
THE EXPERIMENTER
 
carputer1's Avatar
 
Join Date: Sep 2007
Location: UK,Surrey
Posts: 1,358
carputer1 will become famous soon enough
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.
carputer1 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 09-21-2007, 01:05 PM   #9
Variable Bitrate
 
chevyn8's Avatar
 
Join Date: Oct 2006
Posts: 234
chevyn8 is an unknown quantity at this point
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....
__________________
CarPC nearly complete in my 82 Camaro. Dual core atom in the works , 2140 PS, 7 inch generic touch screen. Shock v6.1.1
MediaLaunch for RR
Online Check for RR
Locker for RR
chevyn8 is offline   Reply With Quote
Old 09-21-2007, 01:31 PM   #10
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
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.
Attached Images
 
EL CAMINO is offline   Reply With Quote
Old 09-21-2007, 01:35 PM   #11
THE EXPERIMENTER
 
carputer1's Avatar
 
Join Date: Sep 2007
Location: UK,Surrey
Posts: 1,358
carputer1 will become famous soon enough
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
carputer1 is offline   Reply With Quote
Old 09-21-2007, 02:15 PM   #12
Variable Bitrate
 
chevyn8's Avatar
 
Join Date: Oct 2006
Posts: 234
chevyn8 is an unknown quantity at this point
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,
__________________
CarPC nearly complete in my 82 Camaro. Dual core atom in the works , 2140 PS, 7 inch generic touch screen. Shock v6.1.1
MediaLaunch for RR
Online Check for RR
Locker for RR

Last edited by chevyn8; 09-21-2007 at 02:40 PM. Reason: added question
chevyn8 is offline   Reply With Quote
Old 09-21-2007, 04:00 PM   #13
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
Quote: Originally Posted by chevyn8 View Post
$cmdlineraw will work with an already running script?
thanks,

!!bingo!!
EL CAMINO is offline   Reply With Quote
Old 09-21-2007, 04:31 PM   #14
Variable Bitrate
 
chevyn8's Avatar
 
Join Date: Oct 2006
Posts: 234
chevyn8 is an unknown quantity at this point
Quote: Originally Posted by EL CAMINO View Post
!!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.
__________________
CarPC nearly complete in my 82 Camaro. Dual core atom in the works , 2140 PS, 7 inch generic touch screen. Shock v6.1.1
MediaLaunch for RR
Online Check for RR
Locker for RR
chevyn8 is offline   Reply With Quote
Old 09-21-2007, 09:26 PM   #15
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
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

EL CAMINO is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
usb pen drive lost data, how can i recover it? 0okami General Hardware Discussion 4 10-26-2006 01:13 PM
Hard drive dilema.... 2.5" or 3.5"? 3Tripnip General Hardware Discussion 2 01-14-2006 01:30 AM
Did you know "single" Hard Drive Booted Faster? grandamp3 General Hardware Discussion 17 09-03-2004 01:50 PM
carputer hard drive died in 3 days therussman2002 General Hardware Discussion 16 08-10-2004 02:49 PM
Best remote DVD drive option lookinco General Hardware Discussion 2 08-09-2004 12:28 PM



All times are GMT -5. The time now is 01:14 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics