Bug 189538 - Last.fm without sound after track finished
Summary: Last.fm without sound after track finished
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.1-SVN
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-13 16:24 UTC by Dan
Modified: 2009-07-11 17:22 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan 2009-04-13 16:24:10 UTC
Version:           svn (using Devel)
Compiler:          gcc 4.3.3 -O3 -march=native
OS:                Linux
Installed from:    Compiled sources

Well, I still have this bug all the time and no matter how updated is my
Phonon/Xine, it keeps happening and Amarok always stucks when a last.fm track
is finished (so at least for me it is NOT fixed). The metadata changes, but the progress bar isn't updated and there's no sound. The only workaround is to Skip the track 2 times and start listening again to the next last.fm chosen track. It's very annoying:

amarok(15860) Phonon::Xine::XineStream::event: ################################
Event:  MediaFinished
amarok(15860) Phonon::Xine::XineStream::event: MediaFinishedEvent
m_useGaplessPlayback =  true
amarok: BEGIN: void EngineController::slotAboutToFinish() 
amarok:   [EngineController] Track finished completely, updating statistics 
amarok(15860) EngineController::slotAboutToFinish: "  " Line:  594
amarok: BEGIN: virtual void MultiPlayableCapabilityImpl::fetchNext() 
amarok:      getting more tracks, first playing this:  "Pat Metheny - Open"
"Works II" 
amarok: BEGIN: virtual void
MultiPlayableCapabilityImpl::metadataChanged(Meta::TrackPtr) 
amarok: BEGIN: void EngineController::slotPlayableUrlFetched(const KUrl&) 
amarok:         [EngineController] Fetched url: 
KUrl("http://play.last.fm/user/4bc622466647a7f1c95e523d7b1d06bc.mp3") 
amarok(15860) EngineController::slotPlayableUrlFetched: "        " Line:  790
amarok:         [EngineController] The next url we're playing is: 
KUrl("http://play.last.fm/user/4bc622466647a7f1c95e523d7b1d06bc.mp3") 
amarok: END__: void EngineController::slotPlayableUrlFetched(const KUrl&) -
Took 0.00029s 
amarok: END__: virtual void
MultiPlayableCapabilityImpl::metadataChanged(Meta::TrackPtr) - Took 0.00051s 
amarok: BEGIN: virtual void Amarok::OSD::metadataChanged(Meta::TrackPtr) 
amarok: BEGIN: void OSDWidget::show(const QString&, QImage) 
amarok: END__: void OSDWidget::show(const QString&, QImage) - Took 0.0034s 
amarok: END__: virtual void Amarok::OSD::metadataChanged(Meta::TrackPtr) - Took
0.074s 
amarok: BEGIN: virtual void Meta::Album::notifyObservers() const 
amarok: BEGIN: virtual void CurrentEngine::metadataChanged(Meta::AlbumPtr) 
amarok: END__: virtual void CurrentEngine::metadataChanged(Meta::AlbumPtr) -
Took 0.036s 
amarok: END__: virtual void Meta::Album::notifyObservers() const - Took 0.036s 
amarok: BEGIN: virtual void Meta::Artist::notifyObservers() const 
amarok: END__: virtual void Meta::Artist::notifyObservers() const - Took
7.2e-05s 
amarok(15860) KNetworkAccessManager::createRequest: GetOperation:  QUrl(
"http://ws.audioscrobbler.com/2.0/?api_key=402d3ca8e9bc9d3cf9b85e1202944ca5&artist=Pat
Metheny&method=track.getInfo&sk=8d8a4ad9ed4843311cd
1f35fcd755a08&track=Open&api_sig=859277c7b3c7f4a2d6b5223a14b164eb" )
amarok: END__: virtual void MultiPlayableCapabilityImpl::fetchNext() - Took
0.11s 
amarok:   [EngineController] The queue has:  0  tracks in it 
amarok: END__: void EngineController::slotAboutToFinish() - Took 0.11s 
amarok: BEGIN: void CurrentTrack::dataUpdated(const QString&, const
QHash<QString, QVariant>&) 
amarok: END__: void CurrentTrack::dataUpdated(const QString&, const
QHash<QString, QVariant>&) - Took 0.0005s 
amarok: BEGIN: virtual void CurrentTrack::constraintsEvent(Plasma::Constraints) 
amarok:    placing album at X: 17  and Y: 9 
amarok: END__: virtual void CurrentTrack::constraintsEvent(Plasma::Constraints)
- Took 0.092s 
amarok(15860) KNetworkReply::setMimeType: "text/xml"
amarok: BEGIN: virtual void
MultiPlayableCapabilityImpl::metadataChanged(Meta::TrackPtr) 
amarok: END__: virtual void
MultiPlayableCapabilityImpl::metadataChanged(Meta::TrackPtr) - Took 0.0002s 
amarok: BEGIN: virtual void Amarok::OSD::metadataChanged(Meta::TrackPtr) 
amarok: BEGIN: void OSDWidget::show(const QString&, QImage) 
amarok: END__: void OSDWidget::show(const QString&, QImage) - Took 0.0023s 
amarok: END__: virtual void Amarok::OSD::metadataChanged(Meta::TrackPtr) - Took
0.0036s 
amarok: BEGIN: virtual void Meta::Album::notifyObservers() const 
amarok: BEGIN: virtual void CurrentEngine::metadataChanged(Meta::AlbumPtr) 
amarok: END__: virtual void CurrentEngine::metadataChanged(Meta::AlbumPtr) -
Took 0.00031s 
amarok: END__: virtual void Meta::Album::notifyObservers() const - Took
0.00099s 
amarok: BEGIN: virtual void Meta::Artist::notifyObservers() const 
amarok: END__: virtual void Meta::Artist::notifyObservers() const - Took
7.3e-05s 
amarok: BEGIN: void CurrentTrack::dataUpdated(const QString&, const
QHash<QString, QVariant>&) 
amarok: END__: void CurrentTrack::dataUpdated(const QString&, const
QHash<QString, QVariant>&) - Took 0.00046s 
amarok: BEGIN: virtual void CurrentTrack::constraintsEvent(Plasma::Constraints) 
amarok:    placing album at X: 17  and Y: 9 
amarok: END__: virtual void CurrentTrack::constraintsEvent(Plasma::Constraints)
- Took 0.055s 
"<playlist version="1"
xmlns:lastfm="http://www.audioscrobbler.net/dtd/xspf-lastfm">
<title></title>
<creator>Last.fm</creator>
<link rel="http://www.last.fm/skipsLeft">9999</link>
<trackList>
    <track>
       
<location>http://play.last.fm/user/23c7ece283ec1b838e9c512c3a6ce75b.mp3</location>
        <title>The More I See You</title>
        <id>12983386</id>
        <album>Caught in the Act</album>
        <creator>Michael Bublé</creator>
        <duration>227000</duration>
       
<image>http://images.amazon.com/images/P/B000BFH2S2.01.MZZZZZZZ.jpg</image>
        <lastfm:trackauth>ebe21</lastfm:trackauth>
        <lastfm:albumId>2330692</lastfm:albumId>
        <lastfm:artistId>1259455</lastfm:artistId>        
                <link
rel="http://www.last.fm/artistpage">http://www.last.fm/music/Michael+Bubl%C3%A9</link>
        <link
rel="http://www.last.fm/albumpage">http://www.last.fm/music/Michael+Bubl%C3%A9/Caught+in+the+Act</link>
        <link
rel="http://www.last.fm/trackpage">http://www.last.fm/music/Michael+Bubl%C3%A9/_/The+More+I+See+You</link>
        <link rel="http://www.last.fm/buyTrackURL"></link>
        <link
rel="http://www.last.fm/buyAlbumURL">http://www.last.fm/affiliate_sendto.php?link=catch&amp;prod=2330692&amp;rt=8&amp;s=1</link>
        <link rel="http://www.last.fm/freeTrackURL"></link>
    </track>
    <track>
       
<location>http://play.last.fm/user/817e6d9f1b5872e849f4a4e343f89aa8.mp3</location>
        <title>El aire de la calle</title>
        <id>8706431</id>
        <album>El sentimiento garrapatero que nos traen las flores</album>
        <creator>Los Delinqüentes</creator>
        <duration>183000</duration>
       
<image>http://images.amazon.com/images/P/B00005NG8Z.01.MZZZZZZZ.jpg</image>
        <lastfm:trackauth>26d34</lastfm:trackauth>
        <lastfm:albumId>2319274</lastfm:albumId>
        <lastfm:artistId>1195863</lastfm:artistId>        
                <link
rel="http://www.last.fm/artistpage">http://www.last.fm/music/Los+Delinq%C3%BCentes</link>
        <link
rel="http://www.last.fm/albumpage">http://www.last.fm/music/Los+Delinq%C3%BCentes/El+sentimiento+garrapatero+que+nos+traen+las+flores</link>
        <link
rel="http://www.last.fm/trackpage">http://www.last.fm/music/Los+Delinq%C3%BCentes/_/El+aire+de+la+calle</link>
        <link rel="http://www.last.fm/buyTrackURL"></link>
        <link
rel="http://www.last.fm/buyAlbumURL">http://www.last.fm/affiliate_sendto.php?link=catch&amp;prod=2319274&amp;rt=8&amp;s=1</link>
        <link rel="http://www.last.fm/freeTrackURL"></link>
    </track>
    <track>
       
<location>http://play.last.fm/user/c319aca7d18e6fb65ee39781c0c03b14.mp3</location>
        <title>What You Believe</title>
        <id>4426581</id>
        <album>These Times</album>
        <creator>Mike Stern</creator>
        <duration>406000</duration>
        <image>http://userserve-ak.last.fm/serve/174s/16120879.jpg</image>
        <lastfm:trackauth>ee6fb</lastfm:trackauth>
        <lastfm:albumId>2143454</lastfm:albumId>
        <lastfm:artistId>1015063</lastfm:artistId>        
                <link
rel="http://www.last.fm/artistpage">http://www.last.fm/music/Mike+Stern</link>
        <link
rel="http://www.last.fm/albumpage">http://www.last.fm/music/Mike+Stern/These+Times</link>
        <link
rel="http://www.last.fm/trackpage">http://www.last.fm/music/Mike+Stern/_/What+You+Believe</link>
        <link rel="http://www.last.fm/buyTrackURL"></link>
        <link
rel="http://www.last.fm/buyAlbumURL">http://www.last.fm/affiliate_sendto.php?link=uapc&amp;prod=2053336&amp;s=1</link>
        <link rel="http://www.last.fm/freeTrackURL"></link>
    </track>
    <track>
       
<location>http://play.last.fm/user/6d7bf1d92c7472c053b61548ba67589b.mp3</location>
        <title>Dream of Mirrors</title>
        <id>1003452</id>
        <album>Brave New World</album>
        <creator>Iron Maiden</creator>
        <duration>559000</duration>
        <image>http://userserve-ak.last.fm/serve/174s/13138105.jpg</image>
        <lastfm:trackauth>a26de</lastfm:trackauth>
        <lastfm:albumId>2025750</lastfm:albumId>
        <lastfm:artistId>1000107</lastfm:artistId>        
                <link
rel="http://www.last.fm/artistpage">http://www.last.fm/music/Iron+Maiden</link>
        <link
rel="http://www.last.fm/albumpage">http://www.last.fm/music/Iron+Maiden/Brave+New+World</link>
        <link
rel="http://www.last.fm/trackpage">http://www.last.fm/music/Iron+Maiden/_/Dream+of+Mirrors</link>
        <link rel="http://www.last.fm/buyTrackURL"></link>
        <link
rel="http://www.last.fm/buyAlbumURL">http://www.last.fm/affiliate_sendto.php?link=uapc&amp;prod=1929422&amp;s=1</link>
        <link rel="http://www.last.fm/freeTrackURL"></link>
    </track>
    <track>
       
<location>http://play.last.fm/user/db0399ea4fba42e854125e5979d5fdcf.mp3</location>
        <title>Enfermo (Full length Version)</title>
        <id>107712913</id>
        <album>No Gravity</album>
        <creator>Kiko Loureiro</creator>
        <duration>241000</duration>
        <image>http://userserve-ak.last.fm/serve/174s/16628103.jpg</image>
        <lastfm:trackauth>cbd8e</lastfm:trackauth>
        <lastfm:albumId>2198693</lastfm:albumId>
        <lastfm:artistId>10049221</lastfm:artistId>        
                <link
rel="http://www.last.fm/artistpage">http://www.last.fm/music/Kiko+Loureiro</link>
        <link
rel="http://www.last.fm/albumpage">http://www.last.fm/music/Kiko+Loureiro/No+Gravity</link>
        <link
rel="http://www.last.fm/trackpage">http://www.last.fm/music/Kiko+Loureiro/_/Enfermo+%28Full+length+Version%29</link>
        <link rel="http://www.last.fm/buyTrackURL"></link>
        <link
rel="http://www.last.fm/buyAlbumURL">http://www.last.fm/affiliate_sendto.php?link=uapc&amp;prod=2098896&amp;s=1</link>
        <link rel="http://www.last.fm/freeTrackURL"></link>
    </track>
</trackList>
</playlist>" 
amarok: BEGIN: void MultiPlayableCapabilityImpl::slotNewTracks(const
QList<Track>&) 
amarok: END__: void MultiPlayableCapabilityImpl::slotNewTracks(const
QList<Track>&) - Took 0.00016s 
amarok: BEGIN: virtual void
MultiPlayableCapabilityImpl::metadataChanged(Meta::TrackPtr) 
amarok: END__: virtual void
MultiPlayableCapabilityImpl::metadataChanged(Meta::TrackPtr) - Took 0.0002s 
amarok: BEGIN: virtual void Amarok::OSD::metadataChanged(Meta::TrackPtr) 
amarok: BEGIN: void OSDWidget::show(const QString&, QImage) 
amarok: END__: void OSDWidget::show(const QString&, QImage) - Took 0.0024s 
amarok: END__: virtual void Amarok::OSD::metadataChanged(Meta::TrackPtr) - Took
0.055s 
amarok: BEGIN: virtual void Meta::Album::notifyObservers() const 
amarok: BEGIN: virtual void CurrentEngine::metadataChanged(Meta::AlbumPtr) 
amarok: END__: virtual void CurrentEngine::metadataChanged(Meta::AlbumPtr) -
Took 0.0047s 
amarok: END__: virtual void Meta::Album::notifyObservers() const - Took 0.005s 
amarok: BEGIN: virtual void Meta::Artist::notifyObservers() const 
amarok: END__: virtual void Meta::Artist::notifyObservers() const - Took
7.6e-05s 
amarok: BEGIN: void CurrentTrack::dataUpdated(const QString&, const
QHash<QString, QVariant>&) 
amarok: END__: void CurrentTrack::dataUpdated(const QString&, const
QHash<QString, QVariant>&) - Took 0.001s 
amarok: BEGIN: virtual void CurrentTrack::constraintsEvent(Plasma::Constraints) 
amarok:    placing album at X: 17  and Y: 9 
amarok: END__: virtual void CurrentTrack::constraintsEvent(Plasma::Constraints)
- Took 0.072s
Comment 1 Myriam Schweingruber 2009-04-13 16:29:31 UTC
I can't reproduce this here, running SVN of today, Kubuntu 9.04 Jaunty.
Comment 2 Dan 2009-04-13 16:43:57 UTC
(In reply to comment #1)
> I can't reproduce this here, running SVN of today, Kubuntu 9.04 Jaunty.

Well, I understand you can't reproduce, but it does not mean the bug does not exist.

So I ask for a way to debug this or to make Amarok much more verbose than it is, so we can trace it... there must be an explanation for this problem. It's the same problem of the other closed bug:

https://bugs.kde.org/show_bug.cgi?id=180339

but as it was "closed"... So I only need a way to trace this bug. I can apply patches, I can run through gdb or whatever, but I need instructions on how to do that. What I can't is simply wait without doing nothing, because this bug is extremely annoying.
Comment 3 Dan 2009-04-18 06:45:43 UTC
No news on this?

Nobody has experienced this?
Comment 4 Ravindra Abeynaike 2009-05-19 15:16:23 UTC
I also experienced some problems with amarok during listening to last.fm. It seems, that amarok tries to switch audio output devices after finishing playback of the first track as the output device - accordig to notification - isn't working anymore (i've got an HDMI Audio output device besides my Intel HDA Device). The Backend is Xine. My amarok version is 2.0.96 (amarok 4.1 beta2).
Comment 5 Tobias Höhmann 2009-06-08 08:02:30 UTC
I am experiencing the same problem here... I'm using Amarok 2.1 KDE 4.3 Beta on OpenSUSE 11.1 on a Dell Studio 15. It also has a HDMI audio output beside the Intel HDA Device. So maybe it has something to do with this.
Comment 6 Myriam Schweingruber 2009-06-09 17:58:05 UTC
Guys, Amarok doesn't change anything in the sound system, as it uses Phonon to handle this. But from previous experiences I know Pulseaudio can play some dirty tricks in the sound system.
Make sure you do not use Pulseaudio and that you all use the Xine backend.
Comment 7 Thomas Rother 2009-07-11 17:10:27 UTC
Confirmed as "solved" for Amarok 2.1.1, Rel 17.14 on opensuse 11.1 with xine backend. Last.fm stops after every single track from the stream. You should upgrade the phonon-backend-xine package from 4.1.3x to the latest 4.3.1x version, this should solve the issue.
Comment 8 Myriam Schweingruber 2009-07-11 17:22:48 UTC
Ok, so apparently a xine issue. Closing this bug as it is not an Amarok problem.