|
|
@ -8,9 +8,9 @@ import wx
|
|
|
|
import wx.lib.scrolledpanel as scrolled
|
|
|
|
import wx.lib.scrolledpanel as scrolled
|
|
|
|
import wx.media
|
|
|
|
import wx.media
|
|
|
|
|
|
|
|
|
|
|
|
from ChannelProvider import SVT, ChannelProvider, YouTube
|
|
|
|
from Channel import SVT, Channel, YouTube
|
|
|
|
|
|
|
|
|
|
|
|
ChannelProvider = NewType('ChannelProvider', ChannelProvider)
|
|
|
|
Channel = NewType('Channel', Channel)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Cast(wx.Frame):
|
|
|
|
class Cast(wx.Frame):
|
|
|
@ -33,7 +33,7 @@ class Cast(wx.Frame):
|
|
|
|
self.m_control = None
|
|
|
|
self.m_control = None
|
|
|
|
self.m_panel.SetupScrolling()
|
|
|
|
self.m_panel.SetupScrolling()
|
|
|
|
self.m_panel.SetSizer(self.m_sizer)
|
|
|
|
self.m_panel.SetSizer(self.m_sizer)
|
|
|
|
self.m_providers: list[ChannelProvider] = [
|
|
|
|
self.m_providers: list[Channel] = [
|
|
|
|
YouTube.YouTube('UCu6mSoMNzHQiBIOCkHUa2Aw'),
|
|
|
|
YouTube.YouTube('UCu6mSoMNzHQiBIOCkHUa2Aw'),
|
|
|
|
SVT.SVT()
|
|
|
|
SVT.SVT()
|
|
|
|
]
|
|
|
|
]
|
|
|
|