Ticket #784 (closed bug: fixed)

Opened 7 weeks ago

Last modified 6 weeks ago

Songs with "#" in the file name are not imported (w/ patch)

Reported by: paol Owned by: theli
Priority: major Milestone:
Component: Core Version: trunk
Keywords: Cc:

Description

When a song file has "#" in the name there is an error while trying to import it into the library. I tracked the problem down to the way the functions in vfsutils (# has special meaning in a URI, unless it's escaped)

The included patch does the following:

- change function get_local_path_from_uri to escape # in file URIs

- change function get_name too, as it seems it would suffer from the same problem

- rename function get_local_path_from_uri to get_path_from_uri, as it seems to be called for all types of URIs, not just file (and it is generic anyway).

Pedro

Attachments

fix.patch (5.9 kB) - added by paol 7 weeks ago.
patch (multi-file, apply in project root)

Change History

Changed 7 weeks ago by paol

patch (multi-file, apply in project root)

Changed 6 weeks ago by theli

  • owner set to theli
  • status changed from new to assigned

Thx a lot you save me a lot of time.

Changed 6 weeks ago by theli

  • status changed from assigned to closed
  • resolution set to fixed

(In [913]) Correct problem when get path from uri patch from #784 , fixes #784

Note: See TracTickets for help on using tickets.