Fix linter errors

This commit is contained in:
Sumner Evans
2020-06-14 00:08:23 -06:00
parent 569d717e57
commit 3cec921653
4 changed files with 1 additions and 2 deletions

View File

@@ -123,7 +123,6 @@ class ChromecastPlayer(Player):
self, status: pychromecast.controllers.media.MediaStatus,
):
# Detect the end of a track and go to the next one.
print(status)
if (
status.idle_reason == "FINISHED"
and status.player_state == "IDLE"

View File

@@ -131,7 +131,6 @@ class PlayerControls(Gtk.ActionBar):
GLib.timeout_add(350, cycle_connecting, connecting_to_device_token)
icon = ""
print(app_config.state.current_device)
if app_config.state.connecting_to_device:
icon = "-connecting-0"
self.connecting_icon_index = 0

View File

@@ -106,6 +106,7 @@ class UIState:
self.playing = False
from sublime.players import PlayerManager
self.available_players = {
pt: set() for pt in PlayerManager.available_player_types
}