cody-music
Advanced tools
Comparing version 2.0.8 to 2.0.9
@@ -387,2 +387,12 @@ "use strict"; | ||
playlists = await playlist.getPlaylists(); | ||
} else { | ||
let playlistNames: string[] = await getPlaylistNames(player); | ||
if (playlistNames) { | ||
playlists = playlistNames.map(name => { | ||
let playlistItem: PlaylistItem = new PlaylistItem(); | ||
playlistItem.public = false; | ||
playlistItem.name = name; | ||
return playlistItem; | ||
}); | ||
} | ||
} | ||
@@ -389,0 +399,0 @@ |
@@ -106,5 +106,4 @@ export enum PlayerType { | ||
id: string = ""; | ||
tracks: Track[] = []; | ||
collaborative: boolean = false; | ||
public: boolean = true; | ||
} |
{ | ||
"name": "cody-music", | ||
"version": "2.0.8", | ||
"version": "2.0.9", | ||
"description": "mac osx spotify and itunes music player controller, spotify audio features, itunes and spotify genre, and playlist control", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
287444
7037