CappielloAntonio / tempo

An open source and lightweight music client for Subsonic, designed and built natively for Android.
GNU General Public License v3.0
877 stars 39 forks source link

[Feature request] Support adding songs as favorites while offline #23

Closed timschneeb closed 11 months ago

timschneeb commented 11 months ago

Hi, thanks for building this awesome project!

It would be great to be able to add new songs as favorites even while offline. The app could temporarily store the new favorites in a backlog and sync them to the server once the internet connection has been restored, similar to DSub. This would be useful for trips to remote places with bad or no mobile reception. At the moment, attempting to do this results in the favorite button resetting to whatever state it was before.

CappielloAntonio commented 11 months ago

Hello and thank you for your kind words!

I've been working on this new feature which has turned into a major refactor of the whole part of the API that revolves around favorites. Now in case you are offline or if for some reason adding to favorites was not successful, I save locally and try again the next time the app is launched.

I have tested this section quite a bit but the impact zone is quite large. I plan to release a pre-release version of the app to widen the user pool for testing and then eventually release a new version with these changes for everyone.

CappielloAntonio commented 11 months ago

I released a new version in pre-release, if you like you can test it.

CappielloAntonio commented 11 months ago

I'll close this issue now. Feel free to reopen it if needed.