| Summary: | Playback doesn't start when playing from File browser | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | momo <momo.cao> |
| Component: | Playback | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | tuomas |
| Priority: | NOR | ||
| Version First Reported In: | 3.1.0 | ||
| Target Milestone: | kf5 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | amarok audio debug | ||
|
Description
momo
2024-08-05 18:41:05 UTC
By the way, Art of Nations (Amarok theme) does start correctly so it doesn't seem like a general playback bug. Thank you for this report, too! Interesting. I'll be able to try to reproduce only a bit later, but could you also try running amarok --debug --debug-audio and paste the corresponding output (including EngineController::playUrl and some surrounding lines) here, too; I think it might provide some useful extra output information. Created attachment 172527 [details]
amarok audio debug
I attached the output, please let me know if there is something that can be done to play those files. If the problem is a missing dependency it would be nice to make it work by default somehow, given that other players can play this without any extra setup. Yes, the player started to work after installing gstreamer1.0-plugins-good on Arch. Why is this? I thought Amarok had ffmpeg as dependency which should play an mp3? There is nothing about gstreamer listed https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=amarok Okay, great to hear you managed to get playback working! As to why the gstreamer plugins were required; I guess it's a long story: ffmpeg is indeed a dependency, but it isn't actually used for playback, only for some song fingerprinting / something like that. For playback, Phonon is used, the corresponding dependency in PKGBUILD listing being phonon-qt5. There are multiple possible backends for Phonon, so I guess the package manager just requires that one of them is installed, and in your case it was phonon-gstreamer, which uses gstreamer (and its codecs) for playback. (Phonon-gstreamer has been unmaintained for some years now, but it still works somewhat ok. Another backend option is phonon-vlc) |