update tabs

pull/702/head
Luke Pulverenti 9 years ago
parent 30c8937e36
commit d8c8e57a0b

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

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

Loading…
Cancel
Save