Good evening!

I'm very excited to be working with FirefoxOS and looking to integrate our 
streaming music service with the built-in music app.

What I'm looking to do is write a service/module/etc. that can add media to the 
central library that will be streamed from our music service (as opposed to 
adding music files stored on the local filesystem).  This way music from our 
service can be played by the Music app alongside local music (or other sources 
as well) instead of having multiple player apps for each service.

I've been reading over the mediadb.js source and it would seem like it would be 
possible to add music to the library from non-filesystem sources, but it's less 
clear that these files could be referenced by URL to be played back via network 
stream instead of local filesystem.

How I imagine this is a UI that appears in settings or something like that 
where the account information can be supplied, and then a background process 
that adds/removes media references from the media library on a scheduled or 
perhaps push-triggered basis.

Another approach might be to implement access to the music service like a FUSE 
module and make the media appear in the filesystem, but I'd be concerned with 
the performance this might have.

Any feedback appreciated, and if there's documentation out there for these 
features I'd be happy to start there if you can point me in the right 
direction, thanks!


Jason
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to