mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 12:44:19 +01:00
rename channel category to channel folder
This commit is contained in:
@@ -53,5 +53,10 @@ namespace MediaBrowser.Controller.Channels
|
||||
return base.LocationType;
|
||||
}
|
||||
}
|
||||
|
||||
public override string GetClientTypeName()
|
||||
{
|
||||
return "audio.channelItem";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Controller.Channels
|
||||
{
|
||||
public class ChannelCategoryItem : Folder, IChannelItem
|
||||
public class ChannelFolderItem : Folder, IChannelItem
|
||||
{
|
||||
public string ExternalId { get; set; }
|
||||
|
||||
@@ -29,9 +29,14 @@ namespace MediaBrowser.Controller.Channels
|
||||
}
|
||||
}
|
||||
|
||||
public ChannelCategoryItem()
|
||||
public ChannelFolderItem()
|
||||
{
|
||||
Tags = new List<string>();
|
||||
}
|
||||
|
||||
public override string GetClientTypeName()
|
||||
{
|
||||
return "folder.channelItem";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,6 @@
|
||||
{
|
||||
Media = 0,
|
||||
|
||||
Category = 1
|
||||
Folder = 1
|
||||
}
|
||||
}
|
||||
@@ -77,5 +77,10 @@ namespace MediaBrowser.Controller.Channels
|
||||
return base.LocationType;
|
||||
}
|
||||
}
|
||||
|
||||
public override string GetClientTypeName()
|
||||
{
|
||||
return "video.channelItem";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace MediaBrowser.Controller.Channels
|
||||
{
|
||||
public class InternalChannelItemQuery
|
||||
{
|
||||
public string CategoryId { get; set; }
|
||||
public string FolderId { get; set; }
|
||||
|
||||
public User User { get; set; }
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
<Compile Include="..\SharedVersion.cs">
|
||||
<Link>Properties\SharedVersion.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Channels\ChannelCategoryItem.cs" />
|
||||
<Compile Include="Channels\ChannelFolderItem.cs" />
|
||||
<Compile Include="Channels\ChannelItemInfo.cs" />
|
||||
<Compile Include="Channels\ChannelItemResult.cs" />
|
||||
<Compile Include="Channels\ChannelItemType.cs" />
|
||||
|
||||
Reference in New Issue
Block a user