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 164933 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

m-TAGS component (foo_tags)

Reply #175
I kept the progress bar because I found no way to write to stdout. [...] If you know of a way to write to stdout without breaking anything, then I'll definitely look into that!


Thanks for replying, and a lot of thanks for the component.

I suggest that if a log file is specified then no progress bar is shown.

m-TAGS component (foo_tags)

Reply #176
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.


And if they do not appear in precisely the same order? Then tags are copied to the wrong place, I assume?

Using m-tags would have the big advantage of fewer writes to the actual media files. Fantastic, I want that.
Counter that against an unsafe overwrite of a few thousand of my media files. No. Then it is useless to me.

 

m-TAGS component (foo_tags)

Reply #177
I use the option to create a .tags files for each audio file, but sometimes there may be two files with the same name but different extensions.

In which case only one .tags file survives.

Like this:

01 – Title.flac
01 – Title.mp3
01 – Title.tags


Please add an option to keep the original extension.

Like so:

01 – Title.flac
01 – Title.flac.tags
01 – Title.mp3
01 – Title.mp3.tags

m-TAGS component (foo_tags)

Reply #178
Quote from: Local references link=msg=0 date=
Local references may also identify a resource contained within an archive file (e.g. a ".zip" or ".rar" file) or a resource identified within the contents of a file (e.g. a track in a ".cue" file, or a specific chapter in a movie), etcetera.
I see that it works for audio files in ZIP archives, which is great, but it doesn't work for RAR archives, unfortunately. Could support for this type of archives be added there, too?

m-TAGS component (foo_tags)

Reply #179
It would be great if we could move the actual audio files along with the m-tags. I like to keep a nicely organized library, and that seems not possible using m-tags as my primary tagging system. I love the idea of treating media as read only but if I can't organize based on the tags it is a big hiccup in my system. I guess the best alternative would be to get my m-tags all nice and then to write them then organize the files based on that then recreate the m-tags file but that seems to kind of defeat the purpose of m-tags. Not even sure if this is possible but it would be nice to have. Another nice feature is if you could add the option to add the m-tags on the fly. So as you go to write metadata it creates a *.tags file and writes and reads from that instead once again not even sure if this is possible but it would be quite nice.

m-TAGS component (foo_tags)

Reply #180
Luigi, I'm trying to use mtags as a container for http streams. It works interesting and almost well, except this:

It seems that for every track your component instructs foobar to "parse" referenced file, and in this case loading tags file in foobar takes too much time, i.e. ~2s for single track, which I guess will depend from server to server. I would assume similar to happen with local network paths, too.

When updating single tag for single track from this mtags collection, it re-parses all tracks all over again.


Is it absolutely necessary to parse referenced files, or can you please add option that will allow skipping this step?

m-TAGS component (foo_tags)

Reply #181
I like the idea behind this plugin, but the hard-coded filename is a deal-breaker for me.  When I was doing my own designing and brain-storming, I came up with a similar solution but it linked the audio file to the database using a UUID embedded in a tag in the audio file.  Would you consider allowing that as an alternative to the filename? 

By the way, is there a repository for the source code someplace?  I would like to implement a few pet (no pressure on you to integrate them into master).

m-TAGS component (foo_tags)

Reply #182
Luigi, I'm trying to use mtags as a container for http streams. It works interesting and almost well, except this:

It seems that for every track your component instructs foobar to "parse" referenced file, and in this case loading tags file in foobar takes too much time, i.e. ~2s for single track, which I guess will depend from server to server. I would assume similar to happen with local network paths, too.

When updating single tag for single track from this mtags collection, it re-parses all tracks all over again.


Is it absolutely necessary to parse referenced files, or can you please add option that will allow skipping this step?


Romor:

I am about to post a new version that will NOT parse remote files. I am having the same problem that you are experiencing. I just have to remember HOW to upload.... LOL

m-TAGS component (foo_tags)

Reply #183
I like the idea behind this plugin, but the hard-coded filename is a deal-breaker for me.  When I was doing my own designing and brain-storming, I came up with a similar solution but it linked the audio file to the database using a UUID embedded in a tag in the audio file.  Would you consider allowing that as an alternative to the filename? 

