Zerk Zone

Pages for the Creations of Ryan Armstrong

Media Player Sync Scripts

Posted on December 7th, 2013 @ 9:50 am by Zerker

Having had trouble with media-player sync solutions in Linux, I decided to roll my own Python script to synchonize my media player automatically, and cover format conversion & playlist restructuring. Like the gmusicbrowser script, it’s not particularly user friendly. However, it should be useful for a variety of media players. Let me know if it works for you.

You will need:

  1. Python 3.x
  2. sox
  3. avconv if converting from m4a or converting to mp3
  4. vorbiscomment if converting to ogg
  5. appropriate avconv mp3 encoder package if converting to mp3. This is ‘libavcodec-extra-53’ in Ubuntu

Included in the download are three files:

The module that does all the work
Documentation for said module
An example export script that uses the module to synchronize my android phone.

When you download this, have a look at the syncphoneall.py file to get an idea of how it works, then modify to suit your needs.


mediasync.tar.tar.bz2 (8.2 kB)

Comments (0)

Filed under: Uncategorized |

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment