Bug 47197

Summary: infinite loop if files in Playlist do not exist
Product: noatun Reporter: lmilano
Component: generalAssignee: Multimedia Developers <kde-multimedia>
Status: RESOLVED FIXED    
Severity: normal CC: dpavlotzky
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description lmilano 2002-08-29 23:45:04 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           noatun
Version:           2.0.0 (using KDE 3.0.3 )
Severity:          normal
Installed from:    RedHat RPMs
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: Not Specified

Hi

Thank you for Noatun I love it. It is amazing how it improved in a few months !

I have the following problem. In easy steps:

1) Put a CD with MP3s
2) Launch Playlist -> "Add directory" to select several files at once
3) Choose Random play
4) Play some files
5) Exit Noatun
6) Take the CD off (optionally put a new CD)
7) Start a new Noatun session

I get infinite popup error messages it looks like one for each randomly selected song. It doesn't crash but it gets unusable because popups are launched one after the other.

I guess it would be desirable to just show the first error message and let the user say "OK" and right aftwerwards cleanup the Playlist. Or something along these lines. 

My 2 cts hope it helps  :-)

Cheers
-- Leo

(Submitted via bugs.kde.org)
Comment 1 Charles Samuels 2002-09-20 20:28:10 UTC
*** Bug 47381 has been marked as a duplicate of this bug. ***
Comment 2 Stefanos Harhalakis 2003-08-12 11:55:47 UTC
This is one of the reasons I prefer xmms.. It is realy annoying because this is 
something that happens all the time and there is no way to stop it...  
 
The worst part of this is that the popups apear very slowly and consume a lot of cpu... 
 
I believe that files that cannot be found should be ignored and bypassed just like xmms 
does... Or at least add this as an option... 
 
TIA 
 
<<V13>> 
 
Comment 3 Stefan Gehn 2003-08-12 16:14:25 UTC
files not found get skipped without a messagebox here. The problem with endlessly 
looping playlists might be right though. Not sure how to fix that code-wise or else 
I'd do it. 
Comment 4 Stefan Gehn 2003-11-16 19:09:10 UTC
Current Noatun stops at the end of a playlist while it's skipping on-existant files.