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

Amarok won't play my music files

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

Amarok won't play my music files

Fri Sep 19, 2014 8:32 am
I have organized a playlist containing all of my favorite music in Amarok, but when I try to play it, it won't cooperate. By running `amarok --debug --nofork` and clicking play, I get this output in the terminal:

Code: Select all
amarok: BEGIN: void EngineController::playPause()
amarok:   [EngineController] PlayPause: EngineController state  Phonon::StoppedState 
amarok:   BEGIN: void EngineController::play()
amarok:     BEGIN: void Playlist::Actions::play()
amarok:       BEGIN: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance()
amarok:         BEGIN: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance()
amarok:         END__: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance() [Took: 0s]
amarok:       END__: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance() [Took: 0s]
amarok:       BEGIN: Playlist::ItemList* Playlist::NonlinearTrackNavigator::nextItemChooseDonorList()
amarok:         BEGIN: virtual void Playlist::RandomTrackNavigator::planOne()
amarok:           BEGIN: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance()
amarok:           END__: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance() [Took: 0s]
amarok:           BEGIN: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance()
amarok:           END__: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance() [Took: 0.001s]
amarok:           BEGIN: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance()
amarok:           END__: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance() [Took: 0s]
amarok:           BEGIN: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance()
amarok:           END__: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance() [Took: 0s]
amarok:           BEGIN: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance()
amarok:           END__: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance() [Took: 0s]
amarok:           BEGIN: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance()
amarok:           END__: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance() [Took: 0s]
amarok:         END__: virtual void Playlist::RandomTrackNavigator::planOne() [Took: 0.002s]
amarok:       END__: Playlist::ItemList* Playlist::NonlinearTrackNavigator::nextItemChooseDonorList() [Took: 0.002s]
amarok:       BEGIN: virtual void Playlist::NonlinearTrackNavigator::setCurrentItem(quint64, bool)
amarok:         BEGIN: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance()
amarok:         END__: void Playlist::NonlinearTrackNavigator::doItemListsMaintenance() [Took: 0s]
amarok:       END__: virtual void Playlist::NonlinearTrackNavigator::setCurrentItem(quint64, bool) [Took: 0s]
amarok:       BEGIN: void Playlist::Actions::play(quint64, bool)
amarok:         BEGIN: void EngineController::play(Meta::TrackPtr, uint, bool)
amarok:           BEGIN: void EngineController::stop(bool, bool)
amarok:           END__: void EngineController::stop(bool, bool) [Took: 0s]
amarok:           [EngineController] play: bounded is  QObject(0x0)  current "Life In A Northern Town"
amarok:           [EngineController] Just a normal, boring track... :-P
amarok:           BEGIN: void EngineController::playUrl(const KUrl&, uint, bool)
amarok:             [EngineController] URL:  KUrl("file:///mnt/Storage/Users/Brandon/Music/The Dream Academy/The Dream Academy/01 Life In A Northern Town.mp3") "file:///mnt/Storage/Users/Brandon/Music/The%20Dream%20Academy/The%20Dream%20Academy/01%20Life%20In%20A%20Northern%20Town.mp3"
amarok:             [EngineController] Offset:  0
amarok:           END__: void EngineController::playUrl(const KUrl&, uint, bool) [Took: 0.013s]
amarok:         END__: void EngineController::play(Meta::TrackPtr, uint, bool) [Took: 0.014s]
amarok:       END__: void Playlist::Actions::play(quint64, bool) [Took: 0.014s]
amarok:     END__: void Playlist::Actions::play() [Took: 0.018s]
amarok:   END__: void EngineController::play() [Took: 0.018s]
amarok: END__: void EngineController::playPause() [Took: 0.018s]


My music does play fine in other media players such as Clementine, so I'm suspecting a bug in Amarok. What do you guys make of all this?
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
How about giving a tad more information about your system. You can find all the relevant information in the Amarok Help menu -> Diagnostics.

And, of course, please also specify your Distribution and KDE SC release version.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
brandontaylor
Registered Member
Posts
7
Karma
0
Here's the Diagnostics information as reported by Amarok:

Code: Select all
Amarok Diagnostics

Amarok Version: 2.8.0
KDE Version: 4.14.0
Qt Version: 4.8.6
Phonon Version: 4.8.0
Phonon Backend: GStreamer (4.8.0)
PulseAudio: Yes

Amarok Scripts:
    Amarok Script Console 1.0 (stopped)
Lyricwiki .2 (running)
Free Music Charts 1.6.0 (running)
Librivox.org 1.0 (running)
Cool Streams 1.0 (running)

Amarok Plugins:
    AudioCd Collection (enabled)
DAAP Collection (disabled)
MTP Collection (enabled)
MySQLServer Collection (enabled)
MySQLe Collection (enabled)
UPnP Collection (disabled)
Universal Mass Storage Collection (enabled)
iPod, iPad & iPhone Collection (enabled)
Ampache (disabled)
Jamendo (enabled)
Last.fm (enabled)
MP3 Music Store (enabled)
MP3tunes (disabled)
Magnatune Store (enabled)
Podcast Directory (enabled)
gpodder.net (disabled)


I'm running Manjaro 0.8.10, codenamed "Ascella," 64-bit edition. It might help you to know that Manjaro is based on Arch Linux.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
I presume that something went wrong with the gstreamer dependency, please install the phonon-backend-vlc change the phonon backend to see if it plays.
FWIW: do not compare Amarok with Clementine,as Clementine doesn't use Phonon to play, but gstreamer directly. What would be comparable is Dragonplayer.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
brandontaylor
Registered Member
Posts
7
Karma
0
The VLC backend ("sudo pacman -S phonon-qt4-vlc") doesn't seem to have made any difference.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
did you restart plasma?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
brandontaylor
Registered Member
Posts
7
Karma
0
Okay, after restarting Plasma and Amarok, playback now seems to work fine, but the equalizer and ReplayGain seem to have been disabled. Is this possible to fix?
User avatar
google01103
Manager
Posts
6668
Karma
25
the equalizer doesn't work with the VLC backend, if you want it to work I would suggest trying to right your gStreamer install

also you don't state whether Amarok ever played your mp3 previously with gStreamer, and if so if there was an change to your system that might have caused the issue

note: iirc equalizer support will occur in when VLC 2.2.x ships


OpenSuse Leap 42.1 x64, Plasma 5.x

brandontaylor
Registered Member
Posts
7
Karma
0

Re: Amarok won't play my music files

Fri Sep 19, 2014 10:13 pm
No. Amarok doesn't seem to want to play the music files with the GStreamer backend installed.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Amarok won't play my music files

Fri Sep 19, 2014 10:21 pm
settings -> configure Amarok -> playback -> configure Phonon -> backened -> use prefer/defer to select which is to be used
note: also can be done in systemsettings


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Amarok won't play my music files

Fri Sep 19, 2014 10:24 pm
So it is indeed a problem of the phonon-backend-gstreamer. You should file a bug in your distribution, they probably didn't compile it properly, especially against the right libraries (including QtWebkit and ONLY gstreamer 1.x). FWIW: that same backend works fine in Kubuntu Utopic beta

@google01103: the gstreamer backend doesn't work for him, not the first mention I have of it not working and it usually is a packaging issue.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, Sogou [Bot], Yahoo [Bot]