include the ID number for the movie

All about user-defined episode / movie / file name format expressions
Post Reply
getiptvnow
Posts: 1
Joined: 17 Apr 2020, 14:51

include the ID number for the movie

Post by getiptvnow »

What im trying to do is capture the ID number in the file name for a movie, for example

Movie:
Sonic the Hedgehog (2020)

Current renames to:
Sonic the Hedgehog (2020).mkv

Script: Current
--output "/XXX/XXX" --action move --conflict auto -non-strict --def minFileSize=100000000 --def minLengthMS=1800000 --def unsorted=y --def artwork=n ut_label=Movie movieFormat="{genre}/{plex.name}"


im looking to see if it can include the ID number for the movie:

URL example of the movie: https://www.themoviedb.org/movie/454626
Movie ID: 454626

Output example: something like below, movie name (year) (movie id)
Sonic the Hedgehog (2020) (454626)
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Movie Renaming feature?

Post by rednoah »

Just add {id} to your format:

Code: Select all

{id}

e.g.

Code: Select all

{genre}/{plex.derive{" ($id)"}.name}
:idea: Please read the FAQ and How to Request Help.
Post Reply