06-09-2022, 07:17 PM
URRRAAAAAAHHHH!!!! :-D :-D :-D
So, at the end I think I managed to fix all the glitches that affected a good experience with the CUE sheets:
1. double CUE item in the folder (one expandable, one not) - if ignore CUE = true, only the non-expandable is shown, as was since the beginning; else, only the expandable is shown (and has CUE sheet span below its name, which is also without extension)
2. missing album art in the expanded CUE (folder view)
3. missing album art in the audio info modal
4. fixed missing data in the audio info modal (audio format and encoded at)
5. changed Encoded at field from "File does not exists" to "Not playing" if the source is empty
6. missing album art in the Tag and Album views
7. missing album art in now playing if adding single tracks from Tag, Album and expanded CUE views
8. missing album art in the down-left image in Tag and Album view
And probably some other which I cannot remember.
Affected files:
var/www/inc/playerlib.php
var/www/js/playerlib.js
var/www/js/scripts-library.js
I can upload the files here (well, if that's allowed in the first place, of course), so you can diff them and see the changes: most of them are one-liners (due to a couple of helper functions defined at the beginning of the file, to make things more readable).
For now this is only on my machine and my Pi4, and works like a charm :-)
Cheers, Al.
So, at the end I think I managed to fix all the glitches that affected a good experience with the CUE sheets:
1. double CUE item in the folder (one expandable, one not) - if ignore CUE = true, only the non-expandable is shown, as was since the beginning; else, only the expandable is shown (and has CUE sheet span below its name, which is also without extension)
2. missing album art in the expanded CUE (folder view)
3. missing album art in the audio info modal
4. fixed missing data in the audio info modal (audio format and encoded at)
5. changed Encoded at field from "File does not exists" to "Not playing" if the source is empty
6. missing album art in the Tag and Album views
7. missing album art in now playing if adding single tracks from Tag, Album and expanded CUE views
8. missing album art in the down-left image in Tag and Album view
And probably some other which I cannot remember.
Affected files:
var/www/inc/playerlib.php
var/www/js/playerlib.js
var/www/js/scripts-library.js
I can upload the files here (well, if that's allowed in the first place, of course), so you can diff them and see the changes: most of them are one-liners (due to a couple of helper functions defined at the beginning of the file, to make things more readable).
For now this is only on my machine and my Pi4, and works like a charm :-)
Cheers, Al.