@Thematic
Ok, quick and dirty shot on the issue:
1. unpack lastfm proxy from:
http://vidar.gimp.org/lastfmproxy/2. change config.py to contain user data
3. makelink PYTHON:Lib/thread.py PYTHON:Lib/dummy_thread.py soft
makelink PYTHON:Lib/thread.pyc PYTHON:Lib/dummy_thread.pyc soft
4. edit PYTHON:Lib/threading.py:
comment out line to read:
#_sleep(0.000001) # 1 usec, to let the thread run (Solaris hack)
5. run "python main.py", ignore warnings
6. change main.py of the proxy at line~610 by commenting out the 3 lines:
# t = threading.Thread(target=self.metadataloop)
# t.start()
# runningthreads.append(t)
(the "metadataloop" yells at "time.sleep(1)" line, maybe some python gurus could spill some light on this)
7. add mime type
AUDIO/X-MPEGURL
extension: m3u
viewer: c:run
parameters path_to_mplayer -playlist %u -quiet
(or other app that is capable of playing streaming audio, I currently don't use tunenet because it causes AWeb to GR)
The viewer command and parameter work in AWeb.
8. point the browser to url as in example to listen artists similar to the band you wish:
http://localhost:1881/lastfm://artist/Comus/similarartists (enter)
and click "Play Radio" (on AWeb second click launches the mplayer)
Issues found so far:
the web-gui doesn't work as it should imho (browser issue?): while playing,
http://localhost:1881 should display the info (album cover + names), AWeb seem to be stuck downloading image
there are no tags in the stream
sometimes the proxy streams, but the web interface is stuck (amiga python issue imho)
Any suggesstions/ideas?
Jack