Skip to content

Can't play files from directories with ".nomedia" #114

@Aga-C

Description

@Aga-C

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.0.0

Affected Android/Custom ROM version

Android 14

Affected device model

OnePlus 9 Pro

How did you install the app?

GitHub releases

Steps to reproduce the bug

  1. In a file management app, create a new directory and add to it files: .nomedia and any music file.
  2. Open the file from the file management app in Music Player.

Expected behavior

The app should play the file.

Actual behavior

The app either:

  • shows a blank playback screen like there would be no metadata and doesn't play anything
  • plays another file from the device (from scannable directory)

Screenshots/Screen recordings

No response

Additional information

The issue was originally shown in #111, but I decided to create a more generic bug report.

Also, the app behaves the same in a very niche scenario:

  1. Install the app, but don't run it (or run, but don't grant the media permission).
  2. From a file management app, open a music file (from any directory) in Music Player.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedFeature or bug accepted. PR is welcome.bugSomething is not working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions