|
|
@ -13,8 +13,8 @@ from Channel import SVT, YouTube
|
|
|
|
from ChannelProvider import ChannelProvider
|
|
|
|
from ChannelProvider import ChannelProvider
|
|
|
|
from Utils import make_sized_button
|
|
|
|
from Utils import make_sized_button
|
|
|
|
|
|
|
|
|
|
|
|
WIDTH = 720
|
|
|
|
WIDTH = 720 / 2
|
|
|
|
HEIGHT = 1440
|
|
|
|
HEIGHT = 1440 / 2
|
|
|
|
BTN_HEIGHT = 40
|
|
|
|
BTN_HEIGHT = 40
|
|
|
|
SPACER_HEIGHT = 10
|
|
|
|
SPACER_HEIGHT = 10
|
|
|
|
|
|
|
|
|
|
|
@ -64,6 +64,7 @@ class Cast(wx.Frame):
|
|
|
|
]
|
|
|
|
]
|
|
|
|
self.m_selected_channel = None
|
|
|
|
self.m_selected_channel = None
|
|
|
|
self.m_selected_provider_index = None
|
|
|
|
self.m_selected_provider_index = None
|
|
|
|
|
|
|
|
self,
|
|
|
|
self.show_provider_list(None)
|
|
|
|
self.show_provider_list(None)
|
|
|
|
|
|
|
|
|
|
|
|
def add_back_button(self, callback: Callable) -> None:
|
|
|
|
def add_back_button(self, callback: Callable) -> None:
|
|
|
|