Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Videosort error when using RSS #434

Open
Helieux opened this issue Nov 19, 2024 · 4 comments
Open

Videosort error when using RSS #434

Helieux opened this issue Nov 19, 2024 · 4 comments
Assignees

Comments

@Helieux
Copy link

Helieux commented Nov 19, 2024

Videosort has been working well for me until recently when I tried to use it to rename file from RSS.

Download via RSS will cause the pp failure below:

error	Mon Nov 18 2024 17:21:04	Post-process-script VideoSort for XYZ failed
error	Mon Nov 18 2024 17:21:04	Video Sort: expected string or bytes-like object, got 'list'
error	Mon Nov 18 2024 17:21:04	Video Sort: Failed: XYZ
info	Mon Nov 18 2024 17:21:04	Video Sort: TypeError: expected string or bytes-like object, got 'list'
info	Mon Nov 18 2024 17:21:04	Video Sort: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
info	Mon Nov 18 2024 17:21:04	Video Sort: return _compile(pattern, flags).sub(repl, string, count)
info	Mon Nov 18 2024 17:21:04	Video Sort: File "C:\Program Files\Python312\Lib\re\__init__.py", line 186, in sub
info	Mon Nov 18 2024 17:21:04	Video Sort: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
info	Mon Nov 18 2024 17:21:04	Video Sort: title = re.sub(r"[\"\:\?\*\\\/\<\>\|]", " ", name)
info	Mon Nov 18 2024 17:21:04	Video Sort: File "D:\NZBGet\Scripts\VideoSort\main.py", line 427, in get_titles
info	Mon Nov 18 2024 17:21:04	Video Sort: ^^^^^^^^^^^^^^^^^^^^^^^^
info	Mon Nov 18 2024 17:21:04	Video Sort: show_tname, show_tname_two, show_tname_three = get_titles(series, True)
info	Mon Nov 18 2024 17:21:04	Video Sort: File "D:\NZBGet\Scripts\VideoSort\main.py", line 634, in add_series_mapping
info	Mon Nov 18 2024 17:21:04	Video Sort: add_series_mapping(guess, mapping)
info	Mon Nov 18 2024 17:21:04	Video Sort: File "D:\NZBGet\Scripts\VideoSort\main.py", line 1054, in construct_path
info	Mon Nov 18 2024 17:21:04	Video Sort: ^^^^^^^^^^^^^^^^^^^^^^^^
info	Mon Nov 18 2024 17:21:04	Video Sort: new_path = construct_path(old_path)
info	Mon Nov 18 2024 17:21:04	Video Sort: File "D:\NZBGet\Scripts\VideoSort\main.py", line 1165, in <module>
info	Mon Nov 18 2024 17:21:04	Video Sort: Traceback (most recent call last):
info	Mon Nov 18 2024 17:21:03	Executing post-process-script VideoSort for XYZ
@dnzbk dnzbk self-assigned this Nov 19, 2024
@dnzbk
Copy link
Collaborator

dnzbk commented Nov 19, 2024

Thanks, I'll look into it.
And thanks for the link to nzb and RSS - they'll be verry useful but please share such links to [email protected] next time.

@liv-mrr
Copy link

liv-mrr commented Nov 19, 2024

Helieux What version of Python do you have? Show the STATUS page, please

@Helieux
Copy link
Author

Helieux commented Nov 19, 2024

Screenshot 2024-11-19 at 20 34 40
@liv-mrr Python v3.12.6

@Helieux
Copy link
Author

Helieux commented Nov 19, 2024

Thanks, I'll look into it. And thanks for the link to nzb and RSS - they'll be verry useful but please share such links to [email protected] next time.

@dnzbk, Thanks, I will remove the filename for privacy in the original post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants