Re: SubtitleDownloader 2.7
I can confirm that the family guy subs are working, but too bad there is a (new) problem.
New testcase:
Reproduce:
1) Download the subtitle of "For Whom the Sleigh Bell Tolls" of American Dad (S07E08) manual (dutch) - note the subtitle says S06
2) Download it with MP-Tvseries
When comparing the two files: check line 227.
Manual:
with MP-Tvseries:
When I checked the encoding with Notepad++:
Manual: ANSI
with MP-TVseries: UTF-8 with BOM
Concluding, Bierdopje has different encoded subtitles (now ANSI instead of UTF-8) and this goes wrong in the bierdopje API. 'Funny' is that the manual download don't give any problems.
I try to contact bierdopje (API) - team
edit: made an issue @bierdopje API
UPDATE
I'm now confused: when debugging the bierdopjeApi code in Visual Studio there is no problem. The problem cannot be reproduced with only the code, so
- manual download from bierdopje.com: OK
- download with code in Visual Studio: OK
- download with MP-TVseries: encoding problem.
I assumed that the encoding problem was of problem of bierdopjeApi because:
- The bierdopjeApi downloads really the file
- With the update of bierdopjeApi in subtitleDownloader 2.7 the 'family guy'-problem is solved
- I assumed no component alters the file after download.
Anyway, I'm not sure where the problem is located: bierdopjeApi, SubtitleDownloader or MP-tvseries. Please keep in mind that I don't want to blame anyone, I just want to solve the problem and let MP rock!
I need to do some more investigation, but there is no time before the weekend now.
I can confirm that the family guy subs are working, but too bad there is a (new) problem.
New testcase:
Reproduce:
1) Download the subtitle of "For Whom the Sleigh Bell Tolls" of American Dad (S07E08) manual (dutch) - note the subtitle says S06
2) Download it with MP-Tvseries
When comparing the two files: check line 227.
Manual:
Code:
kan je beter weg zijn, oké?
Code:
kan je beter weg zijn, ok�?
When I checked the encoding with Notepad++:
Manual: ANSI
with MP-TVseries: UTF-8 with BOM
Concluding, Bierdopje has different encoded subtitles (now ANSI instead of UTF-8) and this goes wrong in the bierdopje API. 'Funny' is that the manual download don't give any problems.
I try to contact bierdopje (API) - team
edit: made an issue @bierdopje API
UPDATE
I'm now confused: when debugging the bierdopjeApi code in Visual Studio there is no problem. The problem cannot be reproduced with only the code, so
- manual download from bierdopje.com: OK
- download with code in Visual Studio: OK
- download with MP-TVseries: encoding problem.
I assumed that the encoding problem was of problem of bierdopjeApi because:
- The bierdopjeApi downloads really the file
- With the update of bierdopjeApi in subtitleDownloader 2.7 the 'family guy'-problem is solved
- I assumed no component alters the file after download.
Anyway, I'm not sure where the problem is located: bierdopjeApi, SubtitleDownloader or MP-tvseries. Please keep in mind that I don't want to blame anyone, I just want to solve the problem and let MP rock!
I need to do some more investigation, but there is no time before the weekend now.