Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: DSL Music player?< Next Oldest | Next Newest >
Stine Offline





Group: Members
Posts: 7
Joined: Feb. 2006
Posted: Aug. 25 2006,01:14 QUOTE

I have been workin a little with DSL and wanted to make a small USB music player with it.

so Basicly boot DSL from CD-ROM, after that I would like it to mount and play MP3s thats are located on a USB thumb drive.

Can DSL hot swap and auto mount a USB drive? Maybe there is a script for this already? if not how would I go about doing this?

thanks for the help!
Back to top
Profile PM 
Walrii Offline





Group: Members
Posts: 3
Joined: Aug. 2006
Posted: Aug. 25 2006,02:41 QUOTE

(I'm sure it probably can hot-swap / automount but here is another way just in case  :) )

I did something like this, a script that would load on startup and copy over files in a subdirectory on a usb drive onto the hard drive, if it could find them / mount them.  I did it rather inelegantly like this:

edit .xinitrc to include somewhere:
1) "mount /mnt/sda/" (This will mount the usb drive.  fstab should already be setup to know what device to use and what file system, DSL did this all for me)
2) "xmms /mnt/sda/" (To play all the songs in there)

If the mount fails (ie no usb drive) then xmms won't play any songs since the read will fail.  :p

But if you wanna swap out usb drives as its playing then that's another thing entirely... This will only have it automatically mounted once X loads up.
Back to top
Profile PM 
Stine Offline





Group: Members
Posts: 7
Joined: Feb. 2006
Posted: Aug. 25 2006,23:06 QUOTE

yeah I would like to have X running all the time so "I dont have to restart every time I want a different USB drive.

maybe I will have to stick with Widnows.... :(
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Aug. 25 2006,23:53 QUOTE

You can switch usb drives in the middle of your DSL session, but there is no automounter... (yet?) in dsl - you could mount it manually.
Back to top
Profile PM 
Stine Offline





Group: Members
Posts: 7
Joined: Feb. 2006
Posted: Aug. 26 2006,01:49 QUOTE

I want a small slim "jukebox" I dont want a monitor and a keyboard every time I need to change media...

thx tho
Back to top
Profile PM 
7 replies since Aug. 25 2006,01:14 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: DSL Music player?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code