mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
factor device pixel ratio into downloaded image size
This commit is contained in:
@@ -53,10 +53,5 @@ namespace MediaBrowser.Controller.Channels
|
||||
return base.LocationType;
|
||||
}
|
||||
}
|
||||
|
||||
public override string GetClientTypeName()
|
||||
{
|
||||
return "audio.channelItem";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,10 +33,5 @@ namespace MediaBrowser.Controller.Channels
|
||||
{
|
||||
Tags = new List<string>();
|
||||
}
|
||||
|
||||
public override string GetClientTypeName()
|
||||
{
|
||||
return "folder.channelItem";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,10 +77,5 @@ namespace MediaBrowser.Controller.Channels
|
||||
return base.LocationType;
|
||||
}
|
||||
}
|
||||
|
||||
public override string GetClientTypeName()
|
||||
{
|
||||
return "video.channelItem";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,11 +22,17 @@ namespace MediaBrowser.Controller.Channels
|
||||
/// <value>The data version.</value>
|
||||
string DataVersion { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the home page URL.
|
||||
/// </summary>
|
||||
/// <value>The home page URL.</value>
|
||||
string HomePageUrl { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the channel information.
|
||||
/// </summary>
|
||||
/// <returns>ChannelInfo.</returns>
|
||||
ChannelInfo GetChannelInfo();
|
||||
/// <returns>ChannelFeatures.</returns>
|
||||
ChannelFeatures GetChannelFeatures();
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether [is enabled for] [the specified user].
|
||||
@@ -52,6 +58,14 @@ namespace MediaBrowser.Controller.Channels
|
||||
/// <returns>Task{IEnumerable{ChannelItem}}.</returns>
|
||||
Task<ChannelItemResult> GetChannelItems(InternalChannelItemQuery query, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets all media.
|
||||
/// </summary>
|
||||
/// <param name="query">The query.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{ChannelItemResult}.</returns>
|
||||
Task<ChannelItemResult> GetAllMedia(InternalAllChannelItemsQuery query, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the channel image.
|
||||
/// </summary>
|
||||
|
||||
@@ -12,4 +12,14 @@ namespace MediaBrowser.Controller.Channels
|
||||
|
||||
public int? Limit { get; set; }
|
||||
}
|
||||
|
||||
public class InternalAllChannelItemsQuery
|
||||
{
|
||||
public User User { get; set; }
|
||||
|
||||
public int? StartIndex { get; set; }
|
||||
|
||||
public int? Limit { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user