coherence.backends.lastfm_storage (module)

INFO lastFM_user Dez 14 17:35:27 Got new sessionid:
‘1488f34a1cbed7c9f4232f8fd563c3bd’ (coherence/backends/lastfm_storage.py:60)
DEBUG lastFM_stream Dez 14 17:35:53 render
<GET /da525474-5357-4d1b-a894-76b1293224c9/1005 HTTP/1.1> (coherence/backends/lastfm_storage.py:148)

command GET rest /user/e0362c757ef49169e9a0f0970cc2d367.mp3 headers {‘icy-metadata’: ‘1’, ‘host’: ‘kingpin5.last.fm’,

‘te’: ‘trailers’, ‘connection’: ‘TE’, ‘user-agent’: ‘gnome-vfs/2.12.0.19 neon/0.24.7’}

ProxyClient handleStatus HTTP/1.1 200 OK ProxyClient handleHeader Content-Type audio/mpeg ProxyClient handleHeader Content-Length 4050441 ProxyClient handleHeader Cache-Control no-cache, must-revalidate DEBUG lastFM_stream Dez 14 17:35:53 render

<GET /da525474-5357-4d1b-a894-76b1293224c9/1005 HTTP/1.1> (coherence/backends/lastfm_storage.py:148)

command GET rest /user/e0362c757ef49169e9a0f0970cc2d367.mp3 headers {‘icy-metadata’: ‘1’, ‘host’: ‘kingpin5.last.fm’,

‘te’: ‘trailers’, ‘connection’: ‘TE’, ‘user-agent’: ‘gnome-vfs/2.12.0.19 neon/0.24.7’}

ProxyClient handleStatus HTTP/1.1 403 Invalid ticket

class LastFMUser(user, passwd)[source]

Bases: coherence.log.LogAble

logCategory = 'lastFM_user'
host = 'ws.audioscrobbler.com'
basepath = '/radio'
sessionid = None
parent = None
getting_tracks = False
tracks = []
user = None
passwd = None
login()[source]
get_tracks()[source]
update(item)[source]
class LFMProxyStream(uri, parent)[source]

Bases: coherence.upnp.core.utils.ReverseProxyResource, coherence.log.LogAble

logCategory = 'lastFM_stream'
render(request)[source]

Render a request by forwarding it to the proxied server.

class LastFMItem(id, obj, parent, mimetype, urlbase, UPnPClass, update=False)[source]

Bases: coherence.log.LogAble

logCategory = 'LastFM_item'
remove()[source]
add_child(child, update=False)[source]
remove_child(child)[source]
get_children(start=0, request_count=0)[source]
get_child_count()[source]
get_id()[source]
get_update_id()[source]
get_path()[source]
get_name()[source]
get_parent()[source]
get_item()[source]
get_xml()[source]
class LastFMStore(server, **kwargs)[source]

Bases: coherence.log.LogAble, coherence.extern.simple_plugin.Plugin

logCategory = 'lastFM_store'
implements = ['MediaServer']
append(obj, parent)[source]
remove(item)[source]
len()[source]
get_by_id(id)[source]
getnextID()[source]
upnp_init()[source]
main()[source]