Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
9dbdd6b
Add AndroidX Media3 playback dependencies
Soebb Nov 8, 2026
7eccab0
Declare media playback foreground service
Soebb Nov 8, 2026
ee90668
Add Media3 foreground playback service
Soebb Nov 8, 2026
f488849
Connect player UI to background media session
Soebb Nov 8, 2026
0c0f721
Fix playback service player cleanup
Soebb Nov 8, 2026
71f43dc
Restore active track when reconnecting to playback service
Soebb Nov 8, 2026
213fa72
Document background playback service
Soebb Nov 8, 2026
3cbc10c
Release MediaController connection safely
Soebb Nov 8, 2026
8248299
Keep audio playback active with screen off
Soebb Nov 8, 2026
0e5cfc4
Validate completed features on PR and release on main
Soebb Nov 8, 2026
421c913
Provide full media queue for notification controls
Soebb Nov 8, 2026
065acd3
Reduce initial audio buffering delay
Soebb Nov 8, 2026
e37fcf7
Warm playback service and prepare queue off the UI thread
Soebb Nov 8, 2026
018e1a9
Align feature workflow with manual release policy
Soebb Nov 8, 2026
53e7152
Fix Media3 controller compile errors
Soebb Nov 8, 2026
5508968
Fix remaining unsupported MediaController seek call
Soebb Nov 8, 2026
6ab9b45
Start selected track before building playback queue
Soebb Nov 8, 2026
8a3a0e2
Make playback controls respond immediately and reduce tap overhead
Soebb Nov 8, 2026
9141274
Cache and downsample artwork; streamline back navigation
Soebb Nov 8, 2026
2c0cec4
Improve album artwork loading and caching
Soebb Nov 8, 2026
f1f7ce8
Run APK workflow only on manual request
Soebb Nov 8, 2026
97aa628
Add embedded artwork fallback for invalid album art
Soebb Nov 8, 2026
a94f34a
Add multi-layer artwork loading and caching
Soebb Nov 8, 2026
f599ef1
Integrate album-aware artwork pipeline
Soebb Nov 8, 2026
db2dd32
Consolidate artwork loading through repository
Soebb Nov 8, 2026
6e7ba68
Fix artwork cache keys
Soebb Nov 8, 2026
2c1f30a
Optimize artwork delivery and cache key
Soebb Nov 8, 2026
4aab2ea
Correct album artwork cache key interpolation
Soebb Nov 8, 2026
8c690a6
Prioritize current artwork requests
Soebb Nov 8, 2026
f8ad831
Add prioritized artwork prefetch support
Soebb Nov 8, 2026
e32947d
Prefetch artwork for visible song pages
Soebb Nov 8, 2026
a9abf24
Experiment with Coil for player artwork
Soebb Nov 8, 2026
b758499
Add Coil image loading dependency
Soebb Nov 8, 2026
5b38030
Remove custom artwork loader in Coil experiment
Soebb Nov 8, 2026
cc1103d
Use Coil 3.0.4 compatible with current Android toolchain
Soebb Nov 8, 2026
39a8964
Use Coil 3 ImageView loading API compatible with Coil 3.0.4
Soebb Nov 8, 2026
716d9b2
Optimize Coil artwork sizing and prefetch adjacent tracks
Soebb Nov 8, 2026
9b8fbff
Add touch-activated fast scroll bar to song list
Soebb Nov 8, 2026
4da885e
Enable full-library fast scrolling across paginated song list
Soebb Nov 8, 2026
0c7abd6
Add live search across song titles and artists
Soebb Nov 8, 2026
0e3d866
Fix EditText single-line configuration for search
Soebb Nov 8, 2026
0a29f2d
Support combined multi-term song and artist search
Soebb Nov 8, 2026
2ee63ad
Fix fast scroller touch interaction
Soebb Nov 8, 2026
bc9fc33
Improve fast scroller responsiveness and drag performance
Soebb Nov 8, 2026
b969ca6
Calibrate fast scroller against full song list
Soebb Nov 8, 2026
1d76184
Keep fast scrolling moving while loading distant songs
Soebb Nov 8, 2026
6031c09
Replace paged song list with RecyclerView virtualization
Soebb Nov 8, 2026
6610c69
Add RecyclerView dependency for virtualized library list
Soebb Nov 8, 2026
e949b92
Include WAV files in music library scan
Soebb Nov 8, 2026
af95659
Fix song rows to fill RecyclerView width
Soebb Nov 8, 2026
1389d83
Restore full playback queue for lock-screen controls
Soebb Nov 9, 2026
727c371
Start playback immediately and build remaining queue in background
Soebb Nov 9, 2026
c905568
Move song actions away from fast scroller and add confirmed file dele…
Soebb Nov 9, 2026
8208e06
Handle each MediaStore deletion confirmation independently
Soebb Nov 9, 2026
7bda92b
Align and enlarge song action buttons; remove footer hint
Soebb Nov 9, 2026
6d2d247
Fix delete permission flow and bring song actions beside fast scroller
Soebb Nov 9, 2026
040ca8e
Use ComponentActivity for reliable delete permission result handling
Soebb Nov 9, 2026
f232cc3
Add AndroidX Activity Result API dependency
Soebb Nov 9, 2026
d5b741e
Reuse song row views to reduce return-to-library rendering delay
Soebb Nov 9, 2026
d4d936b
Fix permission callback Kotlin override signature
Soebb Nov 9, 2026
e97f3f0
Reduce list right padding and batch playback queue updates
Soebb Nov 9, 2026
4c846c3
Fix queue batch local function declaration order
Soebb Nov 9, 2026
4254eb8
Improve queue batching responsiveness
Soebb Nov 9, 2026
fe229f8
Increase fast scroller touch area
Soebb Nov 9, 2026
9d00716
Make fast scroller pixel-based and widen overlay to 30dp
Soebb Nov 9, 2026
781b8dd
Improve fast scroller responsiveness and spacing
Soebb Nov 9, 2026
143fbf0
Bring song list content closer to fast scroller
Soebb Nov 9, 2026
b7bdf72
Reduce fast scroller content gap to 2dp
Soebb Nov 9, 2026
dca7e3a
Stabilize lock-screen media controls without changing queue loading
Soebb Nov 9, 2026
d3fa6b7
Fix Media3 lock-screen command button API usage
Soebb Nov 9, 2026
4d4126d
Merge branch 'main' into experiment/coil-artwork
Soebb Nov 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
release:
name: Publish GitHub Release
needs: build
if: github.event_name != 'pull_request'
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ A free, offline Android music-player starter project with a one-action **Move to
- In a playlist, `انتقال به…` adds the selected track to the destination playlist and removes it from the source in the same operation.
- Keeps the original audio file untouched.
- Electric-blue on deep-black visual theme.
- Background playback managed by an AndroidX Media3 `MediaSessionService` and ExoPlayer.
- A media-session notification while playback is active, with system-managed playback controls.
- Audio-focus handling and automatic pause when headphones or Bluetooth audio devices are disconnected.

