diff --git a/JellyfinPlayer.xcodeproj/project.pbxproj b/JellyfinPlayer.xcodeproj/project.pbxproj index de2c151c..b9aace8d 100644 --- a/JellyfinPlayer.xcodeproj/project.pbxproj +++ b/JellyfinPlayer.xcodeproj/project.pbxproj @@ -462,7 +462,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 15; + CURRENT_PROJECT_VERSION = 16; DEVELOPMENT_ASSET_PATHS = "\"JellyfinPlayer/Preview Content\""; DEVELOPMENT_TEAM = 9R8RREG67J; ENABLE_BITCODE = NO; @@ -491,7 +491,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 15; + CURRENT_PROJECT_VERSION = 16; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_ASSET_PATHS = "\"JellyfinPlayer/Preview Content\""; DEVELOPMENT_TEAM = 9R8RREG67J; diff --git a/JellyfinPlayer/ContentView.swift b/JellyfinPlayer/ContentView.swift index 49a5f1a8..3f8c0328 100644 --- a/JellyfinPlayer/ContentView.swift +++ b/JellyfinPlayer/ContentView.swift @@ -315,7 +315,7 @@ struct ContentView: View { } let defaults = UserDefaults.standard; if(defaults.integer(forKey: "InNetworkBandwidth") == 0) { - defaults.setValue(40000000, forKey: "inNetworkBandwidth") + defaults.setValue(40000000, forKey: "InNetworkBandwidth") } if(defaults.integer(forKey: "OutOfNetworkBandwidth") == 0) { defaults.setValue(40000000, forKey: "OutOfNetworkBandwidth") diff --git a/JellyfinPlayer/Info.plist b/JellyfinPlayer/Info.plist index de41309f..995ef34d 100644 --- a/JellyfinPlayer/Info.plist +++ b/JellyfinPlayer/Info.plist @@ -19,7 +19,7 @@ CFBundleShortVersionString $(MARKETING_VERSION) CFBundleVersion - 15 + 16 DTXApplicationID 8c1f6941-ec78-480c-b589-b41aca29a52e DTXBeaconURL diff --git a/JellyfinPlayer/LibraryView.swift b/JellyfinPlayer/LibraryView.swift index 4da403cb..c8c00b2b 100644 --- a/JellyfinPlayer/LibraryView.swift +++ b/JellyfinPlayer/LibraryView.swift @@ -168,6 +168,7 @@ struct LibraryView: View { if(prefill_id != "") { LoadingView(isShowing: $isLoading) { ScrollView(.vertical) { + Spacer().frame(height: 16) LazyVGrid(columns: tracks) { ForEach(items, id: \.Id) { item in NavigationLink(destination: ItemView(item: item )) { @@ -224,8 +225,8 @@ struct LibraryView: View { }.frame(width: 100) } } - Spacer().frame(height: 2) } + Spacer().frame(height: 16) } .onChange(of: isPortrait) { _ in recalcTracks() diff --git a/JellyfinPlayer/VideoPlayerView.swift b/JellyfinPlayer/VideoPlayerView.swift index bbe26b78..2e892ee3 100644 --- a/JellyfinPlayer/VideoPlayerView.swift +++ b/JellyfinPlayer/VideoPlayerView.swift @@ -236,6 +236,7 @@ struct VideoPlayerView: View { } else { builder.setMaxBitrate(bitrate: defaults.integer(forKey: "OutOfNetworkBandwidth")) } + print(builder.bitrate) _selectedVideoQuality.wrappedValue = builder.bitrate; let DeviceProfile = builder.buildProfile()