Ticket #784 (closed bug: fixed)
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
