Rhythmbox Doesn't escape some Special Charcters in file URI

Bug #815129 reported by Liron Tal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rhythmbox
Expired
Low
rhythmbox (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Using the Dbus API, when I try to get a song property with the method getSongProperties() and the track's URI contains one of these characters- I get an error.

the error is:
    MYCODE.getSongProperties('myURI')
  File "/usr/lib/pymodules/python2.7/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.7/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.GLib.UnmappedError.RbShellError.Code0: Unknown song URI: file:///#MY Bad FileName

this issue is somewhat documented in this comment: https://bugs.launchpad.net/rhythmbox-playlist-sync/+bug/380151/comments/9

Revision history for this message
Liron Tal (liricooli) wrote :

I Also found out that if the character '(' appears in the beginning of the string like in:
           Captain Beefheart/ (1967) Safe As Milk
everything's ok.
but if that character is not in the beginning like in:
           Kraut/Friedhof/Friedhof (German Heavy Instrumental Jam Progressive)
it's faulty.

didn't check any other characters with this issue.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

This bug is an upstream one and it would be quite helpful if somebody experiencing it could send the bug the to the people writing the software. You can learn more about how to do this at https://wiki.ubuntu.com/Bugs/Upstream/GNOME . Thanks in advance!

Changed in rhythmbox (Ubuntu):
importance: Undecided → Low
Revision history for this message
Liron Tal (liricooli) wrote :
Revision history for this message
Liron Tal (liricooli) wrote :

I solved this issue with a python script that stripped and replaced all the bad characters in my files & folders..
Really annoying and took something like 4 hours but it's a good workaround

Changed in rhythmbox (Ubuntu):
status: New → Triaged
Changed in rhythmbox:
importance: Unknown → Low
status: Unknown → Incomplete
Changed in rhythmbox:
status: Incomplete → New
Changed in rhythmbox:
status: New → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.