When I play a song, the sound quality is fine, but the timing is off and the interface skips songs every 6 seconds even though the song is playing in its entirety.
Is there an existing issue for this? (Please read the description)
- [x] I have searched the existing issues
Current Behavior
When I play a song, the sound is perfect, with no interruptions or distortion. The problem lies in the calculation of the playback time: the interface displays the song's progress incorrectly, and after exactly 6 seconds, the player automatically switches to the next track. However, the audio from the original song continues to play in the background, causing a complete desynchronization between what is seen on the interface and what is actually heard.
Expected Behavior
The song should play in sync between the audio and the interface. The timer should advance correctly according to the actual length of the track, and the player should not skip to the next song until the current one has finished completely.
Steps to reproduce
No response
Logs
Logs
unUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
---------
[2025-11-01 00:40:51.399576]---------------------
[MediaKitError]
Failed to open http://localhost:7787/stream/4m7Mtcd5EuzKdu2sdqcQ8g?id=4m7Mtcd5EuzKdu2sdqcQ8g&title=Tres%20Calos&artists=Matasvandals%2CDa%20Silva&album=Tres%20Calos&durationMs=129845&isrc=QMDA61838145&explicit=true.
#0 new CustomPlayer.<anonymous closure> (package:spotube/services/audio_player/custom_player.dart:47)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
DatabaseConnection.runInsert
package:drift/src/remote/server_impl.dart 161 ServerImplementation._runQuery
package:drift/src/remote/server_impl.dart 119 ServerImplementation._handleRequest.<fn>
package:drift/src/remote/communication.dart 165 DriftCommunication.setRequestHandler.<fn>
===== asynchronous gap ===========================
package:drift/src/remote/communication.dart 113 DriftCommunication.request
package:drift/src/remote/client_impl.dart 101 _BaseExecutor._runRequest
package:drift/src/remote/client_impl.dart 110 _BaseExecutor._intRequest
package:drift/src/remote/client_impl.dart 135 _BaseExecutor.runInsert
package:drift/src/utils/lazy_database.dart 91 LazyDatabase.runInsert
package:drift/src/runtime/api/connection.dart 121 DatabaseConnection.runInsert
package:drift/src/utils/lazy_database.dart 91 LazyDatabase.runInsert
package:drift/src/runtime/query_builder/statements/insert.dart 74 InsertStatement.insert.<fn>
package:drift/src/runtime/api/connection_user.dart 171 DatabaseConnectionUser.doWhenOpened.<fn>
dart:async/zone.dart 1538 _rootRunUnary
dart:async/zone.dart 1429 _CustomZone.runUnary
package:drift/src/runtime/query_builder/statements/insert.dart 73 InsertStatement.insert
package:spotube/services/sourced_track/sources/youtube.dart 57 YoutubeSourcedTrack.fetchFromTrack
package:spotube/services/sourced_track/sourced_track.dart 109 SourcedTrack.fetchFromQuery
package:riverpod/src/async_notifier/base.dart 355 FutureHandlerProviderElementMixin.handleFuture.<fn>.<fn>
----------------------------------------
[2025-11-01 00:41:15.680123]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-01 00:41:18.790482]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-01 00:41:18.790482]---------------------
[MediaKitError]
Failed to open http://localhost:7787/stream/11RT3NY9uptQb1KrNRHjHh?id=11RT3NY9uptQb1KrNRHjHh&title=Pal%20Pulm%C3%B3n&artists=Nikone&album=Biribibae&durationMs=160966&isrc=QM6N21778843&explicit=false.
#0 new CustomPlayer.<anonymous closure> (package:spotube/services/audio_player/custom_player.dart:47)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
[2025-11-01 00:41:24.345759]---------------------
SqliteException(2067): while executing statement, UNIQUE constraint failed: source_match_table.track_id, source_match_table.source_id, source_match_table.source_type, constraint failed (code 2067)
Causing statement: INSERT INTO "source_match_table" ("track_id", "source_id", "source_type") VALUES (?, ?, ?), parameters: 0rnZoY4wdBcLPHTAa8p8IK, 0Wufv8T-62Y, youtube
package:sqlite3/src/implementation/exception.dart 95 throwException
package:sqlite3/src/implementation/statement.dart 109 StatementImplementation._execute
package:sqlite3/src/implementation/statement.dart 289 StatementImplementation.executeWith
package:sqlite3/src/statement.dart 81 CommonPreparedStatement.execute
package:drift/src/sqlite3/database.dart 149 Sqlite3Delegate.runWithArgsSync
package:drift/native.dart 426 _NativeDelegate.runInsert.<fn>
dart:async/future.dart 315 new Future.sync
package:drift/native.dart 425 _NativeDelegate.runInsert
package:drift/src/runtime/executor/helpers/engines.dart 106 _BaseExecutor.runInsert.<fn>
package:drift/src/runtime/executor/helpers/engines.dart 62 _BaseExecutor._synchronized
package:drift/src/runtime/executor/helpers/engines.dart 103 _BaseExecutor.runInsert
package:drift/src/runtime/api/connection.dart 121 DatabaseConnection.runInsert
package:drift/src/remote/server_impl.dart 161 ServerImplementation._runQuery
package:drift/src/remote/server_impl.dart 119 ServerImplementation._handleRequest.<fn>
package:drift/src/remote/communication.dart 165 DriftCommunication.setRequestHandler.<fn>
===== asynchronous gap ===========================
package:drift/src/remote/communication.dart 113 DriftCommunication.request
package:drift/src/remote/client_impl.dart 101 _BaseExecutor._runRequest
package:drift/src/remote/client_impl.dart 110 _BaseExecutor._intRequest
package:drift/src/remote/client_impl.dart 135 _BaseExecutor.runInsert
package:drift/src/utils/lazy_database.dart 91 LazyDatabase.runInsert
package:drift/src/runtime/api/connection.dart 121 DatabaseConnection.runInsert
package:drift/src/utils/lazy_database.dart 91 LazyDatabase.runInsert
package:drift/src/runtime/query_builder/statements/insert.dart 74 InsertStatement.insert.<fn>
package:drift/src/runtime/api/connection_user.dart 171 DatabaseConnectionUser.doWhenOpened.<fn>
dart:async/zone.dart 1538 _rootRunUnary
dart:async/zone.dart 1429 _CustomZone.runUnary
package:drift/src/runtime/query_builder/statements/insert.dart 73 InsertStatement.insert
package:spotube/services/sourced_track/sources/youtube.dart 57 YoutubeSourcedTrack.fetchFromTrack
package:spotube/services/sourced_track/sourced_track.dart 109 SourcedTrack.fetchFromQuery
package:riverpod/src/async_notifier/base.dart 355 FutureHandlerProviderElementMixin.handleFuture.<fn>.<fn>
----------------------------------------
[2025-11-01 00:41:24.606317]---------------------
Failed to open http://localhost:7787/stream/0rnZoY4wdBcLPHTAa8p8IK?id=0rnZoY4wdBcLPHTAa8p8IK&title=Luzbel&artists=Arce&album=Luciffer&durationMs=245723&isrc=ESA011510113&explicit=true.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
---------
nection.dart 121 DatabaseConnection.runInsert
package:drift/src/remote/server_impl.dart 161 ServerImplementation._runQuery
package:drift/src/remote/server_impl.dart 119 ServerImplementation._handleRequest.<fn>
package:drift/src/remote/communication.dart 165 DriftCommunication.setRequestHandler.<fn>
===== asynchronous gap ===========================
package:drift/src/remote/communication.dart 113 DriftCommunication.request
package:drift/src/remote/client_impl.dart 101 _BaseExecutor._runRequest
package:drift/src/remote/client_impl.dart 110 _BaseExecutor._intRequest
package:drift/src/remote/client_impl.dart 135 _BaseExecutor.runInsert
package:drift/src/utils/lazy_database.dart 91 LazyDatabase.runInsert
package:drift/src/runtime/api/connection.dart 121 DatabaseConnection.runInsert
package:drift/src/utils/lazy_database.dart 91 LazyDatabase.runInsert
package:drift/src/runtime/query_builder/statements/insert.dart 74 InsertStatement.insert.<fn>
package:drift/src/runtime/api/connection_user.dart 171 DatabaseConnectionUser.doWhenOpened.<fn>
dart:async/zone.dart 1538 _rootRunUnary
dart:async/zone.dart 1429 _CustomZone.runUnary
package:drift/src/runtime/query_builder/statements/insert.dart 73 InsertStatement.insert
package:spotube/services/sourced_track/sources/youtube.dart 57 YoutubeSourcedTrack.fetchFromTrack
package:spotube/services/sourced_track/sourced_track.dart 109 SourcedTrack.fetchFromQuery
package:riverpod/src/async_notifier/base.dart 355 FutureHandlerProviderElementMixin.handleFuture.<fn>.<fn>
----------------------------------------
[2025-11-01 00:41:24.933751]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-01 00:41:27.897044]---------------------
[MediaKitError]
Failed to open http://localhost:7787/stream/5ZmmNBKHKLDureKMGrRHCJ?id=5ZmmNBKHKLDureKMGrRHCJ&title=La%20Placita&artists=Delaossa%2CEAZYBOI%2CJ.Moods&album=La%20Placita&durationMs=228292&isrc=ESA011941113&explicit=false.
#0 new CustomPlayer.<anonymous closure> (package:spotube/services/audio_player/custom_player.dart:47)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 [2025-11-01 00:41:27.897044]---------------------
Failed to open http://localhost:7787/stream/5ZmmNBKHKLDureKMGrRHCJ?id=5ZmmNBKHKLDureKMGrRHCJ&title=La%20Placita&artists=Delaossa%2CEAZYBOI%2CJ.Moods&album=La%20Placita&durationMs=228292&isrc=ESA011941113&explicit=false.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
[2025-11-01 00:41:28.221641]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-01 00:41:31.172876]---------------------
[MediaKitError]
Failed to open http://localhost:7787/stream/0J0MmBSXIcKqSLouOP8toa?id=0J0MmBSXIcKqSLouOP8toa&title=N%C3%B3mada&artists=Rubin%2CViolettabeats&album=N%C3%B3mada&durationMs=127626&isrc=SE6HN2277910&explicit=false.
#0 new CustomPlayer.<anonymous closure> (package:spotube/services/audio_player/custom_player.dart:47)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _micro[2025-11-01 00:41:31.172876]---------------------
Failed to open http://localhost:7787/stream/0J0MmBSXIcKqSLouOP8toa?id=0J0MmBSXIcKqSLouOP8toa&title=N%C3%B3mada&artists=Rubin%2CViolettabeats&album=N%C3%B3mada&durationMs=127626&isrc=SE6HN2277910&explicit=false.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
[2025-11-01 00:41:31.479252]---------------------
SqliteException(2067): while executing statement, UNIQUE constraint failed: source_match_table.track_id, source_match_table.source_id, source_match_table.source_type, constraint failed (code 2067)
Causing statement: INSERT INTO "source_match_table" ("track_id", "source_id", "source_type") VALUES (?, ?, ?), parameters: 4m7Mtcd5EuzKdu2sdqcQ8g, d7MxAuSKfFs, youtube
package:sqlite3/src/implementation/exception.dart 95 throwException
package:sqlite3/src/implementation/statement.dart 109 StatementImplementation._execute
package:sqlite3/src/implementation/statement.dart 289 StatementImplementation.executeWith
package:sqlite3/src/statement.dart 81 CommonPreparedStatement.execute
package:drift/src/sqlite3/database.dart 149 Sqlite3Delegate.runWithArgsSync
package:drift/native.dart 426 _NativeDelegate.runInsert.<fn>
dart:async/future.dart 315 new Future.sync
package:drift/native.dart 425 _NativeDelegate.runInsert
package:drift/src/runtime/executor/helpers/engines.dart 106 _BaseExecutor.runInsert.<fn>
package:drift/src/runtime/executor/helpers/engines.dart 62 _BaseExecutor._synchronized
package:drift/src/runtime/executor/helpers/engines.dart 103 _BaseExecutor.runInsert
package:drift/src/runtime/api/connection.dart 121 DatabaseConnection.runInsert
package:drift/src/remote/server_impl.dart 161 ServerImplementation._runQuery
package:drift/src/remote/server_impl.dart 119 ServerImplementation._handleRequest.<fn>
package:drift/src/remote/communication.dart 165 DriftCommunication.setRequestHandler.<fn>
===== asynchronous gap ===========================
package:drift/src/remote/communication.dart 113 DriftCommunication.request
package:drift/src/remote/client_impl.dart 101 _BaseExecutor._runRequest
package:drift/src/remote/client_impl.dart 110 _BaseExecutor._intRequest
package:drift/src/remote/client_impl.dart 135 _BaseExecutor.runInsert
package:drift/src/utils/lazy_database.dart 91 LazyDatabase.runInsert
package:drift/src/runtime/api/connection.dart 121 DatabaseConnection.runInsert
package:drift/src/utils/lazy_database.dart 91 LazyDatabase.runInsert
package:drift/src/runtime/query_builder/statements/insert.dart 74 InsertStatement.insert.<fn>
package:drift/src/runtime/api/connection_user.dart 171 DatabaseConnectionUser.doWhenOpened.<fn>
dart:async/zone.dart 1538 _rootRunUnary
dart:async/zone.dart 1429 _CustomZone.runUnary
package:drift/src/runtime/query_builder/statements/insert.dart 73 InsertStatement.insert
package:spotube/services/sourced_track/sources/youtube.dart 57 YoutubeSourcedTrack.fetchFromTrack
package:spotube/services/sourced_track/sourced_track.dart 109 SourcedTrack.fetchFromQuery
package:riverpod/src/async_notifier/base.dart 355 FutureHandlerProviderElementMixin.handleFuture.<fn>.<fn>
----------------------------------------
[2025-11-01 00:41:31.479252]---------------------
Failed to open http://localhost:7787/stream/4m7Mtcd5EuzKdu2sdqcQ8g?id=4m7Mtcd5EuzKdu2sdqcQ8g&title=Tres%20Calos&artists=Matasvandals%2CDa%20Silva&album=Tres%20Calos&durationMs=129845&isrc=QMDA61838145&explicit=true.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
---------
Operating System
Windows
Spotube version
v.5.0.0+456
Installation source
Website (spotube.krtirtho.dev)
Additional information
No response
Self grab
- [x] I'm ready to work on this issue!
It seems the song is being divided into 6-second sections, and the rest of the songs in the playlist are generated from these short segments. For example, if song 1 is 3 minutes long, songs 2, 3, 4, 5, 6, 7, and so on each last only 6 seconds and are made up of parts of song 1. As a result, by the time song 1 finishes playing, the playback has already progressed to around song 50.
Logs
was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-07 12:48:22.710812]---------------------
Failed to open http://localhost:19552/stream/1J3Zk7teiZPeoCY7ya6QPr?id=1J3Zk7teiZPeoCY7ya6QPr&title=Mi%20abuela%20es%20TOP%201%20en%20Fortnite&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=170519&isrc=QZMER2588584&explicit=false.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
---------
[2025-11-07 12:48:23.042229]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-07 12:48:26.166824]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-07 12:48:26.167824]---------------------
Failed to open http://localhost:19552/stream/10CPGxM61WDzqBWhF9ITM6?id=10CPGxM61WDzqBWhF9ITM6&title=Mi%20Sue%C3%B1o&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=224639&isrc=QZMER2588585&explicit=true.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
---------
[2025-11-07 12:48:26.483778]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-07 12:48:29.529338]---------------------
Failed to open http://localhost:19552/stream/0azfh9vBgCwv8s1QuxKBzs?id=0azfh9vBgCwv8s1QuxKBzs&title=LA%20P0LLA%20DE%20PABLO%20MOTOS&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=144279&isrc=QZMER2588586&explicit=true.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
---------
[2025-11-07 12:48:29.872603]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-07 12:48:32.998071]---------------------
[MediaKitError]
Failed to open http://localhost:19552/stream/0HGmocq3Z8nDGsaC32J7OP?id=0HGmocq3Z8nDGsaC32J7OP&title=YesHoney&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=239119&isrc=QZMER2588587&explicit=false.
#0 new CustomPlayer.<anonymous closure> (package:spotube/services/audio_player/custom_player.dart:47)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
[2025-11-07 12:48:32.998071]---------------------
Failed to open http://localhost:19552/stream/0HGmocq3Z8nDGsaC32J7OP?id=0HGmocq3Z8nDGsaC32J7OP&title=YesHoney&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=239119&isrc=QZMER2588587&explicit=false.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
[2025-11-07 12:48:33.316035]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-07 12:48:36.324592]---------------------
[MediaKitError]
Failed to open http://localhost:19552/stream/6VVtCsO0NA8wh6VKn3pNcf?id=6VVtCsO0NA8wh6VKn3pNcf&title=Fumo%20porros&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=174199&isrc=QZMER2588588&explicit=true.
#0 new CustomPlayer.<anonymous closure> (package:spotube/services/audio_player/custom_player.dart:47)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart[2025-11-07 12:48:36.324592]---------------------
Failed to open http://localhost:19552/stream/6VVtCsO0NA8wh6VKn3pNcf?id=6VVtCsO0NA8wh6VKn3pNcf&title=Fumo%20porros&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=174199&isrc=QZMER2588588&explicit=true.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
[2025-11-07 12:48:36.648240]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-07 12:48:39.738177]---------------------
[MediaKitError]
Failed to open http://localhost:19552/stream/5ZX6miwfS4SToAfKRy2f4F?id=5ZX6miwfS4SToAfKRy2f4F&title=ALMENDRADO%20INSEMlNADO&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=163719&isrc=QZMER2588589&explicit=true.
#0 new CustomPlayer.<anonymous closure> (package:spotube/services/audio_player/custom_player.dart:47)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
[2025-11-07 12:48:40.051249]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-07 12:48:43.013892]---------------------
[MediaKitError]
Failed to open http://localhost:19552/stream/3fswrOziitsSFSUi74XFvO?id=3fswrOziitsSFSUi74XFvO&title=Primaja&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=157759&isrc=QZMER2588590&explicit=true.
#0 new CustomPlayer.<anonymous closure> (package:spotube/services/audio_player/custom_player.dart:47)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
[2025-11-07 12:48:43.013892]---------------------
Failed to open http://localhost:19552/stream/3fswrOziitsSFSUi74XFvO?id=3fswrOziitsSFSUi74XFvO&title=Primaja&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=157759&isrc=QZMER2588590&explicit=true.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
[2025-11-07 12:48:43.330124]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-07 12:48:46.404956]---------------------
[MediaKitError]
Failed to open http://localhost:19552/stream/2sim73G9WwjBBtO4206mGE?id=2sim73G9WwjBBtO4206mGE&title=ESCUELA%20DE%20IDIOMAS&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=114559&isrc=QZMER2588591&explicit=true.
#0 new CustomPlayer.<anonymous closure> (package:spotube/services/audio_player/custom_player.dart:47)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/[2025-11-07 12:48:46.404956]---------------------
Failed to open http://localhost:19552/stream/2sim73G9WwjBBtO4206mGE?id=2sim73G9WwjBBtO4206mGE&title=ESCUELA%20DE%20IDIOMAS&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=114559&isrc=QZMER2588591&explicit=true.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
[2025-11-07 12:48:46.718746]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-07 12:49:44.297162]---------------------
Option af: dynaudnorm doesn't exist.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
---------
[2025-11-07 12:49:48.472764]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-07 12:49:49.724449]---------------------
Option af: dynaudnorm doesn't exist.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
---------
[2025-11-07 12:49:51.626324]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 403 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 403 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:177)
<asynchronous suspension>
#2 ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:328)
<asynchronous suspension>
#3 RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#4 RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#5 Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#6 handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>
----------------------------------------
[2025-11-07 12:49:51.627333]---------------------
Failed to open http://localhost:16059/stream/3Pj16IT5wWy7tRu6zp3p1t?id=3Pj16IT5wWy7tRu6zp3p1t&title=Mi%20gran%20marr%C3%B3n&artists=SirAvella&album=Operaci%C3%B3n%20Temazo%203%20-%20lllojuan&durationMs=176879&isrc=QZMER2588592&explicit=true.
#0 new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:64)
#1 _rootRunUnary (dart:async/zone.dart:1538)
#2 _CustomZone.runUnary (dart:async/zone.dart:1429)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:381)
#5 _DelayedData.perform (dart:async/stream_impl.dart:573)
#6 _PendingEvents.handleNext (dart:async/stream_impl.dart:678)
#7 _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:649)
#8 _rootRun (dart:async/zone.dart:1517)
#9 _CustomZone.run (dart:async/zone.dart:1422)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#11 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#12 _rootRun (dart:async/zone.dart:1525)
#13 _CustomZone.run (dart:async/zone.dart:1422)
#14 _CustomZone.runGuarded (dart:async/zone.dart:1321)
#15 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)
#16 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
----------------------------------------
---------
Fixed in v5.1.0