Bug 219417 - With filter in playlist amarok stops after 1 song
Summary: With filter in playlist amarok stops after 1 song
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Playlist (show other bugs)
Version: 2.2.2
Platform: unspecified Linux
: NOR normal
Target Milestone: 2.3.0
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-20 13:25 UTC by Rindert Vonk
Modified: 2010-03-24 12:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rindert Vonk 2009-12-20 13:25:18 UTC
Version:           2.2.1.90 (using 4.3.4 (KDE 4.3.4), Arch Linux)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31-ARCH

When I use the filter on the playlist to search for a specific artist, and play one file of the the filterd list, Amarok stops playing after the first track.
This happens everytime I use the filter regardless of when the currenly playing file is still part of the filter or not.
Restarting Amaarok doesn't help. And i also happens directly after start up.
Comment 1 Rindert Vonk 2009-12-20 13:41:50 UTC
This is the output of amarok -d --nofork

The line:
amarok: BEGIN: void EngineController::slotAboutToFinish()
Is the first line after the track stopped playing.

amarok:    "http://www.flickr.com/photos/46964826@N00/247148255"
amarok:    "http://www.flickr.com/photos/30575808@N05/3138090779"
amarok:    Flickr fetch :  20  photos
amarok: END__: void PhotosEngine::resultFlickr(KJob*) - Took 0.0051s
amarok: BEGIN: void Context::Applet::setCollapseOff()
amarok: END__: void Context::Applet::setCollapseOff() - Took 9.9e-05s
amarok: BEGIN: void PhotosScrollWidget::setPixmapList(QList<PhotosInfo*>)
amarok: END__: void PhotosScrollWidget::setPixmapList(QList<PhotosInfo*>) - Took 1s
amarok: BEGIN: void Context::Applet::setCollapseOff()
amarok: END__: void Context::Applet::setCollapseOff() - Took 0.0001s
amarok: BEGIN: void PhotosScrollWidget::setPixmapList(QList<PhotosInfo*>)
amarok: END__: void PhotosScrollWidget::setPixmapList(QList<PhotosInfo*>) - Took 0.31s
amarok: BEGIN: void Context::Applet::setCollapseOff()
amarok: END__: void Context::Applet::setCollapseOff() - Took 9.8e-05s
amarok: BEGIN: void PhotosScrollWidget::setPixmapList(QList<PhotosInfo*>)
amarok: END__: void PhotosScrollWidget::setPixmapList(QList<PhotosInfo*>) - Took 0.074s   
amarok: BEGIN: void EngineController::slotAboutToFinish()
amarok:   [EngineController] Track finished completely, updating statistics
amarok:    returning bookmarkcurrenttrack action
amarok:   [Playlist::Model] Metadata updated for track "Broken Highway"
amarok:   BEGIN: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr)
amarok:     BEGIN: void WikipediaEngine::update()
amarok:       BEGIN: bool EngineController::isStream()
amarok:       END__: bool EngineController::isStream() - Took 4.5e-05s
amarok:        Same entry requested again. Ignoring.
amarok:     END__: void WikipediaEngine::update() - Took 0.00016s
amarok:   END__: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) - Took 0.00028s
amarok:    returning bookmarkcurrenttrack action
amarok:   [Playlist::Model] Metadata updated for track "Broken Highway"
amarok:   BEGIN: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr)
amarok:     BEGIN: void WikipediaEngine::update()
amarok:       BEGIN: bool EngineController::isStream()
amarok:       END__: bool EngineController::isStream() - Took 4.6e-05s
amarok:        Same entry requested again. Ignoring.
amarok:     END__: void WikipediaEngine::update() - Took 0.0002s
amarok:   END__: virtual void WikipediaEngine::metadataChanged(Meta::TrackPtr) - Took 0.00028s
amarok:   BEGIN: void Playlist::Actions::requestNextTrack()
amarok:     [Playlist::Actions] so far so good!
amarok:     BEGIN: void Playlist::Actions::play(quint64, bool)
amarok:       [Playlist::Actions] [WARNING!] Invalid trackid 5405009768500465842
amarok:     END__: void Playlist::Actions::play(quint64, bool) - Took 8.1e-05s
amarok:   END__: void Playlist::Actions::requestNextTrack() - Took 0.00021s
amarok: END__: void EngineController::slotAboutToFinish() - Took 0.11s
amarok: BEGIN: void EngineController::slotStateChanged(Phonon::State, Phonon::State)
amarok:   BEGIN: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State)
amarok:      State changed, oldState: 2 -> newState: 1
amarok:     BEGIN: virtual void VideoclipApplet::engineStateChanged(Phonon::State, Phonon::State)
amarok:        video old state:  2  new state:  1
amarok:     END__: virtual void VideoclipApplet::engineStateChanged(Phonon::State, Phonon::State) - Took 7e-05s
amarok:      returning bookmarkcurrenttrack action
amarok:      returning bookmarkcurrenttrack action
amarok:   END__: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State) - Took 0.0032s
amarok: END__: void EngineController::slotStateChanged(Phonon::State, Phonon::State) - Took 0.0034s
QPainter::begin: Cannot paint on a null pixmap
QPainter::save: Painter not active
QPainter::translate: Painter not active
QPainter::scale: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::worldTransform: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::brush: Painter not active
QPainter::setBrush: Painter not active
QPainter::brush: Painter not active
QPainter::setBrush: Painter not active
QPainter::worldTransform: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::opacity: Painter not active
QPainter::setOpacity: Painter not active
QPainter::opacity: Painter not active
QPainter::brush: Painter not active
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::setOpacity: Painter not active
QPainter::drawRects: Painter not active
QPainter::setOpacity: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setBrush: Painter not active
QPainter::setBrush: Painter not active
QPainter::setBrush: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::setOpacity: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::restore: Unbalanced save/restore
amarok: BEGIN: void EngineController::slotQueueEnded()
amarok:   BEGIN: virtual void ProgressWidget::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason)
amarok:     BEGIN: void Amarok::TimeSlider::clearTriangles()
amarok:        number of triangles:  0
amarok:        deleted them all...
amarok:     END__: void Amarok::TimeSlider::clearTriangles() - Took 0.00037s
amarok:   END__: virtual void ProgressWidget::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason) - Took 0.00051s
amarok:   BEGIN: virtual void PhotosApplet::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason)
amarok:     BEGIN: void PhotosScrollWidget::clear()
amarok:        Going to delete  20  items
amarok:     END__: void PhotosScrollWidget::clear() - Took 0.00027s
amarok:      collapsing applet to... 37
amarok:     BEGIN: virtual bool PhotosEngine::sourceRequestEvent(const QString&)
amarok:     END__: virtual bool PhotosEngine::sourceRequestEvent(const QString&) - Took 6.9e-05s
amarok:   END__: virtual void PhotosApplet::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason) - Took 0.00073s
amarok:   BEGIN: virtual void TimecodeObserver::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason)
amarok:   END__: virtual void TimecodeObserver::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason) - Took 4.6e-05s
amarok:   BEGIN: virtual void ScrobblerAdapter::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason)
amarok:     BEGIN: void ScrobblerAdapter::checkScrobble()
amarok:       [lastfm] total played 200071 duration 100000 isNull false submit? true
amarok:       [lastfm] scrobble:  "Jess Turner"  -  "Broken Highway"  -  "Broken Highway"
HTTP POST:  QUrl( "http://post2.audioscrobbler.com:80/protocol_1.2" )  "s=497affe6a30c4ee782c829147dcf4213&a[0]=Jess%20Turner&t[0]=Broken%20Highway&i[0]=1261312116&o[0]=P&r[0]=&l[0]=200&b[0]=Broken%20Highway&n[0]=0&m[0]="
amarok:     END__: void ScrobblerAdapter::checkScrobble() - Took 0.0012s
amarok:   END__: virtual void ScrobblerAdapter::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason) - Took 0.0013s
amarok:   BEGIN: virtual void ProgressWidget::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason)
amarok:     BEGIN: void Amarok::TimeSlider::clearTriangles()
amarok:        number of triangles:  0
amarok:        deleted them all...
amarok:     END__: void Amarok::TimeSlider::clearTriangles() - Took 8.8e-05s
amarok:   END__: virtual void ProgressWidget::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason) - Took 0.00023s
amarok:   BEGIN: virtual void Context::ContextView::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason)
amarok:     BEGIN: virtual void LyricsEngine::message(const Context::ContextState&)
amarok:     END__: virtual void LyricsEngine::message(const Context::ContextState&) - Took 7.8e-05s
amarok:     BEGIN: virtual void CurrentEngine::message(const Context::ContextState&)
amarok:     END__: virtual void CurrentEngine::message(const Context::ContextState&) - Took 5.8e-05s
amarok:   END__: virtual void Context::ContextView::enginePlaybackEnded(qint64, qint64, EngineObserver::PlaybackEndedReason) - Took 0.00033s
amarok: END__: void EngineController::slotQueueEnded() - Took 0.0072s
amarok: BEGIN: void CurrentTrack::dataUpdated(const QString&, const QHash<QString, QVariant>&)
amarok: END__: void CurrentTrack::dataUpdated(const QString&, const QHash<QString, QVariant>&) - Took 0.00036s
amarok:  collapsing applet to... 67
"OK"
amarok: BEGIN: void CurrentEngine::stoppedState()
amarok:    Initialized thread, count== 4
amarok:    Initialized thread, count== 5
amarok: END__: void CurrentEngine::stoppedState() - Took 0.038s
amarok: BEGIN: void Albums::dataUpdated(const QString&, const QHash<QString, QVariant>&)
amarok: END__: void Albums::dataUpdated(const QString&, const QHash<QString, QVariant>&) - Took 5.4e-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.00017s
amarok: BEGIN: void CurrentEngine::resultReady(const QString&, const Meta::AlbumList&)
amarok: END__: void CurrentEngine::resultReady(const QString&, const Meta::AlbumList&) - Took 9.7e-05s
amarok: BEGIN: void CurrentEngine::resultReady(const QString&, const Meta::AlbumList&)
amarok: END__: void CurrentEngine::resultReady(const QString&, const Meta::AlbumList&) - Took 4.2e-05s
amarok: BEGIN: void Albums::dataUpdated(const QString&, const QHash<QString, QVariant>&)
amarok:    Received 5 albums
amarok: END__: void Albums::dataUpdated(const QString&, const QHash<QString, QVariant>&) - Took 0.079s
amarok: BEGIN: void CurrentEngine::resultReady(const QString&, const Meta::TrackList&)
amarok: END__: void CurrentEngine::resultReady(const QString&, const Meta::TrackList&) - Took 0.00011s
amarok: BEGIN: void CurrentEngine::resultReady(const QString&, const Meta::TrackList&)
amarok: END__: void CurrentEngine::resultReady(const QString&, const Meta::TrackList&) - Took 4e-05s
amarok: BEGIN: void CurrentEngine::setupTracksData()
amarok: END__: void CurrentEngine::setupTracksData() - Took 7.5e-05s
amarok: BEGIN: void CurrentEngine::setupTracksData()
amarok: END__: void CurrentEngine::setupTracksData() - Took 4.7e-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.0001s
Comment 2 Myriam Schweingruber 2009-12-20 15:46:06 UTC
Setting target default to 2.2.2
Comment 3 Teo Mrnjavac 2009-12-20 18:29:40 UTC
I can't reproduce this issue, and another developer who tried can't reproduce it either.
Have you enabled a random or album track navigator or a queue perhaps?
Comment 4 Rindert Vonk 2009-12-20 20:11:17 UTC
Yes the issue occurs when I use random tracks or albums play mode.
I doesn't happen in the standard play mode, or in the track/album repeat mode
Comment 5 Teo Mrnjavac 2009-12-21 15:53:52 UTC
Does it happen consistently or (apparently) randomly?
Comment 6 Rindert Vonk 2009-12-21 16:44:54 UTC
Yes it happends everytime.
Comment 7 Myriam Schweingruber 2010-02-07 14:53:25 UTC
Teo, is this still valid in Amarok 2.2.2 or current git?
Comment 8 Myriam Schweingruber 2010-02-27 11:04:39 UTC
Rindert, can you reproduce this with current Amarok 2.2.2 or 2.3 beta?
Comment 9 Rindert Vonk 2010-02-27 21:38:00 UTC
The bug is still there, in 2.2.2. Have not tested in 2.3 beta.
The times it happens is when I use the Track Progression in Random mode, and the "only matching items' is on, in the filter configuration.
Comment 10 Myriam Schweingruber 2010-02-28 10:33:55 UTC
Changed version, thank you for the feedback.
Comment 11 Teo Mrnjavac 2010-02-28 13:08:33 UTC
I can't reproduce this in current git, as you said with random track progression and show only matches filter.
Comment 12 Myriam Schweingruber 2010-02-28 13:13:47 UTC
Rindert, which Phonon backend are you using? There have been reports for the gstreamer backend not working correctly, this might be the problem
Comment 13 Rindert Vonk 2010-03-24 12:51:14 UTC
I don't see the behavior with v 2.3.0 anymore. So it can be closed.