Solved: Flexget can be used to get full TVDB info
https://github.com/dbr/tvnamer can already be run at CLI but doing so on an active torrent would kill seeding.
It appears via some other functions that deluge supports renaming without distrupting seeding via some other plugins such as the Bulk rename, and the flexget plugin is also appears to be able to change names but maintain seeding.
Having a proper episode naming plugin similar to tvnamer would be very handy.
[Solved] TVNamer type plugin
[Solved] TVNamer type plugin
Last edited by Lazybones on Sat Jan 07, 2012 9:05 pm, edited 1 time in total.
Re: [Request] TVNamer type plugin
What is the desired behavior?
Re: [Request] TVNamer type plugin
Watch for video files in torrents (ext mkv,avi,mov etc) that contain user defined key words or a regex ([name1]|[Name2]) then do a look up on them and return a defined format for the episode.
IE
Turn something like this:
some.show.1x4.[name1].Xvid.avi
some.show.S1E4.[name2].some.title.avi
Into:
Some Show - S01E04 - The nice title of the episode.avi
If you were just to run TVNamer with an exec on complete script it may or may not work if Deluge has locked the file, or it may work and deluge will stop seeding. Thus having a plugin that does this would be rather nice.
On the other hand it could be done with exec if as requested in another topic it had events that fired after seeding.
IE
Turn something like this:
some.show.1x4.[name1].Xvid.avi
some.show.S1E4.[name2].some.title.avi
Into:
Some Show - S01E04 - The nice title of the episode.avi
If you were just to run TVNamer with an exec on complete script it may or may not work if Deluge has locked the file, or it may work and deluge will stop seeding. Thus having a plugin that does this would be rather nice.
On the other hand it could be done with exec if as requested in another topic it had events that fired after seeding.
-
- Moderator
- Posts: 315
- Joined: Sat Aug 18, 2007 2:28 pm
- Location: Pittsburgh, USA
Re: [Request] TVNamer type plugin
You could use FlexGet to accomplish something like this.
Run this feed periodically, it will set move completed path and rename your series in deluge whether they have completed yet or not, since everything is done via deluge, seeding will not be interrupted.
Code: Select all
feed:
rename_shows:
# Use items in deluge as input
from_deluge: yes
# Parse series info from title
metainfo_series: yes
# Accept everything
accept_all: yes
# Except for things that didn't get series info parsed
require_field:
- series_name
# Look up episode name from tvdb
thetvdb_lookup: yes
# Set your desired path and filename
set:
movedone: /mystorage/tv/{{series_name}}/Season {{series_season}}
content_filename: {{series_name}} - {{series_id}} - {{ep_name|default('Unknown')}}
# Apply the changes back to deluge
deluge: yes
Re: [Request] TVNamer type plugin
Thanks Gaz, however I just noticed "thetvdb_lookup: yes" and had added it to my flexget config the other night... I probably missed it the first time because I was using Transmission and it wasn't possible to pass the file name the way Deluge does.