[GH-ISSUE #383] Cannot open song recommendation (TrackRadio) or artist page #205

Closed
opened 2026-03-02 23:45:29 +03:00 by kerem · 3 comments
Owner

Originally created by @psukh28 on GitHub (Feb 29, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/383


Bug Description

Issue: When attempting to open the song recommendation page (TrackRadio) on Spotify-player, the application fails to load the page. An error message briefly appears stating "cannot determine current page's context." Then I proceed to only see "loading...". Same for the artist page and information

Note - I applied the fix from here [https://github.com/ramsayleung/rspotify/pull/457] which worked initially but the bug has returned but now for both artist page and the recommendation page.

Steps to Reproduce

  1. Open Spotify-player.
  2. Navigate to the TrackRadio or Artist page section.
  3. Attempt to open either of the pages and see if it opens.

Expected Behavior

The expected behavior is that the TrackRadio and artist page should open, displaying song recommendations based on the selected song and the artist song page.

Screenshots

Screenshot 2024-02-29 at 12 24 04 PM Screenshot 2024-02-29 at 12 23 51 PM

Environment

  • OS: [Macos 13.0 Ventura]
  • Application Version: [v0.16.3]
  • Application Features: [images, used latest commit of rspotify instead of the official release]

Originally created by @psukh28 on GitHub (Feb 29, 2024). Original GitHub issue: https://github.com/aome510/spotify-player/issues/383 --- ### Bug Description **Issue**: When attempting to open the song recommendation page (TrackRadio) on Spotify-player, the application fails to load the page. An error message briefly appears stating "cannot determine current page's context." Then I proceed to only see "loading...". Same for the artist page and information Note - I applied the fix from here [https://github.com/ramsayleung/rspotify/pull/457] which worked initially but the bug has returned but now for both artist page and the recommendation page. ### Steps to Reproduce 1. Open Spotify-player. 2. Navigate to the TrackRadio or Artist page section. 3. Attempt to open either of the pages and see if it opens. ### Expected Behavior The expected behavior is that the TrackRadio and artist page should open, displaying song recommendations based on the selected song and the artist song page. ### Screenshots <img width="980" alt="Screenshot 2024-02-29 at 12 24 04 PM" src="https://github.com/aome510/spotify-player/assets/55826125/a3c1be22-3b7a-48b2-b0a7-c16775fc1f52"> <img width="1006" alt="Screenshot 2024-02-29 at 12 23 51 PM" src="https://github.com/aome510/spotify-player/assets/55826125/91f241eb-9566-402d-b994-a6398ef7ae26"> ### Environment - **OS**: [Macos 13.0 Ventura] - **Application Version**: [v0.16.3] - **Application Features**: [images, used latest commit of rspotify instead of the official release] ---
kerem 2026-03-02 23:45:29 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@aome510 commented on GitHub (Mar 1, 2024):

I can reproduce the issue with track radio on my end. FWICT, based on the log, it seems Spotify API returns floats for non-float fields again 🤦 . Not sure which field corresponds to the error yet and it seems to be different one from what is fixed in https://github.com/ramsayleung/rspotify/pull/457. Will take a deeper look when I have more time.

<!-- gh-comment-id:1972452044 --> @aome510 commented on GitHub (Mar 1, 2024): I can reproduce the issue with track radio on my end. FWICT, based on the log, it seems `Spotify` API returns floats for non-float fields again 🤦 . Not sure which field corresponds to the error yet and it seems to be different one from what is fixed in https://github.com/ramsayleung/rspotify/pull/457. Will take a deeper look when I have more time.
Author
Owner

@aome510 commented on GitHub (Mar 3, 2024):

Should be fixed by https://github.com/aome510/spotify-player/pull/386. Can you try running from the latest master to see if the issue is fixed now?

<!-- gh-comment-id:1975235355 --> @aome510 commented on GitHub (Mar 3, 2024): Should be fixed by https://github.com/aome510/spotify-player/pull/386. Can you try running from the latest `master` to see if the issue is fixed now?
Author
Owner

@psukh28 commented on GitHub (Mar 3, 2024):

The issue is fixed! thank you so much :)

<!-- gh-comment-id:1975398814 --> @psukh28 commented on GitHub (Mar 3, 2024): The issue is fixed! thank you so much :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#205
No description provided.