61 Commits

Author SHA1 Message Date
Carlos Pérez
81e7c459b3 Bugfixes
[Android Auto] Fixed a bug that crashed Android Auto if the app wasn't
running
2022-07-12 14:44:01 -03:00
Carlos Pérez
4ac56f538d New Release!
[All Versions] Now the app supports shuffling of the current playing
playlist.
2022-07-12 13:25:38 -03:00
Carlos Perez
c1a8d6eb93 Android Auto improvements
[Android] Android Auto now shows more options for items to play, and
doesn't crash anymore
2022-07-09 21:39:57 -03:00
Carlos Perez
b029c036e4 Bugfix?
Now catching Glide exceptions and loading a default bitmap because
.error() didn't work quite as expected
2022-07-09 20:34:35 -03:00
Carlos Perez
d9d2f9dfa6 Bugfix
Trying again to fix Android Auto crashing. I believe this'll work.
2022-07-09 18:40:50 -03:00
Carlos Perez
bf31cb6588 Bugfix
[Android] Fixed a bug where Android Auto would try to autoplay and the
app crashed if there were no current track.
2022-07-09 18:04:34 -03:00
Carlos Perez
d5325fc60d Bugfix
Hopefully fixed a bug where Android Auto would crash when connection was
unstable or inexistent trying to load album art from the server.
2022-07-08 21:08:36 -03:00
Carlos Perez
9b7d635f3b Bugfix
[Android] Fixed a bug that crashed the app when downloading a song and
registering it for use offline
2022-07-06 00:23:15 -03:00
Carlos Pérez
a26477a0ff Bugfix
[Android TV] Fixed a bug where pressing the back button would exit the
app instead of going back to the previous page
2022-07-05 12:05:26 -03:00
Carlos Pérez
fe404ee2ad Fixed (or supressed) lint errors 2022-07-05 00:44:49 -03:00
Carlos Perez
107cf978f6 Implemented Android TV native views.
This adds performance on Android TV, a lot of TVs use somewhat limited
cpus or lack ram, therefore Capacitor lagged a lot, even on somewhat
high-end devices like the Chromecast with Google TV.
2022-07-05 00:19:58 -03:00
Carlos Pérez
34204405d2 Bugfixes
[Android TV] Fixed a bug where playing a playlist triggered the song in
the phone and not the TV when in Jukebox mode.
2022-06-25 15:29:06 -03:00
Carlos Pérez
b826275bec Fixed bug on Android Auto!
[Android Auto] Finally fixed a bug where a single touch on any control
would trigger the action multiple times
2022-06-25 11:56:23 -03:00
Carlos Pérez
993181232a Patch release
[Android] Removed double callback registering for media controls
handling. Trying to fix song skipping on Android Auto.
2022-06-24 15:13:13 -03:00
Carlos Pérez
ef181cd267 New Release!
[Android and PWA] Now the app supports playlists.
You can browse, edit, add and remove playlists in both the PWA and
Android versions. You can add and remove songs to a playlist and you can
reorder the songs within the playlist.
Support for Android TV is coming.
2022-06-24 13:47:21 -03:00
Carlos Perez
4666a2fa51 New Release!
[All versions] Now the app supports using plaintext passwords for
authentication, as some subsonic implementations need it to work. Please
try not to use this on unsecure connections (i.e. http://) as the
password travels unencrypted through the network.

Closes #2. Thanks @epoupon
2022-06-21 23:35:19 -03:00
Carlos Perez
edcd99ac04 New release!
[All versions] Now the app supports streaming using the
"format" parameter of the stream endpoint. That means you can ask the
server to transcode the song and not stream the original version. Useful
for metered connections.
[Android] Now the app supports autodiscovery of instances running on
Android TV. Useful for connecting jukebox mode without the need of QR
Scanning.
[Android] Some bugfixes

Also, this commit bumps the package version
2022-06-20 22:08:52 -03:00
Carlos Perez
5846fa54a4 Transcoding support
Now the app supports transcoding formats both in Android and PWA.
Setting reachable on the account page.
2022-06-20 22:04:13 -03:00
Carlos Perez
c3141c98e6 Autodiscovery on Android
[Android] Added upd broadcast based autodiscovery. Now the phone
discovers automatically instances running on Android TV in the LAN and
offers to connect to them on the QR scan screen
2022-06-20 20:50:41 -03:00
Carlos Perez
cb8bbdd5b8 Bugfixes
[Android] Fixed a bug where some observers weren't unregistering when
destroyed or disposed. Should fix some crashes.
2022-06-19 20:38:13 -03:00
Carlos Perez
422d8af023 Requesting audio focus on each play 2022-06-19 01:32:29 -03:00
Carlos Perez
292da9d288 Jukebox working! 2022-06-19 01:25:34 -03:00
Carlos Perez
73eb62faf8 Changes to project structure and pipeline
* Removed targetDropDown file from Android Studio
* Changed the pipeline to bundle a release and upload it as artifact
  instead of the apk for Play Store publishing
2022-06-17 11:54:53 -03:00
Carlos Pérez
9d7c9c6d16 Bugfixes
[Android] Fixed an issue where the app crashed trying to load albumart
from internal storage
[Android] Fixed an issue where the app failed to play the next song on
the current playlist automatically
[Android] Fixed an issue where the camera didn't hide when leaving the
QR scan page. Closes #1. Thanks to @BillButter
2022-06-16 23:09:01 -03:00
Carlos Pérez
8b2d30a6df Bugfixes
[Android] Now the app doesn't block the UI Thread when answering
MediaBrowser queries
2022-06-16 20:54:46 -03:00
Carlos Pérez
d2e014848a Bugfixes
[Android] Now the cache limit works as intended
[Android] Now the cancel button on the playing notification works
(kinda, still doesn't clear the notification)
[Android] Now the app downloads songs one by one, and doesn't clobber
the front-end with progress notifications
[Android] Now the app follows more precisely which songs are cached and
therefore available for offline mode
2022-06-16 20:14:23 -03:00
Carlos Pérez
5b2fe0153b Fixed a problem in the file path implementation 2022-06-16 14:17:40 -03:00
Carlos Pérez
2c97f1e78d [Android] Added support for Android 7.1.1 2022-06-16 13:58:01 -03:00
Carlos Pérez
869cbe1939 Fixed a bug where the home view would crash on any empty list 2022-06-16 11:50:45 -03:00
Carlos Perez
9bf7fa21db [Android] Offline Mode
* You can now download albums without pressing play on a song.
* Every downloaded album is kept available on offline mode
* Now [AndroidTV] doesn't cache songs
2022-06-15 23:36:06 -03:00
Carlos Perez
58c727fa77 Trying fix for Android Auto progress playback 2022-06-13 20:21:33 -03:00
Carlos Pérez
bfb51608d8 Fixed a bug where Android Auto didn't have access to the MediaBrowser
service and media control buttons
2022-06-13 14:40:18 -03:00
Carlos Pérez
f572aabf94 More fixes
[Android] Fixed all linting problems on code
[Android] For now, suppressed all linting problems regarding resources
2022-06-13 13:29:38 -03:00
Carlos Pérez
7ef34237bd Various fixes
[Android] Moved Kotlin files to their own folders
[Android] Added a lint step on pipeline
[Android] Fixed linting problems
[Android] Hopefully fixed a bug where one tap on next song on
notification triggered many commands on backend
2022-06-13 11:44:52 -03:00
Carlos Perez
4549b296d9 Bugfixes
[Android] Fixed a bug where tapping on the notification made the app
crash
2022-06-12 20:13:28 -03:00
Carlos Perez
3657af6c5a Added song cache download indicator
added pipeline for building on github actions
2022-06-11 12:54:44 -03:00
Carlos Pérez
83e090c6cd Added cache storage limiting and play from search intent handling. 2022-06-10 15:36:32 -03:00
Carlos Pérez
f1288d4f40 QOL improvements
[Android] Touching the notification takes you to the app.
[Android] Front-end now loads current track on init.
[Android] Playback now pauses on audio device removal
2022-06-10 01:32:25 -03:00
Carlos Perez
c283c3b49c Migrated to Compat implementations. Fixed an issue where the notification was duplicated. 2022-06-09 20:22:52 -03:00
Carlos Pérez
3d7f26b744 Back button now exits app on Android. Added License and updated Readme. 2022-06-06 12:32:22 -03:00
Carlos Pérez
cf269fe2be Working music service implementation
Doze doesn't kill the music anymore.
2022-06-06 10:09:40 -03:00
Carlos Pérez
a5bd0e7b60 QR Working 2022-06-05 12:15:53 -03:00
Carlos Pérez
413b6d3e4d Implemented song cache on Android. Removed currentTrackContext as it was triggering unnecesary rerenders on entire App. 2022-06-04 14:27:56 -03:00
Carlos Perez
39893c2bde TV Mode for TV Browsers 2022-06-02 23:30:59 -03:00
Carlos Pérez
33acacdc59 wip still 2022-06-02 13:33:22 -03:00
Carlos Perez
f1cabe1483 Android TV partially working 2022-06-02 00:41:08 -03:00
Carlos Pérez
e8d429d6fa wip 2022-06-01 19:28:42 -03:00
Carlos Perez
3a21390ab0 Android TV Login still not working 2022-06-01 09:36:19 -03:00
Carlos Perez
99560f6eb0 First androidTV views 2022-05-31 13:18:01 -03:00
Carlos Pérez
cc9875d057 Added experimental support for Android TV 2022-05-30 21:13:32 -03:00