Page 4 of 6 FirstFirst 123456 LastLast
Results 31 to 40 of 57

Thread: Auto CD / DVD Insert with definable actions

  1. #31
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263
    El Camino, your code has been very helpful...
    This seems to work with all my media (usb/cd/dvd/etc) How can I get it to play a video file (like an .mpg)? It see's the video file, and starts the video player, but doesn't start the actual video. Yes it needs some cleaning up... maybe after some sleep What I'm working with...

    ini:


    Code:
    script outdated
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  2. #32
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283
    wow chevy, you really want to have this done, you have made some progress, the only thing that you have missing in your code, is the subfolder search, lets say i put couple of folders loaded with mp3's, the way you search the mp3's they have to be in the cd, not in folders.thats why i recommend you to take a look to the example in the post before yours, i edited, now shows the way to search including subfolders. feel free to use it, another thing i was chating with john, and him and LS, have done the playlist the way to remember the last position.

  3. #33
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263
    OK, I added subfolders It's a bit different than what you had El Camino...Enough coding for today. Still don't know how to save the exact playlist location.... I think the autoplay is a huge must for a carpc, especially when someone else is using it (my wife for example)...why I'd like to see this work well.

    Code:
    script outdated
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  4. #34
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263
    Updated the above code, when a video file is found on the removable media, that folder is opened up in the video browser.
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  5. #35
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263
    Some more cleaning, removed some variables not needed.
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  6. #36
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263
    OK, I finally like how it works. The optional prompt in the ini will prompt with PLAY/EXIT upon the script finding media. It keeps track of the media from different drives separately so the indicators 'should' work correctly. It functions good for me so I guess that's the important part The code in the above post is not the most current.
    Go here:
    http://n8sgarage.com/roadrunner/medi...ediaLaunch.zip
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  7. #37
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,700
    Blog Entries
    1
    Wow, there seem to be to different paths for this script now. I have added error trapping, saving the playlist, saving the song playing and position the code I have done. I also made all of the "WAIT;1" and "SLEEP(2000) delay timers dynamic. You just set it to 1,2 or 3 in the ini for slow/average/ and faster CarPC's.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  8. #38
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263
    I was just thinking about making the delay adjustable. I'd like to see that saving position of the song and error trapping. Mine doesn't have much of your code left anymore. Start a new thread maybe?
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  9. #39
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    51
    ok i'm gettin confused.. where can i download your latest version john?
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  10. #40
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,700
    Blog Entries
    1

    Updated version posted

    Quote Originally Posted by Sonicxtacy02 View Post
    ok i'm gettin confused.. where can i download your latest version john?
    Ok, I just updated the link in the first post. It auto launches when either a standard DVD or Audio CD is placed in the drive. If a playlist is in memory, it will be saved when the CD is inserted. When the CD is ejected, it will reload the playlist, and pick up at the last song and position that was playing before the CD was inserted.

    chevyn8, you did some great work on your code, its just more than I really intended for this script. As for playing MP3's & video files and such, thats not what I really intended this version that I created to do. What if you have 3 folders of video's and a folder of mp3's is on the disk? What if you have mixed video and mp3 files in the root directory? What should it do then when the CD/DVD is inserted?

    This was just intended to be a simple auto launch for standard audio CD's, and works well for DVD's as well.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

Page 4 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. Wtb - Slot Load Dvd / Cd Player
    By SAScooby in forum Classified Archive
    Replies: 3
    Last Post: 04-25-2004, 07:01 PM
  2. Slim 8x DVD and 24x CD drives im selling Cheap!
    By infinkc in forum Classified Archive
    Replies: 0
    Last Post: 02-17-2004, 09:02 PM
  3. FS: Slimline CD & DVD, 512MB CF Card
    By StratusPh34r in forum Classified Archive
    Replies: 15
    Last Post: 01-31-2004, 08:31 PM
  4. PC CD/ DVD skipping problems?
    By Euclid in forum General Hardware Discussion
    Replies: 6
    Last Post: 02-05-2003, 08:43 PM
  5. Slimeline/Slotload CD or DVD Drive
    By Lando in forum General Hardware Discussion
    Replies: 7
    Last Post: 04-28-2002, 11:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •