1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-30 19:00:12 +02:00

Implement request / script uuids

This commit is contained in:
Dominik Schmidt
2014-12-01 23:27:19 +01:00
parent ec3f40718e
commit a59cdbe19f
7 changed files with 16 additions and 14 deletions

View File

@@ -595,8 +595,7 @@ Tomahawk.PluginManager = {
objects: {},
identifyObject: function (object) {
if( object.id === undefined ) {
// FIXME: get a proper unique id
object.id = "foobar";
object.id = Tomahawk.uuid();
}
return object.id;