Wednesday, April 17, 2013

Re: [nslu2-linux] Ampache + amarok running on unslung - is it possible?

 

I had the thought that ampache even without transcoding is quite ressource hungry (i only used it for http streaming via webfrontend and android client) due to use of php and mysql.

So i sat down and developed a little tool in c++ that scans a directory for mp3 and flac (other formats could easily be added) using taglib and libmagick and stores the information in a sqlite database.
After the scanning i implemented a little webserver (using mongoose) through which access is possible (getAlbums, getAlbum with json and obviously streamTrack).
Till now i only worked one night at it, but its more than enough for me (i developed a little android frontend, too), as i only use it to stream a whole album to my tablet when i go to bed.
Maybe you wanna join development? In my imagination its quite a nice project (i did it to refresh my c++ skills)

greets

Am 17.04.2013 16:39, schrieb M.J. Johnson:
 

Getting Ampache (and possible Amarok) running on a Slug sounds like an achievement... I wasn't able to get a good streaming solution running on the Slug, due to the lack of a FPU (most transcoding solutions require it).


I tried using MPD's built-in streaming capability, but again, the transcoding requirements were a deal breaker.  As a result, I cobbled together a Perl-based solution that allows me to take playlists created in MPD and use them to feed MP3s to an Icecast server for streaming mp3s over HTTP.  The Perl scripts have allowed me to cobble a solution together using ices as the glue between MPD and Icecast.  This solution basically just dumps the MP3 to Icecast without any transcoding.

These links describe the solution in adequate detail:

http://wiki.yobi.be/wiki/Webradio
http://mpd.wikia.com/wiki/Hack:ices-client
http://www.757.org/~joat/wiki/index.php?n=Main.IcecastOnTheNSLU2

Very curious to hear about your experiences with Ampache and Amarok.

On Wednesday, April 17, 2013, Joao wrote:
 

Hello everyone!

I got Ampache v.3.5.4 (a «rich», i.e., *heavy* MPD web client) running on my unslung 6.10 slug and connected to a pair of Hi-Fi speakers through a cheap Media-C usb soundcard (kinda slow but it works!).

I wonder if it's possible to install on top of it the media player Amarok? The newest 2.7 release uses mysql5 (not included yet on ipkg's repo), but maybe and older version (just like Ampache) that uses mysql will do the job?

Any hint or feedback about similar successful (or unsuccessful) attempts would be very much appreciated...
Salut!
J. Miranda




__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)
Recent Activity:
.

__,_._,___

No comments:

Post a Comment