Commit graph

2874 commits

Author SHA1 Message Date
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
25e0bb38a5 updating changelog 2023-06-20 18:25:39 +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