update database doesn't support url encoding correctly

Bug #709051 reported by lachlan-00
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rhythmbox Fileorganizer
Status tracked in Trunk
Trunk
Fix Released
High
lachlan-00

Bug Description

http://www.w3schools.com/tags/ref_urlencode.asp

just found that tracks with a colon will segfault rhythmbox and screw up your music library.

i'll have to get on this asap!

lachlan-00 (lachlan-00)
Changed in rb-fileorganizer:
importance: Undecided → Critical
assignee: nobody → derWaarden (lachlan-00)
status: New → In Progress
Revision history for this message
lachlan-00 (lachlan-00) wrote :

doesn't look like colon's are the problem, have to look at this further

there's something not totally right with database updates though.

Revision history for this message
lachlan-00 (lachlan-00) wrote :

actually it's '%' files.

should've seen that coming

visibility: public → private
Revision history for this message
lachlan-00 (lachlan-00) wrote :

Just parsed my rythmdb.xml file and it was a % sign.

the album 100% dance used it's location as %20100%%20Dance

the double % went crazy i guess. fix coming soon, just testing.

visibility: private → public
Revision history for this message
lachlan-00 (lachlan-00) wrote :

add a semi colon to the list. it didn't screw up the library like the % sign but it didn't update the database correctly resulting in it adding a duplicate.

i think i'm just going to make a list and change the database update funtion to a seperate file

Revision history for this message
lachlan-00 (lachlan-00) wrote :

i added some files with all the character from the url encoding site. rhythmbox uses utf-8 naming for a lot of characters that were not being updated with organize. revision 23 adds support for the correct naming conventions that rhythmbox uses.

the database should now update properly for the following characters:

" # % < > ? [ \ ] ^ ` { | } € ‚ ƒ „ … † ‡ ˆ ‰ Š ‹ Œ Ž ‘ ’ “ ” • – — ˜ ™ š › œ ž Ÿ ¡ ¢ £ ¥ | § ¨ © ª « ¬ ¯ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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