Commit graph

776 commits

Author SHA1 Message Date
Damontecres
5a4528541a
Better shuffle & repeat buttons 2026-03-02 17:30:39 -05:00
Damontecres
ff0417b7e7
Move buttons to new composable 2026-03-02 16:53:27 -05:00
Damontecres
7044b4aa32
Move now playing song title to page 2026-03-02 16:36:49 -05:00
Damontecres
4de4144648
UI updates 2026-03-01 15:51:11 -05:00
Damontecres
9fb77854e4
Unify logic for albums & artists 2026-03-01 10:34:14 -05:00
Damontecres
7a869d9f47
Implement various queue functions 2026-03-01 10:16:10 -05:00
Damontecres
ea243975ad
WIP 2026-02-28 23:30:26 -05:00
Damontecres
6a1725fd3d
Adjust sort options 2026-02-28 21:23:29 -05:00
Damontecres
d37c7604d2
WIP lyric selection 2026-02-28 20:38:32 -05:00
Damontecres
6fa3f550b0
UI changes to now playing nav drawer item 2026-02-28 19:02:14 -05:00
Damontecres
dd7795e2fd
Add basic artist page 2026-02-28 19:01:54 -05:00
Damontecres
82f8a63c86
UI improvements & bug fixes for queuing 2026-02-28 17:47:01 -05:00
Damontecres
49adae9365
Basic sync lyric support 2026-02-28 16:19:05 -05:00
Damontecres
bd7fba14d1
Merge branch 'main' into fea/music 2026-02-28 14:45:15 -05:00
voc0der
fd9063fbad
Hold-to-seek acceleration for playback DPAD and seekbar (#900)
## Description
- Adds hold-to-seek acceleration for left/right DPAD input during
playback skip handling.
- Reuses one shared, duration-aware acceleration profile for both
playback DPAD and seekbar skipping.
- Extracts acceleration logic into a shared helper to keep playback and
seekbar behavior consistent.
- Slows the acceleration ramp (about one-third) to improve control
during longer holds.
- Preserves tap-on-release behavior: single taps seek on key release,
while holds seek on repeated key-down without an extra release step.
- Normalizes unknown/unset duration values to use the shortest-content
acceleration profile.
- Added unit coverage for shared seek acceleration math to prevent
accidental regression in ramp thresholds.

### Related issues
Supersedes #846  
Incorporates #784  
Closes #522

### Testing
Tested on Nvidia Shield Pro 2019.

- Quick left/right tap still performs normal skip behavior.
- Holding left/right seeks repeatedly with progressive acceleration.
- Seekbar hold uses the same acceleration profile as playback hold.
- Releasing after a hold does not trigger an extra seek step.

## AI or LLM usage
Codex 5.3 and Claude Opus 4.6 were used for implementation, debugging,
and cross-review. Changes were manually validated on device.

---------

Co-authored-by: Ray <154766448+damontecres@users.noreply.github.com>
2026-02-28 14:35:02 -05:00
Ray
55466f803c
Better animation to show/hide headers on grid pages (#1015)
## Description
Changes the animation for showing/hiding the header title/buttons on
grid pages.

This eliminates the awkward jump the grid does to fill the screen.
Instead it smoothly resizes.

### Related issues
Fixes the second item in #221

### Testing
Emulator

## Screenshots
N/A

## AI or LLM usage
None
2026-02-27 01:00:44 -05:00
Ray
b65e55f4ed
A few small UI fixes (#1012)
## Description
- Restores corner text for episode cards
- Always show end time on playback overlay instead of it being
controlled by the "Show Clock" setting
- Better logic to determine person's role in media

### Related issues
Fixes #1010
Fixes #1004
Fixes #975

### Testing
Emulator

## Screenshots
N/A

## AI or LLM usage
None
2026-02-26 20:27:22 -05:00
Ray
9b995bf6ba
Fix some IO related crashes (#1008)
## Description
- Catch network exceptions when querying to populate the nav drawer
- Perform screensaver work on IO thread
- Fix possible crash if screensaver service runs while regular activity
is destroyed
- Fix genre images & backdrop images not loading

This PR also adds an Jellyfin SDK `ApiClient` wrapper to push all
network calls onto the IO thread. And tries to use a more strict
network-on-main policy for debug builds.

### Related issues
Fixes #994
Fixes #1001
Should fix #1003

### Testing
Emulator with simulated exception throws

## Screenshots
N/A

## AI or LLM usage
None
2026-02-26 15:48:39 -05:00
Ray
a7e86fbc15
Add in-app & Android TV screensaver (#946)
## Description
Adds both an optional in-app and Android TV OS (DreamService)
screensaver

Has settings for:
- Starting delay, options from 30s to 1 hour
- Duration to show each image, 30s to 2 minutes
- Show clock (separate from app-wide clock)
- Toggle animated zooming
- Set a max age rating to limit what content is shown
- Included media types: movies, tv shows, and/or photos

By default only Movies & TV Shows are included. But if you have like
family albums on your server, you could enable Photos too.

There's also an button to start the screensaver so you can see what it
looks like.

### Related issues
Closes #230

### Testing
Emulator, Onn 4k pro, nvidia shield using both in-app and OS
screensavers

## Screenshots
![screensaver_settings
Large](https://github.com/user-attachments/assets/9b3240dd-81cb-4c20-bc4e-b2bf38698b2f)

## AI or LLM usage
None

## Acknowledgements

Some of the skeleton code for setting up the `DreamService` with the
right lifecycle was copied and modified from the [official app's
implementation](https://github.com/jellyfin/jellyfin-androidtv/blob/master/app/src/main/java/org/jellyfin/androidtv/integration/dream/DreamServiceCompat.kt).
2026-02-25 14:11:00 -05:00
Damontecres
7703bcbd13
Refactoring queue 2026-02-24 18:28:19 -05:00
Damontecres
65b38d1231
Merge branch 'main' into fea/music 2026-02-24 17:15:24 -05:00
Damontecres
123ac5601b
WIP now playing overlay 2026-02-24 15:03:00 -05:00
Damontecres
1d47220991
Basic show/hide now playing nav drawer item 2026-02-24 13:09:59 -05:00
Damontecres
cd06c0380e
Merge branch 'main' into fea/music 2026-02-24 12:40:57 -05:00
SimonHung
043f8cd3cf
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 95.3% (450 of 472 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/zh_Hant/
2026-02-24 17:37:27 +00:00
Fjuro
3bdd177230
Translated using Weblate (Czech)
Currently translated at 100.0% (472 of 472 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-02-24 17:37:27 +00:00
RafaelSoaresP
3b736a136b
Translated using Weblate (Portuguese (Brazil))
Currently translated at 81.9% (387 of 472 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/pt_BR/
2026-02-24 17:37:27 +00:00
SimonHung
a55399cb68
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 92.5% (437 of 472 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/zh_Hant/
2026-02-24 17:37:27 +00:00
danpergal84
0ce2ff907c
Translated using Weblate (Spanish)
Currently translated at 100.0% (472 of 472 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/es/
2026-02-24 17:37:27 +00:00
SimonHung
2a90d12cbc
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 91.3% (431 of 472 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/zh_Hant/
2026-02-24 17:37:27 +00:00
danpergal84
34174cea55
Translated using Weblate (Spanish)
Currently translated at 91.9% (434 of 472 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/es/
2026-02-24 17:37:27 +00:00
ymir
f1c2ff4530
Translated using Weblate (French)
Currently translated at 100.0% (416 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/fr/
2026-02-24 17:37:27 +00:00
opakholis
ca425422be
Translated using Weblate (Indonesian)
Currently translated at 100.0% (416 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/id/
2026-02-24 17:37:27 +00:00
Sathen
bfa0cd0b05
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (416 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/uk/
2026-02-24 17:37:27 +00:00
Fjuro
0a4f21cc11
Translated using Weblate (Czech)
Currently translated at 100.0% (416 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-02-24 17:37:27 +00:00
n8llcaster
191966124b
Translated using Weblate (Slovak)
Currently translated at 53.6% (223 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/sk/
2026-02-24 17:37:27 +00:00
idezentas
e536c0a9e7
Translated using Weblate (Turkish)
Currently translated at 100.0% (416 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/tr/
2026-02-24 17:37:27 +00:00
danyrd92
40a3d70ba8
Translated using Weblate (Spanish)
Currently translated at 100.0% (416 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/es/
2026-02-24 17:37:27 +00:00
arcker95
4ad96ea29e
Translated using Weblate (Italian)
Currently translated at 100.0% (416 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/it/
2026-02-24 17:37:27 +00:00
alexkahler
6ef4356ad1
Translated using Weblate (Danish)
Currently translated at 97.1% (404 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/da/
2026-02-24 17:37:26 +00:00
idezentas
6ffc2903f3
Translated using Weblate (Turkish)
Currently translated at 100.0% (416 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/tr/
2026-02-24 17:37:26 +00:00
Outbreak2096
5d4219f933
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (416 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/zh_Hans/
2026-02-24 17:37:26 +00:00
Priit Jõerüüt
89bdae9cd7
Translated using Weblate (Estonian)
Currently translated at 100.0% (416 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/et/
2026-02-24 17:37:26 +00:00
Ray
a14fdac852
A few more home page fixes (#967)
## Description
A few more home page fixes
* Focus issue between settings & preset buttons
* Fix default genre card size for "Wholphin Default" preset
* Cache genre image urls for 2 hours so that they don't change on every
refresh

### Related issues
Related to #399

### Testing
Emulator

## Screenshots
N/A

## AI or LLM usage
None
2026-02-24 12:37:21 -05:00
Ray
7424f812d8
Dev: add CI to build app store releases (#468)
Adding GHA workflows to build the app store releases

Also cleans up gradle build script a bit
2026-02-23 22:04:08 -05:00
Ray
3e2a1869ab
Scroll to current chapter on playback overlay (#964)
## Description
This PR makes it so when you open the playback overlay and move down to
the "Chapters" row, the first focused chapter will be the current one
instead of always the first one.

### Related issues
Closes #695
Closes #951

### Testing
Emulator

## Screenshots
N/A

## AI or LLM usage
None
2026-02-23 18:52:38 -05:00
Ray
348a3022d6
Fix cut off cards on grids with show details enabled (#963)
## Description
Fixes the previous row of cards showing the bottom cut off when the
"Show details" view option is enabled.

### Related issues
Fixes #404
Fixes #877
Related to #882 

### Testing
Emulator

## Screenshots
![grid_show_details
Large](https://github.com/user-attachments/assets/3376275e-261e-4e5a-b874-18be7606a9bf)

## AI or LLM usage
None
2026-02-23 15:20:25 -05:00
Ray
3b162a2f98
Play theme songs for collections (#962)
## Description
Play theme songs for collections if available

### Related issues
Closes #711

### Testing
Emulator

## Screenshots
N/A

## AI or LLM usage
None
2026-02-23 13:38:02 -05:00
Damontecres
e1c66dfb1d
Fix series overview episode images 2026-02-23 12:34:46 -05:00
Ray
2a371e7d6b
Fix strings missing from translations (#959)
## Description
Weblate's Android string parser (aka
https://translate.codeberg.org/projects/wholphin/) doesn't support
direct translations of string arrays.

Many of Wholphin's preference options are defined in string arrays and
therefore could not be translated. So this PR implements the [suggested
workaround](https://docs.weblate.org/en/latest/formats/android.html) to
move the string into individual entries and reference them in arrays.

Also moves some hardcoded strings into `strings.xml` so they can be
translated. Note: virtually all error messages are still hardcoded, but
they are only for exceptional cases, so it's probably not a huge
problem.

A minor bug where the backdrop would show briefly after switching users
is fixed.

### Related issues
Fixes #957

### Testing
Emulator

## Screenshots
N/A

## AI or LLM usage
None
2026-02-23 11:17:57 -05:00