Skip to content

Download location picker returns invalid path (Android) #787

@DirkDuesentrieb

Description

@DirkDuesentrieb

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In the settings tab there is an option to change the folder where to download the songs. The default location is /storage/emulated/Download/Spotube. Saving songs here works.
After manually changing the location e.g to the same folder, the path seems broken. It now says (after selecting the same folder as before)
content://com.android.externalstorage.documents/tree/primary%3ADownload%2FSpotube and downloading songs does not work anymore.

Expected Behavior

Manually choosing the (default) folder should return /storage/emulated/Download/Spotube as location.

Steps to reproduce

  1. download a song after a clean installation
  2. go to the settings tab
  3. search for the option to change the download location
  4. look at the current setting
  5. press the icon to change the location
  6. the location picker should show you the current location with the song just downloaded
  7. select this same location by pressing the button
  8. the download location should be the same as before, if not, you reproduced this bug

Operating System

Android 12 and Android 11

Spotube version

v3.1.2

Installation source

F-Droid (Android)

Additional information

Great app!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions