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: m-TAGS component (foo_tags) (Read 162044 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

m-TAGS component (foo_tags)

Reply #150
Weird, I was able to fix this by checking "Only use absolute paths in references" in Tagging > m-TAGs > m-TAGs creator. All is well now, once again, thank you for the awesomely powerful plugin! Being able to tweak my songs to an OCD level of tagging without touching the source file is a dream come true. 


Sorry for the delay, but would you be able to please turn verbose output on and reproduce the error? Absolute paths should have no effect when dealing with http links (as demonstrated by your '@' locator), so there may be a strange bug. I would like to see what happens and your traces would be very valuable.

m-TAGS component (foo_tags)

Reply #151
Hey Luigi, it might've been my own human error. Looking back I think the error in playback was due to the |0 appended to the end of each stream url when creating a tag file for it. The streams work with absolute paths both checked and unchecked. Sorry for the misunderstanding! 

m-TAGS component (foo_tags)

Reply #152
Do you have any plans to define a tag for external artwork?  e.g. "@" points to the audio file, what if a "@art" could point to an external image file?  (And the component would present it to foobar2000 as embedded art perhaps?)

 

m-TAGS component (foo_tags)

Reply #153
I would never dare leaving the actual media file without tags or other identifying information, and likely I will go on overwriting the media files every now and then. But m-TAGS could be what I am looking for in between (and indeed at)  those "major" updates, if the following is possible (or might be implemented) with fb2k + m-TAGS:


I use FLAC, a format with audio checksums. I could fill a <CRC> tag into the metadata file, but I don't want to match that to a <CRC> tag in the media file -- I want it checked against the audio itself.  What about:

- a command to check whether tagsfile's CRC value matches the audio checksum?
- maybe an automatic check upon playback, done if and when the track is played from start to finish, so it does not occupy the drive's I/O?
- in case I by accident drop a media file in the wrong folder: (2) locate it, CRC based, akin to fb2k's Quicksearch for same?

Then the following:
- a "commit to mediafile" function with a post-overwrite checksum check? Purpose being: by default I want to write to tagfile, but once in a while I want to update the media files -- for example now at year-end doing a "main update" to one backup set. Then my workflow would be (1) update the backupdrive by writing new tagfiles only; (2) whenever tagfile is newer than media file, commit tags to it (3) verify audio of the updated file against the CRC tag.


BTW, is it possible to use wildcards in filenames? In case I change the media file name, I would want to search for [patternbeforetracknumber][tracknumber] * rather than a specific file name.

m-TAGS component (foo_tags)

Reply #154
Do you have any plans to define a tag for external artwork?  e.g. "@" points to the audio file, what if a "@art" could point to an external image file?  (And the component would present it to foobar2000 as embedded art perhaps?)


You can definitely create an "artwork" tag. You can create any tag you want. Just use "Properties/Tools/Add new field", or write a script if you want to automate the process.

m-TAGS component (foo_tags)

Reply #155
I would never dare leaving the actual media file without tags or other identifying information, and likely I will go on overwriting the media files every now and then. But m-TAGS could be what I am looking for in between (and indeed at)  those "major" updates, if the following is possible (or might be implemented) with fb2k + m-TAGS:


I use FLAC, a format with audio checksums. I could fill a <CRC> tag into the metadata file, but I don't want to match that to a <CRC> tag in the media file -- I want it checked against the audio itself.  What about:

- a command to check whether tagsfile's CRC value matches the audio checksum?
- maybe an automatic check upon playback, done if and when the track is played from start to finish, so it does not occupy the drive's I/O?
- in case I by accident drop a media file in the wrong folder: (2) locate it, CRC based, akin to fb2k's Quicksearch for same?

Then the following:
- a "commit to mediafile" function with a post-overwrite checksum check? Purpose being: by default I want to write to tagfile, but once in a while I want to update the media files -- for example now at year-end doing a "main update" to one backup set. Then my workflow would be (1) update the backupdrive by writing new tagfiles only; (2) whenever tagfile is newer than media file, commit tags to it (3) verify audio of the updated file against the CRC tag.


BTW, is it possible to use wildcards in filenames? In case I change the media file name, I would want to search for [patternbeforetracknumber][tracknumber] * rather than a specific file name.


I am familiar with FLAC. I will not break the transparency of m0tags, though, just a add media specific tools. You can create a CRC tag anyway you want (you can write a script to do that, if you are proficient with scripts).

As for the "commit" structure, it is against the whole reason for m-tags, so no. But you can do it via copy and paste. It is quite easy with foobar, and you can copy all tags to your media files in one shot, just using the Properties window.

Last but not least: wildcards. The original draft of m-tags contained wildcard support. However, I removed it because it makes it too slow (you have to browse the entire directory structure from the first wildcard on). Even it I restrict the wildcards to the last segment, I still have to browse the whole directory, then figure out which files matches best. Doable, but slow, so.... I removed it.

m-TAGS component (foo_tags)

Reply #156
Luigi...help !

I created my music folders separated from my audio tracks...fine.

Later, cheking every folder I realized that folder that had corrupted audio tracks didn't create the folder tracks at all...Ok.

My question is...How your componet can notify me when that happens ?

Than you very much in advance.

Peruchoa.



m-TAGS component (foo_tags)

Reply #157
Luigi...help !

I created my music folders separated from my audio tracks...fine.

Later, cheking every folder I realized that folder that had corrupted audio tracks didn't create the folder tracks at all...Ok.

My question is...How your componet can notify me when that happens ?

Than you very much in advance.

Peruchoa.


Peruchoa:

Can you be a little more precise? The m-Tags files are created independently of media file corruption. Only if all media files in a folder have wrong extensions, then the m-Tags file is not created at all (because no file is recognized as a media file).

m-TAGS component (foo_tags)

Reply #158
Hello...

Using m-Tags to create my tags from metatags is an excellent tool.

Now, before using m-Tags I fired video files in Media Player Classic from a button with no problems.

On the script created by m-Tags I see that uses slashs (/) instead of backslashs to find the real file.

I used $INFO(@) but I can't launch the original name of the file due to the slash character.

How I could do it?

Thank you.

m-TAGS component (foo_tags)

Reply #159
Corrected...

Thank You Luigi.

----

Luigi...help !

I created my music folders separated from my audio tracks...fine.

Later, cheking every folder I realized that folder that had corrupted audio tracks didn't create the folder tracks at all...Ok.

My question is...How your componet can notify me when that happens ?

Than you very much in advance.

Peruchoa.


Peruchoa:

Can you be a little more precise? The m-Tags files are created independently of media file corruption. Only if all media files in a folder have wrong extensions, then the m-Tags file is not created at all (because no file is recognized as a media file).


m-TAGS component (foo_tags)

Reply #160
I love this, but I wish it was more network friendly. You can't create m-tags from files on a network drive or use m tags from another computer on the network it seems.

m-TAGS component (foo_tags)

Reply #161
oh wait, you can, I just had to edit out the reference to the drive name in the .tags and it started working for me. ie, "///john-pc/f$/FLAC/Band -album/song.flac" to "///john-pc/FLAC/Band -album/song.flac" I have absolute paths on. In this case, I was using network shared folders.

m-TAGS component (foo_tags)

Reply #162
Okay, I ran into one more issue. There is a problem if you try to create mtags for a file that has combining unicode characters. Ie, the á in Janelle Monáe. It turns into a? and then the file cannot be found.

m-TAGS component (foo_tags)

Reply #163
I needed some technical detail, but as m-tags.org website is down I have to ask the question here rather than get it there. Can I use this component as a temporary container for preserving metadata? My scenario: I got FLAC file, well tagged (using custom fields). I noticed it has a glitch somewhere so I opened wave editor, removed the glitch and saved it. In most cases wave editor discards most of metadata, and preserves only few standard fields. In worst case tagging is not supported in wave editor at all. Other situation: I got old mp3 file - well tagged, with custom fields - that's obvious. Finally it gets released digitally, so I buy the new mp3 at Beatport. I put the same name for new file as for old one and overwrite old one with new one. In both cases I need a way to preserve tags in an external container to restore them back in edited FLAC or newer mp3 file. It is possible with foobar with Media Library disabled or at least with disabled real time monitoring of ML folders. But since I started using ML i don't want to disable it. Does m-TAGS have option/command to first save metadata to .tags file, and then to write them into mp3/flac files from .tags file?


The site is up now, so I do not know if you got your question answered already. You can do what you need. First create the m-Tags files. Then, when you have the new file, import both sets of files into a playlist, open both "Properties" panels (i.e. the tags), and do a copy and paste between the two.

Just as a reminder: I created m-Tags FOR THE VERY PURPOSE of NOT having to do what you are trying to do. Once you have the m-Tags files, you do not need to update the metadata in the media files anymore. Just replace the old media files with the new ones and use only the m-Tags file(s) in your playlists. It will "magically" work. Only if you pass from, say, mp3 to flac, then you have to change the locators (the "@" fields) to point to the flac files rather than the mp3 files. You can do this manually (m-Tags files are text files) or within foobar2000 using the masstagger or the property editor.

m-TAGS component (foo_tags)

Reply #164
Okay, I ran into one more issue. There is a problem if you try to create mtags for a file that has combining unicode characters. Ie, the a? in Janelle Mona?e. It turns into a? and then the file cannot be found.


This is strange. m-Tags save the files in UTF-8 format, which preserves Unicode characters. I have TONS of accented characters in my own files. Can you send me a log (turn on verbose logging in "Preferences/Advanced/Tagging/m-Tags", please).

m-TAGS component (foo_tags)

Reply #165
oh wait, you can, I just had to edit out the reference to the drive name in the .tags and it started working for me. ie, "///john-pc/f$/FLAC/Band -album/song.flac" to "///john-pc/FLAC/Band -album/song.flac" I have absolute paths on. In this case, I was using network shared folders.


I use ONLY network shared folders. It is actually strange that "///john-pc/f$/FLAC/Band -album/song.flac" does not work and "///john-pc/FLAC/Band -album/song.flac" does. It should be the other way around. In general, the best way to use network shared drives is to mount them (i.e. assign a local drive letter to them).

m-TAGS component (foo_tags)

Reply #166
Okay, I ran into one more issue. There is a problem if you try to create mtags for a file that has combining unicode characters. Ie, the a? in Janelle Mona?e. It turns into a? and then the file cannot be found.


This is strange. m-Tags save the files in UTF-8 format, which preserves Unicode characters. I have TONS of accented characters in my own files. Can you send me a log (turn on verbose logging in "Preferences/Advanced/Tagging/m-Tags", please).


yes, you were correct. This error seems to have happened because I edited the tags myself, and they were lost when the encoding changed. So, user error.

m-TAGS component (foo_tags)

Reply #167
Thanks... this is a nice component. :-)

Any way to get the actual file pointed to via title formatting? (ie. %path_sort% gets the tags file and the index...)
EDIT: $info(@) works

Any way to get $info(@) used by other components without modifying them individually? I see a lot of "!.tags".

How about getting %filesize% of the actual audio file rather than the tags file... anyone know of a way?

Finally, any way to monitor active music folders and automatically update tags files when new stuff is added? (This is a stretch. :-)

m-TAGS component (foo_tags)

Reply #168
Some other ideas for features:
- Write tags to file button
- Write tag to file button (a single tag, on the properties page)
- Update tag from file (a single tag, on the properties page)

m-TAGS component (foo_tags)

Reply #169
Does this support sub-indexes into any given audio file? That would be valuable for keeping cue sheets unmodified, as well as for tagging a number of untaggable formats that my various components support.

I assume it also supports inputs which may have dynamic information, and may play indefinitely until stopped by the user, if so configured.

m-TAGS component (foo_tags)

Reply #170
I use this to backup my metadata.
It runs automatically and, even if I use /quiet,  it shows the progress bar.

I'd like to hide it completely.

m-TAGS component (foo_tags)

Reply #171
For which this component may use core_api::is_quiet_mode_enabled() to detect.

m-TAGS component (foo_tags)

Reply #172
Some other ideas for features:
- Write tags to file button
- Write tag to file button (a single tag, on the properties page)
- Update tag from file (a single tag, on the properties page)


