Help setting up naming convention for PLEX and Kometa

Support for Windows users
Post Reply
NonSpecific
Posts: 1
Joined: 11 Jun 2024, 12:40

Help setting up naming convention for PLEX and Kometa

Post by NonSpecific »

Hey guys,

New to the forum here, but need some help. I know next to nothing about coding or scripting but have managed to come up with this basic script which names movies and tags them.

Format: Select all

{ drive }/Media/{ plex.id * " [" * {vf} * "] " * "[" * { hdr.replace('HDR10+':'HDR10Plus') } * "]"}
Let say there is something with no HDR, this is what it gives me:

Code: Select all

Y:/Media/Movies/Fight Club (1999) {tmdb-550} [1080p] []/Fight Club (1999)
I do not want the [] on the end if there is no HDR present.

Any help would be greatly appreciated!!

Also if anyone is willing to just completely overhaul this as well, would also be greatly appreciated :)
User avatar
rednoah
The Source
Posts: 24026
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Help setting up naming convention for PLEX and Kometa

Post by rednoah »

e.g.

Format: Select all

{ drive }/
Media/
{
	plex.id
	* { ' [' + vf + ']' }
	* { ' [' + hdr.replace('+':'Plus') + ']' }
}
:arrow: See Learn how {expressions} work and useful Helper Functions for details.

:arrow: See {plex} format for examples.
:idea: Please read the FAQ and How to Request Help.
Post Reply