Thank you for your donation!
Problem: One folder empty view
|
10-08-2023, 11:46 PM
Yes, that would prolly be the way to go.
10-09-2023, 02:30 PM
Fixed in this commit
https://github.com/moode-player/moode/co...60fb030eaa (10-09-2023, 02:30 PM)Tim Curtis Wrote: Fixed in this commit Hi Tim, looking at the code-fix, IMHO there will still be issues... as of now I believe a folder named "BANANAS" will not be read, as indexof("NAS") will return true...
10-09-2023, 03:56 PM
(10-09-2023, 03:12 PM)Nutul Wrote:(10-09-2023, 02:30 PM)Tim Curtis Wrote: Fixed in this commit Could be right :-0 I'll test.
10-09-2023, 04:03 PM
(10-09-2023, 03:56 PM)Tim Curtis Wrote:(10-09-2023, 03:12 PM)Nutul Wrote:(10-09-2023, 02:30 PM)Tim Curtis Wrote: Fixed in this commit The folderView() code looks ok since its only checking for 'RADIO/'.
10-09-2023, 04:51 PM
(10-09-2023, 04:03 PM)Tim Curtis Wrote:(10-09-2023, 03:56 PM)Tim Curtis Wrote:(10-09-2023, 03:12 PM)Nutul Wrote:(10-09-2023, 02:30 PM)Tim Curtis Wrote: Fixed in this commit Yep, right. Anyway, "*RADIO/" still could prevent something, while "/RADIO/" should not. IMO, the check should be path != "/var/lib/mpd/music/RADIO/", and not indexof("RADIO") == -1, which will prevent anything with RADIO in its name from being scanned, no matter where. It is true, indeed, that it suffices not to name the folders all-uppercase, but from a logical point of view... ;-)
10-09-2023, 05:23 PM
The folders NAS, RADIO, SDCARD and USB are all relative to /var/lib/mpd/music/ in output returned by MPD lsinfo.
Thus testing for RADIO/ will be ok. |
« Next Oldest | Next Newest »
|