I have requested the option of committing tag to file as well (this page), but the author thinks it is contrary to intention to use m-tags only temporarily.

The consequence is that I have tried it once and never ever used it again.

m-TAGS component (foo_tags)

Reply #173
Does this support sub-indexes into any given audio file? That would be valuable for keeping cue sheets unmodified, as well as for tagging a number of untaggable formats that my various components support.

I assume it also supports inputs which may have dynamic information, and may play indefinitely until stopped by the user, if so configured.



Kode, you can add any tag you wish to any format playable by FB2K. It should support dynamic information, although I did not heavily test for that. The way it works is that dynamic information is "merged" with m-tags metadata. More specifically, dynamic information is used as long as there is no m-tags metadata tag with the same name. You can get more information on how dynamic behaviour is currently implemented if you go back to my September 4-5 exchanges with SOKEKING. Any additional feedback/suggestions on this topic would be welcome.

As far as sub-indexes go, I gave much thought to the idea of "cueing" from within m-tags (although my goal was the opposite of yours, i.e. to get rid of the dependence from cue sheets, rather than preserving them), but decided against it because I thought that 1) cueing is more a structural element then a metadata element; 2) The implementation would inevitably be scarcely portable and very much dependant on the player's architecture, and even impossible in some cases. That said, I am still open to the idea. But I would like to understand better what you mean for sub-indexes and how you would like to see them implemented.

Regarding, the ability of not showing the progress bar when in quiet mode, I kept the progress bar because I found no way to write to stdout. So, in quiet mode, there is no way for me to show the progress without... well, the progress bar! If you know of a way to write to stdout without breaking anything, then I'll definitely look into that!

m-TAGS component (foo_tags)

Reply #174
Some other ideas for features:
- Write tags to file button
- Write tag to file button (a single tag, on the properties page)
- Update tag from file (a single tag, on the properties page)


As Porcus says, I am not too inclined to implement the "write to media file" feature. However, keep in mind that you can easily export the tags from m-tags to media files using the properties page. Just open the properties page of the m-tags file, select and copy all tags (Ctrl-C), then open the properties page of the media files, select the same tags and paste (Ctrl-V). Then save. Your tags are copied.

As for the last suggestion... I have no control over the properties page!