i just threw them into the skin for a guide , was'nt sure if you could make them work
grreat if you can . but would'nt the return to playlist also stop the external media from running as well, if so you could do away with the extra stop button, plus you could always use the standard stop/play/ffwrd/rrewd buttons that come with everyskin anyway like El mentioned earlier.

09-25-2007, 08:22 PM

chevyn8

I'm playing around with some eject options...not really part of the script. I have working in a simple skin created around the latest shock skin. The buttons are empty with none of the drives connected. As drives are added, they show up as the drive letter and the type (audio/video/etc). If clicked they execute the correct command for that media. Also have indicators that seem to work (audio/video/dvd). The return to playlist is a bit tricky:
I insert a CD and autoplay it (it saves my previous playlist).
I decide to watch a video, or maybe listen to some music on a usb drive.
While doing so I eject the CD and it takes me back to the old playlist I was at before.
Not what I wanted, as I was already listening/watching something else.
Because of this I made the return to previous playlist optional with autoplay and disabled otherwise. I'm actually annoyed by the return to playlist the more I use it. Anyway, I have a question: The script is giving RR the following information for each drive:

MEDIA1= drive letter
CMDMEDIA1= Command to play that media
LABELMEDIA1= Name of media Audio/video/dvd/blank/unknown

Indicators:
CUSTOM_AUDIOIN
CUSTOM_VIDEOIN
CUSTOM_DVDIN

What other things should the script communicate to RR for skin usage?

09-26-2007, 02:27 AM

carputer1

i think you may of cracked it

as i can't think of anything else at the moment,
having the return to playlist as a seperate button is a good idea then we can go back as an when we want , are you going to attach the skin to the script when you realise, (part of the package).

09-26-2007, 07:52 AM

chevyn8

Yep, I'll add the example skin. I don't have a return to playlist button. It works like this:
With auto-play, it will return to the previous playlist if it's enabled in the ini. I figure that someone may pop in a CD, autoplay it, they pop it back out. With "load medialaunch skin" when media is detected, autoplay is turned off. I figure that a person is more likely to do other things, play other media, etc...before the media is ejected. And really, if the current list of songs is important it should be a play list :) IMO. Should have something later today for you to look at.

09-26-2007, 12:12 PM

carputer1

waiting

with bated breath

09-26-2007, 04:43 PM

chevyn8

OK, needs more testing. I changed some more things. Autoplay, load medialaunch skin, and resume playlist are all separate items in the ini (you should see the button command for playing audio if resume playlist is turned on). Also added to the list of items communicated with RR about each drive:
EJECT1 command to eject the media.
I found a utility that will eject media, but ejecting usb is different than CDROM. With USB you want the drive letter gone, with a CDROM you want the drive letter to remain. So, each drive has to have it's own eject command with it's drive letter. It seems to work, but needs more testing. What I like about this eject utility is that it will only eject if the device isn't in use(no open files) which is good for USB.

09-27-2007, 12:25 AM

chevyn8

Released new version 0.85. More skin integration, eject commands, example skin files. Eject is new, but seems to work OK.
Stuff communicated to RR from the script:

MEDIA1= drive letter
CMDMEDIA1= Command to play that media
LABELMEDIA1= Name of media Audio/video/dvd/blank/unknown
EJECT1= Command to eject that media

Indicators:
CUSTOM_AUDIOIN
CUSTOM_VIDEOIN
CUSTOM_DVDIN

09-27-2007, 04:56 AM

carputer1

i'll try it

tonight

09-27-2007, 01:13 PM

carputer1

ok tryed it

but only quickly i'm afraid. limited on time

but all seems to work ok. at first left everything as is when downloaded,and when media is already in drive,and start rr will go straight to media skin and displays the current drives ok
launched the dvd in drive 1 works,music in drive2 did'nt work, press button to run audio my tag's disappeared and i get a 1 in the playlist,but my music i was playing at the time from HD was still going and i got a error saying Line.-1, this is a cdr with audio

but as that stood i did'nt want it to go straight to media skin(my own choice)
which was ok as you allowed for this to happen,just changed the media.ini and the command line to launch media.skin as an when i wanted to go to it.

the eject works on both rom drives, have not tryed usb eject or tryed this in the carputer which has a usb rom drive attached.

going to make a popup skin for this when i get a chance.

Edit: just found out that when i go to play audio cd it dose what i mentioned and also turns my wave vol. down to 0%

09-27-2007, 02:06 PM

chevyn8

See if you can pinpoint when you get that error and what your MediaLaunch.ini looks like, and your skin.ini. The script is only doing stuff when media is removed or inserted. Otherwise it's just checking the drive status of the drives in the ini. The only time I've gotten that message was when the script didn't stop when RoadRunner was exited, then the next time the script sends a command to RR it pop's up with that error. Once it error's, the script is stopped and it's hard to say what the button commands will be. I have it running on my carpc and 2 other desktops. Last night I thought I did a good test..with DVD or CD, 1 usb with video, and 2 usb's with audio all at the same time, removing/playing/ejecting and it didn't error out. Let me know and I'll see If I can reproduce the error.

edit:
That is strange...as I don't have any volume commands...just a mute command. What does your Medialaunch.ini and skin.ini (at the time it errors out, or doesn't function correctly) and are you using the included skin?