mei 112014
 

Een workflow om een Rdio playlist over te zetten naar een Spotify playlist.
Ik vond ‘m by Last.fm op
~ How to move playlists between streaming services – Sites that scrobble to Last.fm Discussions – Last.fm

Convert a Rdio Playlist In a Spotify Playlist Found a way to do it in Chrome (although it should also work in Firefox):

  1. Go to this page on Github: https://gist.github.com/tbeseda/3977818
  2. Copy the javascript
  3. Create a bookmarklet (a new bookmark on the toolbar)
  4. Name it something like “Rdio to Spotify”
  5. Paste the Javascript as the URL
  6. Go to the playlist in Rdio and click on the bookmarklet and you’ll get a new tab with a list of the tracks (artist name – track name)
  7. Select this list (ctrl+a) and go to Ivyshare (http://www.ivyishere.org/), paste your clipboard in the correct section and let Ivy search for them (might take a while).
  8. Copy the list that Ivy has created and paste them into a new playlist in Spotify.
  9. enjoy

Het javascript dat genoemd wordt en momenteel werkt is als volgt:

javascript:(function() {
var bookmarklet = {
init: function() {
  this.parse();
},
parse: function() {
  page = "";
  $(".Track:visible")
    .children(".info")
    .each(function() {
      line = [];
      function buildLine() {
        line.push($(this).text());
      }

 $(this).children(".metadata").children("a:first").each(buildLine);
      $(this).children(".name").children("a").each(buildLine);
      page += line.join(" - ") + "rn";
  });
  window.open("data:text/plain;charset=utf-8," + encodeURIComponent(page), "");
}
};

if (!window.jQuery) {
load();
} else {
bookmarklet.init();
}

function load() {
var script = document.createElement("script");
script.src = "http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js";
script.async = true;
script.type = "text/javascript";
script.onload = function() { bookmarklet.init(); };
document.body.appendChild(script);
}
})();

N.B. Het is niet ondenkbaar dat dit script in de toekomst niet meet werkt omdat Rdio hetzij Spotify iets aan hun API verandert.

_______________ » Download deze post als een e-book

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)