Skip to content

The songs in a playlist are not being loaded #2933

@MrJamer

Description

@MrJamer

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

  • I have searched the existing issues

Current Behavior

I have a Spotify playlist with 2000 songs and a duration of about 130 hours so it's pretty big (if needed I can send the link). Spotube only loads the first 200 though and it doesn't load any of the the songs after. I guess the problem is that it's just too much for the queue to load so it only stops at this number. I think it would be better if Spotube loaded each song to the queue individually or in small packs (like Spotify does) but for some reason it tries to load all of the songs at once :/

This is how it looks:

Image

Expected Behavior

To allow me to scroll through my playlist and load songs one after another and not stop at 200th song (including queue).

Steps to reproduce

  1. Open the app;
  2. Go to the playlist with over 200 songs;
  3. Try scrolling down to load next songs.

Logs

[2026-01-23 12:14:28.007952]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:28.539756]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:29.103201]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:29.534688]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:30.156536]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:30.576282]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:30.952471]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:31.313840]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:31.782786]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:32.668702]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:33.319207]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:33.731380]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:34.282277]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)


[2026-01-23 12:14:34.820020]---------------------
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/dependencies/hetu_spotify_gql_client/lib/assets/hetu/playlist.ht
Line: 91, Column: 60
Runtime error: nullObject
Message: Calling method [$sub_getter_] on null object [item].

#0 HTInterpreter.processError (package:hetu_script/interpreter/interpreter.dart:303)
#1 HTFunction._call (package:hetu_script/value/function/function.dart:750)
#2 HTFunction.call (package:hetu_script/value/function/function.dart:279)
#3 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)
#4 _rootRunUnary (dart:async/zone.dart:1538)
#5 _CustomZone.runUnary (dart:async/zone.dart:1429)

#6 StreamBinding.hFetch.. (package:hetu_std/stream/stream.binding.dart:84)

#7 MetadataPluginPlaylistEndpoint.tracks (package:spotube/services/metadata/endpoints/playlist.dart:27)

#8 MetadataPluginPlaylistTracksNotifier.fetch (package:spotube/provider/metadata_plugin/tracks/playlist.dart:14)

#9 AutoDisposeFamilyPaginatedAsyncNotifier.fetchMore (package:spotube/provider/metadata_plugin/utils/family_paginated.dart:88)

Operating System

Android 12

Spotube version

5.1.0.

Installation source

Website (spotube.krtirtho.dev)

Additional information

No response

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions