L0um15 / Spotisharp

Cross-platform music assistant
MIT License
51 stars 11 forks source link

Changed the YouTubeServices.GetSize method return type to nullable long. #27

Closed Lewis-Fam closed 2 years ago

Lewis-Fam commented 2 years ago
  1. Changed the YouTubeServices.GetSize method return type to a nullable long (long?)

  2. Changed YouTubeServices.GetStreamAsync method. To set the fileSize to 0 if GetSize returns null.

This appears to have fixed my application crashing issues.

L0um15 commented 2 years ago

Thank you!