Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
Fixed undefined error
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkgroenen committed Jan 4, 2015
1 parent 7cfa756 commit bd4a7fb
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mopidy-mopify",
"description": "Webclient for Mopidy",
"version": "1.1.0",
"version": "1.1.1",
"homepage": "https://github.com/dirkgroenen/mopidy-mopify",
"license": "apache",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion dist/assets/mopidy-mopify-1.1.0.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/assets/mopidy-mopify-1.1.0.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mopidy_mopify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from mopidy import config, ext

__version__ = '1.1.0'
__version__ = '1.1.1'

class MopifyExtension(ext.Extension):
dist_name = 'Mopidy-Mopify'
Expand Down
2 changes: 1 addition & 1 deletion mopidy_mopify/static/assets/mopidy-mopify-1.1.0.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mopidy_mopify/static/assets/mopidy-mopify-1.1.0.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mopidy-mopify",
"author": "Dirk Groenen",
"version": "1.1.0",
"version": "1.1.1",
"description": "Webclient for Mopidy",
"repository": "https://github.com/dirkgroenen/mopidy-mopify",
"licenses": {
Expand Down
5 changes: 4 additions & 1 deletion src/app/services/playlistmanager.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ angular.module("mopify.services.playlistmanager", [
this.loading = true;

// Get the spotify loadplaylists setting
var loadspotifyplaylists = Settings.get("spotify").loadspotifyplaylists;
var loadspotifyplaylists = false;

if(Settings.get("spotify") !== undefined)
loadspotifyplaylists = Settings.get("spotify").loadspotifyplaylists;

// Load the playlists from Spotify is the user is connected, otherwise load them from Mopidy
if(ServiceManager.isEnabled("spotify") && loadspotifyplaylists === true){
Expand Down

0 comments on commit bd4a7fb

Please sign in to comment.