Narkisr - blog

Narkisr.com where code writes itself.


21
Nov 8

Keeping your Zen with Linux

Creative mp3 players seemed to be a reasonable choice in the early IPod mania days, the single main problem that iv had for years with my trusty Nomad Zen Xtra is the fact that there was no Linux interoperability what so ever, the only (somewhat shaky) solution was to wait for Gnomad to mature.
Things has changed and the Zen access has worked with Gnomad, but two major issues remained:
  • No automation possible (like latest podcast copying with a matching playlist generated).

  • Ugly and limiting UI to deal with.


After a bit digging iv found mtpfs which is a FUSE file system that can mount MTP devices, installation and usage are simple as:
    $ sudo aptitude install mtpfs
    $ sudo mkdir /media/zen
    $ sudo mtpfs -o allow_other /media/zen/ # allowing other enables non root access to zen folders
    $ ls /media/zen
    Music  My Playlists  Playlists  WMPInfo.xml

The Music folder holds all the mp3 files in a flat structure and the Playlists folder hold m3u files in the following format (the player root is /):
    /Music/Outlaws64.mp3
    /Music/uupc_s01e18_high.mp3
    /Music/JavaPosse217.mp3
    /Music/seradio-episode117-branSelicOnUML.mp3
    /Music/CyberSpeak_98_Nov_16_2008.mp3

Its quite easy to see how to automate the podcast download and copying combined with podget utility, my Zen has been restored :)


This website content by Ronen Narkis is licensed under a Creative Commons Attribution 2.5 Israel License, based on a work at narkisr.com, Permissions beyond the scope of this license may be available at narkisr.com.