emericg / OpenSubtitlesDownload

Automatically find and download the right subtitles for your favorite videos!
https://emeric.io/OpenSubtitlesDownload
GNU General Public License v3.0
579 stars 63 forks source link

Unexpected error (line 774): <class 'ValueError'> #86

Closed Roshri closed 5 months ago

Roshri commented 2 years ago

Hi! Thanks for this great tool, I just discovered it today and I'm trying it out, but when I try to use it I get this error Unexpected error (line 774): <class 'ValueError'>

line 774 is this one (subName, subIndex) = selectionAuto(subtitlesResultList)

So this only happens when leaving it to auto, if I manually select which sub to download it works ! I'm using it on Windows

emericg commented 6 months ago

Can you try again with the very latest version of this script, running with the new REST API? If it's still failing, I'll add some code to have better error outputs from that function.

emericg commented 5 months ago

Please reopen this issue if the latest version still run into this error.