Skip to content

Instantly share code, notes, and snippets.

View spartazhc's full-sized avatar

spartazhc spartazhc

  • Shanghai Jiaotong University
  • Shanghai
View GitHub Profile
@spartazhc
spartazhc / qb_dispatch.py
Last active October 12, 2023 15:41
qbittorrent link dispatcher
#!/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