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):
- Go to this page on Github: https://gist.github.com/tbeseda/3977818
- Copy the javascript
- Create a bookmarklet (a new bookmark on the toolbar)
- Name it something like “Rdio to Spotify”
- Paste the Javascript as the URL
- 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)
- 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).
- Copy the list that Ivy has created and paste them into a new playlist in Spotify.
- 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.