Fix linter errors
This commit is contained in:
@@ -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"
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user