Commit Graph

408 Commits

Author SHA1 Message Date
advplyr
4199add608 Merge pull request #1738 from eagleeyetom/chromecast-volume-fix-updated
Android cast: stabilize MediaSession volume handling; simplify Google…
2026-02-08 16:37:15 -06:00
advplyr
8311643e73 Merge pull request #1774 from FreedomBen/dont-queue-background-display-events
Significantly improve Android UI performance when resuming from background
2026-02-08 16:08:49 -06:00
Benjamin Porter
140bc7fbc5 Skip progress updates when backgrounded
When we are backgrounded, these queue events build up and can cause
performance issues as the queue is processed.  We don't need to process
these when backgrounded, so skip them.

Also add small delay when resuming for webview to load before sending it
update events
2026-01-05 16:58:10 -07:00
Benjamin Porter
5250adb36e Don't queue display events while backgrounded
When we are backgrounded, don't queue display events.  This prevents
a hang and sluggish replay of display events once we are re-foregrounded
later
2026-01-04 10:03:50 -07:00
Alex
3f0bc74c21 Enable constant bitrate seeking to fix AAC seek reset in ExoPlayer 2025-12-24 13:03:27 -06:00
eagleeyetom
1a52f19b32 Android cast: stabilize MediaSession volume handling; simplify Google Cast volume 2025-11-27 00:32:33 +01:00
eagleeyetom
dcaa19071f Android: fix Cast volume to control receiver
- Route hardware volume keys to Cast via MediaSession VolumeProvider
- Use CastSession.volume (0–1) mapped to 0–100; clamp and step by 1
- Update provider with actual device volume after each change (prevents stalls)
- Drop stream-volume/polling attempts and other leftovers
- Expose get/set/adjust device volume commands to the player
2025-11-18 20:57:27 +01:00
advplyr
9df996a507 Merge pull request #1666 from mfulgo/master
Allows widget on Samsung cover screens
2025-11-16 16:22:06 -06:00
Lauris van Rijn
719e517dda fix(androidauto): async handling of browseTree init instead of busy‑loop
Removed blocking `while (!browseTree.isInitialized){}` in
`onLoadChildren`. Added `waitForBrowseTree` and `onBrowseTreeInitialized`
helpers to queue pending results until browseTree is ready. All
browseTree assignments now call `onBrowseTreeInitialized()`. This avoids
ANRs and high CPU when Android Auto requests children before init.
2025-08-29 00:43:02 +02:00
Lauris van Rijn
361c55c5ac fix(media): remove busy‑wait loop in library personalization loading
Replaced the infinite `while(libraryPersonalizationsDone > 0){}` spin‑loop
with an async counter callback. This prevents pegging the CPU if one
personalization never completes, and allows completion to trigger via
AtomicInteger decrement. Now the final callback fires only when all
libraries have finished loading.
2025-08-29 00:42:48 +02:00
Matt Fulgo
941e823374 Allows widget on Samsung cover screens
Adds meta-data to the widget, allowing it to be used on the cover screen
of Samsung devices such as the Flip.

