update tabs

This commit is contained in:
Luke Pulverenti 2015-09-01 10:01:59 -04:00
parent 30c8937e36
commit d8c8e57a0b
2 changed files with 20 additions and 13 deletions

View File

@ -77,11 +77,11 @@ namespace MediaBrowser.Providers.Folders
if (string.Equals(viewType, CollectionType.Books, StringComparison.OrdinalIgnoreCase))
{
//return urlPrefix + "books.png";
return urlPrefix + "books.png";
}
if (string.Equals(viewType, CollectionType.Games, StringComparison.OrdinalIgnoreCase))
{
//return urlPrefix + "games.png";
return urlPrefix + "games.png";
}
if (string.Equals(viewType, CollectionType.Music, StringComparison.OrdinalIgnoreCase))
{
@ -97,7 +97,7 @@ namespace MediaBrowser.Providers.Folders
}
if (string.Equals(viewType, CollectionType.Channels, StringComparison.OrdinalIgnoreCase))
{
//return urlPrefix + "channels.png";
return urlPrefix + "generic.png";
}
if (string.Equals(viewType, CollectionType.LiveTv, StringComparison.OrdinalIgnoreCase))
{
@ -111,9 +111,24 @@ namespace MediaBrowser.Providers.Folders
{
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 urlPrefix + "generic.png";
}
public string Name

View File

@ -147,15 +147,7 @@ namespace MediaBrowser.Server.Implementations.UserViews
{
CollectionType.Movies,
CollectionType.TvShows,
CollectionType.Games,
CollectionType.Music,
CollectionType.BoxSets,
CollectionType.Channels,
CollectionType.Books,
CollectionType.Photos,
CollectionType.HomeVideos,
CollectionType.MusicVideos,
string.Empty
CollectionType.Music
};
return collectionStripViewTypes.Contains(view.ViewType ?? string.Empty);