Added Vkontakte resolver for Tomahawk. #12

Merged
merged 2 commits into from Nov 13, 2011

Projects

None yet

3 participants

@kkszysiu
Contributor
kkszysiu commented Nov 5, 2011

This is simple resolver that adding support for Vkontakte music database, which have over 24 000 000 tracks uploaded by Vkontakte users :)

@lfranchi lfranchi commented on an outdated diff Nov 5, 2011
vkontakte/vkontakte-resolver.js
@@ -0,0 +1,371 @@
+/*
+ * (c) 2011 Krzysztof Klinikowski <kkszysiu@gmail.com>
+ */
+
+debugMode = false;
+
+function xhrRequest(url, method, data, callback){
+ var xhr = new XMLHttpRequest()
+
+ if (debugMode == true) { console.debug('Sending request:', url+'?'+data); }
@lfranchi
lfranchi Nov 5, 2011 Member

You're going to want to use Tomahawk.log() instead of console.log() (and further down in the file) :)

@lfranchi
Member

Ok, so once you just replace the console.* with Tomahawk.log(), we can merge this into the repo.

@lfranchi lfranchi merged commit fe2ac10 into tomahawk-player:master Nov 13, 2011
@wayneeusa

I must be missing something. Where or how can I download the resolver? thanks

@ghost
ghost commented Dec 30, 2013

It doesn't work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment