Commit Graph

544 Commits

Author SHA1 Message Date
Nite 34a6413f10
Migrated SelectArtistActivity to Kotlin
Updated SelectArtistActivity to use RecyclerView
Changed old progress display to use SwipeRefreshLayout's spinner
Added alphabetic side index
Enabled RecyclerView's FastScroll
2020-11-16 19:14:44 +01:00
Óscar García Amor 6aa29d54fe
Bump version to 2.16.0
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-11-07 11:20:18 +01:00
Nite 92f01fec26
Implemented single button play/pause support for old Bluetooth devices 2020-11-06 18:08:36 +01:00
Óscar García Amor be3f9c4b15
Set the star icon BIGGER
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-11-05 12:54:34 +01:00
Óscar García Amor 3fca8bd7a5
Improve landscape player view
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-11-04 21:20:57 +01:00
Óscar García Amor fb2dab0a25
Reorder elements in player view
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-11-04 21:00:16 +01:00
Óscar García Amor 3f6c45f25f
Make media icons even BIGGER
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-11-04 18:21:42 +01:00
Nite d98f64ed25
Fixed too small icons and margins 2020-11-04 16:51:45 +01:00
Nite 8ebda198c6
Fixed Server Settings screen to keep entered data when rotating the screen 2020-11-02 17:13:38 +01:00
Nite df53da2439
Fixed copyright comments 2020-11-01 08:02:10 +01:00
Nite 537478430c
Fixed null checks in SongView
Migrated SongView to Kotlin
2020-10-31 08:51:43 +01:00
Óscar García Amor 645f524ce5
Bump version to 2.15.0
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-10-25 11:13:56 +01:00
Óscar García Amor cf19736049
Merge branch 'develop' into fix/equalizer_visualizer_init 2020-10-25 10:38:49 +01:00
Nite 5c81097df8
Merge branch 'develop' into fix/equalizer_visualizer_init 2020-10-20 11:59:37 +02:00
Nite bd5440bb96
Merge branch 'develop' into fix/store-api-version 2020-10-20 11:52:08 +02:00
Nite 9eeff3fabc
Fixed clearing the playlist when MediaPlayerService isn't running 2020-10-20 11:29:05 +02:00
Nite 30a5abaa34
Fixed exception on Room downgrade 2020-10-17 12:38:48 +02:00
Nite 0482c540bd
Updated Equalizer and Visualizer to use late initialization with LiveData 2020-10-17 12:35:30 +02:00
Nite eb3ce0db8a
Added creating the client again after setting the minimum API version to NULL 2020-10-15 14:34:10 +02:00
Nite 4e6df12f4e
Moved minimumApiVersion detection to be executed before any first request
Refactored RESTMusicService to Kotlin
Refactored OfflineMusicService not to be a subclass of RESTMusicService
Minor fixes
2020-10-15 10:22:15 +02:00
Nite a396b4b27b
Fixed Subsonic API version detection
Fixed server change detection
Minor fixes
2020-10-13 21:41:01 +02:00
Óscar García Amor 356af198e0
Bump version to 2.14.0
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-10-10 11:54:11 +02:00
Nite fe591ce0c6
Fixed removed constructor by minify in genres API 2020-10-09 21:38:35 +02:00
Óscar García Amor 768e8e6fb5
Remove more untranslated strings
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-10-08 14:19:24 +02:00
Óscar García Amor 3eeb9618f2
Deleted untranslated strings from values files
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-10-08 09:25:26 +02:00
Nite 0b21dfdb2d
Merge branch 'develop' into feature/log_to_file 2020-10-07 21:05:54 +02:00
Nite 1f7167e016
Removed file existence check to improve performance 2020-10-07 20:52:58 +02:00
Nite b16dde0b07
Fixed Opus file handling
Fixed file name generation in offline mode
2020-10-07 17:52:16 +02:00
Nite 60a8599a02
Merge branch 'develop' into feature/log_to_file 2020-10-06 17:07:16 +02:00
Max Pop d4ecc5825d
Merge remote-tracking branch 'base/develop' into develop 2020-10-05 11:49:14 +02:00
Max Pop c565dfef24
Revert "Add basic translation"
This reverts commit cd4b1239fc.
2020-10-05 11:48:42 +02:00
Nite 8fa7fdd18b
Merge branch 'develop' into feature/log_to_file 2020-10-05 10:52:24 +02:00
Óscar García Amor dcd27919a2
Do not treat missing translations as errors
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-10-05 09:08:50 +02:00
Max Pop 675a32a3ef
Remove useless import 2020-10-05 01:59:53 +02:00
Max Pop cd4b1239fc
Add basic translation 2020-10-05 01:53:23 +02:00
Max Pop 6ae3c9692a
Add Material Black Theme 2020-10-05 01:45:58 +02:00
Óscar García Amor 57a89c4a77
Bump version to 2.13.0
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-10-04 11:41:51 +02:00
Nite e15fa23def
Fixed ktLint errors 2020-10-02 19:08:05 +02:00
Nite 6e7ebeabef
Implemented file logging settings
Implemented log rotation, log deletion
Minor fixes
2020-10-02 18:47:21 +02:00
Nite 5de20861ca
Added Timber to Koin and OkHttp, started implementing file logging 2020-09-30 18:17:57 +02:00
Nite 7217f2cca8
Refactored Log calls to Timber 2020-09-30 14:47:59 +02:00
Nite 6355a7ed80
Fixed missing Intent in AndroidManifest 2020-09-29 14:13:49 +02:00
Nite f6e61b5484
Clarified strings for options 2020-09-29 13:58:15 +02:00
Nite 75a9c60889
Fixed handling Bluetooth intents while Ultrasonic isn't running 2020-09-29 11:09:24 +02:00
Nite c805005b02
Added resume and pause settings for bluetooth device connection / disconnection 2020-09-28 21:14:47 +02:00
Nite 046916221d
Started implementing Bluetooth connection settings 2020-09-28 21:14:30 +02:00
Óscar García Amor 81448e34d6
Bump version to 2.12.0
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-28 15:15:20 +02:00
Nite 4b85bc16d5
Merge branch 'develop' into fix/edit_server 2020-09-25 20:11:14 +02:00
Nite 4991eb8d13
Fixed Edit Server button layout and exit check 2020-09-25 20:02:59 +02:00
Óscar García Amor 8c07346296
Fix fatal error loading unknown album cover
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-25 19:36:35 +02:00
Óscar García Amor 5387b58e35
Finish convert drawables to vectors. Closes #308
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-25 18:20:18 +02:00
Óscar García Amor 89ef73ccec
Merge branch 'develop' into vector 2020-09-25 13:35:11 +02:00
Óscar García Amor 81a0ff2967
Deleted some unused assets
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-25 13:34:08 +02:00
Nite ef09807e3e
Fixed stopping playback when selecting the same server 2020-09-25 11:15:19 +02:00
Nite 7bbc3234f2
Added applying changes when the currently active server is modified 2020-09-25 11:04:48 +02:00
Nite db4f8b83d3
Updated missing index handling 2020-09-25 10:43:33 +02:00
Óscar García Amor 81f248f446
Convert drawables to vectors
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-24 22:00:29 +02:00
Nite 02716c827a
Added new preference key to avoid duplicate migration 2020-09-24 21:00:21 +02:00
Nite 102f3e8a04
Updated ServerSettingsModel to use Room for handling LiveData 2020-09-24 20:32:51 +02:00
Nite 5b0c9906f1
Fixed Server Id and Indexing 2020-09-24 18:20:59 +02:00
Nite 481084686b
Fixed missing Genre Refresh functionality 2020-09-24 15:16:59 +02:00
Óscar García Amor 4b36730358
Add a deleted by mistake file
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-24 14:19:33 +02:00
Óscar García Amor a411ed63e2
Fix Select Folder item. Closes #305
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-24 13:19:25 +02:00
Óscar García Amor a7d29a4093
More UltraSonic -> Ultrasonic
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-24 13:03:05 +02:00
Óscar García Amor f0f9e3d438
UltraSonic -> Ultrasonic
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-24 12:35:35 +02:00
Óscar García Amor 36e25253be
Fix translations
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-24 12:21:17 +02:00
Nite 31853cc8bc
Made the hostname part of the server url mandatory 2020-09-23 17:14:14 +02:00
Nite b7c21e4aac
Fixed Server Id to be the same as the Preference was 2020-09-23 16:26:54 +02:00
Nite 55105e52b6
Fixed ktlint errors 2020-09-22 22:01:33 +02:00
Nite 06109424ec
Index fix, added logging 2020-09-22 21:50:53 +02:00
Nite bed29ce33b
Fixed migrated server indexing 2020-09-22 20:18:36 +02:00
Nite cc954e4d5a
Fixed migration to check for empty database at every start 2020-09-22 17:03:04 +02:00
Nite e8310b2ac8
Merge branch 'develop' into feature/updated-server-settings 2020-09-22 11:40:25 +02:00
Max Pop 251e575421
Resign all with gpg key 2020-09-21 12:17:55 +02:00
Nite 234e4703a1
Fixed first time migration
Minor fixes
2020-09-19 11:56:10 +02:00
Nite 6721500202
Updated Server Settings UI and Storage
Updated Koin to latest
2020-09-18 09:37:19 +02:00
Óscar García Amor 4d8e7f0631
Fix typos in Ultrasonic word
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-07 12:31:44 +02:00
Óscar García Amor b04f309b9a
Bump version to 2.11.2
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-05 14:36:15 +02:00
Óscar García Amor 0f7238e961 Fix layout in server selector
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-05 13:57:06 +02:00
Óscar García Amor f9199eebd3 Improve usability
- Add more padding to stars in song lists to avoid touch scrollbar.
- Add more space between border of screen and notification close button,
  enlarge the button in 10dp.

Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-05 13:23:37 +02:00
Óscar García Amor f07f0344fd Bump version to 2.11.1
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-04 09:24:50 +02:00
Nite 6beb1ae42e
Fixed Jukebox start bug 2020-09-03 16:05:38 +02:00
Óscar García Amor 9887a49ed6 Bump version to 2.11.0
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-09-02 18:34:17 +02:00
Nite ca2bfbf14b
Updated Subsonic API version handling 2020-08-27 10:27:25 +02:00
Óscar García Amor 0edaa29303 Bump version to 2.10.0
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-08-24 18:47:36 +02:00
Nite a22984566a
Trying to fix CI error 2020-08-24 13:59:40 +02:00
Nite d295539715
Trying to fix CI error 2020-08-24 12:05:41 +02:00
Nite 74c3acd29f
Updated jacoco config to fix ci errors 2020-08-24 11:45:27 +02:00
Nite 5739b2bf4b
Implemented file picker for cache folder settings 2020-08-18 21:24:24 +02:00
Óscar García Amor 0ad1751a06 Bump version to 2.9.0
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-08-11 10:20:28 +02:00
Nite 3f3515536c
Fixed portuguese translation of "MX Player" 2020-07-31 11:22:01 +02:00
Nite 720f43c8d9
Fixed unintentional replaces 2020-07-30 11:59:22 +02:00
Nite 5f3861b1ac
Improved cold start time from Doze 2020-07-16 14:25:58 +02:00
Nite 07553464e8
Fixed ktlintCheck 2020-07-13 16:37:13 +02:00
Nite 4b0809f905
Fixed unnecessary starts 2020-07-11 11:15:16 +02:00
Nite 3d61dde83f
Fixed audio focus handling 2020-07-07 18:50:26 +02:00
Nite f5748d7dc0
Fixed lost lockscreen controls when exiting the app 2020-07-02 19:01:33 +02:00
Nite 091374f922
Fixed wired headset handling
Fixed MediaPlayer start timeout for slow phones
2020-07-02 17:20:06 +02:00
Nite 60250a42a9
Fixed wrong context 2020-06-30 22:10:15 +02:00
Nite 5b5c8ea8b7
Fixed CI things 2020-06-30 17:09:13 +02:00
Nite 2ff0151e8c
Fixed widget operation when Ultrasonic is stopped 2020-06-30 16:47:29 +02:00
Nite 7f5ff00237
Fixed Media Key processing 2020-06-30 16:19:50 +02:00
Nite decca7103f
Fixed exit and restart 2020-06-30 15:16:45 +02:00
Nite 7dad738fce
Fixed pause on bluetooth disconnect, minor fixes 2020-06-29 16:17:22 +02:00
Nite fdc1748f8a
Fixed foreground service stop and start
Fixed play on restore
2020-06-29 14:44:19 +02:00
Nite bd77c2a851
Added null checks, moved MediaPlayer to its own Koin module 2020-06-26 16:33:27 +02:00
Nite bbe9f39300
Moved externally visible functions to interface, added comments 2020-06-26 15:18:14 +02:00
Nite 0bef3ae417
Fixed concurrency problems 2020-06-26 13:31:31 +02:00
Nite b83631107c
Major cleanup, minor fixes 2020-06-25 14:33:44 +02:00
Nite 8c60e09914
Fixed player threading, other minor fixes 2020-06-25 11:58:09 +02:00
Nite c3be251e8b
Restored minor fixes 2020-06-23 19:27:04 +02:00
Nite 0820763c7f
Refactored playback related things 2020-06-23 18:40:44 +02:00
Nite 53628dde54
Started to use Koin, refactored lifecycleSupport and Intent handling 2020-06-22 18:44:15 +02:00
Nite 13b987791e
Started DownloadServiceImpl refactor 2020-06-22 18:43:59 +02:00
Óscar García Amor 96795701fe Bump version to 2.8.0
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-06-22 10:08:10 +02:00
Nite f6a41206b8
Minor fixes 2020-06-21 09:37:12 +02:00
Nite 02da3e79ba
Fixed DownloadServiceImpl to start as background service
Removed notification related settings for API26
2020-06-20 15:16:57 +02:00
Nite 50fde988a8
Fixed notification priority 2020-06-19 13:58:51 +02:00
Nite ad1ae62aff
Fixed notification update error 2020-06-18 15:53:38 +02:00
Óscar García Amor 884cf8b1b0 Reactivate the uncaught exception handler
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-06-18 10:12:50 +02:00
Nite e210908257
Fixed context in FileUtil
Added CleartextTraffic to AndroidManifest
2020-06-17 18:14:34 +02:00
Óscar García Amor af5ecae7f5 First approach to API 28
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-06-17 15:08:30 +02:00
Óscar García Amor 08f1e78afc Updated spanish translation
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-06-17 10:55:10 +02:00
Nite 1e789858bc
Updated AutoRepeatButton from ImageView to AppCompatImageView as Lint suggested 2020-06-13 22:46:54 +02:00
Nite de7eaef668
Updated Gradle to 6.5
Tried to satisfy ktlint rules
2020-06-13 19:04:31 +02:00
Nite b23c1b4a6a
Cleaned up dependencies.gradle
Moved MultiDex to debug only
2020-06-05 17:09:33 +02:00
Nite a845ec8039
Fixed dialog title 2020-06-02 16:33:06 +02:00
Nite 5d18929258
Implemented runtime permission handling using Dexter library, minor fixes 2020-06-02 15:35:36 +02:00
Nite 915a659b5d
Fixed MultiDex 2020-05-29 11:23:51 +02:00
Nite f4ae87fffe
Migrated to Androidx 2020-04-26 12:05:28 +02:00
Óscar García Amor 26c9f72b5c Bump version to 2.7.0
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-03-23 17:24:39 +01:00
Nite b61f738502
Added dummy German translation for missing strings 2020-03-23 16:18:49 +01:00
Nite d920e51279
Testing conditional notification update 2020-03-23 15:53:18 +01:00
Nite b4885c684c
Fixed stuck notification 2020-03-23 15:47:47 +01:00
Óscar García Amor bbb92b19d4
Merge pull request #267 from nitehu/fix/share-playlist
Fixed missing Extra from Intent when selecting a Playlist Item.
2020-03-23 10:01:13 +01:00
Óscar García Amor 276429ef26 Updated translations from Transifex
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-03-23 09:51:57 +01:00
Nite 7698c145c5
Merge branch 'develop' into feature/fivestarrating 2020-03-21 07:52:28 +01:00
Nite 2fff8e5a0f
Merge branch 'develop' into fix/share-playlist 2020-03-06 17:51:02 +01:00
Nite 99dbf236c9
Fixed rating from notification 2020-02-23 12:57:15 +01:00
Óscar García Amor d267f9a8ad Added german translation
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2020-02-07 10:54:21 +01:00
palto42 925da70870
German translation of About file 2020-02-02 13:44:38 +01:00
Nite b10f6d895c
Fixed missing Extra from Intent when selecting a Playlist Item. This caused sharing to fail. 2020-01-15 20:46:33 +01:00
Nite ab624be93d
Implemented five star rating 2020-01-13 21:20:52 +01:00
Dmitriy Bogdanov 58d620acf2
Set the notification publicly visible
Signed-off-by: Dmitriy Bogdanov <d@di72nn.com>
2019-10-25 17:36:41 +04:00
Óscar García Amor 410b399040 Updated translations from Transifex
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2019-03-13 12:05:40 +01:00
Yahor Berdnikau 74c992d035 Run lint only on app release variant.
Also regenerate new baseline.
2018-10-07 21:36:47 +02:00
Yahor Berdnikau 3371b4025d Improve Jacoco setup. 2018-10-07 21:05:48 +02:00
Yahor Berdnikau 21bcb5429a Use JUnit5 engine to run unit tests in android modules. 2018-10-07 20:59:06 +02:00
Yahor Berdnikau 44fa1b1bcf Move subsonic-api module to core modules. 2018-10-07 20:59:06 +02:00
Yahor Berdnikau fb8d5382dc Move subsonic-api-image-loader module to core modules. 2018-10-07 20:59:06 +02:00
Yahor Berdnikau d98ff9ffcf Move pulltorefresh module to core modules. 2018-10-07 20:59:06 +02:00
Yahor Berdnikau 69b945c230 Move menudrawer module to core modules. 2018-10-07 20:59:06 +02:00
Yahor Berdnikau 997accd88a Move library module to core modules. 2018-10-07 20:59:06 +02:00
Yahor Berdnikau 01bb519762 Move domain module to core modules. 2018-10-07 20:59:06 +02:00
Yahor Berdnikau e1f9764d55 Move cache module to core modules. 2018-10-07 20:59:06 +02:00
Yahor Berdnikau 501015c649 Rework jacoco report generation for android projects.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-09-11 22:32:27 +02:00
Yahor Berdnikau c2924df25f Use Koin java module.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-08-03 22:08:30 +02:00
Yahor Berdnikau 48acc64ee3 Migrate Koin to 1.0.0-beta3 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-08-03 21:50:21 +02:00
Yahor Berdnikau b33f7279b0 Bump version to 2.6.0 for next release.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 12:29:13 +02:00
Yahor Berdnikau 5573634ded Fix image doesn't use all view width with new image loader.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 12:19:48 +02:00
Yahor Berdnikau 50a0923cf4 Fix app doesn't open album using ID3 tags browsing.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 11:59:00 +02:00
Yahor Berdnikau 75d81fe920 Don't close app on background task error.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 10:24:46 +02:00
Yahor Berdnikau a63c47112c Add feature flags that contains new image loader flag.
This allows to release new versions of the app with unfinished/
not fully implemented features.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-15 09:50:07 +02:00
Yahor Berdnikau 02467cb05b Add loading user avatars.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-07-14 20:55:45 +02:00
Yahor Berdnikau c0b6500b47 Provide configuration for image load request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-28 22:03:47 +02:00
Yahor Berdnikau 77eb257d84 Glue together old ImageLoader impl and new one.
Currently it is working in a pretty limited way.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau 74591571bf Add initial implementation of image loader.
Currently it only supports loading cover art images from network.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau e4e962faa0 Changed android namespace from a to android.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau b27ce42d02 Extract ImageLoader interface.
This will allow to swap it with a new implementation.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:09:16 +02:00
Yahor Berdnikau 3f02dba004 Set album list item image size to fixed value.
Value is taken from currently playing view.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-26 23:01:54 +02:00
Yahor Berdnikau b97e09b14b Provide app okhttp client instance to subsonic api client.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:30:38 +02:00
Yahor Berdnikau f007418298 Move subsonic api client to it's own DI module.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:30:38 +02:00
Yahor Berdnikau 8dc9534327 Move api client configuration to separate data class.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:30:38 +02:00
Yahor Berdnikau 52b32d0fd6 Add DI for MusicService.
It is still hidden behind MusicServiceFactory, but opens a way to use
it directly via injection.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-24 17:30:38 +02:00
Yahor Berdnikau 24a36e641c Bump version to 2.5.0 for next release.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-12 22:36:39 +02:00
Yahor Berdnikau 91b5941c7c Fix bookmark doesn't restore saved song position.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-12 22:29:19 +02:00
Yahor Berdnikau c55ca02865 Fix f-droid can't build new app version.
F-Droid has a strict limitation (😞) that version code and
version name should be in the app build.gradle.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-06-12 21:53:06 +02:00
Óscar García Amor 8b58691246 Default server settings removed
Now when you configure a new server connection the input boxes will
appear clean instead of with default garbage.

Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2018-04-07 17:23:23 +02:00
Yahor Berdnikau 41fe68db0f Fix notification can't be killed when player is not playing.
Fix clicking on close (x) in notification does nothing when player has
neither playing nor paused state.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-04-06 19:00:59 +02:00
Yahor Berdnikau 68cb1af02b Fix inconsistent behaviour when adding new server on debug build.
After adding special suffix for debug builds, default shared preferences
name was changed.
2018-04-03 22:09:22 +02:00
Yahor Berdnikau 55a0e7cb3c Update Kluent to 1.35 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-24 19:30:03 +01:00
Óscar García Amor 3c1debc51a New adaptive icon 2018-03-23 14:16:31 +01:00
Yahor Berdnikau 661b8c2e97 Fix failing AAPT.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-21 22:22:48 +01:00
Yahor Berdnikau 52a5ceb5d6 Fix proguard removing too much.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-21 22:10:37 +01:00
Óscar García Amor 49ba219a57 Update translations
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
2018-03-19 20:58:34 +01:00
Yahor Berdnikau d476ddfa0c Make a ping to server on app start.
This will update supported server version in subsonic api client.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 19:15:22 +01:00
Yahor Berdnikau 7bf39ca877 Enable minification for release build.
This reduces result apk size around 2x times.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 18:09:42 +01:00
Yahor Berdnikau 1737fd69e7 Remove unused method from FileUtil.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-18 17:38:47 +01:00
Yahor Berdnikau 8076956786 Clear persistent storage on server deletion.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-12 22:21:07 +01:00
Yahor Berdnikau 334ffbf5e9 Make persistent storage per server base.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-12 21:40:55 +01:00
Yahor Berdnikau fa7b8b1c88 Store loaded artists in persistent file store.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-12 21:19:46 +01:00
Yahor Berdnikau 423461c3ba Store loaded indexes in persistent storage.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-11 22:02:31 +01:00
Yahor Berdnikau c49e447240 Add permanent file storage.
It serialize domain objects to byte array and store it to file.
For now it only uses for MusicFolder entity store.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-10 22:20:34 +01:00
Yahor Berdnikau ad52e3ad95 Move domain entities to own module.
This allow other modules to depend on them.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-03-10 19:42:28 +01:00
Yahor Berdnikau 4952e1d240 Add new cache module.
This module will be responsible for temporary and
permanent caching of any data.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-26 22:03:33 +01:00
Yahor Berdnikau 4c85213c6c
Merge pull request #169 from ultrasonic/convert_entities_to_data_class
Convert domain entities to kotlin
2018-02-24 23:07:41 +01:00
Yahor Berdnikau 85111dd47d Fix crash on entry unboxing.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-24 23:04:07 +01:00
Yahor Berdnikau 12c68d9ebf Fix adapter using toString() method for entry.
Replace it to use getName().

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-24 23:03:50 +01:00
Yahor Berdnikau 4ab4351cb4 Enable code coverage for domain package.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-24 22:27:23 +01:00
Yahor Berdnikau 182eb7ec3b Fix unit tests.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2018-02-24 22:19:34 +01:00