Mediaserver: LastFM
This site is a big FixMe. Does it still work?
LastFM Mediaserver
It's based on this protocoll documentation.
Working:
- Login
- Gettings first playlist
Todo:
- Remove and get new Tracks
- Change channel
- Handle errors
- Session keep alive vs new logging: How to detect session timeout
- Send commands (Endless silent loop)
Additional dependencies
<dependencies>
UPnP ContentDirectory structure
<description of the data struture>
Configuration
The backend accepts these options:
- <option>:
- <description>
Examples
New config file:
<plugin active="yes"> <backend>your_name</backend> <name>your_name</name> </plugin>
Python code:
coherence.add_plugin('your_nameStore', name='your_name')
DBus:
coherence_service = dbus.SessionBus().get_object('org.Coherence','/org/Coherence') coherence_service.add_plugin('your_name', {'name':'your_name'}, dbus_interface='org.Coherence', reply_handler=add_plugin_callback, error_handler=error_callback)
Commandline:
coherence --plugin=backend:your_name
