Last active
June 7, 2017 13:17
-
-
Save patrickwelker/b3006ff99c51c655540a3b854abc6ee1 to your computer and use it in GitHub Desktop.
My default Filebot script skeleton
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Paths | |
fb_bin="/usr/local/bin/filebot" | |
fb_log="$HOME/.logs/filebot.log" | |
fb_exclude="$HOME/.logs/filebot_processed.txt" | |
fb_library="/PATH-TO-VIDEOS" | |
fb_source="/PATH-TO-DESTINATION" | |
plex_ip="IP-HERE" | |
plex_token="TOKEN-HERE" | |
pushover="PUSHOVER-TOKEN" | |
$fb_bin -script fn:amc --output "$fb_library" -non-strict "$fb_source" \ | |
--def clean="y" ${IFS# remove clutter} \ | |
--def unsorted=n \ | |
--def ignore=Cartoons \ | |
--def pushover="$pushover" \ | |
--def "ut_label=Movies" ${IFS# TV, Movie, Anime, audio} \ | |
--def excludeList="$fb_exclude" \ | |
--def plex="$plex_ip":"$plex_token" \ | |
--def movieFormat="Movies/{n} ({y}){' CD'+pi}{'.'+lang}" seriesFormat="{plex}" animeFormat="{plex}" \ | |
--log-file "$fb_log" \ | |
--conflict skip ${IFS# never override existing files} \ | |
--action move ${IFS# MOVE,COPY,KEEPLINK,SYMLINK,HARDLINK,DUPLICATE,REFLINK,TEST} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also quite useful, fetching artwork for movies with this command
filebot -script fn:artwork.tmdb "PATH-TO-MOVIE" --lang de -non-strict
.