By the way, is there a repository for the source code someplace?  I would like to implement a few pet (no pressure on you to integrate them into master).


Are you referring to the "hard-coded" locator (the "@" tag), or to the name of the m-tags file itself?

m-TAGS component (foo_tags)

Reply #184
It would be great if we could move the actual audio files along with the m-tags. I like to keep a nicely organized library, and that seems not possible using m-tags as my primary tagging system. I love the idea of treating media as read only but if I can't organize based on the tags it is a big hiccup in my system. I guess the best alternative would be to get my m-tags all nice and then to write them then organize the files based on that then recreate the m-tags file but that seems to kind of defeat the purpose of m-tags. Not even sure if this is possible but it would be nice to have. Another nice feature is if you could add the option to add the m-tags on the fly. So as you go to write metadata it creates a *.tags file and writes and reads from that instead once again not even sure if this is possible but it would be quite nice.


I am interested in what you say, as organization is the primary goal of m-tags. But can you give me a specific example? I am not sure that I understand.

m-TAGS component (foo_tags)

Reply #185
Quote from: Local references link=msg=0 date=
Local references may also identify a resource contained within an archive file (e.g. a ".zip" or ".rar" file) or a resource identified within the contents of a file (e.g. a track in a ".cue" file, or a specific chapter in a movie), etcetera.
I see that it works for audio files in ZIP archives, which is great, but it doesn't work for RAR archives, unfortunately. Could support for this type of archives be added there, too?


m-TAGS passes the handling of .rar files straight to foobar2000. It works for me. Can you send me some additional information? (enable tracing in m-TAGS, and send me the log, if you can).

m-TAGS component (foo_tags)

Reply #186
Version 1.0 now available for download on www.foobar2000.org. Main upgrades are:

1) you can now write the tags from an m-TAGS file back to the media files;
2) m-TAGS will not attempt anymore to automatically load technical information from remote media files (i.e. URI's);
3) a new predefined tag "DURATION" allows to specify the duration of a track when technical information is not automatically loaded (it is ignored otherwise);
4) a new advanced setting option was added for the m-TAGS creator to retain media file extensions (i.e. scanning "track.mp3" will generate a "track.mp3.tags" file, rather than a "track.tags" file).

m-TAGS component (foo_tags)

Reply #187
I use the option to create a .tags files for each audio file, but sometimes there may be two files with the same name but different extensions.

In which case only one .tags file survives.

Like this:

01 – Title.flac
01 – Title.mp3
01 – Title.tags


Please add an option to keep the original extension.

Like so:

01 – Title.flac
01 – Title.flac.tags
01 – Title.mp3
01 – Title.mp3.tags


Done. Check the new version :-)

m-TAGS component (foo_tags)

Reply #188
Quote from: Local references link=msg=0 date=
Local references may also identify a resource contained within an archive file (e.g. a ".zip" or ".rar" file) or a resource identified within the contents of a file (e.g. a track in a ".cue" file, or a specific chapter in a movie), etcetera.
I see that it works for audio files in ZIP archives, which is great, but it doesn't work for RAR archives, unfortunately. Could support for this type of archives be added there, too?

m-TAGS passes the handling of .rar files straight to foobar2000. It works for me. Can you send me some additional information? (enable tracing in m-TAGS, and send me the log, if you can).

I downloaded the newest version (1.0), but unfortunately the problem spread to m-TAGS files referring to tracks in folders packed in ZIP archives, too. Actually, if audio files are packed directly in the archive, i.e. not in a folder, they can still be played back. So I have returned to the previous version (0.1), which I had saved, and all files in ZIP archives play well again.
Having noticed that, I realized that may also be the problem with RAR in the older version of the component (0.1). So I performed a test, I created the RAR archive containing an audio file not put in a folder, and voilà – it works!

Playback error
Code: [Select]
Decoding failure at 0:00.000 (Unsupported format or corrupted file):
"F:\Musique\La Femme\beko_36 la femme.rar.tags" / index: 1

