It turns out that Rdio has much more streaming options (i.e. things that cannot be queued, but only "Play Now"), this means that the method to add Rdio stuff to the queue only needs to deal with tracks and albums:
Looking at the #add_spotify_to_queue and #add_spotify_to_queue methods they share some bits for building the didl_metadata, this will probably be refactored into a common helper method later when I look into implementing "Play Now" for Spotify/Rdio elements.
It turns out that Rdio has much more streaming options (i.e. things that cannot be queued, but only "Play Now"), this means that the method to add Rdio stuff to the queue only needs to deal with tracks and albums:
To add "Slow Dive" by "Young The Giant"
To add "Young The Giant" their self-titled album
Looking at the
#add_spotify_to_queue
and#add_spotify_to_queue
methods they share some bits for building thedidl_metadata
, this will probably be refactored into a common helper method later when I look into implementing "Play Now" for Spotify/Rdio elements.