*Note: Due to the 10k character limit, a slightly more detailed helpful
version is enclosed as: HowToFixSlimserverPlaylistsForTouch
MoreDetailed.pdf*
::*
Background*::

I am currently running a Squeezebox 2 with Slimserver 6.5.4. It has been
rock solid since installed. Almost all of my Music is flac’s created by
Exact Audio Copy which also creates a relative playlist (m3u) for each
CD.

A RELATIVE playlist as used by Slimserver means the Player can find
songs anywhere within the Music directory. Here is my Music folder:

15647



Here is the file structure for one of the above Album folders:

15648



The end result is that I now have about 2,500 songs and 113 playlists on
the Slimserver.
::*


Enter the Cowon S9*::

Early on and in the pre-Squeezebox Touch era, I was looking for a
‘portable’ Squeezebox that could be used principally for ‘cruising’ use.
The Cowon S9 fit the bill perfectly. It plays both flac and mp3’s
adroitly. The music and playlist transition from Slimserver to the Cowon
S9 was easy and seamless.

Squeezebox Touch will not work at all with the same RELATIVE m3u
playlists from your Slimserver! This issue …and… how to do a relatively
easy and straightforward workaround are described below.

::*

Squeezebox Touch and How To Easily Convert Slimserver Playlists To Work
in Touch
*::
Even though the Cowon S9 is a darn good player I wanted a more
audiophile streaming player for home living room use. I did not want my
home office computer running all the time as a music server. Hence, the
E-bay search for a used Touch unit.

While I easily transferred my Slimserver Music files to a stand-alone
64-gig USB drive, the rest did not go smoothly. I stored the Slimserver
playlist files in their own separate folder on the USB stick. When the
transferred playlists in the Touch were clicked, they were all reported
as ‘empty’. The Touch was simply looking in the wrong place as it needs
ABSOLUTE file paths.

Shown in the first two groups below are the differences between the
Slimserver playlist and a Touch-created playlist file:



A. ORIGINAL SLIMSERVER PLAYLIST FILE (USES RELATIVE ADDRESSING)

[/B]
*#EXTM3U
#EXTINF:192,LOLA ALBRIGHT - TWO SLEEPY PEOPLE
01 - LOLA ALBRIGHT - TWO SLEEPY PEOPLE.FLAC
#EXTINF:203,LOLA ALBRIGHT - DREAMSVILLE
02 - LOLA ALBRIGHT - DREAMSVILLE.FLAC
AS YOU CAN SEE, THE ABOVE SLIMSERVER RELATIVE-ADDRESSED PLAYLISTS (M3U)
FILES ARE SIMPLE AND EASY TO READ.*


SIMPLE AND EASY TO UNDERSTAND.



*B. SAME PLAYLIST FILE MADE INSIDE THE SQUEEZEBOX TOUCH (WHICH USES
ABSOLUTE ADDRESSING)

*
*#CURTRACK 0
#EXTM3U
#EXTURL:FILE:///MEDIA/SDA1/MUSIC/LOLA%20ALBRIGHT/DREAMSVILLE/01%20-%20LOLA%20ALBRIGHT%20-%20TWO%20SLEEPY%20PEOPLE.FLAC
#EXTINF:192,TWO SLEEPY PEOPLE
/MEDIA/SDA1/MUSIC/LOLA ALBRIGHT/DREAMSVILLE/01 - LOLA ALBRIGHT - TWO
SLEEPY PEOPLE.FLAC
#EXTURL:FILE:///MEDIA/SDA1/MUSIC/LOLA%20ALBRIGHT/DREAMSVILLE/02%20-%20LOLA%20ALBRIGHT%20-%20DREAMSVILLE.FLAC
#EXTINF:203,DREAMSVILLE
/MEDIA/SDA1/MUSIC/LOLA ALBRIGHT/DREAMSVILLE/02 - LOLA ALBRIGHT -
DREAMSVILLE.FLAC
IN CONTRAST, THE TOUCH GENERATED PLAYLIST IS A COMPLEX MESS. “#CURTRACK
0” SEEMS TO BE AN ADDED CONVENTION TELLING TOUCH WHERE TO START IF THE
PLAYLIST WAS INTERRUPTED.*


