Example #1
0
        public static bool EnableOriginalFolder(string viewType)
        {
            var types = new[] 
            { 
                CollectionType.Games, 
                CollectionType.Books, 
                CollectionType.MusicVideos, 
                CollectionType.HomeVideos, 
                CollectionType.Photos, 
                CollectionType.Music, 
                CollectionType.BoxSets
            };

            return types.Contains(viewType ?? string.Empty, StringComparer.OrdinalIgnoreCase);
        }
Example #2
0
        public static bool IsEligibleForEnhancedView(string viewType)
        {
            var types = new[] 
            { 
                CollectionType.Movies, 
                CollectionType.TvShows 
            };

            return types.Contains(viewType ?? string.Empty, StringComparer.OrdinalIgnoreCase);
        }