jcorporation / myMPD

myMPD is a standalone and mobile friendly web mpd client with a tiny footprint and advanced features.
https://jcorporation.github.io/myMPD/
GNU General Public License v3.0
419 stars 65 forks source link

mympd 9.1.0 Error loading icons from "pics" folder #655

Closed tsunulukai closed 2 years ago

tsunulukai commented 2 years ago

myMPD version: 9.1.0 commit c54ee99b75919214e6dc21c129996d4acc3ab70f

Describe the bug

In place upgrade from 9.0.3 to 9.1.0. Before upgrade, icons from the hometab show without issues. After upgrade, icons do not appear anymore. Error message: "Can not open directory pics" Downgrading to 9.0.3 fixes the issue.

Browsing the picture folder works fine, though, wich confirms it's not a directory permission issue.

Screenshots

On version 9.0.3 image

On version 9.1.0 image

image

Server plattform (please complete the following information):

tsunulukai commented 2 years ago

Ok, found the problem.

Homeicons should now be moved from /var/lib/mympd/pics/ to /var/lib/mympd/pics/homeicons/ This change should be clearly documented to help users navigate this issue as they upgrade :)

jcorporation commented 2 years ago

The new paths are documented: https://github.com/jcorporation/myMPD/blob/v9.1.0/docs/references/pictures.md I add a notice to the changelog too.