Page 1 of 1
Squeezeserver Playlists
Posted: 23 Jun 2011, 01:15
by giorgio
Anyone got any advice on creating playlists for squeezeserver. (on B2)
I have tried through the web interface but it is so slow that every click lasts 30 seconds or more and half the time I get stuff added and then the save playlist just hangs.
I even tried running squeezeserver on my mac and creating a playlist there but it was not compatible with something on the bubba (I even converted line endings in the file and it still failed)
Any suggestions welcome. I have turned off just about all features on the bubba but the (lack of) performance makes it unuseable.
I am thinking of getting some sort of faster machine.. perhaps an old atom netbook might work better.. but then what do I do with the bubba I payed out on?
Cheers
George
Re: Squeezeserver Playlists
Posted: 23 Jun 2011, 02:44
by Binkem
Squeezeserver can read m3u playlists. Any program that can create these eg. Winamp on Windows machines may be used. Just place these on your bubba and Squeezeserver will index them.
Re: Squeezeserver Playlists
Posted: 23 Jun 2011, 03:06
by giorgio
That doesn't work as I alluded to.
The squeezeserver will not read/scan the playlist .. it gives some sort of Perl encoding error. I cant remember the actual error. Something about "wide characters".
G.
PS.
Just checked the error by putting an iTunes generated m3u into the squeezeserver and doing a scan:
[11-06-23 19:23:41.6376] Slim::Formats::Playlists::parseList (85) Error: While running $playlistClass->read(): [Cannot decode string with wide characters at /usr/lib/perl/5.8/Encode.pm line 166, <GEN10> line 1.
Re: Squeezeserver Playlists
Posted: 23 Jun 2011, 04:17
by Binkem
Squeezeserver does have some problems with reading songs and/or playlists that are not completely standard. You may try searching the forum for other posts regarding this kind of problems. I haven't got a Mac or I-tunes, so there is no way for me to verify your problem, but you might try to scan a playlist created by another program. It may also be that you are using a non-standard character set (with accents à á ä etc...) this could also explain squeezeserver's problems reading your M3U files.
Re: Squeezeserver Playlists
Posted: 23 Jun 2011, 06:44
by giorgio
Binkem is right.
When I analyse a bit deeper, the problem is accents etc in the actual names of the folders and files.
I really need a wizzo batch renamer that will remove accents...
G.
Re: Squeezeserver Playlists
Posted: 23 Jun 2011, 13:36
by Eek
you could try something like this
$ ls -l
-rwxr-xr-x 1 eek eek 4060183 2011-06-23 19:19 1224 Patrick Bruel - J'm'attendais pas à toi.mp3
$ find . -name "*à*" -exec echo "\"{}\"" \; >t1
$ cat t1
"./1224 Patrick Bruel - J'm'attendais pas à toi.mp3"
$ cat t1|sed -e 's/à/a/' >t2
$ cat t2
"./1224 Patrick Bruel - J'm'attendais pas a toi.mp3"
$ paste t1 t2>t3;cat t3|sed -e 's/^/mv /'>t4
$ cat t4
mv "./1224 Patrick Bruel - J'm'attendais pas à toi.mp3" "./1224 Patrick Bruel - J'm'attendais pas a toi.mp3"
$ sh ./t4
$ ls -l
-rwxr-xr-x 1 eek eek 4060183 2011-06-23 19:19 1224 Patrick Bruel - J'm'attendais pas a toi.mp3
Note: I did find that on Ubuntu this works great, but on the bubba it can give a -bash: ./t4: cannot execute binary file, because it sees the text file t4 as
eek@bubba:~$ cat -v t4
mv "./1224 Patrick Bruel - J'm'attendais pas M-CM- toi.mp3" "./1224 Patrick Bruel - J'm'attendais pas a toi.mp3"
But if you just copy paste the text from the cat t4 and enter it onto the commandline it works.
Re: Squeezeserver Playlists
Posted: 24 Jun 2011, 18:11
by Cheeseboy
Once you've got your file names sorted it is as easy as:
Note that is a "one" not an "L".
Cheers,
Cheeseboy