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
| #!/usr/bin/python3 | |
| # this script work as qbittorrent's external program and will | |
| # rename and create hard link for emby/jellyfin to scrape easily | |
| # film and episodes naming rule follows https://jellyfin.org/docs/general/server/media/movies.html | |
| # 2021-01-26 by spartazhc | |
| # Usage: download this python script, setup in qbittorrent | |
| # Option -> Download -> Run external program on torrent completion | |
| # set as /path_of_script/qb_dispatch.py -f "%F" -c "%L" -n "%N" | |
| # Set categories "episodes" and "films", choose them when add torrent |