mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 20:00:13 +02:00
Get rid of outdated example resolver comment in tomahawk.js
This commit is contained in:
@@ -345,51 +345,6 @@ Tomahawk.Resolver = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**** begin example implementation of a resolver ****/
|
|
||||||
|
|
||||||
|
|
||||||
// implement the resolver
|
|
||||||
/*
|
|
||||||
* var DemoResolver = Tomahawk.extend(TomahawkResolver,
|
|
||||||
* {
|
|
||||||
* getSettings: function()
|
|
||||||
* {
|
|
||||||
* return {
|
|
||||||
* name: "Demo Resolver",
|
|
||||||
* weigth: 95,
|
|
||||||
* timeout: 5,
|
|
||||||
* limit: 10
|
|
||||||
};
|
|
||||||
},
|
|
||||||
resolve: function( qid, artist, album, track )
|
|
||||||
{
|
|
||||||
return {
|
|
||||||
qid: qid,
|
|
||||||
results: [
|
|
||||||
{
|
|
||||||
artist: "Mokele",
|
|
||||||
album: "You Yourself are Me Myself and I am in Love",
|
|
||||||
track: "Hiding In Your Insides (php)",
|
|
||||||
source: "Mokele.co.uk",
|
|
||||||
url: "http://play.mokele.co.uk/music/Hiding%20In%20Your%20Insides.mp3",
|
|
||||||
bitrate: 160,
|
|
||||||
duration: 248,
|
|
||||||
size: 4971780,
|
|
||||||
score: 1.0,
|
|
||||||
extension: "mp3",
|
|
||||||
mimetype: "audio/mpeg"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
// register the resolver
|
|
||||||
Tomahawk.resolver.instance = DemoResolver;*/
|
|
||||||
|
|
||||||
/**** end example implementation of a resolver ****/
|
|
||||||
|
|
||||||
|
|
||||||
// help functions
|
// help functions
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user