spotube/lib/services/metadata
Tomasz Jabłonowski 3558ad3b12 fix: queue shows 0:00 duration for sourced tracks
YouTubeEngine passed track duration in seconds while
SpotubeAudioSourceMatchObject.fromJson interprets `duration` as
microseconds, so durations collapsed to ~0 and the queue displayed 0:00.

- lib/services/metadata/metadata.dart: send duration in microseconds
  (search() and getVideo() callbacks)
- lib/components/track_tile/track_tile.dart,
  lib/modules/player/player_queue.dart: add resolveMissingDuration so
  the queue actively resolves the sourced track's real duration when
  the track's own metadata duration is effectively zero

Fixes #3021
2026-07-26 10:37:09 +02:00
..
apis feat: implement metadata plugins based on hetu 2025-06-14 08:41:38 +06:00
endpoints fix: streaming not working 2025-11-03 21:27:06 +06:00
errors chore: fix alternative sources not persisting 2025-11-14 16:17:37 +06:00
metadata.dart fix: queue shows 0:00 duration for sourced tracks 2026-07-26 10:37:09 +02:00