Local art files must be lowercase

Please report any bug found here

Local art files must be lowercase

Postby ryanmcclure » 26 Apr 2015, 08:40

I've found that if cover art files are stored locally, they must be "cover.jpg" rather than "Cover.jpg" For those who have their art files saved as Cover/Folder.jpg/png, artwork files are downloaded. By adding the following to /var/www/app/coverart_ctl.php, at line 118, cover art files can be capitalized:

$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';
Ryan McClure
Raspberry Pi Model B + RuneAudio + HifiBerry DAC + Lepai LP-2020A+ + Bose 141 Bookshelf Speakers
User avatar
ryanmcclure
 
Posts: 19
Joined: 01 Dec 2014, 08:12
Location: Shepherdstown, WV

Re: Local art files must be lowercase

Postby ACX » 01 May 2015, 15:34

Thanks for the tip, we'll introduce a regexp which will catch all the possible cases.
User avatar
ACX
RuneAudio co-founder
 
Posts: 1692
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

support RuneAudio Donate with PayPal


Return to Bug report

Who is online

Users browsing this forum: No registered users and 1 guest