Page 1 of 1

Get album covers

PostPosted: Mon Jan 21, 2008 8:42 pm
by rimdur
1)
Hi, is it possible to add a feature that allows me to decide where to get album covers from?

2)
It also would be nice if "admin" can send a message to any logged on user
telling them that e.g "Subsonic will shut down in 5 minutes due to maintenance".
Just right click on user in "../home.view?listSize=10&listType=users" and send her/him/all a message

Re: Get album covers

PostPosted: Fri Feb 01, 2008 12:01 pm
by mars96
rimdur wrote:1)
Hi, is it possible to add a feature that allows me to decide where to get album covers from?

2)
It also would be nice if "admin" can send a message to any logged on user
telling them that e.g "Subsonic will shut down in 5 minutes due to maintenance".
Just right click on user in "../home.view?listSize=10&listType=users" and send her/him/all a message


I think it's not that easy to add something like you requested in 1) as the HTML page has to be parsed to find the image and each website has it's own structure + search option to find.
I'm not that deep into the sourcecode of subsonic but maybe it would be possible to have a "kind of" plugin system, so you only need to subclass a basic cover class which then implements the functions needed to search and extract a requested image.

To you second question I have another suggestion. I think it would be better if there would be a general shutdown notice at the top of the screen + it shouldn't be possible to log in (as normal user) if the system is going to be shut down (except for the administrator account).

PostPosted: Wed Apr 23, 2008 12:20 pm
by cellulit
I was about to add a similar request to #1 stated here.
If there was a standard output excepted by subsonic, maybe we could write those "plugins" parsing some more URLs and producing delivering the image. For example I'd really love to see Discogs as a source of data.

Just thinking at loud.

PostPosted: Sun Apr 27, 2008 4:53 pm
by sindre_mehus
I can't promise a generic plugin architecture for this, but I'll at least take a closer look at the developer API at Discogs and see if that can be used for providing cover images.

Thanks for pointing this out.
Sindre