From 9a6f859ff7d57c5036e2005c1e8b93a55fd20dbc Mon Sep 17 00:00:00 2001 From: Aiden Vigue Date: Wed, 2 Jun 2021 13:38:06 -0400 Subject: [PATCH] Small fixes --- JellyfinPlayer.xcodeproj/project.pbxproj | 4 ++-- JellyfinPlayer/ContentView.swift | 6 ------ JellyfinPlayer/SeasonItemView.swift | 3 --- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/JellyfinPlayer.xcodeproj/project.pbxproj b/JellyfinPlayer.xcodeproj/project.pbxproj index 89943dca..59089512 100644 --- a/JellyfinPlayer.xcodeproj/project.pbxproj +++ b/JellyfinPlayer.xcodeproj/project.pbxproj @@ -539,7 +539,7 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 32; DEVELOPMENT_ASSET_PATHS = ""; - DEVELOPMENT_TEAM = 4BHXT8RHFR; + DEVELOPMENT_TEAM = 9R8RREG67J; ENABLE_BITCODE = NO; ENABLE_PREVIEWS = YES; EXCLUDED_ARCHS = ""; @@ -566,7 +566,7 @@ CURRENT_PROJECT_VERSION = 32; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_ASSET_PATHS = ""; - DEVELOPMENT_TEAM = 4BHXT8RHFR; + DEVELOPMENT_TEAM = 9R8RREG67J; ENABLE_BITCODE = NO; ENABLE_PREVIEWS = YES; EXCLUDED_ARCHS = ""; diff --git a/JellyfinPlayer/ContentView.swift b/JellyfinPlayer/ContentView.swift index dd2f81e0..8cb02617 100644 --- a/JellyfinPlayer/ContentView.swift +++ b/JellyfinPlayer/ContentView.swift @@ -79,12 +79,6 @@ struct ContentView: View { ImageCache.shared.costLimit = 125 * 1024 * 1024 // 125MB memory DataLoader.sharedUrlCache.diskCapacity = 1000 * 1024 * 1024 // 1000MB disk -// let cache = SDImageCache(namespace: "tiny") -// cache.config.maxMemoryCost = 125 * 1024 * 1024 // 125MB memory -// cache.config.maxDiskSize = 1000 * 1024 * 1024 // 1000MB disk -// SDImageCachesManager.shared.addCache(cache) -// SDWebImageManager.defaultImageCache = SDImageCachesManager.shared - _libraries.wrappedValue = [] _library_names.wrappedValue = [:] _librariesShowRecentlyAdded.wrappedValue = [] diff --git a/JellyfinPlayer/SeasonItemView.swift b/JellyfinPlayer/SeasonItemView.swift index 97a8ccfc..995a0d69 100644 --- a/JellyfinPlayer/SeasonItemView.swift +++ b/JellyfinPlayer/SeasonItemView.swift @@ -91,9 +91,6 @@ struct SeasonItemView: View { _fullItem.wrappedValue = responseItem - print("!@#!@#@#!@#") - print(fullItem.SeriesId) - let url2 = "/Shows/\(fullItem.SeriesId ?? "")/Episodes?SeasonId=\(item.Id)&UserId=\(globalData.user?.user_id ?? "")&Fields=ItemCounts%2CPrimaryImageAspectRatio%2CBasicSyncInfo%2CCanDelete%2CMediaSourceCount%2COverview" let request2 = RestRequest(method: .get, url: (globalData.server?.baseURI ?? "") + url2)