Commit Graph

1083 Commits

Author SHA1 Message Date
tzugen 41f5520f1f
Remove unused resources & update lint baseline 2022-04-05 22:52:02 +02:00
tzugen fd34199c27
Remove unused resources 2022-04-05 22:45:51 +02:00
tzugen bb77216eff
Format 2022-04-05 22:33:04 +02:00
tzugen e1f4ee15d5
Fix Widget 2022-04-05 22:24:06 +02:00
tzugen d0959ffcb5
AppWidget to Kotlin 2022-04-05 21:56:25 +02:00
tzugen 4c22c8b41b
Formating / detekt 2022-04-05 21:56:13 +02:00
tzugen ba1a1c5538
Use grayed out shuffle and repeat buttons.
Fix removing and resorting playlist.
2022-04-05 21:41:27 +02:00
tzugen 7742f67796
Add pref switch for HW offload 2022-04-05 20:58:11 +02:00
tzugen 1a69507e34
Remove a bunch of now unused prefs 2022-04-05 10:21:46 +02:00
tzugen 46fb7664c3
Fix insertAfterCurrent, Fix getUri 2022-04-05 10:10:24 +02:00
tzugen dd65a12b53
Migrate AutoMediaBrowser 2022-04-05 00:05:52 +02:00
tzugen 2f7f47783a
Enable HW playback for better performance 2022-04-05 00:05:52 +02:00
tzugen b1c2d020b5
Fix a bug in MetadataParser (unrelated to media3) 2022-04-04 18:27:59 +02:00
tzugen 5dc9fda7a4
Detekt fixes 2022-04-04 18:18:52 +02:00
tzugen 1313fb6c0c
Split Cache into dedicated datasource 2022-04-04 17:59:12 +02:00
tzugen 5966dd7299
Remove gapless setting 2022-04-04 17:43:02 +02:00
tzugen 1703f02aad
Remove unused file 2022-04-04 00:01:26 +02:00
tzugen 922022ab03
Switch to Media3 2022-04-03 23:59:18 +02:00
tzugen bfc11f9924
Don't manage ID manually, but use autoGenerate to ensure uniqueness
(across the lifetime of the db)
2022-04-03 23:54:52 +02:00
tzugen 988bf62acf
try was missing a catch block. 2022-03-30 16:16:59 +02:00
tzugen 1a46f7e2c6
Make it clear which ID the OfflineServer has (-1)
Also provide migration path to future version
2022-03-28 23:57:37 +02:00
tzugen 1d88c585c4
Remove migration function from 2020.
All regular users will have run the migration by now.
2022-03-28 23:57:37 +02:00
tzugen 020f67d5e6
Merge branch 'develop' into ready/OnlyRename 2022-03-28 23:06:21 +02:00
tzugen 0c016bff41
Remove unused strings 2022-03-27 20:14:18 +02:00
tzugen 12435ed9ec
Cleanup an unused preference 2022-03-27 20:09:49 +02:00
tzugen c2226ba202
Fix older detekt issues in DownloadFile and regenerate Baselinefile 2022-03-27 16:40:09 +02:00
tzugen 892b441c0d
Move Track and Album to their own files 2022-03-27 16:39:35 +02:00
tzugen e53da92dac
Unify terminology also by renaming DownloadFile.song -> DownloadFile.track 2022-03-27 16:39:35 +02:00
tzugen 2de59b2206
Rename MusicDirectory.Entry to Track to make more clear what it is 2022-03-27 16:39:35 +02:00
tzugen d05ac1489e
Merge branch 'develop' into detailed-media-info 2022-03-23 11:48:04 +01:00
Holger Müller fc94d28862
satisfy CI checker
Signed-off-by: Holger Müller <github@euhm.de>
2022-03-22 08:50:35 +01:00
Holger Müller 8bec74e66a
replaced visibility by isVisible thanks to @tzugen
Signed-off-by: Holger Müller <github@euhm.de>
2022-03-22 08:26:24 +01:00
Holger Müller acf6c5a681
removed untranslatable string from all languages
Signed-off-by: Holger Müller <github@euhm.de>
2022-03-22 08:09:53 +01:00
Holger Müller cf86101de2
updated settings.download_transition 2022-03-21 22:54:41 +01:00
Nite 423957d954
Merge branch 'develop' into draft/okhttp 2022-03-21 18:51:00 +01:00
Holger Müller 0944bd2217
removed unused import to satisfy CI checker
Signed-off-by: Holger Müller <github@euhm.de>
2022-03-21 18:43:10 +01:00
Holger Müller 7b750c692c
shorten onCurrentChanged() to 60 lines to not fail CI LongMethod
Signed-off-by: Holger Müller <github@euhm.de>
2022-03-21 18:38:27 +01:00
Holger Müller c247e930c4
reworks requested by @ogarcia
Signed-off-by: Holger Müller <github@euhm.de>
2022-03-21 18:04:55 +01:00
tzugen 7a51c271ba
Merge branch 'develop' into addLocaleChooser 2022-03-21 10:00:28 +01:00
tzugen fe3b713241
Tweak wording 2022-03-21 09:47:46 +01:00
Holger Müller 2f5704548c
implemented @tzugen way to show the song details
Signed-off-by: Holger Müller <github@euhm.de>
2022-03-20 22:05:59 +01:00
tzugen 17850980e1
Remove traditional german variant 2022-03-20 13:35:11 +01:00
tzugen 34d2b45d71
Add Res Config 2022-03-20 13:12:47 +01:00
tzugen 555ef5b7ff
Differentiate chinese variants 2022-03-20 13:10:40 +01:00
tzugen c269243a0d
Complete traditional strings 2022-03-20 09:14:47 +01:00
tzugen 2d8b93301f
Add traditional german variant 2022-03-20 09:09:14 +01:00
tzugen e4a41de3ef
Reword alert for better help 2022-03-20 07:57:50 +01:00
tzugen f6f9683a9c
Migrate some old calls 2022-03-19 17:39:59 +01:00
tzugen c2d62e8688
Disable language split in bundle 2022-03-19 17:36:46 +01:00
tzugen f30a582c7b
Add locale chooser 2022-03-19 17:00:16 +01:00
Holger Müller cc5f29ca98
fixed failed ultrasonic:ktlintMainSourceSetCheck
Signed-off-by: Holger Müller <github@euhm.de>
2022-03-19 14:51:39 +01:00
Holger Müller 8f18192c36
fixed failed ultrasonic:ktlintMainSourceSetCheck
Signed-off-by: Holger Müller <github@euhm.de>
2022-03-19 14:38:10 +01:00
Holger Müller ae2055e324
add detailed song information to Now Playing
Signed-off-by: Holger Müller <github@euhm.de>
2022-03-18 20:46:38 +01:00
Nite e8c31db90f
Merge branch 'develop' into fix-debug-file-size2 2022-03-15 11:33:44 +01:00
Nite 9ee03aae2f
Merge branch 'develop' into fix/search2-result-artist 2022-03-15 11:08:24 +01:00
Nite ebfc06c423
Fixed tests 2022-03-15 10:52:22 +01:00
Nite 6bfd06c6a0
Updated Search2 Artist result to use Index instead of Artist
(As needed for listing the Artist's albums afterwards)
2022-03-15 10:31:38 +01:00
Óscar García Amor 6442bae882
Merge branch 'develop' into strings-update 2022-03-15 09:15:40 +01:00
Holger Müller 5941e5ab87
fixed output of debug file size (in MB) 2022-03-12 15:40:21 +01:00
Holger Müller cf52d76698
updated english language 2022-03-12 15:35:45 +01:00
Cem Eren 273ac8f9b8
Reused existing functions for track actions
Updated existing functions with additional parameter so they can be used
by context menu but added default value function so that existing calls
on buttons can remain without parameters being passed in.
2022-03-11 19:35:18 +01:00
Cem Eren 0961f56a7d
Corrected style violation 2022-03-06 00:19:25 +01:00
Cem Eren eb0fa67431
Updated references to context_menu_track to correctly identify events
Additionally updated event handler to correctly play, queue, pin and
download songs now that events are triggering correctly.
2022-03-05 00:10:20 +01:00
Nite b5bfd87fcc
Merge branch 'develop' into fix-play-all 2022-02-19 21:30:36 +01:00
Philippe Daouadi d03b633eeb
TrackCollectionFragment: fix play all button
The button would not work because the entries are actually of the Album
type instead of Entry.

Signed-off-by: Philippe Daouadi <philippe@ud2.org>
2022-02-19 18:30:59 +01:00
Nite 8675f25668
Fixed Search and Edit Server to hide the keyboard when navigating away 2022-02-19 13:54:25 +01:00
Nite b7d1e4acf6
Made About text scrollable, fixed title 2022-02-19 11:26:13 +01:00
Óscar García Amor baa0c92c7a
Bump version to 3.1.1 2022-02-17 08:34:15 +01:00
Nite 9bf7e99abd
Fixed Lint 2022-02-16 19:04:27 +01:00
Nite b5e606455e
Updated Gradle to fix R8 bug with Kotlin 1.6 2022-02-16 18:33:07 +01:00
Óscar García Amor e2ddb35ce3
Bump version to 3.1.0 2022-02-15 09:50:25 +01:00
Óscar García Amor 9581a17bd9
Update translations 2022-02-15 09:17:08 +01:00
Óscar García Amor 3fbf47dedf
Mark URL strings from about screen as not translatable 2022-02-15 08:42:39 +01:00
Nite f210a6e363
Redesigned the About fragment - removed WebView 2022-02-13 19:42:34 +01:00
Nite 5962cc2add
Merge branch 'develop' into dependabot/gradle/versions.kotlin-1.6.10
Added temporary fix for Koin bug
2022-02-08 18:18:58 +01:00
Nite ca9ba68a5e
Merge branch 'develop' into ready/LRUCache 2022-02-05 11:54:38 +01:00
Nite 586bc51a9c
Revert "Merge pull request #667 from ultrasonic/patchBranch"
This reverts commit 41a462708d, reversing
changes made to fd239e8e72.
2022-02-05 11:06:20 +01:00
Óscar García Amor a53d5378bf
Bump version to 3.0.1 2022-02-04 09:30:53 +01:00
Óscar García Amor 4778d18fb9
Update translations 2022-02-04 09:00:35 +01:00
Óscar García Amor 2ff944d77d
Merge branch 'develop' into ready/LRUCache 2022-02-04 08:47:42 +01:00
Óscar García Amor 23d0783164
Bump version to 3.0.0 2022-01-18 11:36:39 +01:00
Óscar García Amor 22c9db59c3
Ignore Unused Quantity 2022-01-18 11:23:19 +01:00
Óscar García Amor 121bcde18a
Update translations 2022-01-18 10:55:58 +01:00
Nite 5e24c3ab40
Fixed text visibility 2022-01-14 19:36:05 +01:00
tzugen f68b46678a
Deactivate custom color and set DB to version 3 2022-01-13 19:22:44 +01:00
tzugen 10892f7527
Merge branch 'develop' into develop_migrations 2022-01-11 09:12:36 +01:00
Óscar García Amor 193fe5ac3a
Add missing database migrations 2021-12-24 20:00:10 +01:00
Óscar García Amor 95b78a3c11
More tiny and pretty ic_empty icon 2021-12-24 17:18:57 +01:00
tzugen 9f5bc85cf2
Fallback to destructive migration on downgrade 2021-12-23 10:26:04 +01:00
tzugen 5a02467ee8
Use binding 2021-12-22 13:36:47 +01:00
tzugen 4a996f8edc
Fix Scroll in MainFragment 2021-12-22 13:26:58 +01:00
tzugen a5e8daa912
Don't clear random list when appending 2021-12-21 23:44:18 +01:00
tzugen 10b83805a9
Create a correctly typed list from getMusicDirectory() 2021-12-21 13:31:58 +01:00
Óscar García Amor fbf5a63396
Avoid lint errors if a language has an unused quantity 2021-12-21 10:42:54 +01:00
Óscar García Amor bb370bfc44
Fix lint errors 2021-12-21 10:27:11 +01:00
Óscar García Amor 2153650d8b
Update translations 2021-12-21 09:26:42 +01:00
tzugen 1eca5a756e
Use new toml file for version declaration 2021-12-20 21:59:57 +01:00
tzugen 7531a4d4aa
Suppress some warnings 2021-12-20 20:20:08 +01:00
tzugen c0ef964a3e
Run KtlintFormat 2021-12-20 19:41:55 +01:00
Nite 34e232a43a
Fixed default for cache directory selector 2021-12-20 19:39:44 +01:00
tzugen fa434342d9
Covert LRUCache to Kotlin 2021-12-20 18:45:04 +01:00
Nite 17e49ff49e
Updated custom cache location handling to remove isUri
Fixed DownloadFileCache contained DownloadFiles with old cache path
2021-12-20 13:15:45 +01:00
Nite 505405e87f
Fixed comment 2021-12-20 09:33:50 +01:00
Nite a3ad17692b
Merge branch 'develop' into ready/dialogs 2021-12-20 09:22:39 +01:00
Nite 941fbd907f
Merge branch 'develop' into ready/removeMergeAdapter 2021-12-20 08:56:31 +01:00
tzugen 3be480a9a2
Add error message to cache location picker
Fixes #643
2021-12-18 18:19:15 +01:00
tzugen 5bfa0044ab
Introduce prepopulated Info and Error Dialog.Builders,
and thereby unify dialog handling across the code base
2021-12-18 18:13:43 +01:00
tzugen 6b1fc7575a
Use material icons for info and error dialogs 2021-12-18 16:43:51 +01:00
tzugen 6fcea86097
Remove feature storage 2021-12-18 15:02:53 +01:00
tzugen 28d5e5043f
Remove MergeAdapter and SackOfViewsAdapter 2021-12-18 14:55:18 +01:00
tzugen a0da791b28
Minor fixes 2021-12-18 14:33:04 +01:00
tzugen f4554ff29e
Fix messed up indentation in StreamProxy 2021-12-16 19:02:33 +01:00
tzugen 9acc5121a4
Regenerate lint baseline 2021-12-16 18:55:35 +01:00
Nite 107146c8d9
Minor cleanup, added comments 2021-12-16 14:18:54 +01:00
Nite d51544f927
Added lazy initialization of DownloadFile status for better SAF performance
Minor fixes
2021-12-15 17:44:19 +01:00
Nite 66e7732ec2
Removed remaining DocumentFile uses
Fixed lint issues
2021-12-12 17:06:11 +01:00
Nite fa4214a0ac
Moved from DocumentFile to DocumentsContract
Added separate handling for the old java File paths
2021-12-12 13:00:53 +01:00
Nite 34c5ced32e
Refactored to use DocumentFile instead of FSAF 2021-12-10 21:28:46 +01:00
Nite 90638e5fd7
Merge branch 'develop' into api30 2021-12-10 11:00:59 +01:00
tzugen 80e587c1aa
Add scrollbar to playlist view,
implement SectionedAdapter for Artists
2021-12-08 17:52:31 +01:00
tzugen e337177715
Style fixes 2021-12-07 00:06:41 +01:00
tzugen d8cdc81424
Increase touch area of drag handler.
Also use new tintable color for drag drawable
2021-12-07 00:04:53 +01:00
tzugen 351ad914e7
Fix constraints in track details 2021-12-06 23:49:09 +01:00
Nite 0d24c87eef
- Fixed track item layout when track number is missing
- Fixed Rx unsubscribing
- Fixed drag handle usage in playlist
2021-12-06 19:23:22 +01:00
tzugen de04f4cbe6
Fix the alignment of the status text,
add transparency when dragging a song,
remove wrong context menu
2021-12-05 21:29:32 +01:00
tzugen 026aa79572
Remove special casing of SongsForGenre and thereby fix it.
Also prevent jumping in the random albums list and
don't refresh the album list on back navigation
2021-12-05 21:07:08 +01:00
tzugen 6daa17efd5
Show folder header in Artist list 2021-12-05 14:05:42 +01:00
tzugen f2948cd3db
Various fixes & cleanups 2021-12-02 13:20:08 +01:00
tzugen 2ac1ea3f89
Shorten INTENT Constants names 2021-11-30 21:23:54 +01:00
tzugen f1e789ea9b
Fixed search, put compareTo method into Interface 2021-11-30 21:21:04 +01:00
tzugen bdac092eff
Make SearchResults expandable,
finish music folder support,
change Service interface of AlbumList to return listOf(Album)
2021-11-30 00:47:03 +01:00
tzugen aa33d7c882
Cleanup nested functions on OfflineMusicService and make it return the correct MusicDirectory type 2021-11-29 20:14:11 +01:00
tzugen 775f56c6fa
Fix header glitch 2021-11-29 19:00:28 +01:00
tzugen 2f0ff384d0
Various fixes
* Work on folder selector,
* Make current play queue drag&droppable
* Fix album view in offline mode
2021-11-29 15:09:51 +01:00
tzugen 82d90a6aee
Fix context menus.
Also cleanup files, rename layouts
2021-11-28 19:13:25 +01:00
tzugen b33fe2d451
Add nice looking empty list view
Also fix shouldRetry() in the Downloader
2021-11-28 19:13:25 +01:00
tzugen 4e37a2483c
Add an MusicDirectory.Album model to represent the APIAlbum model
It became necessary in order to have different types for Tracks vs Albums,
instead of just differentiating by isDirectory: Boolean.

Also:
* Fix Album display in SearchFragment.kt
* Use same ids in all lists
2021-11-28 19:13:24 +01:00
tzugen 5dfb66eec2
Implement singular selection for Bookmarks 2021-11-28 19:13:24 +01:00
tzugen ad793e27a5
Remove viewRefresh setting 2021-11-28 19:13:24 +01:00
tzugen 2086a6cac5
Unify play next and play last icons,
style fixes
2021-11-28 19:13:24 +01:00
tzugen eeb2d13d96
Delete a bunch of now-unused classes
Also run KtLint
2021-11-28 19:13:24 +01:00
tzugen f8a87f7c85
BookmarksFragment is now based on TrackCollectionFragment
Also start SearchFragment.kt
2021-11-28 19:13:24 +01:00
tzugen 7640f4c4aa
Start migration of Album and Artist 2021-11-25 18:43:50 +01:00
tzugen d243ae1b44
Use RecycleView inside PlayerFragment 2021-11-25 18:43:46 +01:00
tzugen 6277ee73c0
Simplify and fix download status display 2021-11-25 18:43:46 +01:00
tzugen 7a2dbf65d9
Fix jumping downloads in Download view 2021-11-25 18:43:31 +01:00
tzugen 19d014709f
Don't create DownloadFile instances unnecessarily 2021-11-25 16:53:25 +01:00
tzugen d0e39efc50
Migrate DownloadsFragment to new system 2021-11-25 16:53:25 +01:00
tzugen e81b1ef8c2
Add a HeaderView binder 2021-11-25 16:53:25 +01:00
tzugen 5f716f5008
Use MultiTypeAdapter as a backend for RecyclerView stuff 2021-11-25 16:53:22 +01:00