1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
slimp3 for Debian
-----------------
* MP3 files are read from /etc/slimp3/audio. You should not copy any mp3 into
it but instead create symbolic links to your preferred mp3 directories.
* Point your mp3 player (xmms, winamp or others) to
http://localhost:9000/stream.mp3 to "activate" your player, and then
create your playlist with your browser at http://localhost:9000/
* Players are identified by source IP. If you have several players with
the same source IP, you'll get strange sound results. Here's one alternative
using apache + mod_rewrite + mod_proxy:
# MP3 Streaming
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (xmms)|(Winamp)
RewriteRule ^/audio/([1-9][0-9]) proxy:http://127.0.0.$1:9000/stream.mp3 [L]
RewriteCond %{HTTP_USER_AGENT} (xmms)|(Winamp)
RewriteRule ^/audio/([1-9]) proxy:http://127.0.0.$1:9000/stream.mp3 [L]
Now point your player to http://<apache host>/audio/1 to activate "player 1"
* If you enable slimp3 web interface through apache+mod_proxy, please notice that
there's still a lot of hard-coded url's in slimp3, thus you can't yet have,
for example, http://<apache>/audio/* -> http://localhost:9000/*.
This will be fixed soon.
* Playlists are saved in /var/lib/slimp3/playlists
* Configuration values can be read from three places. Command line parameters
are defined in /etc/default/slimp3 and are used by /etc/init.d/slimp3.
Slimp3 values changed by web interface, or through slimp3 usage are written
to /var/lib/slimp3/slimp3.conf. This is the original config file.
You can override these values in /etc/slimp3/slimp3.conf, like mp3dir.
Slimp3 reads this latter file and then fills missing values from
/var/lib/slimp3/slimp3.conf
* If you want to enable configuration through web interface, remove
"--nosetup" from /etc/defaults/slimp3. Remember that although you can change
those values in /etc/slimp3/slimp3.conf during slimp3 run time, they'll be
reseted on restart.
* Source util/slimp3.pl cmdline util is not included because it doesn't
seems to work
* debian/CHANGELOG is a text version derived from CHANGELOG.html with
lynx -dump CHANGELOG.html > debian/CHANGELOG
* To find untranslated strings, you can do (replace PT for your language):
cat strings.txt | perl -ne '
$lang="PT";
/^#/ and next;
/^([A-Z].+)/ and $title=$1;
/^\t$lang\t(.+?)/ and $tr=$1;
(/^\s*$/ && $title ne "" && $tr eq "") and print "Missing $title\n";
/^\s*$/ and do { $tr=""; $title=""; }
'
* If you want to port this package to perl 5.6, please note that you'll need
some extra dependency packages as perl 5.8 now provides perl 5.6 plus other
splited packages. Look at perl 5.8 provides. For example, you'll need
libtime-hires-perl.
-- Bruno Rodrigues <bruno.rodrigues@litux.org>, Wed Oct 22 14:50:50 WEST 2003
|