forked from jellyfin/jellyfin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jellyfin#6042 from crobibero/mbc-warn-2
- Loading branch information
Showing
53 changed files
with
417 additions
and
435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
MediaBrowser.Controller/Channels/IDisableMediaSourceDisplay.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#pragma warning disable CS1591 | ||
|
||
namespace MediaBrowser.Controller.Channels | ||
{ | ||
public interface IDisableMediaSourceDisplay | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#pragma warning disable CS1591 | ||
|
||
namespace MediaBrowser.Controller.Channels | ||
{ | ||
public interface IHasFolderAttributes | ||
{ | ||
string[] Attributes { get; } | ||
} | ||
} |
8 changes: 6 additions & 2 deletions
8
MediaBrowser.Controller/Channels/IRequiresMediaInfoCallback.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
#pragma warning disable CS1591 | ||
|
||
using System.Collections.Generic; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using MediaBrowser.Model.Dto; | ||
|
||
namespace MediaBrowser.Controller.Channels | ||
{ | ||
/// <summary> | ||
/// The channel requires a media info callback. | ||
/// </summary> | ||
public interface IRequiresMediaInfoCallback | ||
{ | ||
/// <summary> | ||
/// Gets the channel item media information. | ||
/// </summary> | ||
/// <param name="id">The channel item id.</param> | ||
/// <param name="cancellationToken">The cancellation token.</param> | ||
/// <returns>The enumerable of media source info.</returns> | ||
Task<IEnumerable<MediaSourceInfo>> GetChannelItemMediaInfo(string id, CancellationToken cancellationToken); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#pragma warning disable CS1591 | ||
|
||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using MediaBrowser.Controller.Entities; | ||
|
||
namespace MediaBrowser.Controller.Channels | ||
{ | ||
public interface ISupportsDelete | ||
{ | ||
bool CanDelete(BaseItem item); | ||
|
||
Task DeleteItem(string id, CancellationToken cancellationToken); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#nullable disable | ||
|
||
#pragma warning disable CS1591 | ||
|
||
using System.Collections.Generic; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
|
||
namespace MediaBrowser.Controller.Channels | ||
{ | ||
public interface ISupportsLatestMedia | ||
{ | ||
/// <summary> | ||
/// Gets the latest media. | ||
/// </summary> | ||
/// <param name="request">The request.</param> | ||
/// <param name="cancellationToken">The cancellation token.</param> | ||
/// <returns>The latest media.</returns> | ||
Task<IEnumerable<ChannelItemInfo>> GetLatestMedia(ChannelLatestMediaSearch request, CancellationToken cancellationToken); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#pragma warning disable CS1591 | ||
|
||
namespace MediaBrowser.Controller.Channels | ||
{ | ||
public interface ISupportsMediaProbe | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.