mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-08-05 19:59:51 +00:00
The metadata plugin sent the duration as inSeconds, but SpotubeAudioSourceMatchObject.duration is a Duration that gets read back as microseconds, so YouTube tracks showed 0:00 in the queue. Switch both callbacks to inMicroseconds, and fall back to 0 since the field can't be null and some videos don't report a duration. |
||
|---|---|---|
| .. | ||
| audio_player | ||
| audio_services | ||
| cli | ||
| device_info | ||
| dio | ||
| kv_store | ||
| logger | ||
| metadata | ||
| sourced_track | ||
| wikipedia | ||
| wm_tools | ||
| youtube_engine | ||
| connectivity_adapter.dart | ||