Commit Graph

518 Commits

Author SHA1 Message Date
Ryan Harg 512d596b36
Update to newest version of material design and core-ktx 2021-07-11 18:46:02 +02:00
Ryan Harg a35e4759b8
Update to newest version of Fuel http client 2021-07-11 18:41:10 +02:00
Ryan Harg de204c557d
Issue 39: Increase button size
This prevents a user from accidentally clicking on the song line instead
of the image buttons
2021-07-09 11:30:53 +02:00
Ryan Harg cf6c38b70e
Issue 39: Increase button sizes slightly 2021-07-08 13:42:08 +02:00
Ryan Harg 48d11abb16
Stretch now playing seekbar to entire width until timecodes
- Applies minor changes from PR at: https://github.com/apognu/otter/pull/102
- Credits go to: https://github.com/luuknieuwdorp
2021-07-08 13:19:03 +02:00
Ryan Harg 585c2b46b9
Change background color of headers in radio view 2021-07-07 09:04:17 +02:00
Ryan Harg 6ab25b390c
Minor adjustments to color schemes 2021-07-04 13:45:46 +02:00
Ryan Harg 8b7b1511fc Improve dark scheme background colors
- Change background color of bottom app bar
- Change background color of navigation bar
2021-07-03 11:08:04 +00:00
Ryan Harg c220b12110
Adjust background color of main activity 2021-07-02 16:08:29 +02:00
Ryan Harg 05fb1d84f4 Update colors of light and dark scheme 2021-07-02 14:07:17 +00:00
Ryan Harg 370f541a44
Change contact website for Play Store 2021-07-02 14:10:48 +02:00
Ryan Harg 835c7470c5
Change contact email for Play Store 2021-07-02 14:00:56 +02:00
Ryan Harg 3c86003e30 Rebrand/rename packages 2021-07-02 11:55:49 +00:00
Ryan Harg b08fc461ec
Update the application name for debug builds 2021-07-02 13:19:27 +02:00
Ryan Harg 4a1630032d Update some dependencies and adapt where necessary 2021-07-01 11:25:09 +00:00
Ryan Harg 92f9cbdb5c
Update application name in strings 2021-07-01 13:16:02 +02:00
Ryan Harg eea0628d3d
Replace app logos and app name
commit f9058b7b08
Author: Ryan Harg <ryan.harg@mailbox.org>
Date:   Tue Jun 29 18:41:32 2021 +0200

    Exchange app logo in login activity

commit a67d2a854c
Author: Ryan Harg <ryan.harg@mailbox.org>
Date:   Tue Jun 29 15:00:31 2021 +0200

    Re-add source-set specific application name

commit 8bfcb36d60
Author: Ryan Harg <ryan.harg@mailbox.org>
Date:   Tue Jun 29 14:19:22 2021 +0200

    Replace in-app icons

commit f8eb547732
Author: Ryan Harg <ryan.harg@mailbox.org>
Date:   Tue Jun 29 13:57:44 2021 +0200

    Replace application icons and adjust app name
2021-07-01 13:11:11 +02:00
Ryan Harg f0c2d22e78
Upgrade to Kotlin 1.5 2021-06-29 09:37:36 +02:00
Georg Krause a0b4f8c6e6 Translated using Weblate (German)
Currently translated at 100.0% (118 of 118 strings)

