DBUS-support, current playing, tracklist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
New
|
Undecided
|
Unassigned |
Bug Description
I want to propose to include support for DBUS according to MPRIS-standaed. This would allow other applications and scripts to interface and read current information from MIXXX. A simple python script would be able to read current playing from MIXXX as below is demonstrated with both Banshee and Clementine players.
--- Banshee reading current title ----
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import dbus
bus = dbus.SessionBus()
banshee = bus.get_
currentTrack = banshee.
print "Current track:", currentTrack[
------------------
And
--- Clementine reading current title and 4 titles down the list ---
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import dbus
bus = dbus.SessionBus()
player = bus.get_
tracklist = bus.get_
currentsong = tracklist.
playlistlength = tracklist.
for i in range(currentso
print "Track",i,":", tracklist.
i = i+1
-------
Kind regards
Mikael Holber - Sweden
Hi Mikael,
Thank you for the bug report. This would be really a nice addition.
You may copy the useful information from this bug to the original.
Do you have fun to add the DBus support to Mixxx yourself?
This should be not too hard, since Qt offers a good DBus interface.
Just ask for help.
Thank you,
Daniel