diff --git a/public/images/tumblr-share.png b/public/images/tumblr-share.png new file mode 100644 index 00000000..a0a8cbb5 Binary files /dev/null and b/public/images/tumblr-share.png differ diff --git a/public/scripts/app/services/playlists.coffee b/public/scripts/app/services/playlists.coffee index 87dfdc97..b11efb82 100644 --- a/public/scripts/app/services/playlists.coffee +++ b/public/scripts/app/services/playlists.coffee @@ -36,8 +36,12 @@ angular.module('ponyfm').factory('playlists', [ return playlistDef if !force && playlistDef playlistDef = new $.Deferred() - $http.get('/api/web/playlists/owned').success (playlists) -> - playlistDef.resolve playlists + + if auth.data.isLogged + $http.get('/api/web/playlists/owned').success (playlists) -> + playlistDef.resolve playlists + else + playlistDef.resolve [] playlistDef diff --git a/public/templates/albums/show.html b/public/templates/albums/show.html index d74594bd..80461e8c 100644 --- a/public/templates/albums/show.html +++ b/public/templates/albums/show.html @@ -25,7 +25,7 @@
diff --git a/public/templates/playlists/show.html b/public/templates/playlists/show.html index 1e3de90f..e3aadd10 100644 --- a/public/templates/playlists/show.html +++ b/public/templates/playlists/show.html @@ -24,7 +24,7 @@ diff --git a/public/templates/tracks/show.html b/public/templates/tracks/show.html index 41895ed6..c5a195c7 100644 --- a/public/templates/tracks/show.html +++ b/public/templates/tracks/show.html @@ -44,7 +44,7 @@