User avatar
thagrol
Posts: 1077
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: Pi car music player advice

Wed Jan 09, 2019 10:27 pm

Just do it from your client. Those command run at startup only. Any subsequent commands from mpc or any other mpd client will override them.

You'd only need to login and edit the script if you wanted different startup behaviour.

Note that with a read only filesystem mpd won't be able to save its state file so it won't resume where it left off even if you remove the startup commands.
Note to self: don't feed the trolls
If you believe "L'enfer, c'est les autres" (Hell is other people) have you considered that it may be of your own making?

rivethead
Posts: 15
Joined: Fri Nov 30, 2018 6:54 pm

Re: Pi car music player advice

Thu Jan 10, 2019 4:01 pm

thagrol wrote:
Wed Jan 09, 2019 10:27 pm
Just do it from your client. Those command run at startup only. Any subsequent commands from mpc or any other mpd client will override them.

You'd only need to login and edit the script if you wanted different startup behaviour.

Note that with a read only filesystem mpd won't be able to save its state file so it won't resume where it left off even if you remove the startup commands.
I don't see any options to do that with the mpdroid client, maybe there's another one that does. Or I just haven't found out how yet.
I don't need it to resume where I left off as long as I can change it through the client. I like the default setting of random play on startup but would like to be able to change it to play an album in sequence when desired.

So far it's a great little player!

User avatar
thagrol
Posts: 1077
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: Pi car music player advice

Thu Jan 10, 2019 5:00 pm

rivethead wrote:
Thu Jan 10, 2019 4:01 pm
I don't see any options to do that with the mpdroid client, maybe there's another one that does. Or I just haven't found out how yet.
I don't need it to resume where I left off as long as I can change it through the client. I like the default setting of random play on startup but would like to be able to change it to play an album in sequence when desired.
I'm not familiar witt mpdroid so can't give precise instructions but it should be something like this:
  • Clear current queue/playlist
  • Switch off repeat
  • Switch off random/shuffle
  • Add album to playlist
  • Hit play
It's not something I'd recommend doing whilst driving, have a passenger do it or do it before moving off. With the engine running otherwise you'll lose it when starting - most cars cut power to the accessory feed when running the starter motor.
So far it's a great little player!
:)
Note to self: don't feed the trolls
If you believe "L'enfer, c'est les autres" (Hell is other people) have you considered that it may be of your own making?

Return to “Media centres”