Skip to content

Not workng radio #2965

@Vlad14c

Description

@Vlad14c

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

  • I have searched the existing issues

Current Behavior

Title: Not working radio

Description:
When starting radio from any track,

Steps to reproduce:

Open Spotube v5.1.1 (installed via AUR on Arch Linux).

Authenticate with the Spotify metadata plugin.

Try to start the Radio feature on any track.

Actual result:
Nothing happens - the radio feature doesn't start, no visible feedback to user. But in the logs there's an error:

File: spotube-plugin-spotify/src/segments/track.ht
Line: 33, Column: 50
Runtime error: nullObject
Message: Calling method [$sub_setter_] on null object [item].
...
MetadataPluginTrackEndpoint.radio
TrackOptionsActions.actionStartRadio

Expected result:
Radio should start and fetch similar tracks without crashing.

Additional information:

Clearing Spotube cache and trying different tracks does not fix the issue.

Existing issues report some nullObject errors, but none specifically for the Radio feature.

System:

Spotube v5.1.1, AUR

Arch Linux

Expected Behavior

When I click “Start Radio” on any track, Spotube should launch the radio feature, fetch similar tracks, and start playback without crashing. The app should handle cases where track metadata might be missing and not throw a nullObject error.

Steps to reproduce

Open Spotube v5.1.1 installed via AUR on Arch Linux.

Authenticate with the Spotify metadata plugin.

Select any track.

Click the “Start Radio” option for that track.

Logs

Logs
File: /home/runner/work/spotube-plugin-spotify/spotube-plugin-spotify/src/segments/track.ht
Line: 33, Column: 50
Runtime error: nullObject
Message: Calling method [$sub_setter_] 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.<anonymous closure>.<anonymous closure> (package:hetu_std/stream/stream.binding.dart:84)
#4      _rootRunUnary (dart:async/zone.dart:1538)
#5      _CustomZone.runUnary (dart:async/zone:1429)
<asynchronous suspension>
#6      MetadataPluginTrackEndpoint.radio (package:spotube/services/metadata/endpoints/track.dart:31)
<asynchronous suspension>
#7      TrackOptionsActions.actionStartRadio (package:spotube/provider/track_options/track_options_provider.dart:101)
<asynchronous suspension>

Operating System

Android, Arch linux

Spotube version

v 5.1.1.

Installation source

Arch User Repository (AUR), github apk file

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