Rhapsody.com Play in App (Site Redesign)

By rhapsody Last update Nov 27, 2011 — Installed 345 times.


Script Summary: Adds a button to allow you to play an album inside of the Rhapsody application instead of the web based player

Version: 2.04

This script waits for the AJAX parts of the Rhapsody.com page with the play button to appear before doing anything then grabs the id of the song from Rhapsody's XML feed via it's own AJAX and putting a "Play in Application" icon on the page.

Because of the Greasemonkey AJAX call this will work in Firefox's Greasemonkey but not in Chrome. I might be able to do a jQuery AJAX call since it is all within the same domain. I'll try that out to see if I can't get this working in Chrome.

I needed to rewrite this due to the Rhapsody.com site redesign. I used jQuery this time around to make it easier to write, customize and maintain. I deleted the old version of the script with 400+ installs because simply updating the script would not have installed jQuery which is required now.

Updates:

  • Updated to deal with the new AJAX reloads by checking if the album meta data matches what was originally loaded and then does a new request if it does not.