linux poison RSS
linux poison Email

How To Setup Streaming Music Server - Zeya

Zeya is a lightweight music streamer. It's written in Python and Javascript which means it does not require as much resources as Java based streamers would need. Zeya uses about 10-20MB ram idle. When there is music streamed from the server to you there is a trans-coding process which uses also a tad of ram, but don't expect it to hit above the 80MB ram.

To play music from your server you need a browser which supports HTML5. The browsers which are known to work with Zeya are:
 * Mozilla Firefox 3.5 or later
 * Google Chrome or Chromium
 * Internet Explorer 6, 7 and 8 on Windows with the Google Chrome Frame plugin

The client runs in any browser that supports a certain subset of the HTML 5 technologies— no Flash needed. No Silverlight, no applets, no plugins, no external players.

Installing and running Zeya:
Open terminal and enter the following command:
sudo apt-get  install zeya
The most common way to start Zeya is to ask it to load and serve all the music within a given directory:
zeya --path=/path/to/your/music
(Zeya creates a zeya.db file in that directory to cache song metadata.)
Then visit http://localhost:8080 in your web browser.


Some more option for Zeya:
Serve all the files within the current directory (recursively): zeya
Serve all the files in your Rhythmbox collection: zeya --backend=rhythmbox
Serve all the files specified in a .m3u or .pls playlist:
zeya --backend=playlist --path=/path/to/your/playlist.m3u

Set other options
Run on a different port (default is 8080): zeya --port=9000
Serve higher-bitrate streams (default is 64kbps): zeya --bitrate=128
Only bind to a single interface (default is to bind to all interfaces): zeya --bind_address=127.0.0.1
Require a password to access Zeya. The password configuration should be in htpasswd format. zeya --basic_auth_file=/path/to/.htpasswd




2 comments:

Post a Comment

Related Posts with Thumbnails