Commit graph

9 commits

Author SHA1 Message Date
lsrom
07a9e2a853
Add basic tv support (#58)
* Add basic leanback support

* Add TV home fragment

Adds basic media browsing screen for TV. Shows Home screen media.

* Fix double emit when loading user views

* Fix bug when going back to this screen would duplicate menu items

* Add basic media detail fragment

* Add ability to navigate to detail fragment

* Fix imports and null safe calls

* Fix displaying of home item view type media files

* Playback refactor

* Add basic Tv player controls and split PlayerActivity

* Update strings

* Add progress bar to partially played items on TV home screen

* Track selection dialog PoC

* Update track selection WIP

* Show track selection of focus change

* Fix series display from home

* Minor updates

* Add back button to media detail

* Zero effort add server and login

* Fix colors

* Fix back button from home going back to init fragment

* Add settings button to home screen

* Fix crash after goig back from media detail fragment

* Show seasons and cast

* Merge branch 'develop' into add_basic_tv_support

# Conflicts:
#	app/src/main/java/dev/jdtech/jellyfin/MainActivity.kt
#	app/src/main/java/dev/jdtech/jellyfin/dialogs/VideoVersionDialogFragment.kt
#	app/src/main/res/navigation/app_navigation.xml

* Fix cast title being shown with empty cast list

* Remove useless method

* Remove unused parameter

* Fix crash due to colorOnPrimary not existing in Leanback styles

* Remove unused theme

* Fix home to addserver fragment navigation

* Reuse home item layouts

This creates some duplicate code which will probably be cleaned up later

* Ignore more MissingDefaultResource

* Add banner

Co-authored-by: Jarne Demeulemeester <32322857+jarnedemeulemeester@users.noreply.github.com>
2021-10-30 19:46:51 +02:00
jarnedemeulemeester
73fc37b4f1
Update material colors, dark mode pure black 2021-10-02 21:10:10 +02:00
jarnedemeulemeester
2ff9239e8c
Improve home loading 2021-08-24 20:26:57 +02:00
Jarne Demeulemeester
8ccc6a0ef7
Add basic Toolbar 2021-06-17 18:53:52 +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
da5233593f
Add main starting layout 2021-06-12 20:58:44 +02:00
Jarne Demeulemeester
ab5b3d2e98
Rename MainActivity to SetupActivity 2021-06-12 18:02:03 +02:00
Jarne Demeulemeester
3f8f518ca8
Add basic AddServer layout 2021-05-29 14:32:02 +02:00
Jarne Demeulemeester
8d1c02cdba
Initial project 2021-05-29 10:52:44 +02:00