Skip to content

IllegalArgumentException on adding song in playlist when Storage Scope is enabled #248

@FF108

Description

@FF108

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.2.3

Affected Android/Custom ROM version

Android 16 / GrapheneOS build 2025091000

Affected device model

Pixel 7 Pro

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Enable Storage Scope to allow access to only Music directory
  2. Open Fossify Music Player
  3. Create new playlist
  4. Add song

Expected behavior

Song are added to the playlist and stay there even after closing app, and I can add more than 1 song.

Actual behavior

Songs are added but a small popup with java.lang.IllegalArgumentException appear. Song play normally in the playlist.
When I close the app, the playlist content disappear.
When I add a second song, it replace the previous one.

Screenshots/Screen recordings

No response

Additional information

The bug occur only when I am using Storage Scope, if I give storage access the bug will never occur.

logs.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not workingdevice/software specificIssues concerning devices with some specific hardware/software

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions