You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting some courses only the first .srt file is created okay, the rest of them are 0B in size (empty).
Caption files samples with this issue https://ufile.io/ydd4e
Only happens for courses with low codes (<300000 or so)
The text was updated successfully, but these errors were encountered:
I used your LyndaCaptionToSrtConvertor (with the current conversion code from Lynda-Decryptor plugged in) to convert the files you provided.
All of them converted correctly. There was no missing or incorrect text as far as I could see, and none of the files were 0 bytes.
Previously, the main cause for 0-byte files was an unrecognized timestamp. Maybe you can step through the "findTimestamps" function to see if that's going alright. There are comments in place, but I agree it's a bit arcane if you look at it for the first time. Let me know if you need any pointers.
When working with bytes, I found it helpful to use a hex editor like HxD. Using it on the .caption files helped me discover the fixed spacing around the timestamps and text. It can probably assist in solving your current problems with the conversion.
Thanks for the answer. @rosetinted . I realized that only the low id courses (under 300k or so) happen to still have this issue. Probably the subtitle files have different structure in these courses.
I will test it again with the courses that did not convert ok, but I made an update after merging the last pull request and tested it. It still does the same with those courses.
Anyway, 90% of the courses converted correctly now so I will close this issue, I don't have a subscription anymore so I cannot download new courses to test at the moment.
When converting some courses only the first .srt file is created okay, the rest of them are 0B in size (empty).
Caption files samples with this issue https://ufile.io/ydd4e
Only happens for courses with low codes (<300000 or so)
The text was updated successfully, but these errors were encountered: