Пример #1
0
        public void Activated(PluginRuntime pluginRuntime)
        {
            ServiceRegistration.Set <ITvHandler>(new SlimTvHandler());

            // Register recording section in MediaLibrary
            RecordingsLibrary.RegisterOnMediaLibrary();
        }
        public void Activated(PluginRuntime pluginRuntime)
        {
            ServiceRegistration.Set <ITvHandler>(new SlimTvHandler());
            ServiceRegistration.Set <ISlimTvNotificationService>(new SlimTvNotificationService());
            // Register recording section in MediaLibrary
            RecordingsLibrary.RegisterOnMediaLibrary();

            // Dummy call to static instance which creates required message handlers
            var channels = ChannelContext.Instance.Channels;
        }