@ZileXa wrote:
Two issues with Subliminal:
1) I get a bunch of these errors lately, no idea what it means:
2017-10-22 04:45 INFO subtitles find-subtitles-series Name computed for /media/ChilleTV/Downloads/tempseries/Lethal Weapon/Lethal.Weapon.S02E04.HDTV.x264-LOL[rarbg]/lethal.weapon.204.hdtv-lol.mkv was Lethal Weapon 2017-10-22 04:45 ERROR enzyme.parsers.ebml.core find-subtitles-series Element with id 0x55b0 is not in the specs
2) task "get-subtitles" It seems the name calculated for a file is only the TV show name, not the episode ID or any other info present in the name. So it is searching for subtitles for "Transparent" instead of using the full name, which is needed for a match.
The error actually shows the old filename, which is weird because the file has been renamed before it was added to the subtitle queue.
I also have this issue for a task "find-subtitles-series" which is run before I move/rename files.2017-10-23 01:45 INFO subtitles find-subtitles-series Name computed for /media/ChilleTV/Downloads/tempseries/Mr. Robot/Mr.Robot.S03E01.eps3.0_power-saver-mode.h.720p.HDTV.x264-Rapta.mkv was Mr Robot 2017-10-22 04:03 INFO subtitles get-subtitles Name computed for /media/ChilleTV/TVshows/Transparent/S03/Transparent - S03E10 - Exciting and New - [webrip h264].mp4 was Transparent 2017-10-22 04:03 ERROR entry get-subtitles Failed Transparent.S03E10.WEBRip.x264-RARBG (cannot find any subtitles for now.)
My 3 tasks below.
Task 1: find-subtitles-series will search for subs for all files in my temp download folder.
Task 2: move-series will move/rename/add to subtitles queue.
Task 3: get-subtitles will search subs for all items in the subtitles queue.##### The first attempt to find subtitles by searching for a match before renaming files. find-subtitles-series: priority: 21 template: - disable-seen-retry filesystem: path: "/{? folder.root ?}{? folder.downseries ?}" recursive: yes retrieve: files regexp: '.*\.(avi|mkv|mp4)$' accept_all: yes seen: local subliminal: languages: - eng exact_match: yes single: no providers: [opensubtitles, addic7ed, tvsubtitles, podnapisi] authentication: opensubtitles: username: "{? subtitles.user ?}" password: "{? subtitles.pass ?}" addic7ed: username: "{? subtitles.user ?}" password: "{? subtitles.pass ?}" ##### Move series from downloads folder to respective folders, along with existing subtitles and adding the files to the subtitle queue move-series: priority: 23 template: - disable-seen-retry - series-metainfo require_field: tvdb_series_name filesystem: path: "/{? folder.root ?}{? folder.downseries ?}" recursive: yes retrieve: files regexp: '.*\.(avi|mkv|mp4)$' accept_all: yes move: to: "/{? folder.root ?}{? folder.series ?}{{tvdb_series_name|escape|replace(''', '')|pathscrub}}/S{{series_season|pad(2)}}/" rename: "{{tvdb_series_name|escape|replace(''', '')|pathscrub}} - {{series_id}}{% if tvdb_ep_name|default(False) %} - {{tvdb_ep_name|pathscrub}}{% endif %}{% if quality|default(False) %} - [{{quality}}]{% endif %}" along: extensions: - srt - sub subdirs: - Subs clean_source: 50 kodi_library: action: scan category: video url: http://localhost port: 8080 list_add: - subtitle_list: list: subtitles path: "{{location}}" remove_after: 7 days exec: on_exit: phase: find "/{? folder.root ?}{? folder.downseries ?}"* -type d -empty -delete ##### Download subtitles for the previously queued files# get-subtitles: priority: 25 template: - disable-seen-retry subtitle_list: list: subtitles recursion_depth: 3 list_match: from: - subtitle_list: list: subtitles subliminal: languages: - eng exact_match: yes single: no providers: [opensubtitles, addic7ed, tvsubtitles, podnapisi] authentication: opensubtitles: username: "{? subtitles.user ?}" password: "{? subtitles.pass ?}" addic7ed: username: "{? subtitles.user ?}" password: "{? subtitles.pass ?}"
Posts: 8
Participants: 2