Move Players out of ui/common
This commit is contained in:
@@ -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):
|
||||
|
@@ -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
|
@@ -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):
|
||||
|
Reference in New Issue
Block a user