-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
m4a tags messed up? #392
Comments
As stated in the release notes, v0.4.2 is just a single-patch release based on v0.4.1, so v0.4.2 doesn't include new changes such as changes to local song metadata. The next non-hotfix release will include these changes. |
Thanks for responding. |
Are you sure the behaviour you're observing is caused by switching to v0.4.2? The only differences between v0.4.1 and v0.4.2 are those listed here, none of which have to do with storing files locally, only the method used to load song streams. I tested it just to be sure, and v0.4.2 still produces .mp4 files for me. To be clear, v0.4.2 is exactly the same as v0.4.1, just with that single specific fix applied to it. If you were using a post-v0.4.1 debug build before, there's basically no reason for you to use v0.4.2 (you would effectively be downgrading). |
Well...Strange.
The above applies to my grapheneOS = Android15 phone. Checked this now on two other phones. On a Samsung-Rom=Android12 phone, also only 0.4.2 is usable, BUT it saves .mp4 files, not m4a. The ROM (!!??) defines what files are written to storage!? The above may explain why I had usable tags on mp4 files in the past maybe, when I also used spmp on that Samsung /A12 Phone. Now noticed the missing tag content on my new GrapheneOS/A15 phone. Ideally, spmp should define what it saves to disc: .mp3 with proper tags; or if data obtained from Google streams would be lossless, then maybe flac or any other true-music(not-video)-format with proper tags included. But it should not be ROM dependent at all, no matter the format, right? |
File creation is handled by the OS, SpMp only provides a base name and mime type (audio/mp4). Whether the file is created with the generic mp4 extension or the audio-specific m4a extension is up to the OS, but the content (including tags) should be the same on all systems. Mp4 and m4a are both the same container type anyway, aren't they? If you're not logged in then v0.4.1 will fail to stream/download any song, that was the issue addressed by v0.4.2. When you say v0.4.1-debug, which specific commit/build are you referring to? Ideally you should be using the latest nightly build from the releases page (this is just the latest build on the |
Debug build: the one from here: #367 (comment) I have now also tested with the Nightly 2024-10-27 22:53:22 Getting m4a files without tags. Checked with a tag editor, compared for files downloaded with 0.4.1/0.4.1.debug (as per above). Those older ones obtained as mp4 have tags. Any new m4a I get don't have any. Mime= "music/mp4": could you change this to be "music/mp3" maybe? |
How does the nightly build behave on your Samsung device? It would be helpful if you could make a quick list/table of how v0.4.2 and the latest nightly behave on the Samsung and non-Samsung device, the info in this thread is a little scattered.
I'm not going to inaccurately name downloaded files so they can be used in other players. Maybe you could take this suggestion to them? An option to set a custom mime type if something I would consider though (I did see your other issue). Overall I suspect this commit might be causing this issue. Could you also test that commit as well as the one before it on both devices? |
I'm totally lost now. I've now tested the nightly on the Samsung/A12. To do that, I had to uninstall the regular 042 version. Then uninstalled the nightly again, installed the regular 042 again...downloads 4 songs (*) and stores: m4a now, too!!! Yes, that very version 042 on that very phone gave mp4 yesterday...and now gives m4a. Ffs. And of course m4a has no tag data set. For the commits, sorry I don't understand how to obtain versions before those commits or such after. Not familiar with this whole commit stuff. Are there specific nightly versions you want me to try? Then please help me to find them, don't know where they are. Oh, and I don't have a Google/YT account, so if they require YT login I can't help with that. *: Sidenote: the nightly on both devices, A10 +A15, only ever downloads one song. No matter whether I try to d/l one, wait for it to finish, select another one, or whether I multi-select several. First works, all others get 0 Byte files created but download stall forever until forcing the app to close, re-open, and then it download another one only. 042 regular build downloads multiple no matter whether single-select or multi-select. |
Checklist
Steps to reproduce
Download any song with 0.4.2
This now gives m4a files (in 0.4.1 it gave mp4).
The Album Tag for all files now reads "spmp" , Artist etc are nothing.
This totaly breaks using files outside spmp.
Expected behavior
In a test version of 0.4.1-"debug", files were perfectly usable outside spmp after you had moved the reference info you need for spmp from the album artist field to the comment field. Can you please go back to to saving mp3 files with the same Tag handling as in that debug version?
Actual behavior
See above. Save mp3 with proper tags.
Screenshots / recordings
No response
Logs
Don't have any
SpMp version
0.4.2
SpMp platform
Android
OS version
GrapheneOS
Additional information
No response
The text was updated successfully, but these errors were encountered: