Start playing on boot

General discussion about RuneAudio. Do not post any support or feature requests here.

Start playing on boot

Postby smonaghen » 11 Dec 2014, 18:21

Is there a way to make RuneAudio start playing after boot? I would like to use it on a RPI with no network, no keyboard, headless, with music stored on usb flash after initial set up. This would allow for use in a vehicle, or with anyone's stereo without any interaction.

Thank you very much,
smonaghen
 
Posts: 2
Joined: 11 Dec 2014, 18:15

Re: Start playing on boot

Postby cmh714 » 11 Dec 2014, 18:33

if you shutdown the player when its playing, its been my experience that the same will start up automatically on next boot...I also believe the command to start mpd can be called with the appropriate parameters to start music as well.
cmh714
 
Posts: 470
Joined: 04 May 2014, 03:06

Re: Start playing on boot

Postby smonaghen » 11 Dec 2014, 18:48

Tried shutting down while playing...no luck. What "commands" would cause RuneAudio to auto start in the mpd?
smonaghen
 
Posts: 2
Joined: 11 Dec 2014, 18:15

Re: Start playing on boot

Postby cmh714 » 11 Dec 2014, 19:08

actually it would be mpc commands, see here: http://linux.die.net/man/1/mpc

I'm sure ACX can help better....
cmh714
 
Posts: 470
Joined: 04 May 2014, 03:06

Re: Start playing on boot

Postby ACX » 12 Dec 2014, 02:30

mpc play is the cli command that will tell MPD to start the playback (if you have tracks loaded in the queue, of course).
Just use it in a bash script and make it run at boot.
User avatar
ACX
RuneAudio co-founder
 
Posts: 1692
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: Start playing on boot

Postby rasti » 21 May 2015, 16:35

Hello,

I'd also like to do that.... could someone provide step by step instructions
with code lines how to implement that ? I am not really linux literate...

Thanks

Ralf
rasti
 
Posts: 40
Joined: 21 May 2015, 16:27

support RuneAudio Donate with PayPal


Return to General discussion

Who is online

Users browsing this forum: No registered users and 2 guests
cron