mediascanner should support using file:// in lookups

Bug #1534775 reported by Andrew Hayzen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mediascanner2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

mediascanner should support using file:// in lookups

In multiple places we do MediaStore.lookup(somepath), however mediascanner only accepts urls that do not contain a file:// at the start (it has to be /).

This is inconsistent with qtubuntu-media/media-hub as they give us file:///path and Jim says "the media service handles both". So to remain consistent with the rest of the platform, can the lookup method and any other relevant methods accept a url with or without file:// at the start ?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mediascanner2 (Ubuntu):
status: New → Confirmed
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.