Set Media Tag not following selected naming scheme

All your suggestions, requests and ideas for future development
Post Reply
loucipher
Posts: 2
Joined: 15 Jul 2025, 14:26

Set Media Tag not following selected naming scheme

Post by loucipher »

Hi, this is either a feature request/bug report, or I need some schoolin'. I just discovered the Post Processing option "Set Media Tags". Which is awesome, I've been doing this manually for years, but sometimes I forget. This prevents that forgetfulness.

However, unless I'm missing an option to configure it, this tagging option doesn't follow the same naming config as the file names. For instance, suppose I have my episode format set to:

Format: Select all

{n} - {s00e00} - {t}{subt}
Resulting in, for example:

Code: Select all

Firefly - S01E01 - Serenity
The media tag still defaults to:

Format: Select all

{n} - {sxe} - {t}
Resulting in a tag of:

Code: Select all

Firefly - 1x01 - Serenity
Can this be changed so it's either independently configurable, or just match the file naming format? Like, a dialog that lets you set the format, with a checkbox to just follow the file name format (which, when checked, would grey out the manual entry box, presumably). That would be great, as for now I'm back to tagging them manually with my little one-liner.
User avatar
rednoah
The Source
Posts: 24033
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Set Media Tag not following selected naming scheme

Post by rednoah »

:idea: The Set media tags post-processing feature does indeed use the inherent String representation of the Episode / Movie metadata object at hand. (NOTE: we could easily change that to the new file name but there is quite possibly a silent majority that would prefer the current behaviour; though I cannot know for sure one way or another; if a handful of others request the same change then I will think about it)


:arrow: You can however add your own Custom Post-Processing Script based on the Set Media Title example if you want to set the media title property to some custom value as part of the process:

Groovy: Select all

{ source, target ->
	if (ext == /mkv/) {
		system 'mkvpropedit', target, '--edit', 'info', '--set', "title=$fn"
	}
}



EDIT:

:idea: If you're setting the embedded media title for your media player, then make sure to read How do I change the media title property? How do I make Plex display nice titles? because you can usually just configure your media player to just not use embedded media titles instead of setting them to the file name on all your files.
:idea: Please read the FAQ and How to Request Help.
loucipher
Posts: 2
Joined: 15 Jul 2025, 14:26

Re: Set Media Tag not following selected naming scheme

Post by loucipher »

(NOTE: we could easily change that to the new file name but there is quite possibly a silent majority that would prefer the current behaviour; though I cannot know for sure one way or another; if a handful of others request the same change then I will think about it)
That was why I suggested it as I did. Continue to keep the existing behavior by default, but provide an option to override. That way, nobody who uses it as is now is impacted or forced to reconfigure, but the option exists for those of us who do want to.

Thanks for the info on the custom script, I'll get that going. Just might be nice to have the option right in the GUI.
Post Reply