-
Notifications
You must be signed in to change notification settings - Fork 481
move plugin - 'PosixPath' object is not subscriptable #2496
Copy link
Copy link
Closed
Description
Expected behaviour:
File moved and renamed to output TV directory.
Actual behaviour:
Failure on renaming of TV file
Steps to reproduce:
- Step 1: run sort config
Config:
move:
to: >
{? storage.videos ?}/TV Shows/{{ tvdb_series_name|default(series_name)|replace('/', '_')|replace(':', ' -')|replace(',', '') }}/{% if series_id_type == 'ep' %}Season {{ series_season }}/{% endif %}
rename: >
{{ tvdb_series_name|default(series_name)|replace('/', '_')|replace(':', ' -')|replace(',', '') }} - {{ series_id }}{% if tvdb_ep_name|default(False) %} - {{ tvdb_ep_name|replace('/', '_')|replace(':', ' -')|replace(',', '') }}{% endif %}.{{ location[-3:] }}
Log:
(click to expand)
2019-11-14 11:12 DEBUG api_tvdb Series-Sort-Decompressed Using episode info for Big Little Lies s2 e3 from cache.
2019-11-14 11:12 DEBUG utils.template Series-Sort-Decompressed Error during rendering: (TypeError) 'PosixPath' object is not subscriptable
2019-11-14 11:12 CRITICAL plugin Series-Sort-Decompressed Filename value replacement `{{ tvdb_series_name|default(series_name)|replace('/', '_')|replace(':', ' -')|replace(',', '') }} - {{ series_id }}{% if tvdb_ep_name|default(False) %} - {{ tvdb_ep_name|replace('/', '_')|replace(':', ' -')|replace(',', '') }}{% endif %}.{{ location[-3:] }}\n` failed: (TypeError) 'PosixPath' object is not subscriptable
Additional information:
- FlexGet version: 3.0.1
- Python version: 3.6.8
- Installation method: git
- Using daemon (yes/no): no
- OS and version: Ubuntu 18.04.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels