|
|
@ -77,11 +77,11 @@ namespace MediaBrowser.Providers.Folders
|
|
|
|
|
|
|
|
|
|
|
|
if (string.Equals(viewType, CollectionType.Books, StringComparison.OrdinalIgnoreCase))
|
|
|
|
if (string.Equals(viewType, CollectionType.Books, StringComparison.OrdinalIgnoreCase))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//return urlPrefix + "books.png";
|
|
|
|
return urlPrefix + "books.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (string.Equals(viewType, CollectionType.Games, StringComparison.OrdinalIgnoreCase))
|
|
|
|
if (string.Equals(viewType, CollectionType.Games, StringComparison.OrdinalIgnoreCase))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//return urlPrefix + "games.png";
|
|
|
|
return urlPrefix + "games.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (string.Equals(viewType, CollectionType.Music, StringComparison.OrdinalIgnoreCase))
|
|
|
|
if (string.Equals(viewType, CollectionType.Music, StringComparison.OrdinalIgnoreCase))
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -97,7 +97,7 @@ namespace MediaBrowser.Providers.Folders
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (string.Equals(viewType, CollectionType.Channels, StringComparison.OrdinalIgnoreCase))
|
|
|
|
if (string.Equals(viewType, CollectionType.Channels, StringComparison.OrdinalIgnoreCase))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//return urlPrefix + "channels.png";
|
|
|
|
return urlPrefix + "generic.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (string.Equals(viewType, CollectionType.LiveTv, StringComparison.OrdinalIgnoreCase))
|
|
|
|
if (string.Equals(viewType, CollectionType.LiveTv, StringComparison.OrdinalIgnoreCase))
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -111,9 +111,24 @@ namespace MediaBrowser.Providers.Folders
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return urlPrefix + "playlists.png";
|
|
|
|
return urlPrefix + "playlists.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (string.Equals(viewType, CollectionType.HomeVideos, StringComparison.OrdinalIgnoreCase))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return urlPrefix + "homevideos.png";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (string.Equals(viewType, CollectionType.MusicVideos, StringComparison.OrdinalIgnoreCase))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return urlPrefix + "musicvideos.png";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (string.Equals(viewType, CollectionType.BoxSets, StringComparison.OrdinalIgnoreCase))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return urlPrefix + "generic.png";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (string.IsNullOrWhiteSpace(viewType))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return urlPrefix + "generic.png";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
//return urlPrefix + "generic.png";
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public string Name
|
|
|
|
public string Name
|
|
|
|