Page 1 of 1

Automated Media Center with different output directories

Posted: 29 Jan 2014, 00:48
by ks7
I'm planning on setting up an automated system to process all of my downloads as outlined here, but it looks as though the default script is set to output all files to the same main directory. I plan on splitting my media across 2 or 3 different drives, is there an argument to set a different output directory for each type of media (i.e TV, movies, and music)? Thanks!

Re: Automated Media Center with different output directories

Posted: 29 Jan 2014, 00:59
by rednoah
Just define absolute paths in your format.

There's some examples here as well:
http://www.filebot.net/forums/viewtopic.php?f=5&t=2

In the Advanced Format Expressions section there is multiple examples for this. And you can have your own logic as well naturally.

Re: Automated Media Center with different output directories

Posted: 29 Jan 2014, 22:56
by ks7
I'm having trouble figuring out the exact syntax for having it place the different media types into different folders. Basically, here's what I'm trying to do:

Files are input from the completed uTorrent download directory at G:\Downloads

Files are renamed and sorted into the following:
G:\Movies for movies
F:\TV for TV shows
E:\Music for music

Sorry to ask for the dumbed down version, I can't quite figure it out on my own :(. I appreciate the fast help though!

Edit: I just sent a donation, I don't think I've ever seen a dev respond this quickly to specific help requests before :)

Re: Automated Media Center with different output directories

Posted: 30 Jan 2014, 06:19
by rednoah
If you want to override the base folder you just have to pass in an absolute format for each movieFormat/seriesFormat/musicFormat.


e.g.

Code: Select all

--def "movieFormat=M:/Movies/{n} ({y})/{n} ({y}) {'CD'+pi}" "seriesFormat=S:/TV/{n}/{'Season '+s}/{n} {sxe} {t}"

Re: Automated Media Center with different output directories

Posted: 30 Jan 2014, 20:46
by ks7
So just to double check, this would be the complete modified script?

Code: Select all

filebot -script fn:amc --log-file amc.log --action copy --conflict override -non-strict --def "movieFormat=G:/Movies/{n} ({y})/{n} ({y}) {'CD'+pi}" "seriesFormat=E:/TV/{n}/{'Season '+s}/{n} {sxe} {t}" music=y subtitles=en artwork=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" --def plex=hostname

I'm also planning on integrating everything with Plex, and I see that the default AMC script is set to download artwork. It looks like the default script is set up to put each movie into a subfolder anyway, is it already set up to deposit artwork and subtitles into the same folder, and if so is it possible to set it to rename the artwork for each to poster.jpg? (it looks as though Plex requires that setup)

I decided as well that I want to have filebot move music folders into a directory (F:/Music) but not touch them other than that, is there an easy way to add that to the script?

Also, I'm having difficulty figuring out a CLI command to go back and download subtitles/ posters for movies/ tv shows that I've already sorted/ renamed using filebot, any chance you could make a script/command for that? I was trying to use the normal subtitle interface, but it seemed to do nothing after adding the files and clicking "download".

To be blunt, I'm basically looking for the script to be made at this point since I seem to be hopelessly lost with understanding all of the syntax for the scripts/ etc :P. I'd be more than happy to toss a second donation your way to thank you for your help :).

Thanks again for your assistance, I feel like I might as well have posted under the "Hire Me" section at this point :P

Re: Automated Media Center with different output directories

Posted: 31 Jan 2014, 03:07
by rednoah
1.
Try it and see what happens. You can try with --action test beforehand. ;)

I gave you a simple example, you may want to change the format a bit to what you want. Like add dashes between numbers and title or whatever.

You can see the default formats in the script for reference:
http://filebot.net/scripts/amc.groovy

2.

Code: Select all

--def "musicFormat=M:/New Music/{fn}"
3.
Artwork for TV Shows => http://www.filebot.net/forums/viewtopic ... 4&t=5#p204
Artwork for Movies => http://www.filebot.net/forums/viewtopic ... 4&t=5#p205

4.
Missing subtitles:

Code: Select all

filebot -script fn:suball /path/to/folder