Verified Commit 3626e295 authored by Sumner Evans's avatar Sumner Evans 💬
Browse files

Move Players out of ui/common

parent a8ad114b
Pipeline #117006631 passed with stages
in 7 minutes and 30 seconds
......@@ -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):
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):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment