Otter-App-Android-Funkwhale/app/src/main/java/com/github/apognu/otter
Antoine POPINEAU 490de25b05
Handle radios when logged in anonymously.
On top this fix, this commit adds support for "My content" and
"Favorites" instance radios (fixes #51), as well as clearly separates instance
radios from user radios.

Radios were a bit unusable when not logged in with an actual authorized
user account, this commit fixes the following elements:

 * Anonymous users get a transient session cookie when starting a radio
   session that was not stored and forwarded on playback, meaning no
   radios would play;
 * Anonymous users do not have their own own content. Thus, only the
   "Random" radio makes sense in that context. This commit only display
   the instance radios that are relevant to your authentication status.

"My content" radios needs the user ID to function properly, this commit
also adds retrieving it from the /api/v1/users/users/me/ endpoint, which
now may be used in the future for other purposes.
2020-06-21 13:41:27 +02:00
..
activities Handle radios when logged in anonymously. 2020-06-21 13:41:27 +02:00
adapters Handle radios when logged in anonymously. 2020-06-21 13:41:27 +02:00
fragments Add light animation when scrolling listings. 2020-06-15 00:26:22 +02:00
playback Handle radios when logged in anonymously. 2020-06-21 13:41:27 +02:00
repositories Handle radios when logged in anonymously. 2020-06-21 13:41:27 +02:00
utils Handle radios when logged in anonymously. 2020-06-21 13:41:27 +02:00
views Ability to shuffle play all tracks from an artist. Should close #21. Also added animations over long-running operations. 2020-06-02 18:50:46 +02:00
Otter.kt Manage cached and downloaded tracks separately. Downloaded track are not automatically evicted and do not count towards cache storage limit. Contributes to #37. Fixed an issue where the event bus on main would be duplicated. 2020-06-20 15:42:10 +02:00