-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query: should model=CD32 work with mp3 audio playback? #1611
Comments
Additional:
...is it only detecting filename.MP3 (irrespective of .cue content) ? |
Confirmed: ..recall that I said last year, this capitalization thang was going to keep biting us? .... ;) I think I saw it at...
Test: cd ~/Amiberry/cdroms/superholiday //Rename all *.mp3 files to *.MP3
//now filename extension capitalization matches that contained in
...looking at the code, it may be that .WAV vs .wav ...and .FLAC vs .flac ....would be similarly effected? If we look back at #1605 (towards the bottom), the better fix would have been...
....because the problem here is really the filename extensions, not the contents of the .cue file (...as this example goes on to prove ~ editing the .cue is not guaranteed to work ;) This is a small pita, because the files themselves came from AmigaOS, or within emulation running on WinUAE using Windows, which are both insensitive to filename.ext capitalization ...grrr.... Anything you can do here to ease the users' pain? ;) TIA |
Alright, let's see if we can make this better. |
…ensions (#1611) When opening files with zfile, try to check for different capitalization cases in the file extension. Hopefully this should cover incorrect filenames in CD images, where the .CUE file refers to one filename but what actually exists has a different capitalization (e.g. mp3 vs MP3)
Check again with the latest commit please. |
Thanks ~ that works with .mp3 filenames now, and should work for other lower/upper case scenarios at a guess.... ....it's damn 'catch-22' at the same time though....ie; if the .cue contains .MP3 and all the files are .mp3, it still won't work (no filename**.ext** match) ....so one still needs to edit the .cue file in these scenarios... However, it is 'better' now, in as much as the user only has to edit the .cue file, so the filenames extensions match (as opposed to having to rename all the media files) ... and I think that's a catch-all fix for cases like this... edit the .cue If like you say, nothing can be done wrt parsing the .cue file, and manually editing the .cue is the only reasonable way to work around this, then feel free to close this one ;) Kudos |
Oh... if it's left like this, it should be documented somewhere ;) |
It should work in both scenarios:
Did you try both of these, and did it fail in one of them? The logic was added in the zfile code, so it will affect other places using that mechanism to open files as well. |
Yes, Extension is lowercase but referred to capitalized failed. |
…sions (#1611) The previous implementation was not fully working, fixed it and modernized it using strings
Should be fixed now, tested here with the sample you provided, and it seems that way. :) |
Seems to work correctly now, kudos ;) |
Example file .... https://mega.nz/file/8uxyTZSA#Fh4xt9ixxQ_Mh4VJS9Z-VEG0hqR6RFa-BsoLXR_jV40
Reference -> https://eab.abime.net/showthread.php?t=119546
Result: direct loading the
starwars_holiday.cue
starts the emulation and title as expected, but none of the ingame music is heard, only SFX/samples work.Expected: The music .mp3 files to be play/heard?
Note: the .cue file does contain capitalization errors ...ie; .MP3 vs .mp3 but correcting this has no effect - mp3 files not played.
Unimplemented?....
TIA
The text was updated successfully, but these errors were encountered: