Title: [Plugin: WP-Spotify] Widget Bug &#8211; (SOLUTION INCLUDED)
Last modified: August 20, 2016

---

# [Plugin: WP-Spotify] Widget Bug – (SOLUTION INCLUDED)

 *  [shtian](https://wordpress.org/support/users/shtian/)
 * (@shtian)
 * [15 years ago](https://wordpress.org/support/topic/plugin-wp-spotify-widget-bug-solution-included/)
 * 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 🙂
 * [http://wordpress.org/extend/plugins/wp-spotify/](http://wordpress.org/extend/plugins/wp-spotify/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [kobestarr](https://wordpress.org/support/users/kobestarr/)
 * (@kobestarr)
 * [15 years ago](https://wordpress.org/support/topic/plugin-wp-spotify-widget-bug-solution-included/#post-2087416)
 * 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
 *  Thread Starter [shtian](https://wordpress.org/support/users/shtian/)
 * (@shtian)
 * [15 years ago](https://wordpress.org/support/topic/plugin-wp-spotify-widget-bug-solution-included/#post-2087418)
 * Hey!
 * I just made a post about using (and fixing) this plugin on my blog. Please check
   it out at [http://www.shtian.net](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.
   🙂
 *  [KATREyuk](https://wordpress.org/support/users/katreyuk/)
 * (@katreyuk)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-spotify-widget-bug-solution-included/#post-2087577)
 * A solution for WordPress 3.x database problems can be found at:
    [http://www.peorparaelsol.com/2011/10/09/solucion-a-problemas-con-wp-spotify-en-wordpress-3-x-wp-spotify-fix/](http://www.peorparaelsol.com/2011/10/09/solucion-a-problemas-con-wp-spotify-en-wordpress-3-x-wp-spotify-fix/)
 * As plugin developer was not fixing that, I found someone that had fixed it, and
   I’m sharing the fix on my site.
    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: WP-Spotify] Widget Bug – (SOLUTION INCLUDED)’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-spotify_35373a.svg)
 * [WP-Spotify](https://wordpress.org/plugins/wp-spotify/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-spotify/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-spotify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-spotify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-spotify/reviews/)

## Tags

 * [uri](https://wordpress.org/support/topic-tag/uri/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 3 replies
 * 3 participants
 * Last reply from: [KATREyuk](https://wordpress.org/support/users/katreyuk/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-spotify-widget-bug-solution-included/#post-2087577)
 * Status: not resolved