-
Notifications
You must be signed in to change notification settings - Fork 481
Request - Add support to output path to subtitle_list plugin #1224
Copy link
Copy link
Closed
Labels
Description
Expected behaviour:
In the former subtitle_queue plugin, we could add the subtitles to the queue with the destination path, instead of the current one, and with this, we could move the files and the add the subtitles to the queue in the same task, and the subtitles would be downloaded to the final path.
Actual behaviour:
It doesnt support the path option anymore, so its going to emit paths that do not exist anymore, because the file was previouslly moved.
Steps to reproduce:
- Step 1: Move a file and add it to the subtitle list in the same task
- Step 2: Emit the subtitle list
Config:
move task:
move-movies:
template:
- disable-seen-retry
- movies-metainfo
filesystem:
path: '/{{secrets.folder.root}}{{secrets.folder.downmovies}}'
recursive: yes
retrieve: files
regexp: '.*\.(avi|mkv|mp4)$'
accept_all: yes
move:
to: '/{{secrets.folder.root}}{{secrets.folder.movies}}'
filename: "{{tmdb_name|pathscrub}} ({{tmdb_year}}){% if quality|default(False) %}: - [{{quality}}]{% endif %}"
clean_source: 100
list_add:
- subtitle_list:
list: subtitles-list
subtitle download task:
download-subtitles:
template:
- disable-seen-retry
subtitle_list:
list: subtitles-list
list_queue:
- subtitle_list:
list: subtitles-list
subliminal:
exact_match: yes
languages:
- eng
Log:
move task:
2016-06-05 19:34 VERBOSE task move-movies ACCEPTED: `Beginners (2010) - [720p bluray h264]` by accept_all plugin
2016-06-05 19:34 VERBOSE details move-movies Summary - Accepted: 1 (Rejected: 0 Undecided: 0 Failed: 0)
2016-06-05 19:34 VERBOSE move move-movies Adding extension `.mp4` to dst `/mnt/data/Movies/Beginners (2010) - [720p bluray h264]`
2016-06-05 19:34 INFO move move-movies `/mnt/data/Downloads/Movies/Beginners/Beginners (2010) - [720p bluray h264].mp4` has been moved to `/mnt/data/Movies/Beginners (2010) - [720p bluray h264].mp4`
2016-06-05 19:34 INFO move move-movies Path `/mnt/data/Downloads/Movies/Beginners` has been deleted because was less than clean_source safe value.
2016-06-05 19:34 VERBOSE list_add move-movies adding accepted entries into subtitle_list - {u'list': u'subtitles-list', u'check_subtitles': True}
subtitle download task:
2016-06-05 19:39 ERROR subtitle_list download-subtitles File /mnt/data/Downloads/Movies/Beginners/Beginners (2010) - [720p bluray h264].mp4 does not exist. Removing from list.
2016-06-05 19:39 VERBOSE details download-subtitles Task didn't produce any entries.
2016-06-05 19:39 VERBOSE details download-subtitles Summary - Accepted: 0 (Rejected: 0 Undecided: 0 Failed: 0)
Additional information:
- Flexget Version: 2.0.40
- Python Version: 2.7.11
- Installation method: pip
- OS and version: Fedora 23
Reactions are currently unavailable