Skip to content

Conversation

@PDA-1
Copy link

@PDA-1 PDA-1 commented Jul 26, 2025

Videosort crushes with series name with 2 numbers and a dash.
This is caused due to a list is returned from guessit (and not string) when such a case occur.
When a list is retuned then a string is expected, Videosort crushes with a TypeError error.

Since no one is maintaining guessit on github anymore, there is no point waiting for a fix from them,
I have created a workaround (similar to other guessit workarounds), that joins all the parts of the list into one string.
I have also added a test case to test it in future times.

PDA-1 and others added 2 commits July 26, 2025 06:56
added workaround for titles with 2 numbers with a dash betwwen them (which guessit has problems with)
workaround for titles with 2 numbers with a dash between them (which guessit has problems with)
@dnzbk dnzbk self-requested a review July 26, 2025 18:18
added workaround for titles with 2 numbers with a dash between them (which guessit has problems with)
@PDA-1
Copy link
Author

PDA-1 commented Jul 28, 2025

Done.

@dnzbk dnzbk merged commit 3ad6ac0 into nzbgetcom:master Jul 28, 2025
3 checks passed
@dnzbk
Copy link
Collaborator

dnzbk commented Jul 28, 2025

Thank you.

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

Successfully merging this pull request may close these issues.

2 participants