h4ck-rOOt / Lynda-Decryptor

Decrypts all .lynda and .ldcw files from the video2brain desktop app.
MIT License
213 stars 73 forks source link

Crash when CourseTitle is null @SQLite #3

Closed Dev-iL closed 8 years ago

Dev-iL commented 8 years ago

The following line throws an exception, because it expects to find a String but finds (null) instead:

var courseTitle = reader.GetString(reader.GetOrdinal("CourseTitle"));

This happens for some older courses. There should be a fallback that goes to the Course table and SELECTs the Title field WHERE ID is the courseId.

h4ck-rOOt commented 8 years ago

This error was fixed in the last merge request. Thanks for reporting this.