Jump to content

Folders API will not return folders that only contain another folders


matejdro
 Share

Recommended Posts

Currently it appears folders API (either /folders or /folders/#/folders_and_files) only returns folders that contain music directly.

 

For example, for the following hierarchy:

  • A
    • B
      • C
        • [Music here]
      • D
        • [Music here]
    • E
      • [Music Here]

 

API will only return folders C, D and E, but not folders A or B.

I want to use API to retrieve full hierarchical structure of my music library. Is there another content URI I can try or is this just a limitation of the API? Could this be fixed?

This is with build 926. Thanks.

Link to comment
Share on other sites

Additionally, even if I manage to get ID of such folder (for example from parent folder ID field), there does not appear to be a way to play it.

 

Attempting to play content://com.maxmpz.audioplayer.data/folders/$folderId/folders_and_files where $folderId is the ID of such folder will not result in any playback (nothing happens when triggering this intent).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...