Skip to content

Commit

Permalink
Merge pull request #95 from sindrig/hotfix-fuck
Browse files Browse the repository at this point in the history
Hotfix fuck
  • Loading branch information
sindrig committed Apr 3, 2016
2 parents 80d5f5e + e624457 commit 5876af0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spoppy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


def get_version():
return '1.4.0'
return '1.4.1'

if click:
@click.command()
Expand Down
2 changes: 1 addition & 1 deletion spoppy/menus.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def get_mock_playlist_name(self):

def shuffle_play(self):
self.navigator.player.load_playlist(
self.get_mock_playlist,
self.get_mock_playlist(),
shuffle=True
)
self.navigator.player.play_current_song()
Expand Down
4 changes: 3 additions & 1 deletion spoppy/navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ def __init__(self, username, password):
self.player = Player(self)
self.lifecycle = LifeCycle(username, password, self.player)
self.session = None

self.lifecycle.check_spotipy_logged_in()
self.spotipy_client = self.lifecycle.get_spotipy_client()

self.navigating = True
logger.debug('Leifur initialized')

def refresh_spotipy_client(self):
self.spotipy_client = self.lifecycle.get_pyspotify_client()
self.spotipy_client = self.lifecycle.get_spotipy_client()

def start(self):
if self.lifecycle.check_pyspotify_logged_in():
Expand Down

0 comments on commit 5876af0

Please sign in to comment.