Commit graph

2287 commits

Author SHA1 Message Date
solokot
b3eac08b86
Translated using Weblate (Russian)
Currently translated at 100.0% (76 of 76 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/ru/
2023-07-23 13:52:23 +02:00
Naveen
06962c24bd
Avoid using Java 8 ConcurrentHashmap.newKeySet()
It causes NoSuchMethodError because of https://stackoverflow.com/questions/64506917/using-concurrenthashmapnewkeyset-with-android-corelibrarydesugaring
2023-07-23 16:18:33 +05:30
tibbi
ccc015d1ea update version to 5.17.0 2023-07-22 23:54:43 +02:00
tibbi
c2fc6fc564 updating commons 2023-07-22 23:38:07 +02:00
solokot
2163f19ebf
Translated using Weblate (Russian)
Currently translated at 100.0% (76 of 76 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/ru/
2023-07-22 23:28:36 +02:00
Naveen
83b384f461
Avoid triggering onTrackEnded() unnecessarily 2023-07-21 11:34:22 +05:30
Naveen
8bc3f9f7a7
Remove unnecessary migration steps 2023-07-20 21:11:58 +05:30
Naveen
3207600d88
Fix sorting reset when reopening fragment 2023-07-20 20:57:12 +05:30
Naveen
034969f473
Add support for "Sort by date added" 2023-07-20 20:35:16 +05:30
tibbi
c211d0a9ba updating commons and room 2023-07-20 12:16:22 +02:00
Rex_sa
b3a9687787
Translated using Weblate (Arabic)
Currently translated at 100.0% (76 of 76 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/ar/
2023-07-20 12:02:12 +02:00
Priit Jõerüüt
9ac03bc21a
Translated using Weblate (Estonian)
Currently translated at 100.0% (76 of 76 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/et/
2023-07-20 12:02:12 +02:00
Eric
0f5add401a
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (76 of 76 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/zh_Hans/
2023-07-20 12:02:11 +02:00
Oğuz Ersen
b768c645f8
Translated using Weblate (Turkish)
Currently translated at 100.0% (76 of 76 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/tr/
2023-07-20 12:02:11 +02:00
Guillaume
75e7b980e3
Translated using Weblate (Dutch)
Currently translated at 100.0% (76 of 76 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/nl/
2023-07-20 12:02:11 +02:00
VfBFan
80a2c2dd7d
Translated using Weblate (German)
Currently translated at 100.0% (76 of 76 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/de/
2023-07-20 12:02:11 +02:00
Tibor Kaputa
8658d9e850
clearing some brackets 2023-07-20 11:39:16 +02:00
Naveen
15b80d13e0
Add more clarifying parenthesis 2023-07-20 15:07:14 +05:30
Naveen
912b16e590
Add clarifying parenthesis 2023-07-20 14:50:25 +05:30
Naveen
ea323863c2
Only close activity if it's not playlist content 2023-07-20 14:39:59 +05:30
Naveen
21e35524ef
Finish activity when there's no tracks left 2023-07-20 14:09:39 +05:30
Naveen
faf701d526
Avoid unnecessary flicker at playlists 2023-07-20 12:18:06 +05:30
Naveen
b1b76b5039
Use audio helper 2023-07-20 12:05:22 +05:30
Naveen
1f01cac0d7
Delete items one by one
Using @Delete can be slow
2023-07-20 12:05:03 +05:30
Naveen
b11edd6a42
Minor readability improvement 2023-07-20 11:00:18 +05:30
Naveen
b60cabdb05
Do UI operation on main thread 2023-07-20 10:56:15 +05:30
Naveen
8b178f1d91
Scan paths not present in media store 2023-07-20 10:43:03 +05:30
Agnieszka C
5d05d10243
Translated using Weblate (Polish)
Currently translated at 100.0% (76 of 76 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/pl/
2023-07-19 17:52:46 +02:00
Josep M. Ferrer
14ab519b56
Translated using Weblate (Catalan)
Currently translated at 100.0% (75 of 75 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/ca/
2023-07-19 17:52:46 +02:00
Naveen
8438788efd
Use audio helper 2023-07-19 20:50:32 +05:30
Naveen
43d632e8dc
Move deletePlaylists() to audio helper too 2023-07-19 20:45:58 +05:30
Naveen
0cca084051
Minor code improvements 2023-07-19 20:43:49 +05:30
Naveen
7a7f639692
Remove unused function 2023-07-19 20:26:57 +05:30
Naveen
dae2605f8c
Merge master into code_readability_improvements 2023-07-19 20:20:18 +05:30
Tibor Kaputa
3a06029e2b
Merge pull request #550 from Yashraj254/fix_#426_play_song_next
Fix #426 added feature: Play next
2023-07-19 16:38:33 +02:00
Tibor Kaputa
8db604394d
updating a slovak translation 2023-07-19 16:38:09 +02:00
Tibor Kaputa
ba7459e14f
simplifying some code 2023-07-19 16:37:31 +02:00
Naveen
fe583f842f
Minor code improvement 2023-07-19 16:57:40 +05:30
Naveen
4a4b9ed32f
Use NotificationHelper in media scanner too 2023-07-19 16:37:27 +05:30
Naveen
7c19642487
Only show toast when progress is enabled 2023-07-19 16:21:46 +05:30
Naveen
27f4cb901a
Show toast if now items are found 2023-07-19 15:55:06 +05:30
Naveen
f3335c8608
Simplify code using an audio helper 2023-07-19 15:46:06 +05:30
Yashraj254
4ea384da53 removed Play next feature for currently playing track 2023-07-19 05:02:27 +05:30
Naveen
c591e1d6e1
Fix activity destroyed crash 2023-07-19 03:00:51 +05:30
Naveen
64cfc30076
Use default playlist when queue is empty 2023-07-19 02:53:55 +05:30
Yashraj254
95dcdad1aa removed Play next feature for currently playing track 2023-07-19 02:12:30 +05:30
Yashraj254
9cf66fb404 removed Play next feature for artists and albums 2023-07-19 00:27:52 +05:30
Yashraj254
646083d711 resolved all conflicts 2023-07-18 19:55:04 +05:30
Yashraj254
f6c4924308 conflicts resolved 2023-07-18 19:41:49 +05:30
Yashraj254
db62b7198d conflicts resolved 2023-07-18 18:36:26 +05:30
Tibor Kaputa
a4c30e7135
Merge pull request #552 from naveensingh/fix_queue_recycler
Remove unnecessary nested layout
2023-07-18 14:44:15 +02:00
Naveen
146fe62387
Set the navigation bar padding directly on RecyclerView 2023-07-18 14:50:58 +05:30
Tibor Kaputa
3c0a797cf4
Merge pull request #551 from naveensingh/minor_ux_improvement
Use a dot (•) instead of a hyphen (-) to separate track artists, albums
2023-07-17 18:46:46 +02:00
tibbi
dce4b33b63 updating commons 2023-07-17 14:45:15 +02:00
Tibor Kaputa
21550b0553
Merge pull request #545 from naveensingh/feature_media_scanner
Improve media scanner and thumbnail loading
2023-07-17 14:43:38 +02:00
Tibor Kaputa
d8105fce1d
Merge pull request #546 from weblate/weblate-simple-mobile-tools-simple-music-player
Translations update from Hosted Weblate
2023-07-17 14:10:13 +02:00
Tibor Kaputa
d8a36d872b
Merge pull request #549 from spkprs/patch-10
Update.xml
2023-07-17 14:10:03 +02:00
VfBFan
4b9f6007ad
Translated using Weblate (German)
Currently translated at 100.0% (75 of 75 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/de/
2023-07-17 14:07:13 +02:00
Rex_sa
7fc5c69981
Translated using Weblate (Arabic)
Currently translated at 100.0% (75 of 75 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/ar/
2023-07-17 14:07:13 +02:00
Josep M. Ferrer
80d1b2491b
Translated using Weblate (Catalan)
Currently translated at 100.0% (75 of 75 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/ca/
2023-07-17 14:07:13 +02:00
Eric
fb12b6643f
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (75 of 75 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/zh_Hans/
2023-07-17 14:07:13 +02:00
Oğuz Ersen
24bfa34955
Translated using Weblate (Turkish)
Currently translated at 100.0% (75 of 75 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/tr/
2023-07-17 14:07:13 +02:00
solokot
3284f81489
Translated using Weblate (Russian)
Currently translated at 100.0% (75 of 75 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/ru/
2023-07-17 14:07:13 +02:00
Sergio Marques
3cc29fd2cb
Translated using Weblate (Portuguese)
Currently translated at 100.0% (75 of 75 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/pt/
2023-07-17 14:07:13 +02:00
Guillaume
43575b804a
Translated using Weblate (Dutch)
Currently translated at 100.0% (75 of 75 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/nl/
2023-07-17 14:07:13 +02:00
Agnieszka C
8414fe167a
Translated using Weblate (Polish)
Currently translated at 100.0% (75 of 75 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/pl/
2023-07-17 14:07:13 +02:00
Naveen
02d3e2ad87
Remove Scanning... string 2023-07-17 14:27:09 +05:30
Naveen
7342aa6b77
ReplaceLoading files... with Scanning... 2023-07-17 11:52:41 +05:30
Naveen
74635b3ef4
Delete using File api as well as MediaStore
This addresses https://github.com/SimpleMobileTools/Simple-Music-Player/issues/402. Only running `contentResolver.delete()` doesn't work for files on some versions.
2023-07-17 11:41:52 +05:30
Naveen
a72ea4ca95
Remove unnecessary nested layout
This addresses https://github.com/SimpleMobileTools/Simple-Music-Player/issues/440
2023-07-17 10:58:08 +05:30
Naveen
f8f6ccffb7
Minor readability improvement 2023-07-17 08:50:18 +05:30
Naveen
ebb8198e40
Minor readability improvement 2023-07-17 08:44:07 +05:30
Naveen
ab1e45c77a
Fix double album duration in UI 2023-07-17 08:41:43 +05:30
Naveen
5dd8c60f46
Properly handle deleting tracks without media store id 2023-07-17 08:19:30 +05:30
Naveen
95d6c29c3d
Show notifications after 1.5 seconds 2023-07-17 07:14:11 +05:30
Naveen
05c5bf10bd
Add scanner progress notification 2023-07-17 07:09:10 +05:30
Naveen
f62a500f66
Add some documentation 2023-07-17 01:44:06 +05:30
Naveen
0e96cf27d6
Minor code cleanup 2023-07-17 01:06:56 +05:30
Naveen
e8bf7f264d
Replace album_art_id column with album_art uri 2023-07-16 22:51:25 +05:30
Naveen
7f30e84848
Use proper artist id for Android 9 and below 2023-07-16 22:25:57 +05:30
Naveen
e0bb9bcf6d
Use a dot (•) instead of a hyphen (-) to separate track artists, albums 2023-07-16 05:42:07 +05:30
Naveen
db3bcff85c
Add missing projection 2023-07-16 05:28:48 +05:30
Naveen
47e95decd3
Reduce scan time by an order
Changes:
 - Scan `MediaStore` tables only once and do manual post-processing instead of doing `getArtist() -> getAlbums() -> getTracks()` for each artists (it's very slow).
 - When scanning manually, filter out paths already discovered using `MediaStore`.
 - When scanning manually, extract metadata in parallel using `Arrays.stream(Array).parallel()`

 Music files should now show up under a second on new installs.
2023-07-16 05:22:52 +05:30
Yashraj254
9acfce4be9 Fix #426 added feature: Play next 2023-07-16 04:29:27 +05:30
spkprs
8dca58b5f5
Update strings.xml 2023-07-14 14:36:33 +03:00
Naveen
34745432f4
Add comment 2023-07-09 23:30:42 +05:30
Naveen
be7e4c3730
Show progress only on first load and on manual refresh 2023-07-09 21:52:15 +05:30
Naveen
522d1455d5
Use primary color for progress indicator 2023-07-09 20:39:57 +05:30
Naveen
8c98f7407a
Add Rescan media menu option 2023-07-09 19:27:23 +05:30
Naveen
e71669e069
Disable rescanning in onResume() 2023-07-09 19:14:39 +05:30
Naveen Singh
6082bcfc61
Merge branch 'SimpleMobileTools:master' into feature_media_scanner 2023-07-09 19:09:42 +05:30
Naveen
ac1d1f6a3b
Remove Scan files manually strings 2023-07-09 19:08:04 +05:30
Naveen
ad83a6e205
Always scan storage files as well as MediaStore 2023-07-09 19:06:57 +05:30
Naveen
265d87a82b
Catch exceptions from MediaMetadataRetriever 2023-07-09 18:00:33 +05:30
Naveen
0e3c5ca9a8
Check activity state before loading image
This fixes `java.lang.IllegalArgumentException: You cannot start a load for a destroyed activity`
2023-07-09 17:45:51 +05:30
tibbi
e71805a378 adding a new string for rescanning media 2023-07-09 12:40:44 +02:00
Naveen
41b2147a3e
Always show progress indicator while scanning 2023-07-08 22:28:16 +05:30
Naveen
33fb595aec
Show Loading files while scanning 2023-07-08 22:16:18 +05:30
Naveen
cd477ce3f9
Remove duplicated calls to isAudioSlow() 2023-07-08 21:52:31 +05:30
Naveen
4cac11a50a
Add Scan files manually preference 2023-07-08 20:49:18 +05:30
Naveen
e63e5897c7
Fix Null Pointer Exception 2023-07-08 20:31:46 +05:30
Naveen
f335b0dfe4
Remove invalid albums and artists after scan 2023-07-08 20:23:43 +05:30
Naveen
ab3bb3802f
Respect excluded folders preference when scanning manually 2023-07-08 19:09:38 +05:30
Naveen
470efadb0e
Fetch cover art manually for tracks from other sources 2023-07-08 18:40:19 +05:30
Naveen
284574b5ea
Remove duration limit and add check for .nomedia 2023-07-08 17:07:00 +05:30
Naveen
2e3f5ae1f2
Fix player closing on first time install 2023-07-08 16:30:29 +05:30
Naveen
04083347ee
Use folder name as album name 2023-07-08 15:54:01 +05:30
Naveen
4b2031cff5
Add support for scanning files manually 2023-07-08 14:42:57 +05:30
Naveen
cf21ec14f4
Show progress bar on first load 2023-07-06 17:52:39 +05:30
Naveen
4f59bfee23
Fix UI level track duplication due to local cache 2023-07-06 15:19:41 +05:30
Naveen
3946ef02fc
Minor code improvement 2023-07-06 10:46:59 +05:30
Naveen
39780e43ae
Always update 'All tracks' playlist on rescan
Tracks that are explicitly removed by the user won't be added back, a string set preference is used to store the track ids deleted from 'All tracks' playlist. Of course, there are other ways to do this (with or without db modification) but using a preference turned out to be the simplest solution.
2023-07-06 07:56:38 +05:30
Naveen
a020847348
Use proper color for track subtitle text 2023-07-06 06:22:09 +05:30
Naveen
c2c0d3a25a
Remove excluded folders check when deleting invalid tracks 2023-07-06 05:24:09 +05:30
Naveen
cfa79f674b
Always load data from the local cache 2023-07-06 01:12:53 +05:30
Naveen
c17321e569
Always refresh databases onResume 2023-07-05 23:36:28 +05:30
Naveen
18c177ffb8
When everything fails, use ThumbnailUtils.createAudioThumbnail() 2023-07-04 23:55:55 +05:30
Naveen
55089f9e8e
Handle null tracks when loading thumbnails 2023-07-04 23:47:11 +05:30
Naveen
c98e1a2736
Load all tracks in TracksFragment 2023-07-04 22:47:10 +05:30
Naveen
d1529e4887
Manually load covert art for files from MediaStore.Files 2023-07-04 21:16:17 +05:30
Naveen
35ae6dd946
Show audio files from MediaStore.Files table 2023-07-04 19:37:38 +05:30
Naveen
f6cd3ed7ad
Move all MediaStore scan related methods to SimpleMediaScanner
Also added a getAllAudioTracks() method to fetch any audio files that are in `MediaStore.Files` but not in the `MediaStore.Audio` table
2023-07-04 19:37:38 +05:30
tibbi
007a7502bc replacing jcenter with mavenCentral 2023-06-23 11:00:37 +02:00
tibbi
bdbc4d755b update version to 5.16.6 2023-06-20 18:25:32 +02:00
tibbi
cd9818ae72 updating commons 2023-06-20 18:21:34 +02:00
tibbi
ef6706fc3f use smaller paddings at Select Playlist dialog items 2023-06-16 16:16:08 +02:00
Tibor Kaputa
65e64cac56
Merge pull request #512 from EisiBaer/master
Added artist and album below track title and made them searchable
2023-06-13 14:54:36 +02:00
Tibor Kaputa
da9e6f6c61
use better string formatting 2023-06-13 14:53:59 +02:00
Tibor Kaputa
14c6dc2e2c
use better string formatting 2023-06-13 14:53:11 +02:00
Tibor Kaputa
67f47555dd
formatting strings 2023-06-13 14:52:16 +02:00
Tibor Kaputa
c0345b1a0c
use smaller font at displaying track album/artist 2023-06-13 14:51:15 +02:00
tibbi
b05adda9f0 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Music-Player 2023-06-13 14:43:30 +02:00
tibbi
55c80e752e use the newer UI for selected items 2023-06-13 14:43:17 +02:00
Tibor Kaputa
b367bd775c
Merge pull request #532 from parneet-guraya/change_deprecated_function
change deprecated sumBy() to sumOf()
2023-06-13 14:35:19 +02:00
Alexander Gabilondo
0120dfee10
Translated using Weblate (Basque)
Currently translated at 100.0% (74 of 74 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/eu/
2023-06-08 23:51:28 +02:00
Milo Ivir
07a6942390
Translated using Weblate (Croatian)
Currently translated at 100.0% (74 of 74 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/hr/
2023-05-28 17:58:27 +02:00
Kryštof Černý
a4ec2e6d0e
Translated using Weblate (Czech)
Currently translated at 100.0% (74 of 74 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/cs/
2023-05-28 10:47:58 +02:00
gallegonovato
37e14dfe9c
Translated using Weblate (Spanish)
Currently translated at 100.0% (74 of 74 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/es/
2023-05-27 08:27:51 +02:00
عمار
3199111602
Translated using Weblate (Arabic)
Currently translated at 100.0% (74 of 74 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/ar/
2023-05-22 11:48:53 +02:00
parneet-guraya
4654904284 change deprecated sumBy() to sumOf() 2023-05-21 19:51:54 +05:30
Milo Ivir
5a2cb65ad0
Translated using Weblate (Croatian)
Currently translated at 100.0% (74 of 74 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/hr/
2023-05-19 08:26:38 +02:00
tibbi
ce6be8b716 update version to 5.16.5 2023-05-17 23:01:46 +02:00
tibbi
1eda9c7870 updating commons 2023-05-17 23:01:36 +02:00
Priit Jõerüüt
1c39cceabc
Translated using Weblate (Estonian)
Currently translated at 100.0% (74 of 74 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/et/
2023-05-17 22:48:56 +02:00
Tibor Kaputa
02ded66158
Merge pull request #528 from parneet-guraya/change_deprecated_method
change deprecated 'toLowerCase()' to 'lowercase()'
2023-05-17 22:48:52 +02:00
spkprs
9e4bf8b75a
Update strings.xml 2023-05-14 18:58:47 +03:00
Макар Разин
3c0f0c84dd
Translated using Weblate (Belarusian)
Currently translated at 100.0% (74 of 74 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/be/
2023-05-13 16:03:07 +02:00
Rex_sa
3d14b6be32
Translated using Weblate (Arabic)
Currently translated at 100.0% (74 of 74 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/ar/
2023-05-13 16:03:07 +02:00
Макар Разин
ed9118ccc3
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (74 of 74 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/uk/
2023-05-13 16:03:07 +02:00
Sergio Marques
e13bccf85f
Translated using Weblate (Portuguese)
Currently translated at 100.0% (74 of 74 strings)

Translation: Simple Mobile Tools/Simple Music Player
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-music-player/pt/
2023-05-13 16:03:07 +02:00