This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok does not play

Tags: None
(comma "," separated)
hoderlump
Registered Member
Posts
7
Karma
0
OS

Amarok does not play

Tue Apr 26, 2011 10:33 am
hey guys,

I am very disappointed with Amarok. No, I do not want to offend you, I try Amarok again and again and again, and every second time I use it, it annoys me.
This is what I might say if I was really upset:
Startup is always very slow, sometimes it crashes and this time it does not play music at all again. It does not playback at all! This is so ridiculous as it can do everything else but not what it's supposed to do... I have to go to KDE.org and write into a forum. No, I have to write a bug report. No, better not, I do not know how to write bug reports. Ah, of course, I need to register, to bring my complains to them developers... Okok, I will do this, as I just wanna hear music.
I am using VLC instead. It is ugly but it works.

But now I cooled down again, I do not want to offend anyone and I am really happy with KDE.

So, here is the debug output, if I simply click on a mp3 in my playlist. The pause button converts to the play button, the OSD appears. But no sound, and progress bar does not move and time is stuck to 0:00.
Code: Select all
amarok: BEGIN: void Playlist::PrettyListView::trackActivated(const QModelIndex&)
amarok:   BEGIN: void Playlist::Actions::play(const QModelIndex&)
amarok:     BEGIN: void Playlist::Actions::play(quint64, bool)
amarok:       BEGIN: void EngineController::play(Meta::TrackPtr, uint)
amarok:         BEGIN: void Statistics::StatisticsProvider::played(double, Meta::TrackPtr)
amarok:           called with playedFraction =  0.00171605
amarok:         END__: void Statistics::StatisticsProvider::played(double, Meta::TrackPtr) [Took: 0s]
amarok:         BEGIN: void EngineController::stop(bool)
amarok:           BEGIN: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&)
amarok:             [EngineController] Empty MediaSource (engine stop)
amarok:           END__: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&) [Took: 0s]
amarok:         END__: void EngineController::stop(bool) [Took: 0s]
amarok:         [EngineController] play: bounded is  QObject(0x0)  current "Kaili"
amarok:         [EngineController] Just a normal, boring track... :-P
amarok:         BEGIN: void EngineController::playUrl(const KUrl&, uint)
amarok:           [EngineController] URL:  "file:///media/disk1part7/Audio/Caribou%20(2010)%20-%20Swim/03-caribou-kaili.mp3"
amarok:           [EngineController] offset:  0
amarok:           BEGIN: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&)
amarok:             [EngineController] Using gain of 0 with relative peak of 0
amarok:             BEGIN: void Context::ContextView::slotTrackChanged(Meta::TrackPtr)
amarok:             END__: void Context::ContextView::slotTrackChanged(Meta::TrackPtr) [Took: 0s]
amarok:             BEGIN: void LyricsAppletPrivate::_trackDataChanged(Meta::TrackPtr)
amarok:             END__: void LyricsAppletPrivate::_trackDataChanged(Meta::TrackPtr) [Took: 0s]
amarok:             BEGIN: bool EngineController::isStream()
amarok:             END__: bool EngineController::isStream() [Took: 0s]
amarok:             [WikipediaEngine] Fetching langlinks: KUrl("http://en.wikipedia.org/w/api.php?action=query&prop=langlinks&titles=Caribou&format=xml&lllimit=100&redirects=1")
amarok:             BEGIN: void Playlist::Actions::slotTrackPlaying(Meta::TrackPtr)
amarok:               BEGIN: void StatusBar::updateTotalPlaylistLength()
amarok:               END__: void StatusBar::updateTotalPlaylistLength() [Took: 0s]
amarok:               BEGIN: void Playlist::PrettyListView::slotPlaylistActiveTrackChanged()
amarok:                 BEGIN: void Playlist::PrettyListView::scrollToActiveTrack()
amarok:                 END__: void Playlist::PrettyListView::scrollToActiveTrack() [Took: 0s]
amarok:               END__: void Playlist::PrettyListView::slotPlaylistActiveTrackChanged() [Took: 0s]
amarok:             END__: void Playlist::Actions::slotTrackPlaying(Meta::TrackPtr) [Took: 0s]
amarok:             BEGIN: void TimecodeObserver::trackPlaying(Meta::TrackPtr)
amarok:               current track name:  "Kaili"
amarok:               Track timecodeable
amarok:             END__: void TimecodeObserver::trackPlaying(Meta::TrackPtr) [Took: 0s]
amarok:             BEGIN: void ProgressWidget::trackLengthChanged(qint64)
amarok:               new length:  282000
amarok:               slider enabled!
amarok:               BEGIN: void ProgressWidget::redrawBookmarks(const QString*)
amarok:                 found  0  timecodes on this track
amarok:               END__: void ProgressWidget::redrawBookmarks(const QString*) [Took: 0s]
amarok:             END__: void ProgressWidget::trackLengthChanged(qint64) [Took: 0s]
amarok:             BEGIN: void ScrobblerAdapter::trackPlaying(Meta::TrackPtr)
amarok:               [lastfm] track type: "mp3"
amarok:               BEGIN: void ScrobblerAdapter::checkScrobble()
amarok:                 [lastfm] total played 0 duration 121500 isNull false submit? true
amarok:               END__: void ScrobblerAdapter::checkScrobble() [Took: 0s]
amarok:               [lastfm] nowPlaying:  "Caribou"  -  "Swim"  -  "Kaili"
HTTP POST:  QUrl( "http://post.audioscrobbler.com:80/np_1.2" )  "s=a041a164dd7446528339b594a17734c5&a=Caribou&t=Kaili&b=Swim&l=282&n=0&m="
amarok:             END__: void ScrobblerAdapter::trackPlaying(Meta::TrackPtr) [Took: 0s]
amarok:             BEGIN: void OSDWidget::show(const QString&, QImage)
amarok:             END__: void OSDWidget::show(const QString&, QImage) [Took: 0.39s]
amarok:             BEGIN: void CurrentEngine::trackPlaying(Meta::TrackPtr)
amarok:               [CurrentEngine] updating track "Kaili"
amarok:             END__: void CurrentEngine::trackPlaying(Meta::TrackPtr) [Took: 0s]
amarok:           END__: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&) [Took: 0.42s]
amarok:           [EngineController] track pos after play:  417
amarok:         END__: void EngineController::playUrl(const KUrl&, uint) [Took: 0.42s]
amarok:       END__: void EngineController::play(Meta::TrackPtr, uint) [Took: 0.42s]
amarok:     END__: void Playlist::Actions::play(quint64, bool) [Took: 0.42s]
amarok:   END__: void Playlist::Actions::play(const QModelIndex&) [Took: 0.42s]
amarok: END__: void Playlist::PrettyListView::trackActivated(const QModelIndex&) [Took: 0.42s]
amarok: BEGIN: void LyricsEngine::update()
amarok:   [LyricsEngine] current track is "Kaili"
amarok:   BEGIN: void ScriptManager::notifyFetchLyrics(const QString&, const QString&)
amarok:     SCRIPT "Lyricwiki" :  "request URL: http://lyrics.wikia.com/api.php?action=query&prop=revisions&rvprop=content&format=xml&titles=Caribou:Kaili"
amarok:     BEGIN: static QScriptValue Downloader::init(QScriptContext*, QScriptEngine*, bool)
amarok:     END__: static QScriptValue Downloader::init(QScriptContext*, QScriptEngine*, bool) [Took: 0s]
amarok:   END__: void ScriptManager::notifyFetchLyrics(const QString&, const QString&) [Took: 0.001s]
amarok: END__: void LyricsEngine::update() [Took: 0.002s]
amarok: BEGIN: void CurrentTrack::dataUpdated(const QString&, const Plasma::DataEngine::Data&)
amarok:   BEGIN: virtual bool MetaFile::Track::isEditable() const
amarok:     "/media/disk1part7/Audio/Caribou (2010) - Swim/03-caribou-kaili.mp3"  editable:  true
amarok:   END__: virtual bool MetaFile::Track::isEditable() const [Took: 0s]
amarok: END__: void CurrentTrack::dataUpdated(const QString&, const Plasma::DataEngine::Data&) [Took: 0.01s]
amarok: BEGIN: void LyricsApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&)
amarok: END__: void LyricsApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&) [Took: 0s]
"OK"
amarok: [WikipediaEngine] Fetching listing: KUrl("http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=Caribou&srprop=size&srredirects=1&srlimit=20&format=xml")
amarok: BEGIN: void WikipediaEnginePrivate::_dataContainerUpdated(const QString&, const Plasma::DataEngine::Data&)
amarok:   [WikipediaEngine] data is empty
amarok: END__: void WikipediaEnginePrivate::_dataContainerUpdated(const QString&, const Plasma::DataEngine::Data&) [Took: 0s]
amarok: BEGIN: void WikipediaApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&)
amarok:   [WikipediaApplet] data Empty!
amarok: END__: void WikipediaApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&) [Took: 0s]
amarok: BEGIN: void AmarokScript::AmarokLyricsScript::showLyrics(const QString&) const
amarok:   BEGIN: void LyricsManager::lyricsResult(const QString&, bool)
amarok:     [LyricsManager] setting cached lyrics...
amarok:     BEGIN: void LyricsSubject::sendNewLyrics(QStringList)
amarok:       BEGIN: virtual void LyricsEngine::newLyrics(QStringList&)
amarok:       END__: virtual void LyricsEngine::newLyrics(QStringList&) [Took: 0s]
amarok:     END__: void LyricsSubject::sendNewLyrics(QStringList) [Took: 0s]
amarok:   END__: void LyricsManager::lyricsResult(const QString&, bool) [Took: 0.006s]
amarok: END__: void AmarokScript::AmarokLyricsScript::showLyrics(const QString&) const [Took: 0.006s]
amarok: BEGIN: void LyricsApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&)
amarok:   BEGIN: void LyricsAppletPrivate::showLyrics(const QString&, bool)
amarok:   END__: void LyricsAppletPrivate::showLyrics(const QString&, bool) [Took: 0.005s]
amarok: END__: void LyricsApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&) [Took: 0.005s]
amarok: [WikipediaEngine] Received page from wikipedia: KUrl("http://en.wikipedia.org/w/index.php?title=Caribou%20%28musician%29&redirects=1&useskin=monobook")
amarok: BEGIN: void WikipediaEnginePrivate::_dataContainerUpdated(const QString&, const Plasma::DataEngine::Data&)
amarok: END__: void WikipediaEnginePrivate::_dataContainerUpdated(const QString&, const Plasma::DataEngine::Data&) [Took: 0s]
amarok: BEGIN: void WikipediaApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&)
amarok: END__: void WikipediaApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&) [Took: 0.02s]
amarok: BEGIN: void SqlRegistry::emptyCache()
amarok:   [SqlRegistry] Cache unchanged
amarok: END__: void SqlRegistry::emptyCache() [Took: 0.001s]



