Add controls to edit playlists (#1927)

## Description
Adds support to remove items from a playlist and move items within a
playlist

The remove option is in the context menu. Moving has buttons on the
right side. The buttons are available if the user has edit permissions
and the playlist is sorted by "Default" (the playlist order). Remove
from playlist option is available if the user has edit permissions.

Also, thumb images are now preferred instead of primary/poster images
since the layout is much wider than tall.

### Related issues
Closes #1881

### Testing
Emulator with both a user with & without permissions to edit

## Screenshots
### With move buttons
<img width="1280" height="720" alt="playlist_buttons Large"
src="https://github.com/user-attachments/assets/ce7880c3-b823-4b69-9ad4-cfc9e7ee5fd5"
/>

### Without move buttons
<img width="1280" height="720" alt="playlist_no_buttons Large"
src="https://github.com/user-attachments/assets/f2027052-4628-4d44-8257-6c2a5e8c3af4"
/>


## AI or LLM usage
None
This commit is contained in:
Damontecres 2026-09-10 17:18:26 -04:00 • committed by GitHub
parent 0b995b5404
commit 9c56965c82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 328 additions and 116 deletions

View file

@ -61,4 +61,5 @@
<string name="fa_compact_disc" translatable="false">&#xf51f;</string>
<string name="fa_xmark" translatable="false">&#xf00d;</string>
<string name="fa_dice" translatable="false">&#xf522;</string>
<string name="fa_circle_xmark" translatable="false">&#xf057;</string>
</resources>

View file

@ -922,4 +922,5 @@
<string name="dim_screen">Dim screen</string>
<string name="photo_albums">Photo albums</string>
<string name="no_favorites_found">No favorites found!</string>
<string name="remove_from_playlist">Remove from playlist</string>
</resources>