GNOME Bugzilla – Bug 550225
Deleting already played files breaks playlist
Last modified: 2008-09-29 13:33:24 UTC
See the attached screenshot, you can reproduce by: 1. Add N files to the sidebar 2. Play the first 2 or 3 3. Delete the already played files 4. Breakage! I can reproduce 90% of the time, let me know if you can't easily so I can try to get more specific conditions.
Created attachment 117766 [details] Uhm?
Please test with 2.23.91.
Retested with 2.24.0 in Ubuntu. Steps: - Add 4 files - Play first 2 (just skip after the first seconds) - While the third one is playing, delete the first one - 3rd and 4th file have a playing icon.
*** Bug 554219 has been marked as a duplicate of this bug. ***
Disabled in gnome-2-24. Needs fixing for trunk. 2008-09-29 Bastien Nocera <hadess@hadess.net> * src/totem-playlist.c (totem_playlist_add_one_mrl): Disable the code to remove deleted files from the playlist, it screws up the ->current pointer (Helps: #550225)
Should be fixed in trunk. Please test, and reopen the bug if you can still see any problems. 2008-09-29 Bastien Nocera <hadess@hadess.net> * src/totem-playlist.c (totem_playlist_set_reorderable), (totem_playlist_foreach_selected), (playlist_remove_files), (totem_playlist_move_files), (totem_playlist_file_changed), (totem_playlist_clear_with_compare): Clean up, and use only one codepath to remove files, whether selected files, or files matching a certain criteria. Should fix playlist weirdness when removing deleted files from the playlist (Closes: #550225)