Can OpenWRT play MP3 from USB stick?
Posted: Wed Dec 15, 2010 7:46 am
Jeff
I just want to ask if there is possibility to prepare additional config for MPC/MPD to perform action like this:
Assumption #1: there are two USB ports available (or one USB + SD card reader mod?)
Assumption #2: one USB is occupied by sound card and not available for other purposes.
- in case no stick is detected in second USB port - MPD is playing internet radio stream as it does right now.
- in case flash is detected in second USB port - MPD is reading the content of this stick and start playing regardless to folders structure and so on. Just from the first file to last one. With support to mpc prev/next commands
- in case this solutuin would be based on card reader - let MPD do the same, but it would be easier to determine SD card is inserted and mount this card (e.g. by connecting proper pin of SD card socket to available PIO and launch some script when PIO state go from 1 to 0.
I would love to have this feature added to WRT54G-TM - it would make this device absolutely great for me .
Question is if this is possible and if somebody can start dealing with scripts as I can not - I'm not familiar to Linux...
Regards
I just want to ask if there is possibility to prepare additional config for MPC/MPD to perform action like this:
Assumption #1: there are two USB ports available (or one USB + SD card reader mod?)
Assumption #2: one USB is occupied by sound card and not available for other purposes.
- in case no stick is detected in second USB port - MPD is playing internet radio stream as it does right now.
- in case flash is detected in second USB port - MPD is reading the content of this stick and start playing regardless to folders structure and so on. Just from the first file to last one. With support to mpc prev/next commands
- in case this solutuin would be based on card reader - let MPD do the same, but it would be easier to determine SD card is inserted and mount this card (e.g. by connecting proper pin of SD card socket to available PIO and launch some script when PIO state go from 1 to 0.
I would love to have this feature added to WRT54G-TM - it would make this device absolutely great for me .
Question is if this is possible and if somebody can start dealing with scripts as I can not - I'm not familiar to Linux...
Regards