Skip to content

[Youtube Music] ... Like Song feature works as dislike if is already liked #17508

Closed as not planned

Description

@atharva-gadekar

Extension

https://www.raycast.com/danieldbird/youtube-music

Raycast Version

1.93.0

macOS Version

14.6

Description

If a song is already liked, the like feature works as dislike, removing the song from liked collection.

I checked out the code for the same, it appears that the code simply executes a click on the like button irrespective of the state of the liked button. This is why it works as dislike.

      "(document.querySelector('#like-button-renderer > tp-yt-paper-icon-button.like.style-scope.ytmusic-like-button-renderer') || document.querySelector('like-button-view-model button')).click();"

This should have had an if condition to check if the song has already been liked. The feature must simply do nothing if a song is already liked.

Steps To Reproduce

Play a liked song and use the feature. This will reproduce the issue.

Current Behaviour

Like song feature behaves like dislike for already liked songs.

Expected Behaviour

Like song feature must do nothing to songs which have been already liked

Activity

  1. added
    bug
    extension
    on Mar 3, 2025
  2. added
    extension: youtube-music
    on Mar 3, 2025
  3. raycastbot commented on Mar 3, 2025

    @raycastbot
    Collaborator

    Thank you for opening this issue!

    🔔 @danieldbird @AlexStrNik @zach-fuller @gnosticdev you might want to have a look.

    💡 Author and Contributors commands

    The author and contributors of danieldbird/youtube-music 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. theDeal commented on Apr 15, 2025

    @theDeal
    Contributor

    Very Relevant

  5. theDeal commented on Apr 16, 2025

    @theDeal
    Contributor

    Please Review this Pull request - I fixed the issue described here and added a new remove like comand.
    #18631

  6. raycastbot commented on Jun 5, 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 😊

  7. added
    status: stalled
    on Jun 5, 2025
  8. raycastbot commented on Jun 15, 2025

    @raycastbot
    Collaborator

    This issue has been automatically closed due to inactivity.

    Feel free to comment in the thread when you're ready to continue working on it 🙂

    You can also catch us in Slack if you want to discuss this.

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: youtube-musicstatus: 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