Commit Graph

165 Commits

Author SHA1 Message Date
Yahor Berdnikau 768616d14a Add converter from api MusicDirectory to domain MusicDirectory.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-20 15:10:34 +02:00
Yahor Berdnikau 23ee01d0f5 Use new subsonic api unstar call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 23:06:15 +02:00
Yahor Berdnikau 40e2dd4d8c Fix missing progress listener for getArtists call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 22:39:12 +02:00
Yahor Berdnikau 864488510c Use new subsonic api star request.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-17 22:38:23 +02:00
Yahor Berdnikau 2b484ad667 Update kotlin to 1.1.4 version.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 21:00:57 +02:00
Yahor Berdnikau 61006cdfd1 Use new api getArtists() call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 06:59:25 +02:00
Yahor Berdnikau 84198d38c8 Add getArtists call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-16 06:59:25 +02:00
Yahor Berdnikau 13cf2cd8bf Add parsing shortcuts info.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 21:19:46 +02:00
Yahor Berdnikau b02df33b9c Use new subsonic api method for getIndexes().
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 20:24:41 +02:00
Yahor Berdnikau b57a425e9d Implement converting Indexes Subsonic api entity to domain entity.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 20:19:27 +02:00
Yahor Berdnikau d66556e307 Update kotlin to 1.1.3-2 version.
Also have to update jackson to 2.9.0 that uses the same kotlin version.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 20:17:32 +02:00
Yahor Berdnikau 3c4f91efef Change to extension functions in api converter.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-12 10:11:14 +02:00
Yahor Berdnikau 76c61409a4 Added code coverage.
Only show kotlin code coverage.
2017-08-09 21:56:20 +02:00
Yahor Berdnikau e9d244320a Limit building only support locales.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-06 22:56:28 +02:00
Yahor Berdnikau 438af4de7e Add generated lint baseline files.
This disables lint warnings for already existing issues, but it will work for a new issues.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-08-06 22:56:28 +02:00
Yahor Berdnikau 317ccd2ed8 Fix detekt issues.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-30 22:23:25 +02:00
Yahor Berdnikau 2d3316964a Add ktlint check.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-29 22:31:33 +02:00
Yahor Berdnikau 4f42301752 Remove unused methods from MusicService.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-29 10:32:13 +02:00
Yahor Berdnikau 7a5035e725 Reset MusicService when user changes active server.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-27 08:16:33 +02:00
Yahor Berdnikau ce90d5a3e9 Use different messages in progress listener.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:58:16 +02:00
Yahor Berdnikau 987ed9faf6 Remove unused MusicFolderParser.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:56:47 +02:00
Yahor Berdnikau a8ab61ec3b Remove unused LicenseParser.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:54:56 +02:00
Yahor Berdnikau 4fd5493d15 Use getMusicFolders() method from SubsonicAPI kotlin implementation.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:04:20 +02:00
Yahor Berdnikau 9ed0921218 Make MusicFolder has default values.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-26 22:02:35 +02:00
Yahor Berdnikau 67601262de Use getLicense() method from Subsonic API kotlin implementation.
Replace in RESTMusicService isLicenseValid() method body to use new kotlin subsonic API.
2017-07-25 22:31:49 +02:00
Yahor Berdnikau 1caeaa9fe6 Add using new api for ping call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-24 22:41:26 +02:00
Yahor Berdnikau f1ab0a3e0c Add using new authentication method since 1.13.0.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-23 20:03:25 +02:00
Yahor Berdnikau cfa90e0a8d Switched to using Jackson for json parsing.
Also changed how response is parsed, allowing base response has different models to parse.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-07-19 17:02:47 +02:00
Yahor Berdnikau 0dd01d18ba Base implementation of Subsonic API in Kotlin. 2017-07-19 17:02:47 +02:00
Óscar García Amor eeacc79493 Fixed format of both pt translations 2017-07-18 09:30:03 +02:00
Óscar García Amor 0a4d9d47e6 Updated version to 1.8 2017-07-12 15:49:09 +02:00
Óscar García Amor 1afeafe1c6 Merge pull request #4 from inkognito13/defect/offline-mode-fix
Not add track number prefix to filename if its already added
2017-07-12 15:03:56 +02:00
dtarasov e3a485f0ef Not add track number prefix to filename if its already added 2017-06-28 13:25:04 +04:00
Óscar García Amor 47d8c5a95d Updated version to 1.7 2017-05-25 14:02:36 +02:00
Óscar García Amor ba55fdfae5 Added pt and pt_br tanslations
- Thanks to Paulo Schopf!
2017-05-25 13:45:41 +02:00
Óscar García Amor 122ae93bcb Updated version to 1.6 2017-02-20 16:39:23 +01:00
Óscar García Amor 53d2391016 Merge pull request #3 from Tapchicoma/fix_menu
Fix some actionbar menu items are not shown as icons.
2017-02-13 19:37:06 +01:00
Óscar García Amor 5aff175144 Merge pull request #2 from Tapchicoma/update_gitignore
Added IDEA files to .gitignore.
2017-02-13 19:36:49 +01:00
Yahor Berdnikau e1fa97b98f
Fix some actionbar menu items are not shown as icons.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-02-11 18:02:34 +01:00
Yahor Berdnikau 3ed83fb83f
Added IDEA files to .gitignore.
This files are not need to be in vcs as project can be built by Gradle.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-02-11 17:30:59 +01:00
Yahor Berdnikau c80d92b459
Update how now playing notification is shown.
Move all logic to the DownloadServiceImpl as it is not a responsibility of SubsonicTabActivity to do it.
Also NotificationCompat.Builder to build notification as now it is a standard way to do it.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-02-11 15:38:32 +01:00
Óscar García Amor 5fee79c652 Comented the code that uses sensitive permissions 2017-02-07 15:17:01 +01:00
Óscar García Amor 98a4f05f81 Removed sensitive permissions 2017-02-07 09:50:32 +01:00
Óscar García Amor ccdb813800 Fixed small issue with notification background 2017-02-06 21:22:23 +01:00
Óscar García Amor 7c484f78ec Updated version 2017-02-06 19:36:24 +01:00
Yahor Berdnikau 744b3d6a67 Move out server preferences to separate fragment.
Now app opens server settings in a separate activity, rather then reusing same preference screen.
2017-02-05 23:57:21 +01:00
Yahor Berdnikau 9f23778bf7 Move app settings to PreferenceFragment.
That allows display Material theme also in preferences.
2017-02-05 14:46:22 +01:00
Yahor Berdnikau 9ce1f288c0 Change app theme to Theme.AppCompat.
This changes main app theme to Material theme from support library.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-02-04 23:18:02 +01:00
Óscar García Amor 07e2d3baf0 Set gradle and sdk to latest version 2017-01-15 12:36:08 +01:00
Egor Berdnikov 95b20b486d Move all dependencies to standalone file.
This allows better and easier versioning management across modules

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
2017-01-14 23:56:12 +01:00
Óscar García Amor a297d22b39 Project cleanup 2016-04-01 15:34:42 +02:00
Óscar García Amor 8727f51189 Updated version 2016-04-01 15:10:22 +02:00
Óscar García Amor 21ec27fd3c Merge pull request #5 from biconou/forPullRequests
Added podcasts feature
2016-04-01 13:26:29 +02:00
biconou a9d96227e4 bug fix : if a podcast episode is in status "error" it can not be added in the episodes list. Application crashes.
(cherry picked from commit 3fedd79)
2016-03-23 21:58:08 +01:00
rcocula e3e90cebf1 podcasts feature
Work on podcats