## Build
Open this folder in Android Studio (Giraffe or newer), allow Gradle sync, then choose **Build > Build APK(s)**.

Minimum Android: 8.0 (API 26). The project targets API 35.

## Important prototype limitation
Playlists are managed inside MoveMusic and do not modify playlists created by other music apps. This first prototype has basic playback and playlist management; background playback, notification/media controls, artwork, queue management, and robust error handling are not included yet.
Playlists are managed inside MoveMusic and do not modify playlists created by other music apps. Playback now runs in a foreground media service, so it can continue while the app is in the background or the screen is off. The media session provides the system media notification. Advanced queue editing, richer notification actions (such as app-managed next/previous controls), and comprehensive recovery from all playback errors remain future work.
8 changes: 8 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,11 @@ android {
jvmTarget = "17"
}
}

dependencies {
implementation("io.coil-kt.coil3:coil:3.0.4")
implementation("androidx.media3:media3-exoplayer:1.5.1")
implementation("androidx.media3:media3-session:1.5.1")
implementation("androidx.recyclerview:recyclerview:1.3.2")
implementation("androidx.activity:activity-ktx:1.10.1")
}
11 changes: 11 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
<application
android:theme="@style/AppTheme"
android:label="MoveMusic"
android:icon="@drawable/ic_movemusic"
android:roundIcon="@drawable/ic_movemusic"
android:allowBackup="true">
<service
android:name=".PlaybackService"
android:exported="false"
android:foregroundServiceType="mediaPlayback">
<intent-filter>
<action android:name="androidx.media3.session.MediaSessionService" />
</intent-filter>
</service>
<activity android:name=".MainActivity" android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
Loading
Loading