GNOME Bugzilla – Bug 595454
[cddabasesrc] uri format change breaks rhythmbox
Last modified: 2009-09-17 14:58:58 UTC
The changes to the cdda:// URI format in bug 321532 cause CD ripping and playback to fail in rhythmbox, since its URIs are in the form cdda://track#device. This previously worked because the URI fragment was being ignored, but now cddabasesrc rejects the URI. For backwards compatibility, I think cddabasesrc should ignore the URI fragment if it looks like a device path.
Created attachment 143344 [details] [review] patch
commit ec06e93ab76f15714a520a6fedea78e6038e048a Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Thu Sep 17 16:57:48 2009 +0200 cddabasesrc: Fix string leaks in the unit test and a leak in cddabasesrc commit 304fdc34f82575c33f9979beb73d668ee22a930a Author: Jonathan Matthew <jonathan@d14n.org> Date: Thu Sep 17 23:42:52 2009 +1000 cddabasesrc: ignore URI fragments that look like device paths Rhythmbox uses cdda:// URIs of the form cdda://track#device, which worked before the fix for bug #321532. Also adds a check for negative track numbers and some unit tests for URI parsing. Fixes bug #595454.