mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 22:38:30 +01:00
added music and game genre image downloading
This commit is contained in:
@@ -161,7 +161,7 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// <param name="id">The identifier.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{Stream}.</returns>
|
||||
Task<StreamResponseInfo> GetRecordingStream(string id, CancellationToken cancellationToken);
|
||||
Task<LiveStreamInfo> GetRecordingStream(string id, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the channel stream.
|
||||
@@ -169,7 +169,7 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// <param name="id">The identifier.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{StreamResponseInfo}.</returns>
|
||||
Task<StreamResponseInfo> GetChannelStream(string id, CancellationToken cancellationToken);
|
||||
Task<LiveStreamInfo> GetChannelStream(string id, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the program.
|
||||
|
||||
@@ -145,7 +145,7 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// <param name="recordingId">The recording identifier.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{Stream}.</returns>
|
||||
Task<StreamResponseInfo> GetRecordingStream(string recordingId, CancellationToken cancellationToken);
|
||||
Task<LiveStreamInfo> GetRecordingStream(string recordingId, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the channel stream.
|
||||
@@ -153,6 +153,6 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// <param name="channelId">The channel identifier.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{Stream}.</returns>
|
||||
Task<StreamResponseInfo> GetChannelStream(string channelId, CancellationToken cancellationToken);
|
||||
Task<LiveStreamInfo> GetChannelStream(string channelId, CancellationToken cancellationToken);
|
||||
}
|
||||
}
|
||||
|
||||
18
MediaBrowser.Controller/LiveTv/LiveStreamInfo.cs
Normal file
18
MediaBrowser.Controller/LiveTv/LiveStreamInfo.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
namespace MediaBrowser.Controller.LiveTv
|
||||
{
|
||||
public class LiveStreamInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the path.
|
||||
/// </summary>
|
||||
/// <value>The path.</value>
|
||||
public string Path { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the URL.
|
||||
/// </summary>
|
||||
/// <value>The URL.</value>
|
||||
public string Url { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -109,6 +109,7 @@
|
||||
<Compile Include="Library\IUserDataManager.cs" />
|
||||
<Compile Include="Library\UserDataSaveEventArgs.cs" />
|
||||
<Compile Include="LiveTv\ILiveTvRecording.cs" />
|
||||
<Compile Include="LiveTv\LiveStreamInfo.cs" />
|
||||
<Compile Include="LiveTv\LiveTvAudioRecording.cs" />
|
||||
<Compile Include="LiveTv\LiveTvChannel.cs" />
|
||||
<Compile Include="LiveTv\ChannelInfo.cs" />
|
||||
|
||||
Reference in New Issue
Block a user