Programming and writing about it.

echo $RANDOM

Tag: zeya

New Article: Serve Up Your Music with Zeya

A couple of the things I really like about Zeya is its “no – Flash” requirement (non-requirement?) and the simplicity of the design. As a user, I would like more features, hopefully those will come in time.

Please note that Zeya is a work in-process and some minor details might change by the time you read this. If you encounter bugs or desire features, report them on the Zeya mailing list.

My article¬† on Zeya is now up at the Linux Journal’s website. This incidentally is my first article in Linux Journal. I am excited to connect with an elite band of readers. Thanks LJ.


Zeya: Support for using m3u playlists

The m3u file format is used by a number of music playing software to store and read playlist data. For example:

#EXTINF:225,Pearl Jam - Do the Evolution
/home/r00t/Music/Pearl Jam/06-Live On Two Legs (1998)/13-Do the Evolution.mp3
#EXTINF:455,Yanni - Keys To Imagination
/home/r00t/Music/Yanni/Keys To Imagination.mp3
#EXTINF:337,Yanni - For All Seasons
/home/r00t/Music/Yanni/Ethnicity/12 02 - For All Seasons.mp3
#EXTINF:223,Yanni - The Promise
/home/r00t/Music/Yanni/Ethnicity/12 03 - The Promise.mp3
#EXTINF:336,Yanni - Rainmaker
/home/r00t/Music/Yanni/Ethnicity/12 04 - Rainmaker.mp3

Its a pretty simple format to extract the data from and so during a rather unproductive evening, I added the support to serve music with Zeya from your existing m3u files. The code is in the repository now and can be git cloned.

Here’s how you can try the new option:

$ --backend=playlist --path=/path/to/your/m3u/file

In Zeya terminology, we call it a new backend.

A backend is anything- disk, Rhythmbox library, m3u playlist and Zeya reads music files from. Implementing support for a new backend of your choice is insanely easy. Just look up file and you should be able to understand what is going on.