Removed tags persist

App version

Beta

Issue description

So basically I’m fiddling around with tags in my .ogg files, specifically with adding multiple “genre” tags to the same file.
Adding new tags works perfectly, Symfonium picks them up as expected.
However after removing the tags from the file with something like Musicbrainz Picard they still appear in the “Genre” view in the app.
I’m certain the tags have been removed (as I cannot see them with other software).
I’ve tried to re-sync the local device and also removing the provider and re-enabling it altogether + clearing the app cache from the phone settings but to my surprise, the tags are still there.
I’m sure I must be missing something here.

Device type

Phone

Media provider

Local device

Steps to reproduce

open the app with the local device as a provider on a library with a song with multiple “genre” tags
remove one of the “genre” tags
go to Library > Genres: the removed tag is still listed (and points to the song which used to have the tag)

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

online.clustered and online.clustered.debug

Your logs are empty … I need logs during a full sync and the actual genre that is supposed to disappear.

Well… that was dumb of me…

I uploaded another log file (hopefully correct this time) called online.clustered.debug.2

There’s a “PETER” (all caps) and a “PETER|Pepe” I added to a song called “A New Day - Original Mix” that I later deleted but still show up in the “genre” view. Just silly names to test things…

Hope that helps sift through the logs!

I can’t find the logs, they probably failed as too big upload via https://upload.symfonium.app

Sure! Just did the upload via the link, added the same “online.clustered.debug.2” in the description in case it helps

You are using syncthings that keeps copies of the old files Music/.stversions/Test/Headhunterz - A New Day - Original Mix.ogg You need to exclude that directory in the provider settings, will see to add auto exclusion of that one.

That makes a lot of sense, I completely forgot about that.

However after ignoring that dir the tags still show up. I even tried removing it but I can still see them.

I’m uploading a new log file “online.clustered.debug.3” that should include the last scan.

You still have Peter genre in content://com.android.externalstorage.documents/tree/0123-4567:Music/document/0123-4567:Music/Songs/EDM/813 - Damn Yeah.mp3

You can see everything from inside the app.

Correct, but that should be lower case.

For clarity, I removed all variations of pe, peter, pepe and other silly tests I’ve done, re-scanned the library from the app and uploaded a new log (online.clustered.debug.4).

Seems that these removed tags still show up in the app.

I don’t know what you do, if you properly sync your files, but I can assure you it works.

If the sync does not change the timestamp of the files, you need to clear the tag cache in the provider settings.

Absolutely!

After making sure the timestamps where being updated I kept testing things for a while.

Turns out that after removing and re-enabling the provider a second time, it all worked as expected:

add a tag → sync provider → tag appears

remove a tag → sync provider → tag disappears

Mind you the first time I re-enabled the provider was before re-configuring syncthing to not store removed (or modified) files locally (the .stversions directory you pointed out), so I reckon that was the issue all along. I’m checking that reply as the solution.

Thank you very much for your patience! (And for the app, it’s freaking great!)