pippin;647229 Wrote: 
> 
> C'mon, this can't really be that hard....
> 
Don't think it is hard as long as we are talking about individual mp3
files (or whatever file format the site is publishing).

Just to make sure I understand what you like to do:
1. iPeng will play the remote url in SBS
2. The user will select the track in current playlist, open context
menu and select the "Download and add to library" item provided by the
plugin
3. The plugin will in the background download the file and put it in
the "Downloaded music folder" and make sure it's scanned into SBS
library.

One question that comes to mind is where to store the downloaded file.
Some people (like myself) try to keep the music folder read-only and
other people tend to completely delete the cache now and then. Maybe
the plugin should have a configuration where you can specify a
"Downloaded music folder" ?

The next question is if we need to store the files in some kind of
structure or if it's enough to just store them in all directly in the
"Downloaded music folder" ?

And the third question is what SBS version it would have to be
supported in, is it enough if 7.6 is supported or is it important that
7.5 and earlier also is supported. 7.6 and later with its new scanner
API would be preferred if we are talking about supporting a "Downloaded
music folder" which might be somewhere outside the main "Music Folder"
configured in SBS. It's possible to support 7.5 also if needed but it
will require some extra logic.

And the forth question, is if there is a way to detect if it's a
streaming source or a file possible to download, so we can make sure to
only show this new context menu on files that can actually be
downloaded.

I wonder if it would be worth to make it also support some kind of
temporary music folder as some people had a need for when the new
schema was discussed ? Feels a bit related...
http://bugs.slimdevices.com/show_bug.cgi?id=2333

The only thing I'm not sure about is if the context menu of remote
tracks can be enhanced by plugins, but if I remember correctly I think
Michael already does this in his Biography plugin so I think it should
work.

Finally, just because I'm answering doesn't mean I've decided to do
this. 

So, anyone else that would like to be the hero in the community by
providing an excellent add-on like this ?


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=89376

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to