by Midnight » 09 Apr 2014, 08:42
by Midnight » 05 Jun 2014, 15:48
Midnight wrote:Midnight wrote:Using the "cover.[jpg|png]" in the album folder would be great
It could be done like this:
In nginx.conf add a proxy for the covers to server1 section:
- Code: Select all
location /covers {
proxy_pass http://localhost:83/;
}
Then add another server section that only serves images from the mpd library dir:
- Code: Select all
#start server4 section [/covers]
server {
listen 83;
root /mnt/MPD;
location ~* \.(jpg|png|jpeg|bmp) {
expires 7d;
}
location / {
deny all;
}
} #end server4 section
After that cover images should be available on a url like this (depending on your library structure):
http://runeaudio/covers/my-library/a/ad ... /cover.jpg
by MindwarpJules » 19 Jun 2014, 21:30
by skrodahl » 23 Jul 2014, 22:04
Midnight wrote:Midnight wrote:Using the "cover.[jpg|png]" in the album folder would be great
It could be done like this:
In nginx.conf add a proxy for the covers to server1 section:
- Code: Select all
location /covers {
proxy_pass http://localhost:83/;
}
Then add another server section that only serves images from the mpd library dir:
- Code: Select all
#start server4 section [/covers]
server {
listen 83;
root /mnt/MPD;
location ~* \.(jpg|png|jpeg|bmp) {
expires 7d;
}
location / {
deny all;
}
} #end server4 section
After that cover images should be available on a url like this (depending on your library structure):
http://runeaudio/covers/my-library/a/ad ... /cover.jpg
by Midnight » 24 Jul 2014, 09:36
skrodahl wrote:So in order to display cover art in MPDroid (regardless if you're on Android or BB10), first follow Midnight's steps above to make the RuneAudio webserver able to serve cover art. (It's too late in the night for me to test if the location section could be added directly to the server running on port 80, maybe you can answer that Midnight?)
location /covers/(.*)\.(jpg|png|jpeg|bmp)$ {
alias /mnt/MPD/$1;
expires 7d;
}
location /covers/ {
deny all;
}
by Orion » 10 Sep 2014, 07:31
Midnight wrote:Any chance to have this added to the nginx configuration in the v0.3 release? It works very well for me together with MPDroid
$local_cover_path[] = $local_cover_root.'/folder.jpg';
$local_cover_path[] = $local_cover_root.'/cover.jpg';
$local_cover_path[] = $local_cover_root.'/folder.png';
$local_cover_path[] = $local_cover_root.'/cover.png';
by skrodahl » 10 Sep 2014, 22:06
by amadeus74 » 23 Oct 2014, 09:32
by ACX » 23 Oct 2014, 10:55
amadeus74 wrote:Can you write a "guide" with the location of the files to change / substitite and how to accomplish that?
support RuneAudio