Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foobar2000 for android showing incorrect capitalization on metadata (Read 3141 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foobar2000 for android showing incorrect capitalization on metadata

Although it isn't the biggest app breaking issue yet, this has been driving me utterly insane for several days. I have noticed several examples of foobar2000 displaying the incorrect capitalization of metadata on when viewing an album as a whole, but showing it correctly when actually playing a track from that album. In the following example screenshots, the album "the most wonderfulest thing" is supposed to be stylized in all lowercase. However, foobar is incorrectly showing it as "The Most Wonderfulest Thing". The first pic shows the album screen displaying it incorrectly, and the second shows the now playing screen displaying it correctly:

https://imgur.com/a/tpckKrB

In the 3rd and 4th image, the name Daiki Kasho should be capitalized, but it is being displayed in all lowercase on the tracks and album artist on the album screen, then it shows correctly when playing the track. I am 100% sure that the metadata in the tracks themselves are correct, as shown in the 5th image showing "the most wonderfulest thing", unless there is some hidden field that foobar on pc cannot detect that the mobile version can? The issue seems to only be on the android version.

I have already tried restarting my phone, reinstalling foobar2000, deleting the album and replacing it with a new copy, scrubbing the offending metadata and typing it back in manually, moving the album off my phone to my pc then indexing the library, then moving it back to the phone and indexing it again, and nothing has fixed the issue so far. It is worth noting that these albums have both existed in my phone's music library before in mp3 from a different source, where the metadata was likely in incorrect caps for these examples as I didn't care enough to correct it at the time, but as I have since completely deleted the old mp3 versions and replaced them with Opus files that I encoded from FLAC with ffmpeg, and some of these files never had the incorrect capitalization, so I have no idea where foobar is grabbing these incorrect old versions of these metadata fields, since ideally it should just be reading them from the files themselves right?? Any and all suggestions and tips are very much appreciated. I never expected something like this to drive me on such a wild goose chase.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #1
You Ingur album doesn't work for me, but from what you say I think this is much simpler than you are making out.  It seems that in one case the text is being displayed with title or camel case, and in another forced to all lower case.  This will be a display/text rendering property rather than anything in the metadata.

However, what you say about FB2K reading the metadata from the files is not correct – FB2K builds a cache of metadata associated with the filename, so if you replace the file (outside FB2K) it won't pick up the new file's metadata unless you refresh the cache (I don't know how to do that in mobile FB2K).
It's your privilege to disagree, but that doesn't make you right and me wrong.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #2
Perhaps you have different tag versions (APE, Id3v1, id3v2.3) that are conflicting?

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #3
Perhaps you have different tag versions (APE, Id3v1, id3v2.3) that are conflicting?

How would I check for this and rid the files of the incorrect ones? I usually just use foobar on my pc to edit metadata, but I also have mp3 tag that i use for a few features it does more conveniently, despite being worse in other areas.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #4
You Ingur album doesn't work for me, but from what you say I think this is much simpler than you are making out.  It seems that in one case the text is being displayed with title or camel case, and in another forced to all lower case.  This will be a display/text rendering property rather than anything in the metadata.

However, what you say about FB2K reading the metadata from the files is not correct – FB2K builds a cache of metadata associated with the filename, so if you replace the file (outside FB2K) it won't pick up the new file's metadata unless you refresh the cache (I don't know how to do that in mobile FB2K).
Here is another link, I haven't used imgur in a while so I probably clicked one of the wrong link buttons. https://imgur.com/R9WRLJQ
I will look into seeing if there is any way to clear the metadata cache, from what I was experiencing that kind of explanation seems to be the most likely, since it seems to only apply to album titles and artist names that were likely incorrect on my phone prior.

If your first explanation is true, then I am not sure why only this small handful of albums would be affected by some text formatting overriding the metadata, but I am not really an expert in any of these things. Ive only this year made the decision to quit music streaming and all of the nuances have been a bit overwhelming for me. Do you know how and why the text displaying would be behaving like that if it isn't an issue with metadata cache? Thank you for the input so far.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #5
You Ingur album doesn't work for me, but from what you say I think this is much simpler than you are making out.  It seems that in one case the text is being displayed with title or camel case, and in another forced to all lower case.  This will be a display/text rendering property rather than anything in the metadata.

However, what you say about FB2K reading the metadata from the files is not correct – FB2K builds a cache of metadata associated with the filename, so if you replace the file (outside FB2K) it won't pick up the new file's metadata unless you refresh the cache (I don't know how to do that in mobile FB2K).
Actually it seems the second link i sent is only one image. I can't figure out why the first link in my topic post isn't working for you since I can still open it when I am logged out of imgur.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #6
Actually it seems the second link i sent is only one image. I can't figure out why the first link in my topic post isn't working for you since I can still open it when I am logged out of imgur.
All I get is a black page for anything on imgur, even just the home page!  Used to work.  I'm using Safari on iPadOS 15.1 so that might have something to do with it.

If your first explanation is true, then I am not sure why only this small handful of albums would be affected by some text formatting overriding the metadata
Agreed, in which case were left with caching.  See whether editing a tag within FB2K alters it – edits performed using FB2K should also update the cache.
It's your privilege to disagree, but that doesn't make you right and me wrong.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #7
Agreed, in which case were left with caching.  See whether editing a tag within FB2K alters it – edits performed using FB2K should also update the cache.
Aplogies for the late reply, just got back from vacation. I have been using foobar on my PC to make edits to metadata from the beginning, even clearing the data and rewriting it from scratch then moving it back onto my phone doesn't fix it. By "editing a tag within FB2K" I am assuming you mean the PC version, since the android version doesn't seem to have tag editing yet, at least not that I can find. However if it does have this functionality now and I missed it, I would be very happy if you could fill me in on that, not only because it could fix this but because I can't find any tag editors for android that work with non-mp3s.

Do you know if there is a way to simply clear this cache and refresh it? I didn't see anything for it in the settings but I would like to imagine there has to be some way. Its just bizarre since not even reinstalling foobar on my phone fixed it, so it would seem it is being stored in some other folder that isn't included in the installation unless we are way off?

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #8
I'm sorry, I had not paid attention that this is an Android problem.  I have no idea.
It's your privilege to disagree, but that doesn't make you right and me wrong.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #9
It's not a caching issue. The player/skin capitalizes the tags if they are in all lowercase.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #10
It's not a caching issue. The player/skin capitalizes the tags if they are in all lowercase.

As per the previous posts, this only applies to a select few albums. I have other albums that are all in lowercase that do display correctly at all times, and I have seen the complete opposite problem: when an artist name that should be capitalized is changed to all lowercase.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #11
It's not a caching issue. The player/skin capitalizes the tags if they are in all lowercase.

That is completely wrong.
-----------
Try.
Load the Album (Track) in foobar2000, set the tags, then right-click > Tagging > MP3 tag type...


SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #12
I was wrong, it's not a formatting issue. Media Library shows the tag contents using the capitalization it learned when it first saw that particular string. If mobile foobar2000 has seen album name "The Most Wonderfulest Thing" before seeing "the most wonderfulest thing" the tag based browser will show the capitalized variant. It seems Media Library only stores strings once and ignores case.

So for media library you can't have different spelling for same names.
If you are certain you don't have differently spelled tags in your library folders and wish to force the titles to "correct" case, just wipe foobar2000 data in phone settings and let it reindex libraries. That will refresh Media Library caches. But as you have already done this in a slower way by uninstalling and reinstalling, it would appear that you do have different spelling somewhere in your library.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #13
Interesting.  I assume strings are being replaced by tokens as a form of data compression.  If the tokenisation is case-insensitive, that prevents the user choosing to use different capitalisation in different places – I would never have guessed that.

There is no copyright on titles, so nothing stopping nominally the same title being used for different tracks, and potentially with deliberately different capitalisation.
It's your privilege to disagree, but that doesn't make you right and me wrong.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #14
I was wrong, it's not a formatting issue. Media Library shows the tag contents using the capitalization it learned when it first saw that particular string. If mobile foobar2000 has seen album name "The Most Wonderfulest Thing" before seeing "the most wonderfulest thing" the tag based browser will show the capitalized variant. It seems Media Library only stores strings once and ignores case.

So for media library you can't have different spelling for same names.
If you are certain you don't have differently spelled tags in your library folders and wish to force the titles to "correct" case, just wipe foobar2000 data in phone settings and let it reindex libraries. That will refresh Media Library caches. But as you have already done this in a slower way by uninstalling and reinstalling, it would appear that you do have different spelling somewhere in your library.

Hmm. The library is updated automatically. Tag edits are reflected immediately.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #15
Load the Album (Track) in foobar2000, set the tags, then right-click > Tagging > MP3 tag type...


I am not sure what that does, but I am actually using Opus, not mp3, so I don't think I'd be able to do that.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #16
If you are certain you don't have differently spelled tags in your library folders and wish to force the titles to "correct" case, just wipe foobar2000 data in phone settings and let it reindex libraries. That will refresh Media Library caches. But as you have already done this in a slower way by uninstalling and reinstalling, it would appear that you do have different spelling somewhere in your library.

I am pretty sure I do not have these albums anywhere else in my library, as I deleted the old incorrectly capitalized mp3 versions before loading my new Opus ones into my music folder. Even though re-installing it bafflingly did not fix it, I would still like to try the data clear, but first I wanna clarify to be safe, do you mean the "Clear Data" button next to the "Clear Cache" in foobar2000's app info's storage options? Thanks!

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #17
That's exactly what I mean. It will wipe all foobar2000 configuration data and you'll get a fresh start on next launch. I did that many times when testing the capitalization behavior.

Re: foobar2000 for android showing incorrect capitalization on metadata

Reply #18
That's exactly what I mean. It will wipe all foobar2000 configuration data and you'll get a fresh start on next launch. I did that many times when testing the capitalization behavior.
Thank you!! Despite uninstalling not doing the trick, clearing the data like this has fixed it. I wouldn't have guessed to try that since uninstalling didn't work, I guess I never fully understood how apps are installed on my phone?