rename channel category to channel folder

This commit is contained in:
Luke Pulverenti
2014-05-23 10:09:58 -04:00
parent 28e754767a
commit 40836f194b
15 changed files with 49 additions and 30 deletions

View File

@@ -53,5 +53,10 @@ namespace MediaBrowser.Controller.Channels
return base.LocationType;
}
}
public override string GetClientTypeName()
{
return "audio.channelItem";
}
}
}

View File

@@ -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";
}
}
}

View File

@@ -4,6 +4,6 @@
{
Media = 0,
Category = 1
Folder = 1
}
}

View File

@@ -77,5 +77,10 @@ namespace MediaBrowser.Controller.Channels
return base.LocationType;
}
}
public override string GetClientTypeName()
{
return "video.channelItem";
}
}
}

View File

@@ -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; }

View File

@@ -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" />