Commit Graph

168 Commits

Author SHA1 Message Date
Antoine POPINEAU bab7040b8f
Delete downloaded tracks on logout. Cache is not deleted for now (until I find a way). 2020-06-21 18:06:38 +02:00
Antoine POPINEAU 874b79d0d5
Fixed blocking issue when leaving MainActivity where playback state would no longer be reflected in Now Playing. 2020-06-21 16:15:52 +02:00
Antoine POPINEAU 4d6b3d1ab2
Added screenshots to README. 2020-06-21 14:47:48 +02:00
Antoine POPINEAU a19e500f09
Prevent long-running requests to make the app crash when user is logging out. 2020-06-21 14:16:30 +02:00
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
Antoine POPINEAU 18e981fba5
Fixed an issue where the main playback UI would freeze when skipping an erroring track (in airplane mode, for example). 2020-06-20 22:10:13 +02:00
Antoine POPINEAU 1b98850a9c
Add a checkbox to allow cleartext connections to a Funkwhale instance. Should close #6. 2020-06-20 16:52:41 +02:00
Antoine POPINEAU 66c7915307
Prevent issue on queue item deletion. Should close #48. 2020-06-20 16:32:14 +02:00
Antoine POPINEAU e539cc26dd
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
vicdorke 2eff3263d2 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (94 of 94 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/zh_Hans/
2020-06-19 12:33:43 +00:00
vicdorke fb22b9f79e Added translation using Weblate (Chinese (Simplified)) 2020-06-19 05:51:54 +00:00
Antoine POPINEAU 13f3c2d465
Add light animation when scrolling listings. 2020-06-15 00:26:22 +02:00
Antoine POPINEAU 098048ac49
Download state change would not be reflected in the list. 2020-06-14 21:15:13 +02:00
Antoine POPINEAU abff279df9
Fix performance issue on download tracking from the Favorites section. 2020-06-14 20:40:08 +02:00
Antoine POPINEAU a2c35595c7
Better handling of download progress and event. Added an option to retry failed downloads. Performance improvement around downloads UI. 2020-06-14 20:32:48 +02:00
Antoine POPINEAU 94fd3d51aa
Add downloaded indicators in favorites view. 2020-06-14 20:32:20 +02:00
Antoine POPINEAU a2caba8bd1
Added downloaded indicator on track rows. 2020-06-14 20:32:17 +02:00
Antoine POPINEAU 4127421132
Allow downloading whole albums. 2020-06-14 20:31:12 +02:00
Antoine POPINEAU 00fb833cfa
Added basic management of downloads and downloaded tracks. 2020-06-14 20:31:07 +02:00
Antoine POPINEAU 2dfabf74e9
Initial handling of track downloads. 2020-06-14 20:28:05 +02:00
Antoine POPINEAU a0e201e68f
Filter music according to own music setting (should close #33). 2020-06-14 20:26:47 +02:00
Antoine POPINEAU 746ae8897d
Frontend logic for displaying only own music. 2020-06-14 20:26:39 +02:00
Antoine POPINEAU fc1419c2fb
Minor style enhancement. 2020-06-14 00:42:45 +02:00
Antoine POPINEAU e7865004af
Prepare 1.0.19. 2020-06-13 22:27:26 +02:00
Antoine POPINEAU 17dace030e
Upgraded ExoPlayer, manually compiled FLAC extension. Related to #44. 2020-06-13 22:24:35 +02:00
Antoine POPINEAU 94dec8367f
Added more title contrast for item lists. Added icon for custom radios. 2020-06-13 13:41:12 +02:00
Antoine POPINEAU 81cf0835df
Prepare 1.0.18. 2020-06-13 12:26:53 +02:00
Keunes 7dc4d3e0ee
Translated using Weblate (Dutch)
Currently translated at 87.3% (76 of 87 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/nl/
2020-06-11 18:09:59 +02:00
Antoine POPINEAU 7bc3ab2010
Translated using Weblate (French)
Currently translated at 100.0% (87 of 87 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/fr/
2020-06-11 18:09:58 +02:00
Antoine POPINEAU 865603634a
Translated using Weblate (German)
Currently translated at 94.2% (82 of 87 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-06-11 18:09:57 +02:00
Antoine POPINEAU bfb1b90781
Translated using Weblate (English)
Currently translated at 100.0% (87 of 87 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/en/
2020-06-11 18:09:13 +02:00
Antoine POPINEAU 827170c34f
Build HEAD release on push to develop and bumped NDK versions. 2020-06-11 12:10:24 +02:00
Antoine POPINEAU eb97c3d4be
Promote Radios to stable! 2020-06-11 10:56:31 +02:00
Antoine POPINEAU 6dcd9afc31
Fixed an issue where RadiosFragment would wake up on track change even when the app is killed, causing a crash. 2020-06-11 08:08:20 +02:00
Antoine POPINEAU d76f820f9d
Left test exception throw... 2020-06-11 00:02:49 +02:00
Antoine POPINEAU e50a43a812
Lint. 2020-06-11 00:01:39 +02:00
Antoine POPINEAU a4b2907c07
Added Settings item to copy the latest logs in case of crash. 2020-06-10 23:59:09 +02:00
Antoine POPINEAU 54f911793a
Fixed skipping tracks on playback error. The faulty track is now removed from the queue. 2020-06-10 11:38:57 +02:00
Antoine POPINEAU 97b7dc2a61
Updated README to mention community localization effort. Fixed a crash with Android media controls when a cover art HTTP call would return an error status code. 2020-06-10 10:51:23 +02:00
Keunes 72a77221e6 Added translation using Weblate (Dutch) 2020-06-05 21:21:01 +00:00
Antoine POPINEAU 427dc8b4db Translated using Weblate (French)
Currently translated at 100.0% (87 of 87 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/fr/
2020-06-05 07:57:01 +00:00
Antoine POPINEAU a4b2af7640
Removed unused translation. Fixed untranslated string. 2020-06-02 19:02:34 +02:00
Arne Schlag 931c9d589b
added support for german (de) (#38)
* added support for german (de)
* Added spacing and missing plurals
* added missing translations
2020-06-02 17:01:30 +00:00
Antoine POPINEAU c75f2e45f6
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
Antoine POPINEAU cb43615cb1
Fixed some linting issues. Fixed two issues related to current track emphasis and landscape now playing cover background. 2020-06-01 21:25:16 +02:00
Antoine POPINEAU dfeec64bf1
Explicitely set notifications as public. 2020-06-01 17:29:15 +02:00
Antoine POPINEAU 80554796d3
Resize native radios icons to be more legible. 2020-06-01 17:05:13 +02:00
Antoine POPINEAU ce05acad21
Send track played reports to Funkwhale whenever a track finishes playing. Closes #40. 2020-06-01 16:31:58 +02:00
Antoine POPINEAU dc7803acb4
Added support for native radios (random and less listened to radios). Advancing #8. 2020-06-01 14:38:50 +02:00
Antoine POPINEAU bf7763c8c3
Prepare 1.0.17. 2020-05-31 20:17:13 +02:00
Derek Schmidt c9159166d2
Avoid java.net.URL's RFC 2396 parsing 2020-05-30 18:54:57 -07:00
Antoine POPINEAU d5c1b89d3d
Cache if playback is in radio mode to be able to continue after app gets killed. 2020-05-31 02:39:32 +02:00
Antoine POPINEAU ae903aba65
Fix repeat icon color in dark mode. 2020-05-31 02:38:59 +02:00
Antoine POPINEAU 2d3bcde242
Add shuffle button in landscape mode. 2020-05-31 00:38:34 +02:00
Antoine POPINEAU d0d64bad9d
Fixed NDK version to bypass an issue on Travis. 2020-05-30 21:44:41 +02:00
Antoine POPINEAU fd1741ca53
Added experimental radios support. Fixed linter and fastlane metadata. 2020-05-30 21:16:28 +02:00
Antoine POPINEAU 3fb0bb55a4
Seek to start of song when nexting (progress cache would remain at the progress of the previous track. 2020-05-30 17:49:08 +02:00
Antoine POPINEAU 3180c886a2
Added Fastlane metadata listing for F-Droid and rationalized content between Triplet and Fastlane. Related to #10. 2020-05-30 16:16:04 +02:00
Antoine POPINEAU 415be3d235
Finish removing everything related to my Chromecast experiments, for now. 2020-05-30 16:00:24 +02:00
Antoine POPINEAU 159685bcc1
Added track details from Now Playing view. Should fix #30. 2020-05-30 15:49:06 +02:00
Antoine POPINEAU 1038ee00ff
Hide search results sections if no result for a kind. 2020-05-30 14:15:59 +02:00
Antoine POPINEAU 98b2b31e20
Open artists and albums in search results. 2020-05-30 14:12:04 +02:00
Antoine POPINEAU cf4cd16bed
Added a toggle for repeat mode on the Now Playing view. Should fix #26. 2020-05-29 23:42:03 +02:00
Antoine POPINEAU b554678500
Added links to artist and album on Now Playing view. Partially covers #30. 2020-05-29 21:40:01 +02:00
Antoine POPINEAU fa82f13a9c
Display search results for artists and albums. Only cosmetic for now, there is no action on them. 2020-05-29 13:19:28 +02:00
Antoine POPINEAU 55ab0ce71c
Cache playback position on pause. Should fix #19. 2020-05-29 10:32:09 +02:00
Antoine POPINEAU 9d0ee7f1b8
Added license to settings. 2020-05-29 01:42:03 +02:00
Antoine POPINEAU d9b7ed5b3f
Added version number to settings. 2020-05-29 01:30:05 +02:00
Antoine POPINEAU d53bee8f31
Added link to repository in settings. 2020-05-29 01:23:21 +02:00
Antoine POPINEAU 534e48e2c8
Upgrades dependencies. Enhanced login screen appearance. Fixed a seriously dumb issue where we would not transmit the token to the server. 2020-05-29 01:11:15 +02:00
Antoine POPINEAU aad0ec439c
Allow for anonymous connection if server supports it. Should provide basic support for #14. 2019-11-25 23:16:18 +01:00
Antoine POPINEAU 3101fa5302
Fixed a bug where lists would crash if a second page was loaded. 2019-11-25 21:39:10 +01:00
Antoine POPINEAU a55986343f
Format code and fixed favoriting issue on favorite tab. 2019-11-23 14:45:56 +01:00
Antoine POPINEAU aaf8874699
Remove "Add to playlist" from overflow menu since it is not yet implemented. 2019-11-22 20:24:56 +01:00
Antoine POPINEAU fbe5ea4db9
Sort album view by track position. 2019-11-22 20:24:08 +01:00
Antoine POPINEAU b7db24ea11
Fixed issue with merging around favorite management. 2019-11-22 20:14:05 +01:00
Antoine POPINEAU 40117122c7
Display error messages from Funkwhale's API on login error. 2019-11-22 00:13:22 +01:00
Antoine POPINEAU 9ea5446f58
Wrap LoginActivity in ScrollView to account for small screens and landscape mode. 2019-11-21 23:41:01 +01:00
Antoine POPINEAU c36616ab92
Promote Favorites tab to stable. 2019-11-21 23:26:35 +01:00
Antoine POPINEAU 0cb4bda212
Added support for landscape mode. 2019-11-21 23:26:34 +01:00
Antoine POPINEAU cac32332e0
Favorites button is now async. Added favorite button management in queue and search. 2019-11-21 22:13:59 +01:00
Antoine POPINEAU 09ada772e6
Prepared 1.0.15. 2019-11-17 01:03:59 +01:00
Antoine POPINEAU 02715389d2
Regenerated app icons to use proper background color and round shape on all API versions. 2019-11-16 17:50:24 +01:00
Antoine POPINEAU e4e91cd013
Finish LoginActivity on successful login to prevent backpressing back to it. 2019-11-16 17:26:43 +01:00
Antoine POPINEAU b735e20fbd
Limit track info to one line on now playing preview. Properly encode search terms. 2019-11-16 16:52:44 +01:00
Antoine POPINEAU 98b7812a47
We failed to remove bold typeface for non-currently playing tracks when recycling views. This is fixed. 2019-11-16 16:52:43 +01:00
Antoine POPINEAU a21cafdbe0
Fix miscellaneous bugs to Flow implementation. 2019-11-16 16:52:42 +01:00
Antoine POPINEAU ba12854e6c
Migrate to Flows. 2019-11-16 16:52:39 +01:00
Antoine POPINEAU 4e60906fe9
Wrong version code generator. [skip ci] 2019-11-06 09:05:48 +01:00
Antoine POPINEAU 2c87e7c983
Moved androidGitVersion to top of the file, else it is not taken into account. [skip ci] 2019-11-06 09:01:39 +01:00
Antoine POPINEAU 7084be81de
Remove -dirty suffix from version name if workdir is not clean (for F-Droid). [skip ci] 2019-11-06 08:14:02 +01:00
Antoine POPINEAU 3cd1d77b85
Trying and fix F-Droid build. [skip ci] 2019-11-06 01:08:30 +01:00
Antoine POPINEAU 28761b63c0
Prepare release 1.0.13. 2019-10-31 11:45:41 +01:00
Antoine POPINEAU 22c99d384c
Fixed issue #7 to display all search results properly. 2019-10-31 11:20:12 +01:00
Antoine POPINEAU 657c72480e
Some vendors' battery optimizers killed the background service quite
quickly when the app is in the background and *not* playing music. This
had the effect of breaking all player actions within the app (queue
listing, playback control, etc.).

This "starts" PlayerService every time MainActivity is resumed, which is
a noop if the service is still running, but allows retrieving app
functionality otherwise.
2019-10-31 00:46:35 +01:00
Antoine POPINEAU 993e780d54
Remove underline under SearchView. 2019-10-30 22:28:31 +01:00
Antoine POPINEAU 43ffffa68f
Added album cover to MediaSession (for WearOS media controls, and future Chromecast support). 2019-10-30 22:21:02 +01:00
Antoine POPINEAU eac875b9cb
Clear queue on logout. 2019-10-30 22:06:57 +01:00
Antoine POPINEAU 5c1498bb95
Automate editing of store listing. 2019-10-30 21:58:24 +01:00
Antoine POPINEAU 07d00ee69c
Fixed GitHub releases. 2019-10-30 15:09:15 +01:00