Decoding failure at 0:00.000 (Unsupported format or corrupted file):
"F:\Musique\La Femme\beko_36 la femme.rar.tags" / index: 2

Decoding failure at 0:00.000 (Unsupported format or corrupted file):
"F:\Musique\La Femme\beko_36 la femme.rar.tags" / index: 3

Console
Code: [Select]
Selected file: F:\Musique\La Femme\beko_36 la femme.rar.tags
TO: file://F:\Musique\La Femme\beko_36 la femme.rar.tags
m-TAGS:: Number of tracks: 3
Processing unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)\36a1_ la femme ressort.mp3 | F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)\36a1_ la femme ressort.mp3
Retrieving metadata
INFO->TAGS
{
  "ALBUM" : "beko_36",
  "ARTIST" : "La Femme",
  "DATE" : "2010",
  "TITLE" : "La Femme Ressort",
  "TRACKNUMBER" : "1"
}
Retrieved metadata
Processing unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)\36a2_ françoise.mp3 | F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)\36a2_ françoise.mp3
Retrieving metadata
INFO->TAGS
{
  "ALBUM" : "beko_36",
  "ARTIST" : "La Femme",
  "DATE" : "2010",
  "TITLE" : "Françoise",
  "TRACKNUMBER" : "2"
}
Retrieved metadata
Processing unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)\36b_ sur la planche.mp3 | F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)\36b_ sur la planche.mp3
Retrieving metadata
INFO->TAGS
{
  "ALBUM" : "beko_36",
  "ARTIST" : "La Femme",
  "DATE" : "2010",
  "TITLE" : "Sur La Planche",
  "TRACKNUMBER" : "3"
}
Retrieved metadata
Writing m-TAGS file: file://F:\Musique\La Femme\beko_36 la femme.rar.tags
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
CREATING TAGS
OPENING file://F:\Musique\La Femme\beko_36 la femme.rar.tags
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
Retrieving file statistics
Reading tags: file://F:\Musique\La Femme\beko_36 la femme.rar.tags [1]
Opening track 1
Resolving referenced path: beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0
archive ref_file: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3
Canonical path: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3
m-TAGS:: Cannot open referenced file as media source: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3 [0]
m-TAGS:: REFERENCED FILE:  [-1]
TAGS->INFO
{
  "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
  "ALBUM" : "beko_36",
  "ARTIST" : "La Femme",
  "DATE" : "2010",
  "TITLE" : "La Femme Ressort",
  "TRACKNUMBER" : "1"
}
Reading tags: file://F:\Musique\La Femme\beko_36 la femme.rar.tags [2]
Opening track 2
Resolving referenced path: beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0
archive ref_file: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3
Canonical path: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3
m-TAGS:: Cannot open referenced file as media source: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3 [0]
m-TAGS:: REFERENCED FILE:  [-1]
TAGS->INFO
{
  "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
  "ALBUM" : "beko_36",
  "ARTIST" : "La Femme",
  "DATE" : "2010",
  "TITLE" : "Françoise",
  "TRACKNUMBER" : "2"
}
Reading tags: file://F:\Musique\La Femme\beko_36 la femme.rar.tags [3]
Opening track 3
Resolving referenced path: beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0
archive ref_file: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3
Canonical path: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3
m-TAGS:: Cannot open referenced file as media source: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3 [0]
m-TAGS:: REFERENCED FILE:  [-1]
TAGS->INFO
{
  "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
  "ALBUM" : "beko_36",
  "ARTIST" : "La Femme",
  "DATE" : "2010",
  "TITLE" : "Sur La Planche",
  "TRACKNUMBER" : "3"
}
DESTROYING TAGS
DESTROYING TAGS
Opening track for playback: "F:\Musique\La Femme\beko_36 la femme.rar.tags" / index: 1
CREATING TAGS
OPENING file://F:\Musique\La Femme\beko_36 la femme.rar.tags
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
Retrieving file statistics
Opening track 1
Resolving referenced path: beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0
archive ref_file: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3
Canonical path: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3
m-TAGS:: Cannot open referenced file as media source: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3 [0]
m-TAGS:: REFERENCED FILE:  [-1]
Reading tags: file://F:\Musique\La Femme\beko_36 la femme.rar.tags [1]
TAGS->INFO
{
  "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
  "ALBUM" : "beko_36",
  "ARTIST" : "La Femme",
  "DATE" : "2010",
  "TITLE" : "La Femme Ressort",
  "TRACKNUMBER" : "1"
}
DESTROYING TAGS
Decoding failure at 0:00.000 (Unsupported format or corrupted file):
"F:\Musique\La Femme\beko_36 la femme.rar.tags" / index: 1
CREATING TAGS
OPENING file://F:\Musique\La Femme\beko_36 la femme.rar.tags
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
Opening track 1
Resolving referenced path: beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0
archive ref_file: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3
Canonical path: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3
m-TAGS:: Cannot open referenced file as media source: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3 [0]
m-TAGS:: REFERENCED FILE:  [-1]
DESTROYING TAGS
Opening track for playback: "F:\Musique\La Femme\beko_36 la femme.rar.tags" / index: 2
CREATING TAGS
OPENING file://F:\Musique\La Femme\beko_36 la femme.rar.tags
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
Retrieving file statistics
Opening track 2
Resolving referenced path: beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0
archive ref_file: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3
Canonical path: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3
m-TAGS:: Cannot open referenced file as media source: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3 [0]
m-TAGS:: REFERENCED FILE:  [-1]
Reading tags: file://F:\Musique\La Femme\beko_36 la femme.rar.tags [2]
TAGS->INFO
{
  "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
  "ALBUM" : "beko_36",
  "ARTIST" : "La Femme",
  "DATE" : "2010",
  "TITLE" : "Françoise",
  "TRACKNUMBER" : "2"
}
DESTROYING TAGS
Decoding failure at 0:00.000 (Unsupported format or corrupted file):
"F:\Musique\La Femme\beko_36 la femme.rar.tags" / index: 2
Opening track for playback: "F:\Musique\La Femme\beko_36 la femme.rar.tags" / index: 3
CREATING TAGS
OPENING file://F:\Musique\La Femme\beko_36 la femme.rar.tags
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
Retrieving file statistics
Opening track 3
Resolving referenced path: beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0
archive ref_file: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3
Canonical path: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3
m-TAGS:: Cannot open referenced file as media source: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3 [0]
m-TAGS:: REFERENCED FILE:  [-1]
Reading tags: file://F:\Musique\La Femme\beko_36 la femme.rar.tags [3]
TAGS->INFO
{
  "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
  "ALBUM" : "beko_36",
  "ARTIST" : "La Femme",
  "DATE" : "2010",
  "TITLE" : "Sur La Planche",
  "TRACKNUMBER" : "3"
}
DESTROYING TAGS
Decoding failure at 0:00.000 (Unsupported format or corrupted file):
"F:\Musique\La Femme\beko_36 la femme.rar.tags" / index: 3
CREATING TAGS
OPENING file://F:\Musique\La Femme\beko_36 la femme.rar.tags
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
Opening track 2
Resolving referenced path: beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0
archive ref_file: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3
Canonical path: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3
m-TAGS:: Cannot open referenced file as media source: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3 [0]
m-TAGS:: REFERENCED FILE:  [-1]
DESTROYING TAGS
Opening track for playback: "F:\Musique\Nun\Nun - Nun (2014)\02. Evoke The Sleep.mp3"
CREATING TAGS
OPENING file://F:\Musique\La Femme\beko_36 la femme.rar.tags
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
[
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a1_ la femme ressort.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "La Femme Ressort",
      "TRACKNUMBER" : "1"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36a2_ françoise.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Françoise",
      "TRACKNUMBER" : "2"
  },
  {
      "@" : "beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0",
      "ALBUM" : "beko_36",
      "ARTIST" : "La Femme",
      "DATE" : "2010",
      "TITLE" : "Sur La Planche",
      "TRACKNUMBER" : "3"
  }
]
Opening track 3
Resolving referenced path: beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3|0
archive ref_file: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3
Canonical path: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3
m-TAGS:: Cannot open referenced file as media source: unpack://rar|47|file://F:\Musique\La Femme\beko_36 la femme.rar|beko_36 la femme (2010)/36b_ sur la planche.mp3 [0]
m-TAGS:: REFERENCED FILE:  [-1]
DESTROYING TAGS

m-TAGS component (foo_tags)

Reply #189
Quote
I downloaded the newest version (1.0), but unfortunately the problem spread to m-TAGS files referring to tracks in folders packed in ZIP archives, too. Actually, if audio files are packed directly in the archive, i.e. not in a folder, they can still be played back. So I have returned to the previous version (0.1), which I had saved, and all files in ZIP archives play well again.
Having noticed that, I realized that may also be the problem with RAR in the older version of the component (0.1). So I performed a test, I created the RAR archive containing an audio file not put in a folder, and voilà – it works!

Playback error
Code: [Select]
Decoding failure at 0:00.000 (Unsupported format or corrupted file):
"F:\Musique\La Femme\beko_36 la femme.rar.tags" / index: 1

Decoding failure at 0:00.000 (Unsupported format or corrupted file):
"F:\Musique\La Femme\beko_36 la femme.rar.tags" / index: 2

Decoding failure at 0:00.000 (Unsupported format or corrupted file):
"F:\Musique\La Femme\beko_36 la femme.rar.tags" / index: 3

Please download the component again. There was a glitch with the treatment of archives ('/' versus '\' kind of problem: fb2k is not very flexible with interchanging the slashes). I could only test with .zip archives, as I do not use Winrar. Please let me know what happens.

m-TAGS component (foo_tags)

Reply #190
Please download the component again. There was a glitch with the treatment of archives ('/' versus '\' kind of problem: fb2k is not very flexible with interchanging the slashes). I could only test with .zip archives, as I do not use Winrar. Please let me know what happens.

It works perfectly for ZIP now, however the problem remains for RAR, files in directories do not play.

m-TAGS component (foo_tags)

Reply #191
It works perfectly for ZIP now, however the problem remains for RAR, files in directories do not play.


Can you please make a rar and email it to Luigi@Miami-re.com?

I am travelino and I cannot work on it now, but I will look at it when I get back.

Also, did you recreate the m-TAGS file, or are you testing with a pre-existing one? This is important.

m-TAGS component (foo_tags)

Reply #192
Also, did you recreate the m-TAGS file, or are you testing with a pre-existing one? This is important.

I have sent you the RAR archive on the above-mentioned address. Yes, I always recreated the m-TAGS file, I hadn't stored the old ones which had not worked.

m-TAGS component (foo_tags)

Reply #193
Also, did you recreate the m-TAGS file, or are you testing with a pre-existing one? This is important.

I have sent you the RAR archive on the above-mentioned address. Yes, I always recreated the m-TAGS file, I hadn't stored the old ones which had not worked.


Please check your email. I sent you an updated version of the plugin. Let me know if you still have issues.

m-TAGS component (foo_tags)

Reply #194
Release 1.03 now available :-)

m-TAGS component (foo_tags)

Reply #195
Version 1.1 just released. It adds a few significant features:

1) m-TAGS files now encapsulate album art data. They reflect album art data present in the media file, and allow editing of the album art, but, abiding to m-TAGS philosophy, the album art is NOT inserted/removed into the media file until explicitely requested via the Tagging/Write m-TAGS to media files menu command. Album art is kept in binary files located in the folder where the m-TAGS file is.

