@cmknoll3 wrote:
So I've been banging my head on this one for a couple days. I'm new to flexget but I have a config file working just fine to automatically download, move, organize and rename my TV shows, but I can't figure out how to do the same with my comic books. I've got it successfully downloading only my selected titles (I believe) from Nem43's uploads on Worldwidetorrents with Transmission and then moving said comic book files upon completion into my comics library directory on an external hard drive.
I'm having 2 problems though, both having to do with lack of metadata support with flexget (at least not easily found support) like there is for TV and movies. First, I would like to have these comics sorted into folders based on their titles. Something like what works with my tv show sorting:
move: to: /Path/to/comics/directory/{{ Series Title }}
And second, I would like all of my files renamed to get rid of extraneous info in the filenames (publication years, digital format, upload source, etc) and just make it all uniform and match the format 'SERIES TITLE - ISSUE NUMBER' (e.g. 'Action Comics - 998.cbz'). If at all possible, I would also like to have it format the issue number into 3 digits (e.g. 'Batman - 038.cbr') and keep the format ISSUE NUMBER of ISSUES (e.g. 'Cool Miniseries - 005 (of 006).cbz') for a mini series, but that's less of a concern.
With TV shows, I can get metadata like the series names or seasons and episodes with something like thetvdb_lookup, but there is no equivalient of that for comics that I'm aware of, so I cannot figure out how to dynamically rename comic files or how to sort them appropriately.
It may be a cobbled together mess (mostly copied from other people's posted codes), but here's my config.yml file:
templates: global: # Make sure all filenames are Linux-safe: pathscrub: linux manipulate: - title: replace: regexp: 'annual (\d){1,4}' format: 'Special A\1' - title: replace: regexp: 'special (\d){1,3}' format: 'Special SP\1' comics: series: settings: default: identified_by: sequence sequence_regexp: (\d+) default: - action comics: begin: 998 - aquaman: begin: 34 - batman: begin: 42 - blue beetle: begin: 18 - detective comics: begin: 975 - the flash: begin: 41 - the flintstones: begin: 12 - green lanterns: begin: 42 - hal jordan and the green lantern corps: begin: 39 - the jetsons: begin: 5 - justice league: begin: 40 - justice league of america: begin: 25 - new super-man: begin: 21 - nightwing: begin: 40 - raven daughter of darkness: begin: 2 - red hood and the outlaws: begin: 20 - scooby apocalypse: begin: 23 - sideways: begin: 2 - supergirl: begin: 19 - superman: begin: 42 - super sons: begin: 14 - superwoman: begin: 18 - teen titans: begin: 17 - titans: begin: 21 - trinity: begin: 19 - wonder woman: begin: 41 # Image - Saga: begin: 49 - Morning Glories: begin: 50 content_filter: require: - '*.cbz' - '*.cbr' - '*.cbt' - '*.cb7' content_size: max: 800 strict: no schedules: - tasks: [tv-download-rss, comics-download-rss] interval: hours: 1 - tasks: [tv-sort-files, comics-sort-files] interval: minutes: 15 tasks: tv-download-rss: rss: http://showrss.info/user/156329.rss?magnets=true&namespaces=true&name=null&quality=null&re=null all_series: yes transmission: host: localhost port: 9091 username: **************** password: **************** tv-sort-files: filesystem: path: /home/vadersapp/Downloads/ recursive: yes regexp: '.*\.(avi|mkv|mp4)$' accept_all: yes seen: local thetvdb_lookup: yes all_series: parse_only: yes move: to: /media/vadersapp/2TB/Videos/TV/RSS_Feed/{{ tvdb_series_name }} rename: '{{ tvdb_series_name }} - {{ series_id }} - {{ tvdb_ep_name }}{{ location | pathext }}' clean_source: 500 comics-download-rss: rss: url: https://worldwidetorrents.unblocked.sh/rss.php?cat=132&dllink=1 template: comics torrent_alive: yes transmission: host: localhost port: 9091 username: vadersapp password: dbzrulez3 comics-sort-files: filesystem: path: /home/vadersapp/Downloads/ recursive: yes regexp: '.*\.(cbz|cbr|cbt|cb7)$' accept_all: yes seen: local all_series: parse_only: yes template: comics move: to: /media/vadersapp/2TB/Comics/RSS_Feed/ clean_source: 30
Posts: 2
Participants: 1