Commit Graph

63 Commits

Author SHA1 Message Date
Ethan Pippin e12adc7c69
Empty User Profile Image Crash (#1195) 2024-08-18 05:42:17 +09:00
Ethan Pippin dcb3483e8d
Fix Image Crash (#1191) 2024-08-15 20:34:37 -06:00
Joe 56bd62db80
App-Wide Bitrate Limit (#1147)
* Creation of bitrate selections that mirror Jellyfin-Web. The goal is to eventually allow for these same selections to be available for usage in the Player itself to set the max bitrate per playback session. This App-Wide setting is for things like preserving data (Mobile) or for areas that have perpetually have low bandwidth (AppleTV). These settings currently default to 'Auto' which is the current limit of 360,000,000 bps / 360 mpbs. I have added a spot in BaseItemDTO+VideoPlayerViewModel to get the smaller amount between 360 Mpbs and the App Maximum Setting. This exists so I can go back and update this to get the Minumum between the Player Session max bitrate and the App Setting max bitrate.

Test on iPhone 10S, AppleTV 3rd Gen, and the iPhone 15 Pro via enumulator.

* Fix Bitrate naming (360p vs 480p) and remove the setting nested in a second section.

* Creation of a Maximum setting with 360mbps and an auto that gets the bitrate at playback.

* Remove comments for code where I want to eventually put it for better clarify

* Linting fixes

* Change the Playback Bitrate to an Int from a String since the Bitrate is valuable but the string isn't. Run the SwiftFormat on the maxBitrate function.

* Migrate the settings to their own menu with both the bitrate and the optional test size when auto is used.

* Creation of an enum filterValues function for Bitrate. This way, the selection on the Player Overlay (eventually) can be filtered to only include bitrates that are less than or equal to the App Setting for Maximum Bitrate. This should help prevent confusion / remove bandwidth conflicts.

The eventual Player Overlay setting should never conflict with the App-Wide Setting and should only offer options that are less than the App-Wide Setting.

* Change the videoPlayerViewModel to take parameters instead of defaults. Move the defaults up one level to be called there. Split the bitrate test from the getMaxBitrate to better guard against dividing against 0 and also split out the logic to be easier to read.

Change the PlaybackBitrate filter to always include Auto and, when auto, include ALL bitrates. This filter is not currently used.

* Remove the PlaybackBitrate FilterValues since this is not needed and will be created ad-hoc.

* Update the bitrateTestDuration verbage to better reflect that you're changing the size of the bitrate test and not just increasing the duration. Re-use the existing largest to smallest labels since there isn't a ton of benefit using "Longest to Shortest" so this should re-use existing localization. Comment the Labels.

No functional changes. Only an update to labels.

* Delete the Bitrate.json file but retain the Resources folder.

* Remove Resource Folder.

---------

Co-authored-by: Joe Kribs <joseph@kribs.net>
2024-07-23 06:18:28 -05:00
Daniel Chick 29b917ead0
Migrate to the latest version of Factory (#1097) 2024-07-01 19:58:59 -06:00
Dhocking 5334c57c65
Add ability to hide "Recently Added" section at home screen (#1087) 2024-06-12 11:35:01 -06:00
Daniel Chick 3128a78548
Cleanup video player settings (#1084) 2024-06-09 11:32:37 -06:00
Daniel Chick 645eb6c516
Refactor sign in policy (#1085) 2024-06-08 21:22:18 -06:00
Joe 25b30b5436
Create Library Alpha Picker (#980) 2024-05-26 15:07:13 -06:00
Ethan Pippin b2a31dbc3a
User Profile Image Selection (#1061) 2024-05-22 13:45:48 +09:00
Ethan Pippin 8d6167c00b
Some More Cleanup, Reset User Settings (#1060) 2024-05-17 13:10:40 +09:00
Ethan Pippin 74b8b286c7
User/Server Sign In Redesign (#1045) 2024-05-14 23:42:41 -06:00
Ethan Pippin a645444f25
Refactor `PosterButton` and libraries, good `UICollectionView`s, proper orientation handling, and more (#905) 2024-03-11 08:09:30 -06:00
holow29 e2d6237a23
Revamp Device Profile Builder (#519) 2024-01-13 15:42:06 -07:00
Ethan Pippin b038f05848
Update 2024 headers (#951)
* update header

* the rest after upgrading
2024-01-13 15:13:44 -07:00
Daniel Chick 18b06ff297
Localization strings (#878) 2023-10-18 19:14:43 -06:00
Sylvain CECCHETTO 667d48b0e9
Handle app phases (auto pause/play on enter background/active phase) (#831)
There's some leftover stuff like adding the `scenePhase` environment variable but I'll get that sometime.
2023-10-10 20:54:47 -06:00
Joe 48e608e62b
Filter Toggles [iOS] [iPadOS] (#847)
Co-authored-by: Joe Kribs <joseph@kribs.net>
2023-09-20 13:28:32 -06:00
Ethan Pippin 07092221d1
fix (#845) 2023-09-15 14:32:37 -06:00
Ethan Pippin 84192c20d6
implement (#777) 2023-05-16 17:31:44 -06:00
Ethan Pippin 2a51598004
Cleanup and UDPBroadcastConnection Package (#765) 2023-05-06 22:07:34 -06:00
Ethan Pippin a08a92e98a
New Year, New Video Player + Other Goodies (#593) 2023-04-20 09:33:51 -06:00
Sulabh Bista 06044e8fb5
Adds "use fmp4" experimental option (#623) 2022-11-03 13:17:47 -06:00
Ethan Pippin ace339bd1a
implement (#561) 2022-09-05 06:45:22 -06:00
Ethan Pippin 79476328fe
Some work (#552) 2022-09-03 10:20:12 -06:00
Ethan Pippin ce38efb3ec
Proper Library Handling (#543) 2022-08-29 20:29:24 -06:00
Ethan Pippin 3b755adf87
iOS/iPadOS - Library List View (#542) 2022-08-29 08:58:38 -06:00
Ethan Pippin 98a5507b52
Refactor Search and implement in tvOS (#539) 2022-08-27 21:30:17 -06:00
Ethan Pippin 5d0f933a2c
iOS/iPadOS - Transition library views to Collection Views (#536) 2022-08-26 18:23:36 -06:00
Ethan Pippin 8181db13de
iOS/iPadOS - Landscape/Thumb Posters (#526) 2022-08-18 11:00:33 -06:00
Ethan Pippin 6a23570d93
iOS/iPadOS Quick Connect (#522) 2022-08-09 11:22:52 -06:00
Ethan Pippin a9f09edd81
Navigation and Item Overhaul (#492) 2022-08-05 10:54:40 -06:00
Kwangmin Bae 48a03d8462
Support select subtitle font (#498) 2022-07-29 12:47:27 -06:00
Ethan Pippin cfb3aa1faa
No Tab Characters and Before First for Argument and Parameter Wrapping (#482) 2022-07-16 07:46:25 -06:00
PangMo5 f1bf247f5a Add shouldShowChaptersInfoInBottomOverlay to Settings.Overlay 2022-07-14 00:07:27 +09:00
David Ullmer 46cbd4f7d1
Implement suggestions 2022-07-12 19:54:52 +02:00
David Ullmer 3f56aea9e2 Localize strings 2022-07-12 15:54:33 +02:00
David Ullmer 95aabd22d0 Add Quick Connect input in settings 2022-07-12 15:01:10 +02:00
Ethan Pippin 8693326d6e
Merge pull request #426 from jhays/jhays/ios-livetv
LiveTV support for iOS
2022-06-15 17:35:16 -06:00
Julian Hays 7833280175
Merge branch 'jellyfin:main' into jhays/ios-livetv 2022-05-03 21:52:36 -05:00
PangMo5 7a26e69685 Add seek slide gesture 2022-05-04 02:37:50 +09:00
PangMo5 0f92343970 VideoPlayer's Double tap related UX improvement
Change VideoPlayer's overlay show implementation
Add player gestures lock gesture settings
2022-05-01 06:16:41 +09:00
jhays 80477c4bbd swiftformat 2022-04-28 14:29:43 -05:00
jhays d649dd88cf ios live tv and experimental settings 2022-04-27 22:46:14 -05:00
jhays 4dac5dd0b9 initial iOS LiveTV coordination 2022-03-31 21:37:57 -05:00
PangMo5 682f79631c add system control gestures (brightness, volume) 2022-02-05 18:14:23 +09:00
Min-Yih Hsu e760a586d7 Add an option to switch between flatten/grouped library view
By default, a library shows its items in a flatten view. This patch
further adds an option that allows users to show items grouped in their
own folders as well.
2022-01-28 11:04:37 +08:00
Ethan Pippin e51f4acc72 localize 2022-01-20 23:04:15 -07:00
Ethan Pippin 1a7bef0579 lint 2022-01-20 22:47:43 -07:00
Ethan Pippin efa69984ac implement about view iOS and version tvOS 2022-01-20 22:47:33 -07:00
Ethan Pippin 961f87d3c7 add back experimental native player 2022-01-19 16:11:06 -07:00