spotube icon indicating copy to clipboard operation
spotube copied to clipboard

When I listen to a playlist it plays a song that isn't on the playlist

Open ElBusAlv opened this issue 8 months ago • 1 comments

Is there an existing issue for this? (Please read the description)

  • [x] I have searched the existing issues

Current Behavior

I'll be listening to my playlist and when a song is over it will play a song that isn't anywhere in the playlist

Expected Behavior

I expected the playlist to stick to itself and not play other songs

Steps to reproduce

Listen to a playlist

Logs

Logs
-----
[MediaKitError] 
Failed to open http://localhost:6519/stream/0grfvXep0gn5nXdQoHue1a.
#0      new CustomPlayer.<anonymous closure> (package:spotube/services/audio_player/custom_player.dart:51)
#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-03-28 18:51:38.816244]---------------------
Failed to open http://localhost:6519/stream/0grfvXep0gn5nXdQoHue1a.
#0      new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:93)
#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-03-28 19:22:27.267143]---------------------
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("__typename")
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
#1      _objectNoSuchMethod (dart:core-patch/object_patch.dart:88)
#2      transformSectionItemTypeJsonMap (package:spotube/models/spotify/home_feed.dart:174)
#3      transformSectionItemJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:220)
#4      MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#5      ListIterator.moveNext (dart:_internal/iterable.dart:371)
#6      WhereIterator.moveNext (dart:_internal/iterable.dart:467)
#7      new _GrowableList._ofOther (dart:core-patch/growable_array.dart:203)
#8      new _GrowableList.of (dart:core-patch/growable_array.dart:152)
#9      new List.of (dart:core-patch/array_patch.dart:40)
#10     Iterable.toList (dart:core/iterable.dart:499)
#11     transformSectionItemJsonMap (package:spotube/models/spotify/home_feed.dart:229)
#12     transformHomeFeedJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:241)
#13     MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#14     ListIterator.moveNext (dart:_internal/iterable.dart:371)
#15     new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:190)
#16     new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#17     new List.of (dart:core-patch/array_patch.dart:40)
#18     ListIterable.toList (dart:_internal/iterable.dart:224)
#19     transformHomeFeedJsonMap (package:spotube/models/spotify/home_feed.dart:244)
#20     CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:164)
<asynchronous suspension>
#21     FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

----------------------------------------
[2025-03-28 20:17:30.040928]---------------------
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("__typename")
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
#1      _objectNoSuchMethod (dart:core-patch/object_patch.dart:88)
#2      transformSectionItemTypeJsonMap (package:spotube/models/spotify/home_feed.dart:174)
#3      transformSectionItemJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:220)
#4      MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#5      ListIterator.moveNext (dart:_internal/iterable.dart:371)
#6      WhereIterator.moveNext (dart:_internal/iterable.dart:467)
#7      new _GrowableList._ofOther (dart:core-patch/growable_array.dart:203)
#8      new _GrowableList.of (dart:core-patch/growable_array.dart:152)
#9      new List.of (dart:core-patch/array_patch.dart:40)
#10     Iterable.toList (dart:core/iterable.dart:499)
#11     transformSectionItemJsonMap (package:spotube/models/spotify/home_feed.dart:229)
#12     transformHomeFeedJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:241)
#13     MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#14     ListIterator.moveNext (dart:_internal/iterable.dart:371)
#15     new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:190)
#16     new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#17     new List.of (dart:core-patch/array_patch.dart:40)
#18     ListIterable.toList (dart:_internal/iterable.dart:224)
#19     transformHomeFeedJsonMap (package:spotube/models/spotify/home_feed.dart:244)
#20     CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:164)
<asynchronous suspension>
#21     FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

----------------------------------------
[2025-03-28 21:09:45.589715]---------------------
FileSystemException: Cannot rename file to 'C:\Users\marco\AppData\Local\oss.krtirtho\spotube\cached_tracks\Familia (with Anuel Aa, feat. Bantu) - Spider-Man: Into the Spider-Verse - Nicki Minaj, Anuel AA, Bantu (Rcdku0NtbkQ).weba', path = 'C:\Users\marco\AppData\Local\oss.krtirtho\spotube\cached_tracks\Familia (with Anuel Aa, feat. Bantu) - Spider-Man: Into the Spider-Verse - Nicki Minaj, Anuel AA, Bantu (Rcdku0NtbkQ).weba.part' (OS Error: El parámetro no es correcto.
, errno = 87)
#0      _checkForErrorResponse (dart:io/common.dart:58)
#1      _File.rename.<anonymous closure> (dart:io/file_impl.dart:376)
#2      _rootRunUnary (dart:async/zone.dart:1538)
<asynchronous suspension>
#3      ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:168)
<asynchronous suspension>
#4      ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:205)
<asynchronous suspension>
#5      RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#6      RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#7      Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#8      handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>

