Blog2015 ≫ Sync a selection of mp3s to my android phone with linux

Hmm why can I not find anything to do this?

I want to sync my music to my phone, or to a usb key that I can use in the car. But not all of it I just don't have room. I like to play my music on shuffle mostly, so a randomised selection is good, with the higher rated tracks more likely to be on the list.

Here's my work in progress

So save that, plug your phone into your linux computer and see it mount as say /media/phone and then run

syncmp3s ./Music /media/phone/Music

I've put this in a repo, was missing some backslashes from there in the find command...

Requires mutagen so you should be able to

git clone https://bitbucket.org/lazka/mutagen

I got an error with that repo though so just downloaded it:

wget https://bitbucket.org/lazka/mutagen/downloads/mutagen-1.28.tar.gz

Still a work in progress.

⬅️ :: ➡️

Paul Clarke's weblog - I live in Hythe near Folkestone. Married + father to two, I am a full stack web engineer, + I do js / Node, some ruby, other languages ect ect. I like pubs, parkrun, eating, home-automation + other diy stuff, history, genealogy, Television, squirrels, pirates, lego, + TIME TRAVEL.