Add Android Widget - #1632
Conversation
- quick actions already implemented, section presets not yet - add adaptive grid for quick actions area
…row screens. Fix current track highlight drawing on headers.
…ders not sticky. Remove logo from single-tab music view. Allow long tap on section header to directly edit. Basic version of generic home screen collections.
…Attempt to increase unified usage of SortAndFilterConfigurations for filtering. Use sort and filter row for showing active genre filters in all scenarios. Save item name into collection sections. Add implementation of play specific item quick action. Allow editing quick actions with long click.
…lection section types loading offline. Add library selector to tab home sections.
…f restore last queue quick action.
…play of performing/album artist tabs if configured.
…with attribute subclassing vs just BaseItemDtos.
…implementation inside providers.
…ren provider(untested).
…l jellyfin collections. Use item-specific menu in music screen see-all instead of global menu. Fix home sections not resolving sort order.
…res in home screen sections - currently stored by overloading contentType.
… tab sections(except genres).
Currently translated at 74.0% (662 of 894 strings) Translation: Finamp/Finamp Translate-URL: https://hosted.weblate.org/projects/finamp/finamp/es/
Currently translated at 88.0% (787 of 894 strings) Translation: Finamp/Finamp Translate-URL: https://hosted.weblate.org/projects/finamp/finamp/ca/
…-500 Fix empty Genres tab
Translations update from Hosted Weblate
|
@call-me-maple hey, so firstly thanks for implementing this, seems like you really know your stuff and generally made sensible choices here! And also, do you have time to fix the merge conflicts? I think we could include this in the next release, if all goes well. |
add shuffle and repeat buttons
tweak Circular Widget's size
add more widget metadata
tweak metadata
edit comments rename loopMode
add PlaybackOrder listner
finish icon change
|
I think I fixed the conflicts. Would changing how the data is saved complicate adding iOS support later on? |
|
Umm, something doesn't seem right with your latest changes 😅 Regarding iOS support, I don't know what the requirements for that will be. Worst case we'll have to add a dedicated message channel for the widgets then, but at this point we'll have a clearer picture of what data and functionality is actually needed. So I wouldn't worry about it too much for now. |
Changes
Adds 2 android widgets using the home_widget plugin.
I added some strings defined as xml resources for the widget descriptions, titles, and accessibility descriptions.
Todo before merging
The data save function is triggered multiple times by the stream listener unnecessarily and I'm not sure how to fix it. It works as it is but I think it might contribute to extra battery usage.
The widget preview is just static images but they could be dynamic with user data like this.
Closes #156