Skip to content

[Spotify Player] Now Playing command throws during playback of local files #20085

Closed

Description

@NickantX

Extension

https://www.raycast.com/mattisssa/spotify-player

Raycast Version

1.100.3

macOS Version

15.5

Description

The Now Playing command in the Spotify extension throws an exception if you're currently playing a local file.

Error:

TypeError: Cannot read properties of undefined (reading 'url')

du:nowPlaying.tsx:39:90

---
36: import { getErrorMessage } from "./helpers/getError";
37: 
38: function NowPlayingCommand() {
39:   const { currentlyPlayingData, currentlyPlayingIsLoading, currentlyPlayingRevalidate } = useCurrentlyPlaying();
40:   const { playbackStateData, playbackStateIsLoading, playbackStateRevalidate } = usePlaybackState();
41:   const { myDevicesData } = useMyDevices();
42:   const { myPlaylistsData } = useMyPlaylists();
---

nowPlaying.js:44:1444
    at withAccessToken() (<anonymous>)
    at v4 (<anonymous>)

Steps To Reproduce

  • Add Local Files to your Spotify (downloads, iTunes library, doesn't really matter where)
  • Start playing it
  • Trigger the Now Playing command

Current Behaviour

The command fails completely because of the exception

Image

Expected Behaviour

The command should still run and show the current song and offer playback controls, but remove the "Copy URL" action from the Action Panel

Activity

  1. added
    bug
    extension
    on Jun 27, 2025
  2. added
    extension: spotify-player
    on Jun 27, 2025
  3. raycastbot commented on Jun 27, 2025

    @raycastbot
    Collaborator

    Thank you for opening this issue!

    🔔 @mattisssa @peduarte @sxn @dillionverma @andreaselia @stuart @tonka3000 @dancannon @pernielsentikaer @stevensd2m @erics118 @hjoelh @hobhouse @jatindotdev @the-devbear @rfaccio @badta5te @andyburris @thomaslombart @rhesamu @mpatel283 @LitoMore @EnneEmme @lineville @tsibog @viethung0823 @eyalevy23 @jonasengelmann @vmrjnvc you might want to have a look.

    💡 Author and Contributors commands

    The author and contributors of mattisssa/spotify-player can trigger bot actions by commenting:

    • @raycastbot close this issue Closes the issue.
    • @raycastbot close as not planned Closes the issue as not planned.
    • @raycastbot rename this issue to "Awesome new title" Renames the issue.
    • @raycastbot reopen this issue Reopens the issue.
    • @raycastbot assign me Assigns yourself to the issue.
    • @raycastbot good first issue Adds the "Good first issue" label to the issue.
    • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.
  4. raycastbot commented on Aug 16, 2025

    @raycastbot
    Collaborator

    This issue has been automatically marked as stale because it did not have any recent activity.

    It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

  5. added
    status: stalled
    on Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextensionextension: spotify-playerstatus: stalled

    Type

    No type

    Fields

    Priority

    None yet

    Severity

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions