1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

[0.9 api]Report all browse capabilities for builtin collection implementation

This commit is contained in:
Anton Romanov
2015-09-11 23:52:52 -07:00
parent 39ea028518
commit ddffd7c935

View File

@@ -1845,6 +1845,8 @@ Tomahawk.Collection = {
this.settings.trackcount = this._trackCount;
if(! this.settings.description)
this.settings.description = this.settings.prettyname;
this.settings.capabilities = [Tomahawk.Collection.BrowseCapability.Artists,
Tomahawk.Collection.BrowseCapability.Albums, Tomahawk.Collection.BrowseCapability.Tracks];
return this.settings;
}
};