Summary: | Last played track of a playlist is not correctly scrobbled to last.fm | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Daniel Mlot <duplode_1> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | dmeltzer.devel, kretschmann, lfranchi, unnamedrambler |
Priority: | NOR | ||
Version: | 2.0.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Daniel Mlot
2009-02-07 06:22:00 UTC
I've heard about this issue before, but it might be fixed in SVN. I'm not sure. Leo, Dan? This is related to the other enginecontroller issues.... phonon is not properly entering StoppedState at the end of the queue, so we never find out that the track has finished. Confirming then, based on Dan's comment. I can confirm this bug. It's annoying. I'm going to hijack this bug, because I believe the underlying issue is the same. The last track in a playlist never reaches the finished state (hence no scrobble). Here's some debug output. amarok(29182) Phonon::Xine::XineStream::emitAboutToFinish: emitting prefinishMarkReached( 2139 ) amarok(29182) Phonon::Xine::XineStream::event: ################################ Event: MediaFinished amarok(29182) Phonon::Xine::XineStream::event: MediaFinishedEvent m_useGaplessPlayback = true amarok: BEGIN: void EngineController::slotAboutToFinish() amarok: [EngineController] Track finished completely, updating statistics amarok: BEGIN: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) amarok: BEGIN: void WikipediaEngine::update() amarok: BEGIN: bool EngineController::isStream() amarok: END__: bool EngineController::isStream() - Took 0.00015s amarok: tmpWikiStr: "The Killers (band)" amarok: Same entry requested again. Ignoring. amarok: END__: void WikipediaEngine::update() - Took 0.00068s amarok: END__: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) - Took 0.0011s 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.00033s amarok: END__: virtual void Amarok::OSD::metadataChanged(Meta::TrackPtr) - Took 0.025s amarok: BEGIN: virtual void MainWindow::metadataChanged(Meta::TrackPtr) amarok: END__: virtual void MainWindow::metadataChanged(Meta::TrackPtr) - Took 0.00033s amarok: BEGIN: virtual void Playlist::Model::metadataChanged(Meta::TrackPtr) amarok: END__: virtual void Playlist::Model::metadataChanged(Meta::TrackPtr) - Took 0.00058s 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.00015s amarok: END__: virtual void Amarok::OSD::metadataChanged(Meta::TrackPtr) - Took 0.0012s amarok: BEGIN: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) amarok: BEGIN: void WikipediaEngine::update() amarok: BEGIN: bool EngineController::isStream() amarok: END__: bool EngineController::isStream() - Took 8.5e-05s amarok: tmpWikiStr: "The Killers (band)" amarok: Same entry requested again. Ignoring. amarok: END__: void WikipediaEngine::update() - Took 0.00038s amarok: END__: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) - Took 0.0006s amarok: BEGIN: virtual void MainWindow::metadataChanged(Meta::TrackPtr) amarok: END__: virtual void MainWindow::metadataChanged(Meta::TrackPtr) - Took 0.00017s amarok: BEGIN: virtual void Playlist::Model::metadataChanged(Meta::TrackPtr) amarok: END__: virtual void Playlist::Model::metadataChanged(Meta::TrackPtr) - Took 0.00038s amarok: BEGIN: void Playlist::Actions::play(quint64, bool) amarok: [Playlist::Actions] [WARNING!] Invalid trackid 0 amarok: END__: void Playlist::Actions::play(quint64, bool) - Took 0.00013s amarok: END__: void EngineController::slotAboutToFinish() - Took 0.07s That last debug paste was totally unreadable.. lets try again. amarok(29182) Phonon::Xine::XineStream::emitAboutToFinish: emitting prefinishMarkReached( 2139 ) amarok(29182) Phonon::Xine::XineStream::event: ################################ Event: MediaFinished amarok(29182) Phonon::Xine::XineStream::event: MediaFinishedEvent m_useGaplessPlayback = true amarok: BEGIN: void EngineController::slotAboutToFinish() amarok: [EngineController] Track finished completely, updating statistics amarok: BEGIN: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) amarok: BEGIN: void WikipediaEngine::update() amarok: BEGIN: bool EngineController::isStream() amarok: END__: bool EngineController::isStream() - Took 0.00015s amarok: tmpWikiStr: "The Killers (band)" amarok: Same entry requested again. Ignoring. amarok: END__: void WikipediaEngine::update() - Took 0.00068s amarok: END__: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) - Took 0.0011s 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.00033s amarok: END__: virtual void Amarok::OSD::metadataChanged(Meta::TrackPtr) - Took 0.025s amarok: BEGIN: virtual void MainWindow::metadataChanged(Meta::TrackPtr) amarok: END__: virtual void MainWindow::metadataChanged(Meta::TrackPtr) - Took 0.00033s amarok: BEGIN: virtual void Playlist::Model::metadataChanged(Meta::TrackPtr) amarok: END__: virtual void Playlist::Model::metadataChanged(Meta::TrackPtr) - Took 0.00058s 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.00015s amarok: END__: virtual void Amarok::OSD::metadataChanged(Meta::TrackPtr) - Took 0.0012s amarok: BEGIN: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) amarok: BEGIN: void WikipediaEngine::update() amarok: BEGIN: bool EngineController::isStream() amarok: END__: bool EngineController::isStream() - Took 8.5e-05s amarok: tmpWikiStr: "The Killers (band)" amarok: Same entry requested again. Ignoring. amarok: END__: void WikipediaEngine::update() - Took 0.00038s amarok: END__: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) - Took 0.0006s amarok: BEGIN: virtual void MainWindow::metadataChanged(Meta::TrackPtr) amarok: END__: virtual void MainWindow::metadataChanged(Meta::TrackPtr) - Took 0.00017s amarok: BEGIN: virtual void Playlist::Model::metadataChanged(Meta::TrackPtr) amarok: END__: virtual void Playlist::Model::metadataChanged(Meta::TrackPtr) - Took 0.00038s amarok: BEGIN: void Playlist::Actions::play(quint64, bool) amarok: [Playlist::Actions] [WARNING!] Invalid trackid 0 amarok: END__: void Playlist::Actions::play(quint64, bool) - Took 0.00013s amarok: END__: void EngineController::slotAboutToFinish() - Took 0.07s *** This bug has been marked as a duplicate of bug 167489 *** |