Work on podcats

podcasts

Dont't bypass the context menu in long click on album view.

Work on podcats

Work on podcats

Work on podcats

podcasts

If items are maximized they will return to minimize form when scrolling.
(cherry picked from commit ada247d)

podcasts

Podcasts icon

podcasts

podcasts
(cherry picked from commit b4ff614)
2016-03-20 00:22:30 +01:00
Óscar García Amor 16606dc24c Updated version 2016-02-23 19:31:13 +01:00
biconou 3f2f59020c If items are maximized they will return to minimize form when scrolling.
(cherry picked from commit ada247d)
2016-02-22 23:19:20 +01:00
biconou a17b2f978c Dont't bypass the context menu in long click on album view.
(cherry picked from commit 2aa31e0)
2016-02-12 17:06:53 +01:00
biconou a0a8c86924 On album list view text items can be minimized/maximized when long click.
(cherry picked from commit 8a3f6b2)
2016-02-12 17:06:46 +01:00
Óscar García Amor 40f475a24b Downgraded target SDK to avoid problems in Lollipop 2015-07-26 23:26:28 +02:00
Óscar García Amor bccda906c9 Several fixes in strings 2015-07-26 20:06:25 +02:00
Óscar García Amor c8245e1dbe SDCard directory changed
- Now Ultrasonic stores files and caches in
	sdcard/Android/data/org.moire.ultrasonic instead sdcard/utrasonic. The
	user stills can change the music directory.
2015-07-26 18:40:04 +02:00
Óscar García Amor 879d86eaa1 Changed package name 2015-07-26 18:15:07 +02:00
Óscar García Amor c00746dfae Register GIT in Studio 2015-07-26 17:45:48 +02:00
Óscar García Amor ca157cd187 Removed uppercase in module name 2015-07-26 17:37:04 +02:00