Bug 103289 - Playing should stop on audio output errors
Summary: Playing should stop on audio output errors
Status: RESOLVED INTENTIONAL
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 121109 126660 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-05 15:27 UTC by Alessandro Dalvit
Modified: 2008-08-04 16:50 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Dalvit 2005-04-05 15:27:19 UTC
Version:           1.2.3 Debian/Unstable binary (using KDE KDE 3.3.2)
Installed from:    Debian testing/unstable Packages
OS:                Linux

If I try to play something while the audio device is busy, the xine engine (which I use) gives an error, and this is fine. Though, instead of stopping playing, amarok tries to play the next track, and so on until it finishes the playlist. This way it loses the current position, increases the scores of all the tracks, and produces tons of error pop-ups. I think that if an output error occurs amarok should just stop on the current track.
Comment 1 Mark Kretschmann 2005-09-24 15:14:24 UTC
This behaviour was changed. I think we're stopping now.
Comment 2 Vivia Nikolaidou 2006-08-02 20:11:55 UTC
Same bug as 126660 and 121109
Comment 3 Alexandre Oliveira 2006-08-02 20:14:30 UTC
*** Bug 121109 has been marked as a duplicate of this bug. ***
Comment 4 Alexandre Oliveira 2006-08-02 20:14:44 UTC
*** Bug 126660 has been marked as a duplicate of this bug. ***
Comment 5 Vivia Nikolaidou 2006-08-02 20:21:47 UTC
No, it sometimes stops, but not always, at least in 1.3.9 .

Example 1: On KDE startup, arts keeps the sound card busy for a while. Amarok complains that it couldn't initialize the xine engine and stops playback

Example 2: I am playing music with beep-media-player and press Play on Amarok. It stops playback correctly.

Example 3: (Reproducible :() Another software (for example, it happens with Skype after a conversation, or with Google video after stopping the video) does not release the sound card. Amarok keeps skipping files, even causing the computer to half-hang - mouse is half-responsive, keyboard not at all.

Example 3, worst case: I have both Skype and Amarok minimized to tray, I cannot kill them as I have no keyboard, the mouse generally works but right-clicking the tray icon does nothing. My computer is completely frozen :(
Comment 6 Michael Rodriguez-Torrent 2006-10-13 06:09:23 UTC
This appears to still be occurring in SVN.
Comment 7 shattered 2007-07-22 13:08:01 UTC
This is definitely still a problem in 1.4.6 & xine.  There's code in EngineController::play that's supposed to prevent such behaviour, but it only kicks in if xine_play returns an error, which doesn't happen -- xine posts an event instead.
Comment 8 Mark Kretschmann 2007-07-22 13:13:46 UTC
Ok, reopening then. I think I've seen this behavior too, so I'll confirm.
Comment 9 Rami 2008-06-14 12:24:05 UTC
The problem still exists in 1.4.9.1 (using KDE 3.5.7 "release 72.9" openSuSe 10.3).
Comment 10 Myriam Schweingruber 2008-08-04 16:50:10 UTC
Unfortunately, Amarok 1.4.x is no longer actively maintained, as all the focus is on Amarok 2.0. Feel free to report any bug you might come across in Amarok 2.0