Version 2.72, November 22, 2005
The script toPSA220.pl is intended to load the Nike/Philips MP3-Player PSA 220 (and probably 250) from your Linux system. It generates playlists for a set of mp3-files and stores them within the internal database (which will be overwritten). The mp3-files must already be present within the directory _system/media/audio.
A note for users of the previous versions. Version 2.0 creates a playlist for every subdirectory of _system/media/audio. Other than previous versions, it does not move any files into _system/media/audio. In fact, it completely ignores any mp3-files within this directory, it only goes for subdirectories. Those subdirectories and the files within however, are slightly renamed to generate good names for the individual playlists.
toPSA220.pl uses the program sqlite to accomplish its tasks, which is a great piece of free software.
Many thanks to Nike and Philips, who created such a nice device, especially for runners like me !
Now you may just as well go and download the tar-file toPSA220.tar.gz (894 kByte, including the binaries of sqlite for linux and cygwin) unpack it and copy the directory tools onto your PSA220; just put tools directory side by side to the already existing directory _system.
The directory tools contains a README.txt and an INSTALL.txt, so anyone who
is able to mount his PSA on his Linux box, should have no difficulties.
However,
if there are any problems, suggestions and maybe even a little bit of feature
creap, just drop me a mail ....
The script toPSA220.pl might be distributed under the terms of the GPL.
For more information, I will finally simply reproduce the message, that you get when invoking toPSA220.pl --help :
usage: toPSA220.pl [-help] [-all sort|ask]
Create playlists for Phillips/Nike MP3 PSA 220/250 Player, based on the
directory structure in _system/media/audio.
The files and subdirectories in this directory will have their names
modified in order to shorten them (e.g. spaces removed, common chars
at both ends deleted). This might not be, what you expect.
Version 2.72 from November 22, 2005
This program might be distributed and modified under the terms
of the Gnu Public License.
Copyright 2004,2005 by Marc-Oliver Ihm
options:
-help : Display this message.
-all sort : Take the existing playlists in alphabetical order
to form the playlist ALL. This is the default.
-all ask : Ask the user, in which order the existing playlists
should go into ALL-
-repeat : Number of times, the Text between playlists in
Playlist ALL should be repeated (default: 1).
Some remarks concerning the playlist ALL:
The special playlist ALL will be constructed by concatenating either:
-- All playlists in alphabetcial order, or
-- Only selected playlists in specified order,
as specified by the option -all.
The contents, sequence and duration of the playlists
within ALL are written to the file all.txt within the
audio directory.
Optionally you may create a directory _Numbers as a subdirectory
of audio, and place files named Playlist.mp3, 1.mp3, 2.mp3 ...
therein. These files would contain the spoken words "Playlist",
"one", "two" and so on, and may be obtained from
http://www.naturalvoices.att.com/demos/ or similar sites.
These files will then be used to mark the beginning of each
seperate playlist within the playlist ALL.
|