X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=melodactyl%2Fcontent%2Flibrary.js;h=95f165921e2f6cc454aa94c8031c5e35d54f2726;hb=70740024f9c028c1fd63e1a1850ab062ff956054;hp=be884741d19e5637202d34eb7953fc2b3ef5d572;hpb=eeed0be1a8abf7e3c97f43b63c1d595e940fef21;p=dactyl.git diff --git a/melodactyl/content/library.js b/melodactyl/content/library.js index be88474..95f1659 100644 --- a/melodactyl/content/library.js +++ b/melodactyl/content/library.js @@ -22,7 +22,7 @@ const Library = Module("library", { /** * Returns an array of all the artist names in the main library. * - * @returns {string[]} + * @returns {[string]} */ getArtists: function getArtists() this._toJSArray(this.MAIN_LIBRARY.getDistinctValuesForProperty(SBProperties.artistName)), @@ -32,7 +32,7 @@ const Library = Module("library", { * library. * * @param {string} artist The artist's name. - * @returns {string[]} + * @returns {[string]} */ getAlbums: function getAlbums(artist) { let albums = this._toJSArray(this.MAIN_LIBRARY.getItemsByProperty(SBProperties.artistName, artist)) @@ -46,7 +46,7 @@ const Library = Module("library", { * * @param {string} artist The artist's name. * @param {string} album The album's name. - * @returns {string[]} + * @returns {[string]} */ getTracks: function getTracks(artist, album) { let properties = services.MutablePropertyArray();