nzbget / VideoSort

Video sorting script for NZBGet
GNU General Public License v3.0
105 stars 43 forks source link

Script fails under Python 3.10 #70

Open Freakadude opened 2 years ago

Freakadude commented 2 years ago

Hi,

On my Qnap TS-431p nas i have Python 3.10 running (cannot downgrade it) and not sure if this is the issue but videosort does not work correctly. I get following error on post process:

VideoSort: Traceback (most recent call last): VideoSort: File "/share/Download/scripts/videosort/VideoSort.py", line 273, in VideoSort: import guessit VideoSort: File "/share/Download/scripts/videosort/lib/guessit/init.py", line 6, in VideoSort: from .api import guessit, GuessItApi VideoSort: File "/share/Download/scripts/videosort/lib/guessit/api.py", line 15, in VideoSort: from rebulk.introspector import introspect VideoSort: File "/share/Download/scripts/videosort/lib/rebulk/init.py", line 7, in VideoSort: from .rebulk import Rebulk VideoSort: File "/share/Download/scripts/videosort/lib/rebulk/rebulk.py", line 8, in VideoSort: from .match import Matches VideoSort: File "/share/Download/scripts/videosort/lib/rebulk/match.py", line 8, in VideoSort: from collections import defaultdict, MutableSequence VideoSort: ImportError: cannot import name 'MutableSequence' from 'collections' (/opt/lib/python3.10/collections/init.pyc)

I'm guessing python 3.10 fucked something up (but as mentioned i cannot downgrade). Would appreciate if someone could take a look what would fix this issue.

Thanks!