2) "Pure" m-TAGS files are now supported. These are files without locators. They do not encapsulate any playable media, but they can be used by other input components to store metadata without having to write a specialized mechanism. All metadata i/o (including album art data i/o) can be deferred to the m-TAGS component. An instance of the input component may be obtained by simply calling input_entry::g_open_for_info_read(p_info_read_instance, NULL, <path to m-TAGS file>, p_abort) or input_entry::g_open_for_info_write(p_info_write_instance, NULL, <path to m-TAGS file>, p_abort).

The extension for a pure m-TAGS file is ".mtags". Note that you must obtain an m-TAGS input instance to load/save tags from/into an ".mtags" file using fb2k's SDK, because these files will NOT be recognized as media files (as they are not, indeed media files, nor files encapsulating media). As such, they will be trated in a playlist context just like any other non-recognized file.

When you use fb2k SDK calls, you MUST append an asterisk to the file path, because the pseudo-extension ".mtags*" IS recognized by the m-TAGS input component. For example, if you want to store your metadata in a file named "C:/Music/My Album/album.mtags" then I can obtain an m-TAGS I/O instance by calling input_entry::g_open_for_info_write(p_info_write_instance, NULL, "C:/Music/My Album/album.mtags*", p_abort).

Similarly, you can obtain an album art editor for the same file by calling album_art_editor::g_get_interface(p_album_art_editor, "C:/Music/My Album/album.mtags*").

