Skip to content

feat(media-player): enhancement#16525

Open
alperozturk96 wants to merge 20 commits into
masterfrom
feat/enhance-player
Open

feat(media-player): enhancement#16525
alperozturk96 wants to merge 20 commits into
masterfrom
feat/enhance-player

Conversation

@alperozturk96
Copy link
Copy Markdown
Collaborator

@alperozturk96 alperozturk96 commented Feb 16, 2026

Original PR: #16116

This merge request adds a persistent "queue" / playlist feature to the Nextcloud Media Player and implements a set of frequently requested playback behaviors and UI improvements:

  • Shuffle mode (randomize playback order)
  • Repeat modes (repeat one / repeat all / off)
  • Automatically play the next file when the current media ends (so folders with mixed content will behave as playlists containing only media files)
  • Automatic filtering to exclude non-media files when generating a playlist from a folder
  • Improved media player notification controls while the app is minimized (skip to next / previous, play/pause)
    The proposed implementation has been used in the HiDrive application for a long time.
image

Changes

Removes PreviewMediaActivity.kt‎, PlayerStateMachineTest.kt‎, PlayerService.kt‎, PlayerServiceConnection.kt‎ since new PlayerActivity and it's new dependencies responsible for playing music and video.

@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 🤖 🍏 Mobile clients team Feb 17, 2026
@tobiasKaminsky tobiasKaminsky moved this from 🧭 Planning evaluation (don't pick) to 🏗️ In progress in 🤖 🍏 Mobile clients team Feb 17, 2026
@alperozturk96 alperozturk96 added this to the Nextcloud App 33.1.0 milestone Mar 18, 2026
@nextcloud nextcloud deleted a comment from github-actions Bot Apr 7, 2026
@nextcloud nextcloud deleted a comment from github-actions Bot Apr 23, 2026
@nextcloud nextcloud deleted a comment from github-actions Bot Apr 23, 2026
@nextcloud nextcloud deleted a comment from github-actions Bot Apr 23, 2026
@github-actions
Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/24839731997/artifacts/6604944467
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@alperozturk96 alperozturk96 force-pushed the feat/enhance-player branch from 40fbefe to 12e12fd Compare May 4, 2026 06:31
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

APK file: https://github.com/nextcloud/android/actions/runs/25304554595/artifacts/6777860093
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@alperozturk96
Copy link
Copy Markdown
Collaborator Author

@AlexViseven Can you update the license headers? We are using AGPL-3.0-or-later.

@alperozturk96 alperozturk96 force-pushed the feat/enhance-player branch from 12e12fd to cabb92c Compare May 21, 2026 12:45
@alperozturk96
Copy link
Copy Markdown
Collaborator Author

@tobiasKaminsky @AlexViseven

I think BackgroundPlayerService is becomes unnecessary after this enhancement?

@github-actions
Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/26226778620/artifacts/7136775925
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@AlexViseven
Copy link
Copy Markdown

AlexViseven commented May 21, 2026

@AlexViseven Can you update the license headers? We are using AGPL-3.0-or-later.

@alperozturk96 done in #17078

dbotvin and others added 5 commits May 22, 2026 09:00
Signed-off-by: Denis Botvin <d.botvin@viseven.com>

# Conflicts:
#	app/src/main/res/values/colors.xml
#	app/src/main/res/values/strings.xml
#	gradle/libs.versions.toml
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/adapter/OCShareToOCFileConverter.kt

# Conflicts:
#	app/src/main/res/values/styles.xml
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>

# Conflicts:
#	app/src/main/res/values/strings.xml
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
alperozturk96 and others added 15 commits May 22, 2026 09:00
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaActivity.kt
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@alperozturk96 alperozturk96 force-pushed the feat/enhance-player branch from f35bee9 to 01369fd Compare May 22, 2026 06:00
@github-actions
Copy link
Copy Markdown

Codacy

SpotBugs

CategoryBaseNew
Bad practice3535
Correctness6767
Dodgy code216217
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3434
Performance4242
Security1616
Total420421

SpotBugs increased!

@github-actions
Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/26271258182/artifacts/7153865887
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@github-actions
Copy link
Copy Markdown

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

4 participants