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: External Tags (Read 87564 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: External Tags

Reply #450
The metadata that APIs return for a track doesn't change when stream is switched. Doing what is suggested would pretty much require ignoring all metadata caches and forcing fresh tag reloads from decoders at all times.
Until there are proper interfaces to do what you want, it's best to stick to one stream.

Re: External Tags

Reply #451
Question and possible wishlist item:
Since %last_modified% doesn't work now, how can it "Find tracks edited after External Tagging" - does it simply compare tags and report the different ones?

Because if not, that is a thing to ask for. (Rather than committing the whole thing.)

Re: External Tags

Reply #452
That command seems to compare the timestamp returned by the metadata handle to the timestamp returned by the file format's decoder instance. At the moment I'm not certain why I made it this way but I'm sure it worked correctly at least at the time of writing.

I'll need to find my motivation to re-engineer this component. I'm sure I can make it smarter and its code simpler with all the new interfaces Peter has added.

Re: External Tags

Reply #453
@Case

I am attempting to convert from using m-Tags to external tags and I seem to be running into the same problem I have with m-Tags.
Once external tags exist, how do I go about getting the external tags updated if tags get added by an external program?
For example, I use Keyfinder to add Camelot keys to files, but it seems, like with m-Tags, that if external tags already exist, I can't seem to get these tags added into the external tags.
I have to resort to the same method as with m-Tags (remove the external tags and recreate them), but this has the same drawback that any tag(s) added in foobar2000 after creating external tags are lost.

Also, Would it be possible to support title formatting in foldertag names somewhere down the line?
m-Tags at least then prompts with a Save dialog to give it a name myself if the name is left blank in Advanced Preferences.
External Tags just not shows the context menu item to "Create ...." if I empty the field.

Re: External Tags

Reply #454
I had already checked it out when I noticed the comment in the other thread. Stream pauses briefly even with a clean foobar2000 install without any additional components when tagging attempt is made. I don't see External Tags doing anything to the stream in the code, it appears to just humbly write the external tag when it gets the information.
But Peter has been notified about the issue. Perhaps the behavior can be improved.

Hello @Case I wanted to know if Peter has rectified this? Still seems to be an issue in foobar2k v2.1.5... It would be great to iron this out as you could write in additional tags for a web stream and use Discord RPC in conjunction to display it. Currently even attaching images cause this loop as well.

 

Re: External Tags

Reply #455
@Just_Addict : if you could try the following once you have identified the files (Tagging -> "Find tracks edited after External Tagging" if you have timestamps updated ...):

Tagging -> Edit file tags will open the file tags.
Then open the properties of the same files. You now have two windows which show different tag sets.
If there is only one field you have updated, you can copy over.