07-04-2022, 09:34 AM
(This post was last modified: 07-04-2022, 09:41 AM by Nutul.
Edit Reason: code formatting
)
(07-03-2022, 04:57 PM)Tim Curtis Wrote: The commit has been pushed
https://github.com/moode-player/moode/co...5bdaead394
If you don't have a Gulp build environment setup yet I can post a download link to the minified JS files.
Hi Tim,
I had a quick look at your changes, and they do exactly what I do, except for the dirname function taking 2 arguments, for ease of extracting deeper folders...
ONE VERY IMPORTANT THING, THOUGH:
Code:
$path = stripos(dirname($path), '.cue', -4) === false ? $path : str_replace('.cue', '.flac', dirname($path));
You may not want to just change the extension to .flac, as the cue may contain ANY format... I need to look again, I think I did a quick cycle in the cue to find the last FILE entry BEFORE the track index (taken from /track????) or the first FILE entry if no /track??? is present.
I'll need the whole 8.1.x thing you are working on ATM to test it thoroughly, as I believe I cannot just replace those 6 files onto my 8.0.2; but nevertheless, I'll try applying them manually, one by one on a fresh 8.0.2 codebase, adding my CUE "parser" where needed.
I'll let you know, anyway.
Cheers, Al.