Fixed Error when air_date is "null" #174
Reference in New Issue
Block a user
No description provided.
Delete Branch "martenumberto/fix/series-date"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Some Providers dont fill the "air_date" in Json or leave it "null" which results in an Empty Series.
To avoid that we guss that "air_date" is a String and Convert it to DateTime if it not equals "null"
Works, but may have following errors.
Thank you for your contribution. I'll keep this PR, together with #175, open until I have some time to dig a little deeper into it. I do not prefer the manual conversion needed in this PR, but if the JSON library does not properly support it I guess we will have to resort to this solution.
Thx for the review!
My first thoughts about following errors are not related to this Issue/PR. It was a completly other issue https://github.com/Kevinjil/Jellyfin.Xtream/pull/176
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.