Skip to content

salmanulfarzy/filebot-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Integration with qBitTorrent

/usr/bin/filebot -script fn:amc \
    --output "$HOME/Media" \
    --action 'move' \
    --conflict 'skip' \
    -non-strict \
    --log-file 'amc.log' \
    --def excludeList=amc.excludes
    --def unsorted=y \
    --def subtitles=en \
    --def clean=y \
    --def "ut_dir=%F"
    --def "ut_kind=multi" \
    --def "ut_title=%N" \
    --def "ut_label=%L" \
    --def "seriesFormat={home}/Media/TV Shows/{n}/{'Season '+s}/{n} - {s00e00} - {t}" \
    --def "movieFormat={home}/Media/Movies/{info.SpokenLanguages.displayLanguage[0]}/{n} {[y, genre, rating]} / {n} ({y}) [{fn.findMatch('scr|hq') ? 'Scr, ' : {fn.findMatch('TV') ? 'TV, ' : null} }{vf}, {vc}]"

Copy friendly format

/usr/bin/filebot -script fn:amc --action 'move' --conflict 'skip' -non-strict --log-file 'amc.log' --def excludeList=amc.excludes unsorted=y clean=y "ut_dir=%F" "ut_kind=multi" "ut_title=%N" "ut_label=%L" "seriesFormat={home}/Media/TV Shows/{n}/{'Season '+s}/{n} - {s00e00} - {t}" "movieFormat={home}/Media/Movies/{info.SpokenLanguages.displayLanguage[0]}/{n} {[y, genre, rating]}/ {n} ({y}) [{fn.findMatch('scr|hq') ? 'Scr, ' : {fn.findMatch('TV') ? 'TV, ' : null} }{vf}, {vc}]"

Format expressions

Format expressions used with filebot

Movies

Movies/{info.SpokenLanguages.displayLanguage[0]}/{n} {[y, genre, rating]} / {n} ({y}) [{fn.findMatch('scr|hq') ? 'Scr, ' : {fn.findMatch('TV') ? 'TV, ' : null} }{vf}, {vc}]

Categorise movies based on language and tag folder with year, primary genre and rating. Tag files with video format and video codec. Lower quality files like Scr, HQ or TVRip will be specifically tagged, Standard formats like DVDRip or BRRip won't be affected.

Bit explanation on non-standard expressions used here.,

Expression Explanation
info.SpokenLanguages.displayLanguage[0] Primary language used in movie, Useful when you watch movies from multiple languages.
[{fn.findMatch('scr|hq') ? 'Scr, ' : {fn.findMatch('TV') ? 'TV, ' : null} Tag file if it's either Scr, HQ or TVRip.

Series

TV Shows/{n}/{'Season '+s}/{n} - {s00e00} - {t}

Categorise based on series name and seasons.

TODO

  • Hide rating if rating == 0.0
  • Check for subtitles only if language other than Malayalam or Tamil (Based on SpokenLanguages`)
  • Use Genre only for movies produced outside India(country info available)

Resources

About

Filebot format expressions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published