Organize movies into Drive G with custom movie format

Any questions? Need some help?
Post Reply
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need some help with commands

Post by rednoah »

Just use a format such as this:

Code: Select all

G:/{plex}
And you will get destination paths such as this:

Code: Select all

G:/Movies/Avatar (2009)/Avatar (2009).mp4

Image


:idea: Please read How to Request Help.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Organize movies into Drive G with custom movie format

Post by rednoah »

e.g.

Code: Select all

G:/Movies/{genre}/{ny}/{ny}

:!: By adding genre folders, you are explicitly making your library not what Plex expects, since the Plex Naming Standard defines a specific file and folder structure, that that standard does not entail genre folders:

:arrow: https://support.plex.tv/articles/catego ... dia-files/
:arrow: viewtopic.php?t=4116
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Organize movies into Drive G with custom movie format

Post by rednoah »

Well, your choice. I just know what the Plex documentation says.

e.g.

Code: Select all

G:/Movies - {genre}/{ny}/{ny}
{genre} is the first genre. It may not always be the one you want it to be though, since movies usually have many genres, and people may disagree on the order.
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Organize movies into Drive G with custom movie format

Post by kim »

try something like so:

Code: Select all

{'G:/Movies - '}{genre}{'/' + ny}{'/' + ny}
By looking at your pic this can work for you:

Code: Select all

{'G:/Movies'}{genres.contains('Animation') ? '_Cartoon' : genres.contains('Horror') ? ' - Horror' : ''}{'/' + ny}{'/' + ny}
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Organize movies into Drive G with custom movie format

Post by rednoah »

The format above will absolutely move the file into G: as the format will also yield an absolute path. It leaves now room for ambiguity.

If it does not, then you have not set the format. Please include screenshots so we can better see what you’re doing to better help you out. ;)
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Organize movies into Drive G with custom movie format

Post by kim »

based on Firestarter (1984) https://www.imdb.com/title/tt0087262
this is better for you:

Code: Select all

{'G:/Movies'}{omdb.genres.contains('Animation') ? '_Cartoon' : omdb.genres.contains('Horror') ? ' - Horror' : 
''}{'/' + ny}{'/' + ny}
output:
G:/Movies - Horror/Firestarter (1984)/Firestarter (1984)
Post Reply