----------------------------------------
[2025-03-28 21:09:45.589715]---------------------
Failed to open http://localhost:6519/stream/4Uy3kNxW2kB8AEoXljEcth.
#0      new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:93)
#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-03-28 21:12:33.211488]---------------------
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("__typename")
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
#1      _objectNoSuchMethod (dart:core-patch/object_patch.dart:88)
#2      transformSectionItemTypeJsonMap (package:spotube/models/spotify/home_feed.dart:174)
#3      transformSectionItemJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:220)
#4      MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#5      ListIterator.moveNext (dart:_internal/iterable.dart:371)
#6      WhereIterator.moveNext (dart:_internal/iterable.dart:467)
#7      new _GrowableList._ofOther (dart:core-patch/growable_array.dart:203)
#8      new _GrowableList.of (dart:core-patch/growable_array.dart:152)
#9      new List.of (dart:core-patch/array_patch.dart:40)
#10     Iterable.toList (dart:core/iterable.dart:499)
#11     transformSectionItemJsonMap (package:spotube/models/spotify/home_feed.dart:229)
#12     transformHomeFeedJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:241)
#13     MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#14     ListIterator.moveNext (dart:_internal/iterable.dart:371)
#15     new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:190)
#16     new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#17     new List.of (dart:core-patch/array_patch.dart:40)
#18     ListIterable.toList (dart:_internal/iterable.dart:224)
#19     transformHomeFeedJsonMap (package:spotube/models/spotify/home_feed.dart:244)
#20     CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:164)
<asynchronous suspension>
#21     FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

----------------------------------------
[2025-03-28 21:28:39.330219]---------------------
FileSystemException: Cannot rename file to 'C:\Users\marco\AppData\Local\oss.krtirtho\spotube\cached_tracks\Annihilate (Spider-Man: Across the Spider-Verse) (Metro Boomin & Swae Lee, Lil Wayne, Offset) - Metro Boomin, Swae Lee, Lil Wayne, Offset (s6YfL8EivbI).weba', path = 'C:\Users\marco\AppData\Local\oss.krtirtho\spotube\cached_tracks\Annihilate (Spider-Man: Across the Spider-Verse) (Metro Boomin & Swae Lee, Lil Wayne, Offset) - Metro Boomin, Swae Lee, Lil Wayne, Offset (s6YfL8EivbI).weba.part' (OS Error: El parámetro no es correcto.
, errno = 87)
#0      _checkForErrorResponse (dart:io/common.dart:58)
#1      _File.rename.<anonymous closure> (dart:io/file_impl.dart:376)
#2      _rootRunUnary (dart:async/zone.dart:1538)
<asynchronous suspension>
#3      ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:168)
<asynchronous suspension>
#4      ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:205)
<asynchronous suspension>
#5      RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#6      RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#7      Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#8      handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>

----------------------------------------
[2025-03-28 21:28:39.332219]---------------------
[MediaKitError] 
Failed to open http://localhost:6519/stream/0grfvXep0gn5nXdQoHue1a.
#0      new CustomPlayer.<anonymous closure> (package:spotube/services/audio_player/custom_player.dart:51)
#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-03-28 22:01:23.844477]---------------------
FileSystemException: Cannot rename file to 'C:\Users\marco\AppData\Local\oss.krtirtho\spotube\cached_tracks\Annihilate (Spider-Man: Across the Spider-Verse) (Metro Boomin & Swae Lee, Lil Wayne, Offset) - Metro Boomin, Swae Lee, Lil Wayne, Offset (s6YfL8EivbI).weba', path = 'C:\Users\marco\AppData\Local\oss.krtirtho\spotube\cached_tracks\Annihilate (Spider-Man: Across the Spider-Verse) (Metro Boomin & Swae Lee, Lil Wayne, Offset) - Metro Boomin, Swae Lee, Lil Wayne, Offset (s6YfL8EivbI).weba.part' (OS Error: El parámetro no es correcto.
, errno = 87)
#0      _checkForErrorResponse (dart:io/common.dart:58)
#1      _File.rename.<anonymous closure> (dart:io/file_impl.dart:376)
#2      _rootRunUnary (dart:async/zone.dart:1538)
<asynchronous suspension>
#3      ServerPlaybackRoutes.streamTrack (package:spotube/provider/server/routes/playback.dart:168)
<asynchronous suspension>
#4      ServerPlaybackRoutes.getStreamTrackId (package:spotube/provider/server/routes/playback.dart:205)
<asynchronous suspension>
#5      RouterEntry.invoke.<anonymous closure> (package:shelf_router/src/router_entry.dart:109)
<asynchronous suspension>
#6      RouterEntry.invoke (package:shelf_router/src/router_entry.dart:104)
<asynchronous suspension>
#7      Router.call (package:shelf_router/src/router.dart:184)
<asynchronous suspension>
#8      handleRequest (package:shelf/shelf_io.dart:140)
<asynchronous suspension>

