Kupfer (pandora's box)

Can't play or enqueque song with rhythmbox

Reported by Castore on 2011-05-30
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kupfer
Undecided
Unassigned

Bug Description

I'm using 2.06 version of kupfer and version 2.90.1 of rhythmbox (with archlinux). Kupfer is able to launch rhythmbox as an app, read the songs database correctly but does not play or enqueque song in rhythmbox even if the player is running.
Cheers.

Anakin Starkiller (sunrider) wrote :

I guess this is related to the new mpris (http://en.wikipedia.org/wiki/Media_Player_Remote_Interfacing_Specification) dbus API.

Anakin Starkiller (sunrider) wrote :

Well actually, after some digging, it is just because rhythmbox-client is not built yet (https://bbs.archlinux.org/viewtopic.php?id=119874).

Anakin Starkiller (sunrider) wrote :

I've attached a small patch for the rhythmbox.py to make it work with rhythmbox 2.91 (in gnome shell).
Well, it's just a workaround...ideally, it should use dbus python module instead of dbus-send command.
Only Play (a specific song), Pause playback, Resume playback, Next and Previous are implemented.
TrackList interface (http://www.mpris.org/2.1/spec/TrackList_Node.html) is not (yet ?) implemented by rhythmbox so there is no way to handle queue list (for a single track or for albums/artist).

Anakin Starkiller (sunrider) wrote :

Sorry typo, here is a new patch.

Anakin Starkiller (sunrider) wrote :

Currently cli interface works again.
However we can use dbus interface to control Rhythmbox and load library into Kupfer. Attached patch seems to work ok, but some tests are required.

Changed in kupfer:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers