Action to set TV Episode funny behavior

IMy convention is to name TV files like s01e03 - Title and I have an action to parse data into the fields

For some reason, the TV Episode is always getting set to 1\06 where 1 is the season and 06 is the episode, although the TV Episode column only shows a 1 (the season) but the left side shows the 1\06

I'm very confused since I'm kindof positive it used to work like I wanted and only put the episode number in

Has there been a change or what should I change?

Thanks

The double backslash \\ is a placeholder character showing that you have two fields named episode. Something in your actions is writing a second field.

That was interesting. I went into Extended tags and there were 2 TVEPISODE enteries

Delete the TVEPISODE = 1 and the correct one now shows

BUT clearing them all and rerunning my action puts the 2 TVEPISODEs back in Extended Tags

I don't see any of the actions that would do that

Further ideas?

Knowing it is somewhere in the action now, I would try to simplify things. Create a new action and add one line at a time and run it. When the unexpected results happen it will be from the last line added.

In your screenshot I see an empty line between TVEPISODE and TVSEASON - what could that be?
Also, I see no field TRACK although you set it with an action - could it be that the TVEPISODE is mapped to TRACK (or vice versa)?

Don't know why there was a blank line in the image, there wasn't on in the action
TRACK is set in the action = TVEPISODE and it is correct

Blanking TRACK and TVEPISODE and then running my action

doubles the TVEPISODE tags

Deleting the =1 line fixes it

With just the one line it works

Not setting DISCNUMBER then it works

Is there a setting or tag mapping that I'm not understanding?

Thanks for the pointers and tips

Yes, Matroska video MKV has a mapping from TVEPISODE to Matroska's PART_NUMBER on the T=50 target type (used for episodes for TV series as outlined in the Matroska Tags technical documentation).

This mapping is also used when writing DISCNUMBER, which results in duplicate TVEPISODE values for MKV files.

See also Tag Field Mappings → DISCNUMBER in Mp3tag's Documentation.

OK, I can work with that now that I know what's going on

My much older TV collections were set correctly but they were MP4s. It's only been recent that MKVs were added

Thanks again

Seeing this now makes more sense, given the recent changes in mp3tag for handling mkv files. There was no mmention of this earlier and I didn't think to ask. Glad this was worked out.

With the new mkv mappings, does this mean there is now no way to indicate disc numbers for multi-disc packages? TV show collections often have many seasons and often each season needs several discs.

I suppose this isn't so important in the grand scheme of things, as long as the season and episode numbers work to keep things in order. It just drops the original disc information.

Yes. If I'd remove the mapping of DISCNUMBER to Matroska's PART_NUMBER on the T=50 target type for MKV files, everything that now reads from and writes to DISCNUMBER would use a user-defined field.