Commit graph

33 commits

Author SHA1 Message Date
Jarne Demeulemeester
76121925d7
Modularize the codebase (#230)
* Split app into core and app:phone

* Use global versionCode and versionName

* Clean up gradle dependencies

* Use string formatting inside getString function

* Move proguard file to app:phone

* Move app_navigation and BasePlayerActivity to app:phone

* Add buildTypes to core gradle and remove buildFeatures

* Add suffix core to core namespace

* Split code into 4 more modules: data, preferences, player:core and player:video

* Clean up some gradle files

* Clean up data gradle

* Remove duplicate Constants.kt

* Use AppPreferences in more places

* Split off strings

* Remove unused animations

* Make about_libraries strings non-translatable

* Move mpv assets to player:video module

* Make AppPreferences a Singleton
2023-01-13 23:51:20 +01:00
Jarne Demeulemeester
d3b4fe6ea3
Servers database v2 (#177)
* New server db schema

Adds support for multiple addresses and users per server

* Fix crash when the only available server is deleted and app is restarted

* Set serverId as foreign key in User and ServerAddress

* Format using ktlint

* Bump ServerDatabase version to 2
2022-11-01 21:15:42 +01:00
Jarne Demeulemeester
ad5e722d44
Introduce klint (#186)
* Add ktlint plugin

* Make code ktlint compliant

* Make code ktlint compliant
2022-10-29 21:17:48 +02:00
Jarne Demeulemeester
5d2409c93e
Display public users on login fragment (#142)
* Add public users to login fragment

* Display user image and hide recyclerview if no public users
2022-08-21 14:22:07 +02:00
Jarne Demeulemeester
cc0ab920fd
Move servers check to Activity (#136)
Remove MainViewModel
Change startDestination when no servers are found
2022-07-25 13:44:15 +02:00
Jarne Demeulemeester
8c039a3c81
Upgrade to jellyfin-sdk 1.3.0 (#122)
Uses BaseItemKind to specify the item type
2022-06-11 21:39:08 +02:00
Jarne Demeulemeester
c6385caf0f
Fix trailing slash in baseUrl not loading images (#114) 2022-04-29 23:49:41 +02:00
Jarne Demeulemeester
b9e5c3b9ba
Fix person placeholder drawable 2022-01-08 18:24:59 +01:00
Jarne Demeulemeester
1e9ddd1173
Clean up 2021-12-28 18:26:43 +01:00
Jarne Demeulemeester
c645ee3b81
New UI state system (#71)
* Convert MediaFragment to use new UiState

* Convert PersonDetailFragment to use new UiState

* Load PersonDetail data on start

* Convert FavoriteFragment to use new UiState

* Convert SeasonFragment to use new UiState

* Convert SearchResultFragment to use new UiState

* Convert EpisodeBottomSheetFragment to use new UiState (WIP)

* Convert EpisodeBottomSheetFragment to use new UiState (Part 2)

* Convert LibraryFragment to use new UiState

* Convert DownloadFragment to use new UiState

* Convert HomeFragment to use new UiState

* Convert MediaInfoFragment to use new UiState (WIP)

* Convert MediaInfoViewModel to use new UiState (Part 2)

* Convert ServerSelectViewModel to use new UiState (Semi)

* Fix MediaInfoFragment for downloaded movies
2021-12-19 15:35:36 +01:00
jarnedemeulemeester
00dbe8198e
Fix itemBackdropById image 2021-11-27 21:55:31 +01:00
lsrom
94b3790560
Add image caching (#65)
* Add caching to settings with ability to choose cache size

* Remove unused parameter from Api

* Add glide module for cache setup

* Clean up image handling in adapters

* Move caching to it's own category

Co-authored-by: Jarne Demeulemeester <32322857+jarnedemeulemeester@users.noreply.github.com>
2021-11-27 18:46:08 +01:00
Jcuhfehl
532e9adac1
Add offline playback (#51)
* Add offline playback

* Remove unused values

* Replace downloadutilities extension functions with normal functions

This is to not polute the namespace of fragment and context.

* Replace default Android icons with those from lucide

* Fix deleting downloaded movie

Co-authored-by: Jarne Demeulemeester <32322857+jarnedemeulemeester@users.noreply.github.com>
2021-10-29 21:11:01 +02:00
lsrom
62d09b3566
Add person detail screen (#47)
* Add person detail screen

Displays actor/actresses portrait and text info + list of movies/show this person starred in. Text info is max 5 lines with View More button if ellipsized. View More toggle is reset upon orientation change since in landscape mode ellipsize might not be necessary.

* Remove useless StarredInAdapter.kt

* Fix image view shape

* Improve UI

Not exactly how I would like it but will do for now

* Add error handling

Adds a lot of LiveData which may not be ideal, but is better than crashing due to connection errors.

Co-authored-by: jarnedemeulemeester <jarnedemeulemeester@gmail.com>
2021-10-24 17:45:59 +02:00
Jarne Demeulemeester
234d44e9ce
Add placeholder (error) image for people
Fix #42
2021-10-12 19:21:54 +02:00
jarnedemeulemeester
653d41c68a
Fix continue watching movie image 2021-08-25 18:26:48 +02:00
jarnedemeulemeester
be2c4dcb9a
Improve image loading 2021-08-25 18:01:18 +02:00
jarnedemeulemeester
c0ab909114
Add favorites fragment + switch settings for favorites on bottom nav 2021-07-30 22:22:50 +02:00
Jarne Demeulemeester
02e94af92c
Use backdrop image for movies in home screen 2021-07-14 12:16:29 +02:00
Jarne Demeulemeester
4bbf40bc22
Add header to EpisodeListAdapter 2021-07-06 18:19:37 +02:00
Jarne Demeulemeester
7605eb4158
Add Next Up items to HomeFragment
Can use some cleanup :)
2021-06-30 15:18:39 +02:00
Jarne Demeulemeester
5ff4ec7e42
Add "Next up" section to MediaInfoFragment 2021-06-28 21:24:49 +02:00
Jarne Demeulemeester
4329b76448
Add header to SeasonFragment 2021-06-28 13:08:04 +02:00
Jarne Demeulemeester
d361e60850
Add header with image to MediaInfoFragment 2021-06-28 10:35:38 +02:00
Jarne Demeulemeester
151ee6cae7
Implement SeasonFragment 2021-06-25 13:49:55 +02:00
Jarne Demeulemeester
4a1c4639aa
Add actors to MediaInfoFragment 2021-06-23 14:53:52 +02:00
Jarne Demeulemeester
930cf764ca
Add item count to media items 2021-06-18 14:56:32 +02:00
Jarne Demeulemeester
3f5a6c5bfa
Show collections on media fragment 2021-06-14 16:41:54 +02:00
Jarne Demeulemeester
6a2469ca97
Improve home layout and clean up code 2021-06-14 14:48:38 +02:00
Jarne Demeulemeester
f276a26d7d
Load views and latest items on home screen
Needs a lot of optimization and cleanup
2021-06-13 21:26:28 +02:00
Jarne Demeulemeester
93518f67ee
Get views in home fragment 2021-06-13 14:42:03 +02:00
Jarne Demeulemeester
1171e66076
Improve project folder structure 2021-06-09 21:36:05 +02:00
Jarne Demeulemeester
131dc7aa08
Add Server Select layout with RecyclerView 2021-06-03 17:46:10 +02:00