Organize movies into Drive G with custom movie format

Any questions? Need some help?
Post Reply
jd443
Posts: 6
Joined: 09 Jan 2020, 15:16

Organize movies into Drive G with custom movie format

Post by jd443 » 09 Jan 2020, 15:28

I actually found this on this website and it works perfectly for me. It will rename my tv shows and move them from the one drive to the storage drive for plex. I can not duplicate the same results with movies. It will rename them, but not move them into correct drive.

Here is the tv command that works as intended. It will rename everythign including folder and move it to correct drive.

Code: Select all

g:/TV/{n}/Season {s.pad(2)}/{n} - {s00e00} - {t}]
I tried to duplicate with movies and it will only rename the movie. Not the folder in it nor move it to correct drive. Any help would be appreciated.

Code: Select all

G:/Movies - Horror/{n}/ ({y})/{n} ({y})

User avatar
rednoah
The Source
Posts: 17783
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need some help with commands

Post by rednoah » 09 Jan 2020, 16:04

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.

jd443
Posts: 6
Joined: 09 Jan 2020, 15:16

Re: Organize movies into Drive G with custom movie format

Post by jd443 » 09 Jan 2020, 16:45

Wow....I was over complicating it. That makes it so easy. Thanks man. Gonna try it out.

Ok that works for movies folder. But how do I set it for Movies - Horror? Or vica vers.. like Movies - Comedy?

Just for examples. I try and put different genres in different folders to keep my plex library clean.

User avatar
rednoah
The Source
Posts: 17783
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Organize movies into Drive G with custom movie format

Post by rednoah » 09 Jan 2020, 18:23

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.

jd443
Posts: 6
Joined: 09 Jan 2020, 15:16

Re: Organize movies into Drive G with custom movie format

Post by jd443 » 09 Jan 2020, 19:23

It works that way just fine. I have separate directory for different genre. I added each movie directory and basically set it up as a different library. Works fine. Only problem is getting filebot to copy to correct folder.....ie. movies - horror ... movies - comedy....etc. Im still adding more folders for different genres.... This way is easier to share and share not with my kids, etc. I'm not trying to add separate folders inside the movie library folder. Different folders on the root of the drive for different libraries or genres.

Image

User avatar
rednoah
The Source
Posts: 17783
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Organize movies into Drive G with custom movie format

Post by rednoah » 09 Jan 2020, 20:18

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.

jd443
Posts: 6
Joined: 09 Jan 2020, 15:16

Re: Organize movies into Drive G with custom movie format

Post by jd443 » 10 Jan 2020, 11:31

Okay-thanks for simplifying it.

jd443
Posts: 6
Joined: 09 Jan 2020, 15:16

Re: Organize movies into Drive G with custom movie format

Post by jd443 » 11 Jan 2020, 00:59

That script does not work. ALl it does is rename the movie, but doesnt move it into correct drive. In fact only renames the media file, not the folder it is sitting in..which is even weirder. It doesnt even make a genre folder, just simply renames media file.. ANy ideas?

kim
Power User
Posts: 898
Joined: 15 May 2014, 16:17

Re: Organize movies into Drive G with custom movie format

Post by kim » 11 Jan 2020, 06:23

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: 17783
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Organize movies into Drive G with custom movie format

Post by rednoah » 11 Jan 2020, 08:14

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: 898
Joined: 15 May 2014, 16:17

Re: Organize movies into Drive G with custom movie format

Post by kim » 12 Jan 2020, 01:03

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)

jd443
Posts: 6
Joined: 09 Jan 2020, 15:16

Re: Organize movies into Drive G with custom movie format

Post by jd443 » 16 Jan 2020, 07:06

Awesome thanks and I realize one of my biggest problems was I was selecting episode movie db instead of the other setting for movie db//movie mode. Now I figured that out....I feel like a dumb ass bothering when it was my user error. Now I put it on movie mode its working fine. Now need to figure out to make the amc script run and copy from guthub and I'm set., Thanks man.

P.s The new script is perfect and functioning, especially now I selected movie mode..dur. LOL :lol:

Post Reply