Rhythmbox does not start playing tracks when they are selected from music lens

Bug #1201016 reported by Doug McMahon on 2013-07-13
This bug affects 5 people
Affects Status Importance Assigned to Milestone
unity-lens-music (Ubuntu)

Bug Description

Test case:
Open music lens, double click a track
Open music lens, preview a track > click play

What's expected -
Rhythmbox should open & start playing the selected track

What happens -
Rhythmbox opens with no track playing, selected or queued

The same occurs with albums.

On the other hand if one r. clicked a track in nautilus > open in rhythmbox, Rb would open & start playing

So either you've got the wrong command for Rb via the Dash or it's not capable of working properly from the Dash, if the later than you should go back to Banshee as default supplied as it works fine from Dash/music lens

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: unity-lens-music 6.9.0daily13.06.21-0ubuntu1
ProcVersionSignature: Ubuntu 3.10.0-2.11-generic 3.10.0
Uname: Linux 3.10.0-2-generic x86_64
ApportVersion: 2.10.2-0ubuntu4
Architecture: amd64
Date: Sat Jul 13 19:08:27 2013
InstallationDate: Installed on 2013-07-13 (0 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130712)
MarkForUpload: True
SourcePackage: unity-lens-music
UpgradeStatus: No upgrade log present (probably fresh install)

Doug McMahon (mc3man) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-lens-music (Ubuntu):
status: New → Confirmed
Eloy Paris (peloy-chapus) wrote :

I think this bug is caused by a race condition...

I can confirm the behavior described by the bug submitter. When things are done in the order the bug submitter describes (see test cases above), there are two processes:

elparis 31327 0.0 0.0 17092 2296 ? Sl 18:21 0:00 rhythmbox-client --play-uri file:///home/elparis/Music/14%20Iron%20Maiden.mp3
elparis 31330 33.5 1.0 273840 40760 ? Sl 18:21 0:01 /usr/bin/rhythmbox

However, Rhythmbox is just sitting there doing nothing.

But, if Rhythmbox is started before using the Music lens, then things work properly. My guess is that rhythmbox-client runs before rhythmbox is ready so rhythmbox never receives the command to play the song.

I don't know who starts rhythmbox, rhythmbox-client or the Music lens, though.

Eloy Paris (peloy-chapus) wrote :

Running rhythmbox-client --play-uri file://path/to/mp3 when no rhythmbox is running causes rhythmbox to be spawned so I guess rhythmbox-client is the one running rhythmbox. I would seem like this bug lives in rhythmbox-client because if it is spawning rhythmbox it should wait a little for rhythmbox to be read to accept commands.

TomasHnyk (sup) wrote :

This seems to be just another issue of bug 966132, I think

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers