Page 1 of 1

Re: Need some help with commands

Posted: 09 Jan 2020, 16:04
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.

Re: Organize movies into Drive G with custom movie format

Posted: 09 Jan 2020, 18:23
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

Re: Organize movies into Drive G with custom movie format

Posted: 09 Jan 2020, 20:18
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.

Re: Organize movies into Drive G with custom movie format

Posted: 11 Jan 2020, 06:23
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}

Re: Organize movies into Drive G with custom movie format

Posted: 11 Jan 2020, 08:14
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. ;)

Re: Organize movies into Drive G with custom movie format

Posted: 12 Jan 2020, 01:03
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)