Describe the bug
When trying to upload subtitles with Bazarr, it errs with TypeError: Object of type Country is not JSON serializable
To Reproduce
Steps to reproduce the behavior:
Filthy Rich (US)UploadExpected behavior
It match correctly the subtitles season and episode.
Screenshots


Software (please complete the following information):
Additional context
Tried using a new, clean container, still show the same error.
Logs: bazarr.log
And even when I set the season and episode number, the upload button doesn't work at all, see the Javascript error when adding subtitles to upload screen, maybe the javascript error stops the function, which makes the upload button works?

@LASER-Yi can you take a look at this one please?
@LASER-Yi can you take a look at this one please?
OK I鈥榣l check
Thanks to @LASER-Yi for fixing this issue! Please test and report result.
Sorry for the delay, I've tested with attached subtitle, it now can find the season and episode number correctly, and the import button works.
Thank you!
Most helpful comment
Sorry for the delay, I've tested with attached subtitle, it now can find the season and episode number correctly, and the import button works.
Thank you!