THE ONLY REAL M3U PLAYLIST CONVENTION SEEMS TO BE THAT THE FIRST LINE OF
AN M3U PLAYLIST MUST BE
“*#EXTM3U*” AND THAT THE FIRST LINE OF ANY TRACK SOMETHING LIKE…
“*#EXTINF:192,TWO SLEEPY PEOPLE*” WHERE THE NUMBER IS THE TRACK’S
PLAYING TIME IN SECONDS FOLLOWED BY THE SONG NAME; AND…
THE NEXT LINE TELLS THE PLAYER THE ABSOLUTE ADDRESS OF WHERE TO FIND THE
FILE AS IN…
*/MEDIA/SDA1/MUSIC/LOLA ALBRIGHT/DREAMSVILLE/01 - LOLA ALBRIGHT - TWO
SLEEPY PEOPLE.FLAC
The whole preceding line…
*#EXTURL:file:///media/sda1/Music/Lola%20Albright/*etc. is simply a song
location in URL language where the “%20” are url-speak for a space.
Perhaps, this is needed if Touch acts as a server which I don’t need or
want.

Thus, the exercise now becomes how to convert the file location from
RELATIVE to ABSOLUTE …and…
_what_can_be_safely_left_out_and_still_have_a_workable_m3u_playlist_as_far_as_the_Touch_is_concerned._

Fortunately, there is a highly useful, free software that can greatly
help as shown in the next playlist below..



C. SAME PLAYLIST FILE USING LISTFIX() SOFTWARE (USING ABSOLUTE
ADDRESSING)

*
*#EXTM3U
#EXTINF:192,LOLA ALBRIGHT - TWO SLEEPY PEOPLE
M:\BUSS\MUSIC\LOLA ALBRIGHT\DREAMSVILLE\01 - LOLA ALBRIGHT - TWO SLEEPY
PEOPLE.FLAC
#EXTINF:203,LOLA ALBRIGHT - DREAMSVILLE
M:\BUSS\MUSIC\LOLA ALBRIGHT\DREAMSVILLE\02 - LOLA ALBRIGHT -
DREAMSVILLE.FLAC*


THIS SOFTWARE IS CALLED “LISTFIX()” V2.2.0 AT SOURCEFORGE.NET. SIMPLY
GOOGLE IT. LISTFIX() IS A FREE, OPEN SOURCE PROGRAM TO READILY AND
INSTANTLY FIX BROKEN PLAYLIST PROGRAMS. MOREOVER, THE PLAYLIST RESULTS
CAN BE EITHER RELATIVE OR ABSOLUTE TRACK ADDRESSES. YOU CAN ALSO: MAKE
NEW PLAYLISTS, ADD PLAYLISTS, REORDER TRACKS WITHIN A PLAYLIST BY
DRAGGING. THUS, IT ALSO MAKES AN EXCELLENT EDITOR.

TO USE THE PROGRAM MOST EFFECTIVELY, YOU NEED TO:

1. DRAG THE SLIMSERVER PLAYLIST FILES THAT YOU WANT TO TRANSFER TO TOUCH
TO A NEW PLAYLIST FOLDER AND MAKE A BACK-UP TO WORK ON.

2. OPEN LISTFIX() AND USE ‘SET’ UNDER ITS UPPER LEFT WINDOW TO SELECT
THE WORK PLAYLIST FOLDER. WHILE DOING THIS, SET TO ‘WINDOWS’ AND MAKE
SURE THE OTHER BOXES ARE UNCHECKED, PARTICULARLY THE ‘SAVE PLAYLISTS
WITH RELATIVE FILE REFERENCES:’ BOX.

3. THEN, UNDER THE BOTTOM LEFT WINDOW, USE ‘SET’ TO TELL LISTFIX KNOW
WHERE THE MUSIC FOLDER IS LOCATED. PREFERABLY THIS WILL BE A BACK-UP
MUSIC FOLDER (DIRECTORY) ALTHOUGH IT WILL NOT BE DISTURBED OR CHANGED.
IN THE ABOVE EXAMPLE, THE MUSIC FOLDER (DIRECTORY) WAS PLACED INSIDE A
TOP LEVEL FOLDER (DIRECTORY) CALLED “BUSS”.

4. FOR EACH INDIVIDUAL PLAYLIST IN THE LEFT UPPER WINDOW, DOUBLE CLICK.
THIS WILL OPEN IN THE RIGHT HAND WINDOW. THEN, CLICK ON THE MAGIC WAND
THAT SAYS ‘FIX EVERYTHING’. THE RIGHT HAND WINDOW WILL THEN CONVERT THE
REPAIRED PLAYLIST FILE TO ABSOLUTE FILE ADDRESSES. THEN SAVE THAT
REPAIRED PLAYLIST BY CLICKING ON THE ‘FLOPPY DISK’ DRIVE SYMBOL ABOVE
THE RIGHT HAND WINDOW. CONTINUE THROUGH THE PLAYLISTS UNTIL ALL OF THEM
HAVE BEEN REPAIRED AND RE-SAVED.



*D. FINAL PLAYLIST FILE USING NOTEPAD’S “SEARCH AND REPLACE” TO MAKE
TOUCH DIRECTORY (USES TOUCH FILE FOLDERS ABSOLUTE ADDRESSING)

*
*#EXTM3U
#EXTINF:192,LOLA ALBRIGHT - TWO SLEEPY PEOPLE
M:\MEDIA\SDA1\MUSIC\LOLA ALBRIGHT\DREAMSVILLE\01 - LOLA ALBRIGHT - TWO
SLEEPY PEOPLE.FLAC
#EXTINF:203,LOLA ALBRIGHT - DREAMSVILLE
M:\MEDIA\SDA1\MUSIC\LOLA ALBRIGHT\DREAMSVILLE\02 - LOLA ALBRIGHT -
DREAMSVILLE.FLAC*


IF YOU LOOK CAREFULLY AT EARLIER B. LIST, YOU WILL SEE THAT TOUCH WANTS
THE FILE LOCATION CREATED BY IT FOR THE MUSIC TO BE AT
“*/MEDIA/SDA1/MUSIC*/”.

THUS, TO MAKE THE PLAYLISTS IN C. OPERABLE IN TOUCH’S ABSOLUTE
ADDRESSING, YOU NEED TO OPEN EACH PLAYLIST FILE IN NOTEPAD, A WINDOW’S
TEXT EDITOR. THEN USE THE “SEARCH AND REPLACE” TO AUTOMATICALLY SEARCH
FOR “*M:\BUSS\MUSIC\*” AND REPLACE IT WITH “*M:\MEDIA\SDA1\MUSIC\*” [OF
COURSE WITHOUT THE QUOTES (“) IN BOTH THE SEARCH AND REPLACE STRINGS.
NOTE THE SLASH DIRECTION AND _KEEP_IT_AS_SHOWN_IN_THIS_PARAGRAPH!_

THE ‘SEARCH AND REPLACE’ RESULTS IN A NEW TIME ON THE RESULTING SAVED
PLAYLIST. A GOOD TIP IS TO LOOK AT ALL THE PLAYLISTS FILE TIMES WHEN YOU
THINK YOU ARE FINALLY DONE. IF ONE IS CONSIDERABLY DIFFERENT, YOU
PROBABLY FORGOT TO FIX THAT ONE.

*AN ALTERNATE TO THE LAST (SEARCH AND REPLACE) STEP
An alternate to the ‘search and replace’ step is to simply put the Music
folder where Touch expects to find it before running “listFix()” to
create new ABSOLUTE addresses! To do this you would need to make the
following directory structure:
Hard Drive [that is where your
Music folder is in …or… which has enough space that you can drag the
Music folder to it].




media [create this as new 1st level folder (directory) in the
hard drive]




sda1 [create this as a new 2nd level folder (directory) that
is inside the ‘media’ folder. That’s
sda(one) not sda(eeL)!]




Music (drag or copy or make the ‘Music’ folder (directory)
inside the ‘sda1’ folder.



Then, the folder structure that Touch expects to see will then actually
exist in the file path to Music as seen by listFix(). Thus, no ‘Search
and Replace’ operation will be needed. Even if you are confident about
moving or copying your Music directory and its contents around,
[B]_make_a_back-up_copy_of_Music_and_its_entire_contents_first._*

This fix assumes that there is nothing special about the “M:” drive in
the absolute Touch file path. There is obviously no M drive in the
Touch. With this fix: loading a 100 song playlist takes is 22 seconds;
playing the first selected song takes a further 5 seconds. After that,
playing on the Touch is virtually instantaneous. In contrast, all of
these operations are essentially instantaneous in the Cowon S9; and, for
that matter on Slimserver!

Untested is if the “M:” portion is actually needed or if it would still
work and perhaps load faster if removed …or… what would happen if the
“\” were replaced with “/”. I simply quit when I found a fix that
worked. If you decide to test any of these types of things, could you
post a comment as to what resulted.


Regards,
Dick


+-------------------------------------------------------------------+
|Filename: HowToFixSlimserverPlaylistsForTouch  MoreDetailed.pdf    |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=15649|
+-------------------------------------------------------------------+


Dick




Squeezebox2 -With Hossflet pwr supply and output cap mods.-
Squeezebox Touch


Sansui QRX9001 quad -Resoldered and recapped with Black Gates-.
Sansui QRX6001 quad - Bought new. Recapped and driver board
mods.-


Onkyo T-4711 and  Sangean HDT-1X tuners
Sherwood Newcastle CD-980T



Four Axiom M22ti
Four Large Advents  -Bought new. Reconed.-


Cowon S9
------------------------------------------------------------------------
dickmc's Profile: http://forums.slimdevices.com/member.php?userid=4025
View this thread: http://forums.slimdevices.com/showthread.php?t=100993

_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to