mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
added live tv events
This commit is contained in:
12
MediaBrowser.Controller/LiveTv/EventArgs.cs
Normal file
12
MediaBrowser.Controller/LiveTv/EventArgs.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using MediaBrowser.Model.LiveTv;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Controller.LiveTv
|
||||
{
|
||||
public class RecordingStatusChangedEventArgs : EventArgs
|
||||
{
|
||||
public string RecordingId { get; set; }
|
||||
|
||||
public RecordingStatus NewStatus { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -10,6 +10,16 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// </summary>
|
||||
public interface ILiveTvService
|
||||
{
|
||||
/// <summary>
|
||||
/// Occurs when [data source changed].
|
||||
/// </summary>
|
||||
event EventHandler DataSourceChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when [recording status changed].
|
||||
/// </summary>
|
||||
event EventHandler<RecordingStatusChangedEventArgs> RecordingStatusChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name.
|
||||
/// </summary>
|
||||
|
||||
@@ -112,6 +112,7 @@
|
||||
<Compile Include="Library\ItemUpdateType.cs" />
|
||||
<Compile Include="Library\IUserDataManager.cs" />
|
||||
<Compile Include="Library\UserDataSaveEventArgs.cs" />
|
||||
<Compile Include="LiveTv\EventArgs.cs" />
|
||||
<Compile Include="LiveTv\ILiveTvRecording.cs" />
|
||||
<Compile Include="LiveTv\LiveStreamInfo.cs" />
|
||||
<Compile Include="LiveTv\LiveTvAudioRecording.cs" />
|
||||
|
||||
Reference in New Issue
Block a user