Translation: Funkwhale/Funkwhale For Android
Translate-URL: https://translate.funkwhale.audio/projects/funkwhale/ffa/de/
2021-06-27 12:13:30 +00:00
Reinhard Prechtl 580b791ebc
Update gradle wrapper to use gradle 7.1 2021-06-26 14:05:38 +02:00
ryan_harg 34d377630e Fix build script issues 2021-06-26 11:36:32 +00:00
helabasa a77d3c0222 Translated using Weblate (Sinhala)
Currently translated at 8.4% (10 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/si/
2021-03-12 05:13:51 +00:00
helabasa fe014cde1a Added translation using Weblate (Sinhala) 2021-03-11 04:14:53 +00:00
x 641ead2c53 Translated using Weblate (Italian)
Currently translated at 100.0% (118 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/it/
2021-02-24 04:27:48 +00:00
Luka Filipović 4972d0de47 Translated using Weblate (Croatian)
Currently translated at 100.0% (118 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/hr/
2021-01-11 12:15:56 +00:00
Luka Filipović c6899d7254 Added translation using Weblate (Croatian) 2021-01-10 14:11:17 +00:00
David dccb3f3520 Translated using Weblate (German)
Currently translated at 98.3% (116 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2021-01-10 05:05:28 +00:00
Storozhenko Evgeny Vladimirovich 5febaa5837 Translated using Weblate (Russian)
Currently translated at 100.0% (118 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/ru/
2021-01-09 11:29:55 +00:00
anonymous ff8eabb514 Translated using Weblate (Russian)
Currently translated at 100.0% (118 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/ru/
2021-01-08 11:08:42 +00:00
vicdorke 509133c654 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (118 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/zh_Hans/
2020-12-22 18:55:48 +00:00
Philipp Wolfer f630b0165c Translated using Weblate (German)
Currently translated at 95.7% (113 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-11-18 10:57:41 +00:00
Daniel 0d39d1f628 Translated using Weblate (German)
Currently translated at 95.7% (113 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-11-18 10:57:41 +00:00
ghose 8eac040142 Translated using Weblate (Galician)
Currently translated at 100.0% (118 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/gl/
2020-11-15 05:43:32 +00:00
x d46d599fc3 Translated using Weblate (Italian)
Currently translated at 100.0% (118 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/it/
2020-11-13 18:58:07 +00:00
x a1cf0c5f5b Added translation using Weblate (Italian) 2020-11-12 16:50:21 +00:00
ghose f188b5c449 Translated using Weblate (Galician)
Currently translated at 34.7% (41 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/gl/
2020-11-09 18:15:09 +00:00
ghose 13cd81825a Added translation using Weblate (Galician) 2020-11-09 08:04:17 +00:00
serxoz 1397bdd449 Translated using Weblate (Spanish)
Currently translated at 99.1% (117 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/es/
2020-10-24 14:56:26 +00:00
Daniel 95fd3a0a6a Translated using Weblate (German)
Currently translated at 89.8% (106 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-10-09 13:12:00 +00:00
Dominik Danelski ef67fa65c0 Translated using Weblate (Polish)
Currently translated at 100.0% (118 of 118 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/pl/
2020-10-02 02:07:40 +00:00
Dominik Danelski e20e941c7e Added translation using Weblate (Polish) 2020-10-01 10:50:06 +00:00
vicdorke 6d718747db Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (113 of 113 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/zh_Hans/
2020-09-30 16:57:20 +00:00
Antoine POPINEAU a7b469d690
#15: added "Add to playlist" action from the Now Playing screen. 2020-09-26 18:34:13 +02:00
Antoine POPINEAU 6bdefa1936
#81: added save current queue to playlist. 2020-09-26 18:23:12 +02:00
Antoine POPINEAU 785fa6ce19
#84: remove presumably unnecessary trigger to Event.QueueChanged. 2020-09-26 17:39:24 +02:00
Antoine POPINEAU 300cc54e97
Remove binary AAR for FLAC and OPUS codecs and use jitpack dependencies. 2020-09-07 09:58:57 +02:00
Antoine POPINEAU 7feac4e400
Changed background color when rearranging playlist items. 2020-09-06 15:36:14 +02:00
Antoine POPINEAU b0747658ae
Add toast when added to playlist. 2020-09-06 15:23:45 +02:00
Antoine POPINEAU ab654a08c4
#15: Enable reordering of playlist tracks. Fixed an algorithmic issue with reordering of queue items. 2020-09-06 14:56:46 +02:00
Antoine POPINEAU d2a981c368
#15: add Add to playlist in queue item overflow menu. 2020-09-06 14:56:45 +02:00
Antoine POPINEAU 049822005e
#15: implemented removing track from playlist. 2020-09-06 14:56:44 +02:00
Antoine POPINEAU d796fca26b
#15: Enabled "Add to playlist" in the search screen. Localized strings and improved UI. 2020-09-06 14:56:43 +02:00
Antoine POPINEAU 54d4dc2235
#15: initial support for adding tracks to a playlist. 2020-09-06 14:56:43 +02:00
Antoine POPINEAU 64ea222f08
#76: fixed Shuffle and Clear queue actions in landscape mode. 2020-09-05 16:12:22 +02:00
Ventura Pérez García 1380d1d2b9 Translated using Weblate (Spanish)
Currently translated at 100.0% (110 of 110 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/es/
2020-09-03 23:34:13 +00:00
Antoine POPINEAU e60814d28f
#52: Properly handle content filter selection and state. 2020-09-03 22:55:10 +02:00
Antoine POPINEAU ce8d956cee
#52: implemented UI and functionnal filtering for all, me and subscribed. Funkwhale still does not seem to respect that. 2020-09-03 22:55:09 +02:00
Ventura Pérez García 1e73ef6ee4 Added translation using Weblate (Spanish) 2020-09-03 11:50:17 +00:00
Antoine POPINEAU 63c8dbe09e
#65: abide by order preference when using "Queue" overflow menu option. 2020-09-02 14:24:59 +02:00
Antoine POPINEAU 9b0c8b0bf6
#65: added an option to select preference towards playback order. 2020-09-02 12:45:37 +02:00
Antoine POPINEAU b87766dad2
#66: Fixed behavior on queue shuffling, clearing and end of queue on no-repeat. 2020-09-02 12:05:31 +02:00
Antoine POPINEAU 50c8dac297
#66: add queue actions to clear or shuffle the queue. 2020-09-01 22:16:36 +02:00
Antoine POPINEAU 1dd38e87fb
Update dependencies. 2020-09-01 21:04:41 +02:00
Antoine POPINEAU 4cf77404a1
#73: fix track sorting order by fixing a mistake and taking disc_number into consideration. 2020-09-01 18:25:10 +02:00
Antoine POPINEAU 9beb5e6641
Prepare 1.0.21. 2020-08-29 15:25:26 +02:00
Antoine POPINEAU 998dab0fb5
Do not delete downloads on authentication error (prepare for new authentication system). 2020-08-29 15:14:59 +02:00
dulz 0056faee8e Translated using Weblate (French)
Currently translated at 100.0% (103 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/fr/
2020-08-14 16:27:24 +00:00
Arne 964c510312 Translated using Weblate (German)
Currently translated at 100.0% (103 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-08-11 12:56:41 +00:00
Keunes f999745a0c Translated using Weblate (Dutch)
Currently translated at 74.7% (77 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/nl/
2020-08-09 02:07:21 +00:00
Antoine POPINEAU 002ebec7ce
Do not delete downloaded tracks on log out.
Downloaded tracks can be quite precious when you have lots of them (as
redownloading all of them can be costly in terms of time and money).
This prevents downloaded tracks from being deleted along with your
session.

This must be included in 0.21, so we can safely implement Funkwhale's
new authentication mechanism in 0.22.
2020-08-08 14:58:50 +02:00
Antoine POPINEAU d76f76a222
Use the new schema for cover art URLs. 2020-08-08 14:51:39 +02:00
Antoine POPINEAU f062e62299
Apply current track style to playlist tracks. 2020-08-03 15:30:42 +02:00
Antoine POPINEAU d2e472d770
Update media session metadata as soon as track changes. 2020-08-03 15:30:41 +02:00
vicdorke 04d0dd9c09 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (103 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/zh_Hans/
2020-07-28 03:33:18 +00:00
Arne 3dafb1c51f Translated using Weblate (German)
Currently translated at 100.0% (103 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-07-24 06:40:07 +00:00
anonymous cbb147fc4b Translated using Weblate (German)
Currently translated at 100.0% (103 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-07-24 01:44:06 +00:00
Arne Schlag 748ef0d935 Translated using Weblate (German)
Currently translated at 100.0% (103 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-07-24 01:44:06 +00:00
anonymous 2c672ecbfa Translated using Weblate (German)
Currently translated at 97.0% (100 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-07-24 01:42:34 +00:00
Arne Schlag 79140f829e Translated using Weblate (German)
Currently translated at 97.0% (100 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-07-24 01:42:33 +00:00
anonymous 326fcefa62 Translated using Weblate (German)
Currently translated at 96.1% (99 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-07-24 01:41:18 +00:00
Arne Schlag 2c657ee85a Translated using Weblate (German)
Currently translated at 96.1% (99 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-07-24 01:41:18 +00:00
Arne Schlag c2ac66d992 Translated using Weblate (German)
Currently translated at 86.4% (89 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-07-24 01:39:50 +00:00
anonymous 684e11d904 Translated using Weblate (German)
Currently translated at 86.4% (89 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/de/
2020-07-24 01:39:49 +00:00
Bread Factory 0bec180cc5 Translated using Weblate (Russian)
Currently translated at 100.0% (103 of 103 strings)

Translation: Otter/Otter Android app
Translate-URL: https://translate.funkwhale.audio/projects/otter/android/ru/
2020-07-15 05:05:52 +00:00
Bread Factory 89db2a3880 Added translation using Weblate (Russian) 2020-07-15 04:10:07 +00:00
Antoine POPINEAU a7968e9a87
Fix dynamically changing between own music and all music. Dynamically reload all tabs instead of only active ones. 2020-07-13 10:31:36 +02:00
Antoine POPINEAU 5c684b6e67
Fixed audio focus stealing. 2020-07-12 20:46:33 +02:00
Antoine POPINEAU 85e9f14e2a
Cleaned up DisableableFrameLayout. 2020-07-12 19:05:51 +02:00
Antoine POPINEAU 1e62cc1f4e
Now Playing view: do not cancel fling event on touch, disable view behind it when opened. 2020-07-12 18:55:52 +02:00
Antoine POPINEAU b0640cf1b2
Streamline the way the media session is controled across devices. 2020-07-12 18:28:50 +02:00
Antoine POPINEAU e7cb5e4c6e
QueueNavigator now returns queue index. 2020-07-12 15:19:33 +02:00
Antoine POPINEAU 7035f073f2
Changed accent color. 2020-07-11 21:08:25 +02:00
Antoine POPINEAU 931cd0b42d
Stop PlayerService when logging out. 2020-07-11 21:05:19 +02:00
Antoine POPINEAU ba31a4efcf
Some tracks do not have album, this fixes a crash trying to retrieve their album cover. Changed the placeholder album cover to be less aggressive to the eye. 2020-07-11 21:01:09 +02:00
Antoine POPINEAU 9fb9d45e05
Add favorite and info button in landscape Now Playing view. 2020-07-11 19:30:10 +02:00
Antoine POPINEAU 8d7836172b
Reorganized Now Playing view to be more legible. 2020-07-11 19:24:38 +02:00
Antoine POPINEAU 308e7d7567
Improve performance of recycler views and prevent flickering on state change. 2020-07-11 18:15:40 +02:00
Antoine POPINEAU 7d95618ff5
Allow track downloading from the search results. 2020-07-11 17:41:41 +02:00
Antoine POPINEAU e4da4af3f3
Prevent keyboard to pop over result pages. 2020-07-11 17:28:01 +02:00
Antoine POPINEAU b9e9272336
Optimized workflow between two searches. 2020-07-11 17:17:26 +02:00
Antoine POPINEAU 61fdb116ad
Fixed an issue where favorited tracks would not show up erroneously in track lists. 2020-07-11 16:56:09 +02:00
Antoine POPINEAU d75e8ae17f
Add a dedicated support email on the Play Store. Mention GitHub and Matrix in the description [skip ci]. 2020-07-11 15:11:15 +02:00
Antoine POPINEAU dd86988518
Explicitely remove notification when paused and the app is swiped up. 2020-07-11 14:16:22 +02:00
Antoine POPINEAU b6b9e4c053
Reattach the detached service notification when the app is swiped (if not playing) for it be removed with the application. 2020-07-11 12:58:25 +02:00
Antoine POPINEAU eb6b7a807b
Fixed album position in track info and ensure safe callback to current recycler view. 2020-07-10 21:03:48 +02:00
Antoine POPINEAU 3a81d26cd9
Renamed some components to refer to Otter instead of Funkwhale. 2020-07-10 20:40:18 +02:00
Antoine POPINEAU 28949a8e17
Fixed loading wheel. 2020-07-10 20:37:28 +02:00
Antoine POPINEAU bc1e911b41
Globalize the use of caching for main sections data, improved handling of loading more pages. 2020-07-10 20:28:44 +02:00
Antoine POPINEAU 57692f2e42
Added copyright and license information (#58). 2020-07-10 20:25:35 +02:00
Antoine POPINEAU fe224b097a
Re-enabled media session on service start. Do not condition radio resumption to having a cookie, since those are only valid when authenticated anonymously. 2020-07-10 18:46:49 +02:00
Antoine POPINEAU 080c07eeab
Specify in the app name when using a develop build. 2020-07-10 17:23:02 +02:00
Antoine POPINEAU b34810d631
Allow media session resuming from media buttons when service is killed. 2020-07-10 17:18:29 +02:00
Antoine POPINEAU b14b703f05
Fix an issue where always retrieving favorites from the network could be really costly and introduce stack overflows (#60). 2020-07-10 15:50:56 +02:00
Antoine POPINEAU 4ecb607f45
Let the media session live when playback is paused.
As per Android policy and internal logic, we stopped the playback
foreground service when playback was paused. This made our PlayService
elligible for garbage collection by the OS. This had the consequences of
not allowing someone to pause playback and resume it after some time.
Android would always kill the service after around one minute.

This commit, on supported Android version (7.0+) detaches the
notification when stopping the foreground service, leaving the
notification in place even when the service is killed, allowing the user
to resume playback whenever they please.

We also had to move the MediaSession out of the service, for it to
remain alive between service killing and resurrection.
2020-07-09 23:01:35 +02:00
Antoine POPINEAU a3f84cc56c
Add an application ID suffix for development versions. 2020-07-09 23:00:50 +02:00
Antoine POPINEAU 4b2cf10e78
Fix IO thread performing UI task on some occasion (#59). 2020-07-09 10:45:52 +02:00
Antoine POPINEAU 5d397ab1fe
Sort radios, playlists and favorites by name. 2020-07-08 23:23:14 +02:00
Antoine POPINEAU f3bbca9c27
Fixed caching of metadata. 2020-07-08 23:21:47 +02:00
Antoine POPINEAU 37d5c7b7be
Load data from network on resume if cached data is empty. 2020-07-08 23:00:10 +02:00
Antoine POPINEAU 97bb621d7f
Enable network security setting to allow for user-configured CAs. 2020-07-08 22:20:38 +02:00
Antoine POPINEAU b2e6ec43a8
Improved loading of new and cached items.
Scrolling through large lists was a pain. The next page would only load
when the end of the list was reached, stopping the scroll action while the new
page was fetched.

This commits adds two items:

 * Artists, albums and playlists do not refresh data on resume, only
   using cached data until manually refreshed.
 * When manually refreshed, we initially fetch a few pages instead
   of only one. Also, on scroll, we try as best as we can to always keep
   10 pages (pages as in screen estate) worth of data loaded.
2020-07-08 22:11:50 +02:00
Antoine POPINEAU de0a494b43
Do not transform URLs to HTTPS now that we support cleartext connections. 2020-07-08 15:12:49 +02:00
Antoine POPINEAU 0facf09c94
Do not list artists without albums.
As of now, Otter cannot list albumless tracks (for example, tracks in
compilation, appearing under the original artist, but not part of an
album published by this artist). This created a lot of "empty" artists
(with no albums) in the Artists section of the app.

This may be rolled back if we are some day able to list "orphan"
tracks.
2020-07-08 14:09:48 +02:00
Antoine POPINEAU 2c4f8a4329
Added margin on the left of album release date. 2020-07-08 14:08:59 +02:00
Antoine POPINEAU e17c706ae3
Release date can be null, changed model and added checks. 2020-07-08 14:08:35 +02:00
Antoine POPINEAU 37f4b1da9e
Sort artists and global albums by name/title. Sort an artist's albums by release date. Display the release year in the albums view (#54). 2020-07-08 13:19:47 +02:00
Antoine POPINEAU b0d7ff393d
Changed track metadata reporting method so it could work similarly across devices (notification, ambient display, lockscreen, watches, ...) (#55). 2020-07-08 12:46:52 +02:00
Antoine POPINEAU 34ddef8489
Prepare 1.0.20: provide missing debug values. 2020-07-07 21:04:24 +02:00
Antoine POPINEAU 7f6b748032
Prepare 1.0.20: resized screenshots to be accepted by the Play Store. 2020-07-07 20:38:41 +02:00
Antoine POPINEAU 1a105654f0
Prepare 1.0.20. 2020-07-07 20:10:35 +02:00
Antoine POPINEAU 1238931384
Updated banner with new logo. Added source files for logo and banner. 2020-06-26 20:37:47 +02:00
Antoine POPINEAU 100514cde6
Limit the width of the login screen in landscape mode to be easier on the eye. 2020-06-26 20:03:48 +02:00
Antoine POPINEAU 72ba8733b3
Added downloads option menu in landscape mode. 2020-06-26 19:43:32 +02:00
Antoine POPINEAU 49f5754f2b
Add more emphasis to currently playing track in listings. 2020-06-26 19:42:10 +02:00
Antoine POPINEAU 9b888ba17f
Do not skip track on error if the user paused playback. Fixed an issue where two track could be marked as playing at the same time in TracksFragment. 2020-06-26 19:05:11 +02:00
Antoine POPINEAU 212b44a22f
Actually disable caching if cache size is set to zero. 2020-06-26 18:50:17 +02:00
Antoine POPINEAU 441ca3249c
Added new full set of adaptive icons. 2020-06-26 12:34:08 +02:00
Antoine POPINEAU c420f26b88
Added the full-size logo to prevent blurry Otter icon. Resized album cover arts in landscape mode. 2020-06-25 22:33:01 +02:00
Antoine POPINEAU 921154edbb
Updated Gradle and Gradle plugin versions. Enabled artifact minification and resource shrinking (reduces APK size by more than 50%). 2020-06-25 22:29:33 +02:00
Antoine POPINEAU 9c61fcf462
Tidied up usage of GlobalScope to the profit of AndroidX's lifecycle coroutine scopes. 2020-06-25 01:26:15 +02:00
Antoine POPINEAU f7a5a29eea
Pulled some fixes from dev/chromecast (080cce00eec84f1be724d34daa597c406bb1a63a). 2020-06-24 19:45:16 +02:00
Antoine POPINEAU 2b9eb789e8
Changed style for main shuffle button to be less conspicuous. 2020-06-24 16:04:36 +02:00
Antoine POPINEAU b2d26a8127
Refactored and rationalized some events and commands on the buses. 2020-06-24 14:54:13 +02:00
Antoine POPINEAU dc25a922c2
Changed icons (still need to make full set). 2020-06-23 23:23:46 +02:00
Antoine POPINEAU 1ee9f021ce
Login screen would briefly display an dummy error when authentication succeeded. 2020-06-23 09:40:18 +02:00
Antoine POPINEAU 7a72558d1a
Refresh every second instead of 500ms. 2020-06-22 22:25:03 +02:00
Antoine POPINEAU ff2a915ba4
Periodically refresh download progress while in DownloadsActivity. 2020-06-22 22:24:34 +02:00
Antoine POPINEAU 03fcf1a382
Fixed download and cache indicators on search screen. Fixed an issue with placeholder texts when some search terms did not return results. 2020-06-22 21:48:31 +02:00
Antoine POPINEAU 08a7a28c22
Nicest highlight of selected row. 2020-06-22 18:05:25 +02:00
Antoine POPINEAU 3a88e02ca0
Delete regular data cache on logout. 2020-06-21 18:51:22 +02:00
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
Antoine POPINEAU f45e5f7a36
Integrating CI. Configure GitHub releases. 2019-10-30 14:47:04 +01:00
Antoine POPINEAU 7c9a71d6d7
Put buggy features behind an experiments gate (favorites, for now). Optimized layouts to be able to load lots of content. Fixed Funkwhale API URLs to try and be backward compatible. 2019-10-29 23:41:44 +01:00
Antoine POPINEAU a63f3f7e68
Added ability to not fetch on create for fragments. Added animation on queue change. 2019-10-24 12:35:34 +02:00
Antoine POPINEAU 2d5e73dcd4
Fix crash on illegal characters in URL. Fixed caret and error color on login form. 2019-10-23 22:05:56 +02:00
Antoine POPINEAU 0fa0b5d212
Added support for Flac. 2019-10-23 21:41:50 +02:00
Antoine POPINEAU e84455390b
Several improvements in UI (better colors for night mode, added icons).
Better handling of startup (login activity would reset if put in the background).
Allow use of schemeless hostname for login.
Destroy main activity and clear cache on logout.
Change of endpoint for favorites retrieval for one with much better performance.
2019-10-23 20:21:18 +02:00
Antoine POPINEAU 78468167ca
Fixed crash on coverless albums. 2019-10-22 21:56:33 +02:00
Antoine POPINEAU 6139591bd1
Fixed build script. 2019-10-22 20:19:05 +02:00
Antoine POPINEAU 9e7d1cfe29
Added missing ripple effects. Fixed padding around list items. Moved event buses into Application object. 2019-10-22 20:03:52 +02:00
Antoine POPINEAU 68e5f7e1d1
Migrated to Kotlin for Gradle scripts. 2019-10-21 23:26:06 +02:00
Antoine POPINEAU 58ca43c74f
Set up automatic store uploads and versions management. 2019-10-21 22:11:51 +02:00
Antoine POPINEAU 8b0ce7a32d
Release 1.0.5. 2019-10-21 20:30:16 +02:00
Antoine POPINEAU 5a14b3cfa4
Set page size to 50. Added favorite management on playlists. Fixed loop over loading of playlist tracks. 2019-10-21 20:26:26 +02:00
Antoine POPINEAU 0b14415e1e
Linting. 2019-10-21 19:49:48 +02:00
Antoine POPINEAU 69d789c4f8
Add seek bar on notification for Android 10+. 2019-10-21 18:59:48 +02:00
Antoine POPINEAU 045248adc6
Updated dark mode colors to be more pleasing on the eye. 2019-10-21 12:20:29 +02:00
Antoine POPINEAU 31063fb40f
Misc refactoring. 2019-10-21 11:51:32 +02:00
Antoine POPINEAU 5f495f54e5
Initial commit. 2019-10-20 15:19:18 +02:00