Bug 172471

Summary: Playback stops after one track when playing last.fm radios
Product: [Applications] amarok Reporter: Mikko C. <mikko.cal>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED WORKSFORME    
Severity: normal CC: dan76
Priority: NOR    
Version First Reported In: 2.0-SVN   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mikko C. 2008-10-09 18:00:39 UTC
Version:           2.0-SVN (using 4.1.68 (KDE 4.1.68 (KDE 4.2 >= 20081001)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.27-rc8

This is the output when a track ends:

################################ Event:  MediaFinished
MediaFinishedEvent m_useGaplessPlayback =  true
################################ Event:  GaplessSwitch
no GaplessSwitch
reached  1  after  2
amarok: BEGIN: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State)
amarok:    NEWSTATE:  1 OLDSTATE:  2
amarok: END__: virtual void Amarok::PlayPauseAction::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00019s
amarok: BEGIN: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State)
amarok: BEGIN: virtual void CurrentEngine::message(const Context::ContextState&)
amarok: END__: virtual void CurrentEngine::message(const Context::ContextState&) - Took 7.7e-05s
amarok: END__: virtual void Context::ContextView::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00022s
amarok: BEGIN: virtual void Amarok::StatusBar::engineStateChanged(Phonon::State, Phonon::State)
amarok:   [StatusBar] showing emblem
amarok: END__: virtual void Amarok::StatusBar::engineStateChanged(Phonon::State, Phonon::State) - Took 0.00028s
emit finished()
amarok: BEGIN: void EngineController::slotTrackEnded()
amarok: END__: void EngineController::slotTrackEnded() - Took 4.1e-05s
amarok: BEGIN: void CurrentEngine::stoppedState()
amarok: END__: void CurrentEngine::stoppedState() - Took 0.00057s
amarok: BEGIN: void CurrentTrack::dataUpdated(const QString&, const QHash<QString, QVariant>&)
amarok(5840) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok: END__: void CurrentTrack::dataUpdated(const QString&, const QHash<QString, QVariant>&) - Took 0.00066s
amarok: BEGIN: void CurrentEngine::resultReady(const QString&, const Meta::AlbumList&)
amarok: END__: void CurrentEngine::resultReady(const QString&, const Meta::AlbumList&) - Took 8.5e-05s

If I right-click on the stream and click "Play", I get this:

amarok: BEGIN: void Playlist::ViewCommon::trackMenu(QWidget*, const QModelIndex*, const QPoint&, bool)
amarok: BEGIN: void EngineController::play(const Meta::TrackPtr&, uint)
################################ Event:  StopCommand
amarok: END__: void EngineController::play(const Meta::TrackPtr&, uint) - Took 0.00088s
amarok: END__: void Playlist::ViewCommon::trackMenu(QWidget*, const QModelIndex*, const QPoint&, bool) - Took 0.54s

And the stream doesn't play.

Restarting Amarok seems to help but only sometimes.
Comment 1 Mikko C. 2008-10-09 21:57:52 UTC
uhm ok, now it works ok.
I guess there were problems with the last.fm servers...
Comment 2 Dan 2009-10-25 17:38:57 UTC
*** Bug 176997 has been marked as a duplicate of this bug. ***