|
|
pywmradio
| Category: |
Audio |
|
|
| Maintainer: |
mfrasca |
| Website: |
http://pywmdockapps.sourceforge.net |
| Description: |
utility to control mplayer instances and have it play streaming media. based on the python library pywmdockapps.
it is a working example of the new object oriented module of the library.
the distributed tarball includes library and all other examples.
it *needs* mplayer! |
Screenshots:
|
|
|
Available Versions:
|
You are not the owner of this file version
| Date |
Author |
Changelog |
Download |
Delete |
|
mfrasca |
|
1.19
|
 |
Add a new Version of this Dockapp
You may add a new (or even old) version of this dockapp by using
the link above. This way we can be sure that this application will
be available even if the project's homepage goes down (did that ever
happen to you? :)).
|
User Comments
.pyradiorc
To use this app. Download the whole pymdockaps file. Untar it and as root run python ./setup.py install
The config file for pywmradio needs one line to tell it about where mplayer and then a line for each station. Each line with a station as 2 tabs in it. Any line without 2 tabs is considered a comment. A line should read title-of-stream[tab]stream-url[tab]cache-size
Here is a sample .pyradiorc file with 1 station in it. The station is Club 977 the 80s channel using a 128k cache.
[tab]mplayer[tab]/usr/bin/mplayer
club 977[tab]http://scfire-dll-aa02.stream.aol.com:80/stream/1040[tab]128
read permissions
One more thing. The wmdocklib folder is set where only root can read the files in it.
In my chase it requried me as root to do a
chmod 755 /usr/lib/python2.5/site-packages/wmdocklib/*
global variables
about the format of the .pyradiorc... the program only reads the lines with two tab characters. tab characters are used to split the line in three fields. as long as the first field is empty, fields 2 and 3 are interpreted as key and value for global variables. any variable can be set, but the program will just use 'mplayer' and 'dumpdir'.
(I have no idea about the permissions issue!)
|
|
|
|