Skip to content

feat(media-player): enhancement - #16525

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

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

Conversation

@alperozturk96

@alperozturk96 alperozturk96 commented Feb 16, 2026

Copy link
Copy Markdown
Collaborator

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 old media playback classes since new PlayerActivity and it's new dependencies responsible for playing music and video.

How to test?

  • Try to play audio file
  • Try to play downloaded audio file
  • Try to play video file
  • Try to play downloaded video file
  • Try to play video file press back and check PIP mode
  • From file list try to open any media file and swipe left or right video must be played with new player also images should be reachable
  • From media tab try to open any media file and swipe left or right video must be played with new player also images should be reachable

@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

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown

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

AlexViseven commented May 21, 2026

Copy link
Copy Markdown

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

@alperozturk96 done in #17078

@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

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

APK file: https://github.com/nextcloud/android/actions/runs/26439410086/artifacts/7211811022
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 and others added 18 commits August 21, 2026 14:54
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>

# Conflicts:
#	app/src/main/res/values/strings.xml
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
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>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@github-actions

Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/32484877099/artifacts/9447807827
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)

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@github-actions

Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/32490458867/artifacts/9449750103
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)

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@github-actions

Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/32491222186/artifacts/9450038810
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)

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@github-actions

Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/32496250212/artifacts/9451917947
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

Codacy

SpotBugs

CategoryBaseNew
Bad practice3232
Correctness5959
Dodgy code207207
Experimental11
Malicious code vulnerability22
Multithreaded correctness2525
Performance3939
Security1919
Total384384

@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