bindestriche / srt_fix

yt-autosub-srt-fix a yt-dlp plugin to fix double lines of youtube subtitles converted to srt via ffmpeg
The Unlicense
22 stars 5 forks source link

windows11, KeyError: 'srt_fixPP' #17

Open bk111 opened 3 weeks ago

bk111 commented 3 weeks ago

python3 -m pip install -U https://github.com/bindestriche/srt_fix/archive/refs/heads/master.zip

C:\Users\dengz\Downloads\0pitch>yt-dlp --write-auto-sub --sub-lang 'en' --convert-subs=srt --restrict-filenames --no-check-certificates --use-postprocessor srt_fix https://www.youtube.com/watch? v=jdEaYV5Kq98 Traceback (most recent call last): File "yt_dlp__main.py", line 17, in File "yt_dlp__init__.py", line 1072, in main File "yt_dlp__init__.py", line 970, in _real_main File "yt_dlp\YoutubeDL.py", line 789, in init__ File "yt_dlp\postprocessor__init.py", line 42, in get_postprocessor KeyError: 'srt_fixPP' [30484] Failed to execute script 'main__' due to unhandled exception!

bindestriche commented 1 week ago

Thanks for your report. The pip install does not work correctly, it seems. Please manually install the extension by placing it in one of the directories. Alternatively, use one of the utilities I provided. I need to read up on pip to fix it.