The widget renders as a 4x4 grid (not an optimal layout) but functions
for launching the most recent audiobook or controlling playback.
2025-08-19 22:24:58 -04:00
advplyr
4be1598eca Fix oidc button not showing on re-login, fix oidc re-login showing config already exists #1638 #1634 2025-08-16 17:55:00 -05:00
advplyr
82cddde15f Fix track URL used for transcodes on Android #1635 2025-07-22 14:16:35 -05:00
advplyr
fab94cd363 Handle native app token refresh failure notification 2025-07-05 17:40:57 -05:00
advplyr
5766c49f61 Update iOS ApiClient to handle token refresh 2025-07-05 16:46:37 -05:00
advplyr
44613e12f1 Update serverConnectionConfig to include server version, update server track URL and server cover image URL based on server version 2025-07-05 09:28:40 -05:00
advplyr
467fedbfe7 Update to use x-refresh-token header, update logout to clear refresh token, add AbsLogger logs for android refresh 2025-07-04 17:41:19 -05:00
advplyr
d8cdb7073e Update auth to handle refresh tokens 2025-07-01 11:33:51 -05:00
advplyr
8d563dcfed Remove unnecessary styles.xml 2025-05-21 17:38:05 -05:00
advplyr
1cf36e5549 Fix android system bars overlapping UI #1564 #1574 2025-05-21 17:26:31 -05:00
advplyr
c4fe0680f3 Remove unused imports 2025-05-18 17:06:06 -05:00
Michał Goliński
ea59ad2953 Reuse the existing ObjectMapper 2025-05-17 20:37:59 +02:00
advplyr
3e682dfe50 Fix local cover images not showing in android auto #1565 2025-05-04 16:19:16 -05:00
advplyr
1e76ebe075 Merge pull request #1556 from Zibbp/master
fix(InternalDownloadManager): add accept-encoding identity to requests
2025-04-25 16:25:07 -05:00
Zibbp
b03f59ace3 fix(InternalDownloadManager): set accept-encoding header on just the download task 2025-04-25 15:51:46 -05:00
Zibbp
dfc77ea0d0 fix(InternalDownloadManager): add accept-encoding identity to requests 2025-04-24 17:04:08 -05:00
advplyr
67f514524f Remove unused imports and release log 2025-04-24 17:03:14 -05:00
advplyr
d97c6a0872 Add:Android sleep timer setting to play a chime when almost finished #600 2025-04-24 16:42:55 -05:00
advplyr
e7ad62760f Fix android cover image not showing in notification for downloaded media #1493, upgrade glide 2025-04-23 17:01:52 -05:00
advplyr
796d6d79d4 Add logs for android auto 2025-04-21 17:34:30 -05:00
advplyr
03aafafe1c Fix bug with AbsLogger not initialized 2025-04-21 17:11:23 -05:00
advplyr
26b0fae0fb Setup onLog event, add app version & platform to logs and share filename 2025-04-20 14:33:48 -05:00
advplyr
fe921fd5b1 Update AbsLogger to have a tag with logs 2025-04-20 12:36:27 -05:00
advplyr
88e1877742 More AbsLogs and clean logs older than 48 hours on init 2025-04-20 12:18:10 -05:00
advplyr
74758c7762 Add clear logs, use more menu dialog 2025-04-20 10:32:52 -05:00
advplyr
390388fe83 Add AbsLogger plugin, persist logs to db, logs page for android 2025-04-19 17:26:32 -05:00
advplyr
6e1eee48f0 Update to capacitor v7 2025-04-17 17:16:00 -05:00
advplyr
93748a917f Android update target SDK to 35, update androidx versions 2025-04-15 17:21:48 -05:00
Nicholas Wallace
2b615a51fb Remove: unused AudioProbeResult.kt 2025-02-08 12:45:05 -07:00
Nicholas Wallace
f0c92be5f2 Auto format FolderScanner.kt 2025-02-08 12:41:30 -07:00
Nicholas Wallace
20206d6e14 Remove: unused functions from LocalMediaItem.kt 2025-02-08 12:01:38 -07:00
Nicholas Wallace
7c6e098014 Remove: local library only item from playback and syncing media 2025-02-08 11:18:46 -07:00
Nicholas Wallace
1e0f1f329f Clean local only when checking if files exist 2025-02-08 10:41:58 -07:00
Nicholas Wallace
b2ebeafed5 Autoformatting files 2025-02-08 10:36:03 -07:00
advplyr
e194df455b Merge pull request #1469 from nichwall/download_manager_cleanup
Download manager cleanup
2025-02-07 17:13:51 -06:00
Nicholas Wallace
1141c6f7a5 Remove read timeout for connection 2025-02-06 18:28:22 -07:00
Nicholas Wallace
5a1951b495 InternalDownloadManager autoformatting and comments 2025-02-06 18:26:13 -07:00
Nicholas Wallace
3b3f94124a Iniital refactor and adding comments 2025-02-06 18:16:56 -07:00
Nicholas Wallace
bb56a55143 Fix: end time default value 2025-02-06 17:58:10 -07:00
Nicholas Wallace
853a12b0dd Revert "Simplify default value assignment"
This reverts commit d4090d15be.
2025-02-06 17:45:33 -07:00