Several bug fixes & minor UI changes (#1466)

## Description
### Bug fixes
- Fixes a race condition crash when configuring subtitle styling before
libmpv is initialized
- Save the clicked item position on grid pages (#1428 & #1462)
- Fix querying the server every 3 seconds for transcode reason if the
video is direct playing


### UI changes
- Makes the title on grid pages slightly smaller
- Makes adjustments to the song list item on now playing so that no
space is used if there's no artist
- Use settings icon instead of triple dots on now playing page

### Related issues
See above

### Testing
Emulator, nvidia shield & google streamer

## Screenshots
### Song list item
Before & after
<img width="199" height="119" alt="image"
src="https://github.com/user-attachments/assets/7fd3636a-d1e4-4b1f-8379-8599068d6309"
/>


## AI or LLM usage
None
This commit is contained in:
Damontecres 2026-05-26 18:36:56 -04:00 • committed by GitHub
parent 8ea6bbbfca
commit 33161d4d6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 77 additions and 67 deletions

View file

@ -167,6 +167,11 @@ class MpvPlayer(
// COMMAND_GET_TEXT,
COMMAND_RELEASE,
).build()
notifyListeners(EVENT_AVAILABLE_COMMANDS_CHANGED) {
onAvailableCommandsChanged(
availableCommands,
)
}
trackSelector.init(this, DefaultBandwidthMeter.getSingletonInstance(context))
}