Widget Bug - (SOLUTION INCLUDED) (4 posts)

  1. shtian
    Posted 5 years ago #

    Could not find any contact information for the developer so I hope this will be noticed.

    In the class wp-spotify.class.php the line that posts the song string to the widget, it incorrectly sets the song URI to the album URI by selecting the wrong table:

    echo "\t<li><a href=\"spotify:track:{$Song['trackAlbumUri']}\"><div></div>{$Song['trackArtistName']} - {$Song['trackTrackTitle']}</a></li>\n";
    should be:
    echo "\t<li><a href=\"spotify:track:{$Song['trackTrackUri']}\"><div></div>{$Song['trackArtistName']} - {$Song['trackTrackTitle']}</a></li>\n";
    Fixed it for me, anyways.

    Thanks for a great widget, I'm loving it :)


  2. kobestarr
    Posted 5 years ago #

    hey there!

    I have been trying to work out how to use this plugin. How do i get the uri short code? everytime i copy http or uri address the a clean link comes up when pasted?

    Also what is the widget for?

    There is very little documentation about this plugin but i love spotify so i would love to learn how to use it!

    Cheers Kobi

  3. shtian
    Posted 5 years ago #


    I just made a post about using (and fixing) this plugin on my blog. Please check it out at http://www.shtian.net. If you have any questions after reading it, just post a comment or send me an email - I'd be happy to help. :)

  4. KATREyuk
    Posted 4 years ago #

    A solution for WordPress 3.x database problems can be found at:

    As plugin developer was not fixing that, I found someone that had fixed it, and I'm sharing the fix on my site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Spotify
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic