Commit graph

2874 commits

Author SHA1 Message Date
Naveen
ff22ada30c
Setup widget using media controller api 2023-08-19 23:00:02 +05:30
Naveen
585b053173
Setup adapters using media controller api
- Move common code between adapters to base music adapter class.
- Rewrite and move player related extensions to simple controller activity.
2023-08-19 22:59:19 +05:30
Naveen
02ad33ccaf
Setup queue activity using media controller api 2023-08-19 22:52:59 +05:30
Naveen
7d48a1fd47
Save track as tag in media item 2023-08-19 22:51:57 +05:30
Naveen
95f375571f
Move controller logic to a separate class 2023-08-19 22:31:32 +05:30
Naveen
e6cf02a023
Update track info on resume 2023-08-19 17:19:35 +05:30
Naveen
f268fa137c
Minor code improvement 2023-08-19 14:40:57 +05:30
Naveen
d4aef1c322
Expose current playback info in companion object 2023-08-19 14:27:42 +05:30
Naveen
a4a5938a38
Simplify controller logic and catch cancellation exception 2023-08-19 13:14:40 +05:30
Naveen
493ab65fc3
Launch track activity on play 2023-08-13 20:54:24 +05:30
Naveen
44f0db3ad6
Fix security exception when initializing controller 2023-08-13 19:21:36 +05:30
Naveen
b8d3e50c26
Do player operations on a background thread
As per https://developer.android.com/guide/topics/media/exoplayer/hello-world#a-note-on-threading, using the main thread is suitable for majority of cases but it still slows down the main thread, in some cases significantly. This can lead to a non-responsive UI when doing player operations like `moveMediaItems()` with a lot of media items in the queue.
2023-08-13 16:10:30 +05:30
Naveen
a831487cb5
Add comment 2023-08-12 13:51:47 +05:30
Naveen
98379ed7f3
Minor readability improvement 2023-08-12 13:04:38 +05:30
Naveen
b06b728fdb
Rebuild media items when tab configuration changes 2023-08-12 13:01:09 +05:30
Naveen
6b00a23ba4
Add comment 2023-08-12 12:57:48 +05:30
Naveen
3e35a12038
Setup track activity using media controller api 2023-08-12 12:49:29 +05:30
Naveen
ee627f9b4f
Workaround silently caught exception 2023-08-12 11:43:15 +05:30
Naveen
3c909382bd
Move current track bar logic to base music activity 2023-08-12 08:20:44 +05:30
Naveen
2d5e336080
Minor readability improvement 2023-08-12 08:01:50 +05:30
Naveen
12df58b854
Handle repeat mode 2023-08-12 07:53:24 +05:30
Naveen
2262af4f14
Minor readability improvement 2023-08-11 17:23:52 +05:30
Naveen
f13d507aa3
Don't release media session when stopping service manually 2023-08-10 21:30:10 +05:30
Naveen
d589d4a0c0
Setup media controller in main activity 2023-08-10 21:25:01 +05:30
Naveen
e88e9806cb
Add support for system UI playback resumption 2023-08-10 20:26:55 +05:30
Naveen
f07ac19571
Add SimpleMusicActivity class 2023-08-10 19:15:08 +05:30
Naveen
40b1d7e1b8
Respect shuffle, player speed config 2023-08-10 19:13:46 +05:30
Naveen
d6a35d570d
Show notification when there's no storage permission 2023-08-10 13:34:09 +05:30
Naveen
6c2c354892
Avoid creating unnecessary renderers 2023-08-09 03:12:40 +05:30
Naveen
87911c75b0
Minor readability improvement 2023-08-09 02:48:50 +05:30
Naveen
1e783c8d8e
Optimize thumbnail loader extension 2023-08-07 08:33:40 +05:30
Naveen
dbf547f549
Use cached album art when available 2023-08-07 06:09:19 +05:30
Naveen
caa3e549e7
Add album_art column in genre table
Db migration is handled from the last release: 73388dd7ca
2023-08-07 04:48:49 +05:30
Naveen
0e8f097f15
Properly save recent items to db 2023-08-07 04:15:08 +05:30
Naveen
464a6dc8ca
Handle sending progress update 2023-08-07 03:53:12 +05:30
Naveen
f32e6a370e
Minor readability improvement 2023-08-07 01:42:09 +05:30
Naveen
7e4da3faf4
Always allow next, previous commands 2023-08-07 01:35:36 +05:30
Naveen
821376057d
Catch exception! 2023-08-06 23:20:02 +05:30
Naveen
5b776b97bd
Sort folders 2023-08-06 23:17:49 +05:30
Naveen
22190e4c79
Search item properly using media id 2023-08-06 23:09:31 +05:30
Naveen
75557f3b48
Minor readability improvement 2023-08-06 22:27:48 +05:30
Naveen
3ea9263d0e
Show only visible tabs in the media tree 2023-08-06 22:17:26 +05:30
Naveen
2aabdde5f5
Minor readability improvement 2023-08-06 03:03:27 +05:30
Naveen
b1eb013327
Minor readability improvement 2023-08-06 03:02:27 +05:30
Naveen
cd728ea934
Add sleep timer 2023-08-06 02:44:52 +05:30
Naveen
6f097ec193
Call listeners on the main thread 2023-08-05 23:24:12 +05:30
Naveen
ac92426e1a
Rewrite music service using media3 (initial) 2023-08-03 23:30:00 +05:30
Naveen
c0bf269df4
Add media3 library 2023-08-03 23:27:08 +05:30
Tibor Kaputa
91846910a0
Merge pull request #580 from naveensingh/minor_fixes_and_improvements
Crash fixes and improvements
2023-07-28 09:38:49 +02:00
Naveen
ceba47f081
Properly handle bubble text in tracks adapter 2023-07-28 13:05:38 +05:30