So I hope, this is not a problem with my distribution.
My system:
KDE 4.6.1
Amarok 2.4.0 from debian repositorys
Distribution Aptosid which is Debian Unstable
Sound backend Phonon or Xine 4.4.4, I no not know what this is....

Greetz
hoderlump
Registered Member
Posts
7
Karma
0
OS

Re: Amarok does not play

Tue Apr 26, 2011 10:39 am
me again.
If I seek to some random part in the time line, and then click play, this is the debug output:
Code: Select all
amarok: BEGIN: void EngineController::seek(int)
amarok:   [EngineController] seek to:  36506
amarok: END__: void EngineController::seek(int) [Took: 0s]
amarok: BEGIN: void EngineController::playPause()
amarok:   [EngineController] PlayPause: EngineController state 2
amarok:   BEGIN: void OSDWidget::show(const QString&, QImage)
amarok:   END__: void OSDWidget::show(const QString&, QImage) [Took: 0.005s]
amarok: END__: void EngineController::playPause() [Took: 0.016s]
amarok: BEGIN: void EngineController::playPause()
amarok:   [EngineController] PlayPause: EngineController state 2
amarok:   BEGIN: void OSDWidget::show(const QString&, QImage)
amarok:   END__: void OSDWidget::show(const QString&, QImage) [Took: 0.011s]
amarok: END__: void EngineController::playPause() [Took: 0.019s]
Application asked to unregister timer 0x6d000032 which is not registered in this thread. Fix application.
amarok: BEGIN: void SqlRegistry::emptyCache()
amarok:   [SqlRegistry] Cache unchanged
amarok: END__: void SqlRegistry::emptyCache() [Took: 0.001s]

