Move Players out of ui/common

This commit is contained in:
Sumner Evans
2020-02-11 10:55:06 -07:00
parent a8ad114b90
commit 3626e29525
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ from .dbus_manager import DBusManager, dbus_propagate
from .state_manager import ApplicationState, RepeatType
from .cache_manager import CacheManager
from .server.api_objects import Child, Directory
from .ui.common.players import PlayerEvent, MPVPlayer, ChromecastPlayer
from .players import PlayerEvent, MPVPlayer, ChromecastPlayer
class SublimeMusicApp(Gtk.Application):

View File

@@ -123,7 +123,7 @@ class MPVPlayer(Player):
super().__init__(*args)
self.mpv = mpv.MPV()
self.mpv.audio_client_name = 'Sublime Music'
self.mpv.audio_client_name = 'sublime-music'
self.progress_value_lock = threading.Lock()
self.progress_value_count = 0
self._muted = False

View File

@@ -12,7 +12,7 @@ from sublime.cache_manager import CacheManager
from sublime.state_manager import ApplicationState, RepeatType
from sublime.ui import util
from sublime.ui.common import IconButton, SpinnerImage
from sublime.ui.common.players import ChromecastPlayer
from sublime.players import ChromecastPlayer
class PlayerControls(Gtk.ActionBar):