Ejemplo n.º 1
0
        public new void Start()
        {
            LoadSettings();
            ChannelsProvider = new ChannelContentProvider(Web, this);
            ArchiveProvider  = new ArchiveContentProvider(Web, this);
            var epg = new EpgContentProvider(this);

            RecordsProvider = new RecordContentProvider(Web, this);
            Records         = new RecordManager(this);
            _rectm          = new Timer(1001);
            _rectm.Elapsed += RectmOnElapsed;
            PluginProvider  = new PluginContentProvider(this);

            _rectm.Start();
            if (P2pProxyApp.MySettings.GetSetting("dlna", "enable", true))
            {
                base.Start();
                _itemManager = new ItemManager(this);
            }
        }
Ejemplo n.º 2
0
        public new void Start()
        {
            LoadSettings();
            ChannelsProvider = new ChannelContentProvider(Web, this);
            ArchiveProvider = new ArchiveContentProvider(Web, this);
            var epg = new EpgContentProvider(this);
            RecordsProvider = new RecordContentProvider(Web, this);
            Records = new RecordManager(this);
            _rectm = new Timer(1001);
            _rectm.Elapsed += RectmOnElapsed;
            PluginProvider = new PluginContentProvider(this);

            _rectm.Start();
            if (P2pProxyApp.MySettings.GetSetting("dlna", "enable", true))
            {
                base.Start();
                _itemManager = new ItemManager(this);
            }
        }