3) Input instances and album art editors may be opened for files which do not exist yet. In such case, m-TAGS automatically creates an empty, single-tracked m-TAGS component, and the file is only created if tags are edited and committed. This way, there is no need to physically create a pure m-TAGS file until it is actually needed (i.e. until tags are edited by the user or tags are insterted by the calling input component and a commit requested).

This mechanism is expecially useful when writing input components which offer support for network URI's. Developers may concentrate on connection and decoding issues, leaving m-TAGS to carry out metadata and album art I/O operations on pure m-TAGS files stored in a designated folder. These files could be indexed so that if a network URI is loaded again, the metadata is automatically loaded.

m-TAGS component (foo_tags)

Reply #196
Thanks for the new version and the great plug-in.

I have been creating mixed m-TAG files that reference youtube links and my own media files. All was working well with the previous version I used (1.02). Now the displayed track lengths are messed up with 1.1. It seems that as soon as a flac file is referenced in the "@ " field all the subsequent youtube links that are referenced display the duration of that flac file. Even though the youtube links have their own "DURATION" fully specified, it is ignored. If the m-TAGS file is sorted such that the youtube links are first and then followed by the flac references then the track lengths display correctly. But this is an inadequate work around because loading the album with, e.g. album list\"by folder structure", then gives the tracks in the wrong order. Please can this be corrected or is there something else I should be doing?

Since installing 1.1 I have had to kill foobar2000 several times with task manager. Prior to that I have not had to do this, so this appears to be down to 1.1 but seeing as there is no crash log I cannot be sure.

m-TAGS component (foo_tags)

Reply #197
Thanks for the new version and the great plug-in.

I have been creating mixed m-TAG files that reference youtube links and my own media files. All was working well with the previous version I used (1.02). Now the displayed track lengths are messed up with 1.1. It seems that as soon as a flac file is referenced in the "@ " field all the subsequent youtube links that are referenced display the duration of that flac file. Even though the youtube links have their own "DURATION" fully specified, it is ignored. If the m-TAGS file is sorted such that the youtube links are first and then followed by the flac references then the track lengths display correctly. But this is an inadequate work around because loading the album with, e.g. album list\"by folder structure", then gives the tracks in the wrong order. Please can this be corrected or is there something else I should be doing?

Since installing 1.1 I have had to kill foobar2000 several times with task manager. Prior to that I have not had to do this, so this appears to be down to 1.1 but seeing as there is no crash log I cannot be sure.


Thanks a lot for the report. Can you please do the following?

1) Download it again from here (it is an updated version)

2) Open the console and make it create a log file

3) Turn the verbose logging on (in Preferences/Advanced/Tagging/m-TAGS)

4) Reproduce the crash

5) Send me the log file (or publish it here)

About the duration issue: m-TAGS "cascades" tags. I did notice that the cascading was not properly handled when generating m-TAGS files through the m-TAGS creator. In other words, if an encapsulated media URI did not have a known duration, then the creator "forgot" to create an empty DURATION tag, so the duration would cascade from the previous tag. This seems to be what happens with your files. The updated version SHOULD fix this. Can you please let me know if it does?

Thanks again!!!

m-TAGS component (foo_tags)

Reply #198
Since the log file is rather long I have sent it to you at the home page address: info@m-tags.org. I hope that's OK