jump to navigation

Sometimes devices are funny (Logitech Squeezebox Touch) December 11, 2010

Posted by claudio in Uncategorized.
Tags: , , , , ,

Some time ago I bought a Logitech Squeezebox Touch for the living room. Attach a usb2 disk to it and say goodbye to your cds: it plays ogg, mp3, flac, etc.

While being a device geared toward the general public, the Logitech engineers didn’t forget that some people may want to have a look under the nice touch-screen interface:

$ ssh -l root
root@'s password:

This network device is for authorized use only. Unauthorized or improper use of this system may result in you hearing very bad music. If you do not consent to these terms, LOG OFF IMMEDIATELY.
Ha, only joking. Now you have logged in feel free to change your root password using the 'passwd' command. You can safely modify any of the files on this system. A factory reset (press and hold add on power on) will remove all your modifications and revert to the installed firmware.

With a little of humour in /etc/motd they welcome your changes and avoid at the same time a call to their support line :).

In case you are curious:
# uname -a
Linux SqueezeboxTouch #1 PREEMPT RT Mon Nov 8 12:48:28 MST 2010 armv6l GNU/Linux

# perl -v
This is perl, v5.10.0 built for arm-linux-gnueabi
Copyright 1987-2007, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl".  If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.

# ps awx |grep perl
28641 ?        SN     0:42 /usr/bin/perl /usr/squeezecenter/slimserver.pl --charset utf8 --noweb --notranscoding --nosb1slimp3sync --nostatistics --noinfolog --nodebuglog --logfile syslog
28643 ?        SN     0:01 /usr/bin/perl /usr/squeezecenter/gdresized.pl
29210 pts/0    S+     0:00 grep perl

Perl and GNU/Linux for my flac files. You won’t hear me complaining… :)

Split one flac (+ cue) file into separate tracks (update: including embedded cue files) February 9, 2009

Posted by claudio in Uncategorized.
Tags: , ,


You may have backupped your music cd’s using a single flac file instead of a file for each track. In case you need to split the cd-flac, do this:

Install the needed software:

$ sudo apt-get install cuetools shntool

Split the album flac file into separate tracks:

$ cuebreakpoints sample.cue | shnsplit -o flac sample.flac

Copy the flac tags (if present):

$ cuetag sample.cue split-track*.flac

The full howto can be found here (aidanjm).

Update (April 18th, 2009):
In case the cue file is not a separate file, but included in the flac file itself do this as the first step:

$ metaflac --show-tag=CUESHEET sample.flac | grep -v ^CUESHEET > sample.cue

(NB: The regular syntax is “metaflac –export-cuesheet-to=sample.cue sample.flac“, however often the cue file in embedded in a tag instead of the cuesheet block).


Get every new post delivered to your Inbox.

Join 127 other followers