hoderlump
Registered Member
Posts
7
Karma
0
OS

Re: Amarok does not play

Tue Apr 26, 2011 10:52 am
Ah, wait, I realize I have no sound in KDE at all. There were never startup sounds, nor sound previes in dolphin work.
This must be a problem with phonon or xine or whatever this may be.
I have pulseaudio installed, alsa works great and vlc and mplayer also.

Sorry, this I will never get what all these sound systems are for:
Pulse
Alsa
Phonon
Gstreamer
Xine
Am I right that the sound Amarok should play is played by Xine, then this goes to Phonon and then to Pulseaudio then to Alsa then to the driver? This is sooooooo complicated and it does not work here.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Amarok does not play

Tue Apr 26, 2011 10:55 am
I think that maybe you are missing some codecs for xine but as I'm unfamiliar with aptosid I can't say what. Remember most Linux distro's don't provide restricted codecs to play things like mp3 in their distro they have to be dl'ed somewhere else (maybe debian-multimedia repo)

Do you have available to dl the phonon-backend-vlc or phonon-backend-gstreamer packages? if so install them and then switch to one of them as the backend instead on xine.


OpenSuse Leap 42.1 x64, Plasma 5.x

hoderlump
Registered Member
Posts
7
Karma
0
OS

Re: Amarok does not play

Tue Apr 26, 2011 11:04 am
google01103 wrote:I think that maybe you are missing some codecs for xine but as I'm unfamiliar with aptosid I can't say what. Remember most Linux distro's don't provide restricted codecs to play things like mp3 in their distro they have to be dl'ed somewhere else (maybe debian-multimedia repo)

Do you have available to dl the phonon-backend-vlc or phonon-backend-gstreamer packages? if so install them and then switch to one of them as the backend instead on xine.


I tried both. It does not play ogg-files neither and I surely have all unfree codecs installed.

i use phonon-backend-gstreamer now. Same problem as before.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Amarok does not play

Tue Apr 26, 2011 11:07 am
try phonon-backend-vlc


OpenSuse Leap 42.1 x64, Plasma 5.x

hoderlump
Registered Member
Posts
7
Karma
0
OS

Re: Amarok does not play  Topic is solved

Tue Apr 26, 2011 11:08 am
After a restart this works. So replacing xine with gstreamer solved the problem.
Thank you very much for you fast help!!


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]