----------------------------------------
[2025-03-28 22:01:23.845495]---------------------
[MediaKitError] 
Failed to open http://localhost:6519/stream/0grfvXep0gn5nXdQoHue1a.
#0      new CustomPlayer.<anonymous closure> (package:spotube/services/audio_player/custom_player.dart:51)
#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-03-28 22:01:23.845495]---------------------
Failed to open http://localhost:6519/stream/0grfvXep0gn5nXdQoHue1a.
#0      new AudioPlayerInterface.<anonymous closure> (package:spotube/services/audio_player/audio_player.dart:93)
#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-03-28 22:07:36.078277]---------------------
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("__typename")
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
#1      _objectNoSuchMethod (dart:core-patch/object_patch.dart:88)
#2      transformSectionItemTypeJsonMap (package:spotube/models/spotify/home_feed.dart:174)
#3      transformSectionItemJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:220)
#4      MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#5      ListIterator.moveNext (dart:_internal/iterable.dart:371)
#6      WhereIterator.moveNext (dart:_internal/iterable.dart:467)
#7      new _GrowableList._ofOther (dart:core-patch/growable_array.dart:203)
#8      new _GrowableList.of (dart:core-patch/growable_array.dart:152)
#9      new List.of (dart:core-patch/array_patch.dart:40)
#10     Iterable.toList (dart:core/iterable.dart:499)
#11     transformSectionItemJsonMap (package:spotube/models/spotify/home_feed.dart:229)
#12     transformHomeFeedJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:241)
#13     MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#14     ListIterator.moveNext (dart:_internal/iterable.dart:371)
#15     new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:190)
#16     new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#17     new List.of (dart:core-patch/array_patch.dart:40)
#18     ListIterable.toList (dart:_internal/iterable.dart:224)
#19     transformHomeFeedJsonMap (package:spotube/models/spotify/home_feed.dart:244)
#20     CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:164)
<asynchronous suspension>
#21     FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

----------------------------------------
[2025-03-28 22:18:00.623451]---------------------
FormatException: Invalid number (at character 1)

^

#0      int._handleFormatError (dart:core-patch/integers_patch.dart:135)
#1      int.parse (dart:core-patch/integers_patch.dart:53)
#2      ServiceUtils.checkForUpdates (package:spotube/utils/service_utils.dart:358)
<asynchronous suspension>

----------------------------------------
[2025-03-28 22:18:01.039632]---------------------
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("__typename")
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
#1      _objectNoSuchMethod (dart:core-patch/object_patch.dart:88)
#2      transformSectionItemTypeJsonMap (package:spotube/models/spotify/home_feed.dart:174)
#3      transformSectionItemJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:220)
#4      MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#5      ListIterator.moveNext (dart:_internal/iterable.dart:371)
#6      WhereIterator.moveNext (dart:_internal/iterable.dart:467)
#7      new _GrowableList._ofOther (dart:core-patch/growable_array.dart:203)
#8      new _GrowableList.of (dart:core-patch/growable_array.dart:152)
#9      new List.of (dart:core-patch/array_patch.dart:40)
#10     Iterable.toList (dart:core/iterable.dart:499)
#11     transformSectionItemJsonMap (package:spotube/models/spotify/home_feed.dart:229)
#12     transformHomeFeedJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:241)
#13     MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#14     ListIterator.moveNext (dart:_internal/iterable.dart:371)
#15     new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:190)
#16     new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#17     new List.of (dart:core-patch/array_patch.dart:40)
#18     ListIterable.toList (dart:_internal/iterable.dart:224)
#19     transformHomeFeedJsonMap (package:spotube/models/spotify/home_feed.dart:244)
#20     CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:164)
<asynchronous suspension>
#21     FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

----------------------------------------
[2025-03-28 23:02:39.116495]---------------------
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("__typename")
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
#1      _objectNoSuchMethod (dart:core-patch/object_patch.dart:88)
#2      transformSectionItemTypeJsonMap (package:spotube/models/spotify/home_feed.dart:174)
#3      transformSectionItemJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:220)
#4      MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#5      ListIterator.moveNext (dart:_internal/iterable.dart:371)
#6      WhereIterator.moveNext (dart:_internal/iterable.dart:467)
#7      new _GrowableList._ofOther (dart:core-patch/growable_array.dart:203)
#8      new _GrowableList.of (dart:core-patch/growable_array.dart:152)
#9      new List.of (dart:core-patch/array_patch.dart:40)
#10     Iterable.toList (dart:core/iterable.dart:499)
#11     transformSectionItemJsonMap (package:spotube/models/spotify/home_feed.dart:229)
#12     transformHomeFeedJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:241)
#13     MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#14     ListIterator.moveNext (dart:_internal/iterable.dart:371)
#15     new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:190)
#16     new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#17     new List.of (dart:core-patch/array_patch.dart:40)
#18     ListIterable.toList (dart:_internal/iterable.dart:224)
#19     transformHomeFeedJsonMap (package:spotube/models/spotify/home_feed.dart:244)
#20     CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:164)
<asynchronous suspension>
#21     FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

Operating System

Windows 11

Spotube version

4.0.2

Installation source

GitHub Releases (Binary)

Additional information

No response

Self grab

  • [ ] I'm ready to work on this issue!

ElBusAlv avatar Mar 29 '25 09:03 ElBusAlv

Same issue here...

endless-programmer avatar Apr 18 '25 00:04 endless-programmer