Bug 275591

Summary: Amarok cannot play AudioCDs using Phonon Gstreamer
Product: [Frameworks and Libraries] phonon-backend-gstreamer Reporter: Diego <diego.ml>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED FIXED    
Severity: normal CC: martin.sandsmark, myriam, tdfischer
Priority: NOR    
Version: 4.5.1   
Target Milestone: 4.5.1   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: amarok --debug output
amarok --debug log with phonon debug output

Description Diego 2011-06-13 22:06:53 UTC
Created attachment 60972 [details]
amarok --debug output

Version:           4.5.1 (using KDE 4.6.3) 
OS:                Linux

I'm not able to play AudioCDs with Amarok. After adding the tracks to the playlist pressing "play" doesn't cause anything.

In particular in "amarok --debug", when I press "Play" I get:

amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0.002s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0.002s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0.001s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0.001s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0.002s] 
amarok: BEGIN: void EngineController::playPause() 
amarok:   [EngineController] PlayPause: EngineController state 1 
amarok:   BEGIN: void EngineController::play() 
amarok:     BEGIN: void Playlist::Actions::play() 
amarok:       BEGIN: void Playlist::Actions::play(quint64, bool) 
amarok:         BEGIN: void EngineController::play(Meta::TrackPtr, uint) 
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 "Atom Heart Mother" 
amarok:           [EngineController] Just a normal, boring track... :-P 
amarok:           BEGIN: void EngineController::playUrl(const KUrl&, uint) 
amarok:             [EngineController] URL:  "audiocd:/3e0c3605/1?device=/dev/sr0" 
amarok:             [EngineController] offset:  0 
amarok:             [EngineController] play track from cd 
amarok:           END__: void EngineController::playUrl(const KUrl&, uint) [Took: 0s] 
amarok:         END__: void EngineController::play(Meta::TrackPtr, uint) [Took: 0s] 
amarok:       END__: void Playlist::Actions::play(quint64, bool) [Took: 0s] 
amarok:     END__: void Playlist::Actions::play() [Took: 0s] 
amarok:   END__: void EngineController::play() [Took: 0.001s] 
amarok: END__: void EngineController::playPause() [Took: 0.001s] 
Application asked to unregister timer 0x72000046 which is not registered in this thread. Fix application.
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0.005s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0.002s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0.002s] 
amarok: BEGIN: virtual bool Meta::AudioCdAlbum::isCompilation() const 
amarok: END__: virtual bool Meta::AudioCdAlbum::isCompilation() const [Took: 0s]

Software version:
extra/phonon 4.5.0-1 [installato]
    The multimedia framework for KDE4
extra/phonon-gstreamer 4.5.1-1 [installato]
    Phonon GStreamer backend

Reproducible: Always

Steps to Reproduce:
Open amarok, insert an AudioCD, add it to the playlist and press play.

Actual Results:  
Nothing happens

Expected Results:  
I listen to the AudioCD
Comment 1 Torrie Fischer 2012-01-17 15:17:26 UTC
What version of phonon-gstreamer are you using?

Additionally, please follow the instructions here to generate a phonon-gstreamer debug log: http://techbase.kde.org/Development/Tutorials/Debugging/Phonon
Comment 2 Diego 2012-01-17 20:35:43 UTC
(In reply to comment #1)
> What version of phonon-gstreamer are you using?

Version of phonon-gstreamer is 4.5.1 as specified in the original post.

> Additionally, please follow the instructions here to generate a
> phonon-gstreamer debug log:
> http://techbase.kde.org/Development/Tutorials/Debugging/Phonon

Roger, I'll do that ASAP.
Comment 3 Diego 2012-01-19 12:39:28 UTC
Created attachment 67999 [details]
amarok --debug log with phonon debug output

A run of:
amarok --debug
with:
export PHONON_DEBUG=5
export PHONON_PULSEAUDIO_DEBUG=5
export PHONON_GST_DEBUG=5
export PHONON_GST_GST_DEBUG=8

while trying to play some songs from an Audio CD with Amarok 2.5.0 on KDE 4.7.4 (Arch Linux), Phonon 4.6.0 and Phonon-gstreamer 4.5.1.

Beware, the log file uncompressed is 17MB!
Comment 4 Diego 2012-01-19 12:46:08 UTC
The attachment from comment #3 should provide all the informations required.
Comment 5 Torrie Fischer 2012-09-23 10:16:53 UTC
Phonon-GStreamer 4.6 was a substantial rewrite of the internal state handling and audiocd support. Could you please retest this with the latest version, 4.6.2?
Comment 6 Myriam Schweingruber 2013-04-13 11:36:45 UTC
Closing for lack of feedback. Please feel free to reopen if this is reproducible with the phonon-backend-gstreamer 4.6.3 or later.