Using Squeezecenter with my iPod
Posted: 30 Dec 2008, 08:04
I'm one of those guys with an iPod and a nice collection of music encoded in m4a files, which I've put on my Bubba Two. After installing Streamserver, I could browse my albums and playlists in the browser (on http://bubba:9000). Cool.
But I couldn't actually play the files. That was not so good.
My preferred way of playing them is start iTunes on my mediacenter, and under Advanced, add http://bubba/stream.mp3 as a media stream. The Squeezecenter recognizes it as a player, and can stream to it.
My podcasts aren't a problem, they come as mp3 files and don't have to be converted to mp3. I can listen to them fine.
Fortunately, SqueezeCenter is very good at converting audio file formats. To do this, it uses external programs. In /etc/squeezecenter/server.conf, the recipes for format conversion are listed. m4a files are of type "mov" (listed in types.conf), and to translate mov files into mp3 files for any player, Squeezecenter runs (or is supposed to run) a program called mov123 (aka Quicktime) and one called lame.
Neither mov123 nor lame are found on the search path. Running apt-get install mov123 or apt-get install lame doesn't get them installed (E: Couldn't find package).
When I ask Squeezecenter to stream one of my .m4a files, and look at what happens in the logs with the command "tail -f /var/log/squeezecenter/server.log | sed /Warning/d'", I see that Squeezecenter tries and then gives up with the error message:
[08-12-29 19:05:00.3050] Slim::Player::Source::openSong (2089) Error: Couldn't create command line for mov playback for [file:///home/storage/music/iTunes/iTunes%20Music/Dave%20Douglas/A%20Thousand%20Evenings/01%20A%20Thousand%20Evenings.m4a]
So my questions are: how do I find mov123 and lame to install? And once I have them, will Squeezecenter be able to create the command line?
But I couldn't actually play the files. That was not so good.
My preferred way of playing them is start iTunes on my mediacenter, and under Advanced, add http://bubba/stream.mp3 as a media stream. The Squeezecenter recognizes it as a player, and can stream to it.
My podcasts aren't a problem, they come as mp3 files and don't have to be converted to mp3. I can listen to them fine.
Fortunately, SqueezeCenter is very good at converting audio file formats. To do this, it uses external programs. In /etc/squeezecenter/server.conf, the recipes for format conversion are listed. m4a files are of type "mov" (listed in types.conf), and to translate mov files into mp3 files for any player, Squeezecenter runs (or is supposed to run) a program called mov123 (aka Quicktime) and one called lame.
Neither mov123 nor lame are found on the search path. Running apt-get install mov123 or apt-get install lame doesn't get them installed (E: Couldn't find package).
When I ask Squeezecenter to stream one of my .m4a files, and look at what happens in the logs with the command "tail -f /var/log/squeezecenter/server.log | sed /Warning/d'", I see that Squeezecenter tries and then gives up with the error message:
[08-12-29 19:05:00.3050] Slim::Player::Source::openSong (2089) Error: Couldn't create command line for mov playback for [file:///home/storage/music/iTunes/iTunes%20Music/Dave%20Douglas/A%20Thousand%20Evenings/01%20A%20Thousand%20Evenings.m4a]
So my questions are: how do I find mov123 and lame to install? And once I have them, will Squeezecenter be able to create the command line?