Resolve "Display new playlist report"
Compare changes
+ 5
− 2
@@ -48,6 +48,7 @@ $templateData = [
@@ -48,6 +48,7 @@ $templateData = [
@@ -106,7 +107,8 @@ if ($generatePlaylistFromPlaylist) {
@@ -106,7 +107,8 @@ if ($generatePlaylistFromPlaylist) {
error_log('Will create new playlist with filterted recommendations from artists: '.join(', ', $selectedArtists).'".');
@@ -139,7 +141,8 @@ if ($generatePlaylistFromPlaylist) {
@@ -139,7 +141,8 @@ if ($generatePlaylistFromPlaylist) {
$templateData['topArtists'] = $api->getMyTop('artists', ['limit' => $topArtistsCount, 'time_range' => 'short_term'])->items;
$templateData['playlists'] = $api->getUserPlaylists($user->id, ['limit' => $playlistsCount])->items;