Welcome Guest

Pages: 1 2 3
Multi value fields and separator question
UKenGBPostApril 1, 2021, 14:21
Advanced
Posts: 57
Registered:
April 30, 2020, 09:36
Very Hot topicMulti value fields and separator question

My only concern these days is Plex, but I'm not 100% on what delimiters it accepts, or doesn't accept and realistically, Genre is the only tag I'm thinking of. Currently Plex does support multiple tags, so multiple Genres can be applied, but I need to figure out how and what it imports as although tags can be edited later, trying to do that for 1500 albums is a chore I'd rather avoid. 😥 I want to know how to the the files first, so that they end up in Plex with the correct multiple Genres as contained in the files' metadata.

2MR2PostApril 1, 2021, 14:59
Avatar photo
Administrator
Posts: 2084
Registered:
August 23, 2012, 19:27
Very Hot topicMulti value fields and separator question

I think you said in another post that Genres are working okay. If your were using ID3v2.3 and it worked then they're parsing semi-colons. If that's the case try one MPEG-4 file and see if they do they same.

UKenGBPostApril 2, 2021, 08:38
Advanced
Posts: 57
Registered:
April 30, 2020, 09:36
Very Hot topicMulti value fields and separator question

Transferring my entire media preparation workflow to Yate is a bigger job than I thought it would be. Not Yate's fault and will be great when done.

Quick, slightly unrelated question though.

Where does Yate store the Action scripts?

Are they actual files? If so, I was wondering if I could create hard links, so the same Action could be called by different names. Does Yate ever create new files/links instead of simply updating the existing ones. If so that would break the connection and they'd become 2 separate file.

2MR2PostApril 2, 2021, 09:44
Avatar photo
Administrator
Posts: 2084
Registered:
August 23, 2012, 19:27
Very Hot topicMulti value fields and separator question

Actions are stored in the preference bundle and are not physical files. To call an action by a different name create a one line action which runs it.

Yate maintaining name changes across templates and actions was intentional and was a ton of work. It can sometimes however be a pain. I simply duplicate the action from the context menu in the Action Manager. Rename and work on the duplicate. That way references to the original will not change.

As you write more actions it is a good idea to backup. Actually it's better than a good idea. You can back via Yate>Export Preferences or via export from within the Action Manager. Yate creates a backup every time it is run but they cycle pretty fase.

UKenGBPostApril 2, 2021, 11:00
Advanced
Posts: 57
Registered:
April 30, 2020, 09:36
Very Hot topicMulti value fields and separator question

Yes, just found them in the Prefs file. So hard links not gonna work. Never mind, just an idea I was investigating. I'll use a different method, such as you suggest as that was my plan B.

2MR2PostApril 2, 2021, 11:15
Avatar photo
Administrator
Posts: 2084
Registered:
August 23, 2012, 19:27
Very Hot topicMulti value fields and separator question

You can create action droplets on your desktop and move them wherever you'd like.

UKenGBPostApril 8, 2021, 07:57
Advanced
Posts: 57
Registered:
April 30, 2020, 09:36
Very Hot topicMulti value fields and separator question

I've been testing this multi-value issue on an mp4 movie file.

In Yate, the Genre is Drama;;;Action;;;Adventure and when set to Single Atom, this shows exactly like that, with all the ;s in Plex and MediaInfo.

Set Yate to Single Atom / Multiple Data and MediaInfo shows Drama / Action / Adventure, but Plex shows [Drama] and [Action/Adventure] as 2 separate tags.

Set Yate to Multiple Atoms and MediaInfo again shows Drama / Action / Adventure, but Plex now shows [Adventure] and [Action/Adventure].

Seems to me that MediaInfo is correctly handling all three versions. However, I have no idea what Plex is doing. It appears to understand the last 2 alternatives, but then bizarrely groups 2 of them together and seems to choose another at random to be a second tag.

Any clues?

2MR2PostApril 8, 2021, 08:37
Avatar photo
Administrator
Posts: 2084
Registered:
August 23, 2012, 19:27
Very Hot topicMulti value fields and separator question

In Yate, the Genre is Drama;;;Action;;;Adventure and when set to Single Atom, this shows exactly like that, with all the ;s in Plex and MediaInfo.

More or less as expected. Blame iTunes/Music.

Set Yate to Single Atom / Multiple Data and MediaInfo shows Drama / Action / Adventure, but Plex shows [Drama] and [Action/Adventure] as 2 separate tags.

Not sure why Plex is doing this. This method is according to spec even if it is not used by many applications. If they're parsing it I don't know why they wouldn't treat it as intended. Perhaps file it as a bug. It seems like it's half implemented.

Set Yate to Multiple Atoms and MediaInfo again shows Drama / Action / Adventure, but Plex now shows [Adventure] and [Action/Adventure].

This method is technically invalid. Plex is taking the last instance but again somehow is keeping some of the preceding data. Strange.

I would conclude that Plex is simply not handling multiple values in MPEG-4 files ... at least in the Genre field. MediaInfo, like Yate, is attempting to handle all variants in a logical manner.

UKenGBPostApril 9, 2021, 10:46
Advanced
Posts: 57
Registered:
April 30, 2020, 09:36
Very Hot topicMulti value fields and separator question

When writing multiple values to MPEG-4 files in Single Atom / Multiple Data mode, what is the delimiter written to the file? Does that use NULL char same as ID3 2.4? Otherwise what?

2MR2PostApril 9, 2021, 11:02
Avatar photo
Administrator
Posts: 2084
Registered:
August 23, 2012, 19:27
Very Hot topicMulti value fields and separator question

It's entirely different. MPEG-4 files uses a hierarchal structure of nested atoms. Every field is identified as a primary atom which contains at least one 'data' atom. When using Single Atom / Multiple Data there is more than one data atom.

Heres the output (ignore the offsets) for two artists:

Single atom mode:

000000084474 000000084523 000000000049 ©ART
000000084482 000000084523 000000000041 data

84474: 00 00 00 31 a9 41 52 54 00 00 00 29 64 61 74 61 00 00 00 01 |...1©ART...)data....|
84494: 00 00 00 00 4d 61 72 6b 20 4b 6e 6f 70 66 6c 65 72 3b 3b 3b |....Mark Knopfler;;;|
84514: 42 6f 62 20 44 79 6c 61 6e |Bob Dylan |

Single Atom / Multiple Data

000000084474 000000084536 000000000062 ©ART
000000084482 000000084511 000000000029 data
000000084511 000000084536 000000000025 data

84474: 00 00 00 3e a9 41 52 54 00 00 00 1d 64 61 74 61 00 00 00 01 |...>©ART....data....|
84494: 00 00 00 00 4d 61 72 6b 20 4b 6e 6f 70 66 6c 65 72 00 00 00 |....Mark Knopfler...|
84514: 19 64 61 74 61 00 00 00 01 00 00 00 00 42 6f 62 20 44 79 6c |.data........Bob Dyl|
84534: 61 6e |an |

Multiple Atoms:

000000084474 000000084511 000000000037 ©ART
000000084482 000000084511 000000000029 data
000000084511 000000084544 000000000033 ©ART
000000084519 000000084544 000000000025 data

84474: 00 00 00 25 a9 41 52 54 00 00 00 1d 64 61 74 61 00 00 00 01 |...%©ART....data....|
84494: 00 00 00 00 4d 61 72 6b 20 4b 6e 6f 70 66 6c 65 72 |....Mark Knopfler |

84511: 00 00 00 21 a9 41 52 54 00 00 00 19 64 61 74 61 00 00 00 01 |...!©ART....data....|
84531: 00 00 00 00 42 6f 62 20 44 79 6c 61 6e |....Bob Dylan |

You can have this information displayed via View>Raw Data.

Pages: 1 2 3
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.024 seconds.