New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a minimal "local" file browser #1004

Closed
adamcik opened this Issue Feb 25, 2015 · 2 comments

Comments

2 participants
@adamcik
Member

adamcik commented Feb 25, 2015

As a followup to #1003 we should add a minimal "local" replacement which only support local file browsing and playing file uris. Metadata lookup is only done on request and search will not be supported.

Scope for this should be something like:

  • Implement a file browser library which supports:
    • Browsing directories under a root dir. Should simply return Ref.track(...) and Ref.directory(...) with the names matching the filenames / directory names.
    • Lookup which runs the scanner on the provided URIs to get the full metadata on the fly
  • Uses the base playback provider.

Assuming that file:// URIs are used this would probably be enough to get going. Adding this is in no way blocked by #1003. We probably also want to remove the file:// URIs from the streaming backend, which in many ways is very similar to this, minus the browse bit.

Some open questions:

  • Do we allow arbitrary browsing, or limit to some browse root, or multiple roots
  • Do we use a custom URI scheme or just relative file:// URIs?

@jodal jodal added the C-enhancement label Feb 26, 2015

@jodal jodal added the A-local label Mar 15, 2015

@adamcik

This comment has been minimized.

Member

adamcik commented Apr 1, 2015

Updated with some more details.

@adamcik

This comment has been minimized.

Member

adamcik commented Apr 28, 2015

https://github.com/adamcik/mopidy/tree/feature/files-browsing can serve as a starting point for this. Putting this aside as this was mostly just a quick experiment in between the 1.1 work I've been doing lately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment