matejdro Posted February 14, 2022 Share Posted February 14, 2022 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 More sharing options...
matejdro Posted February 14, 2022 Author Share Posted February 14, 2022 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 More sharing options...
matejdro Posted February 14, 2022 Author Share Posted February 14, 2022 Found a workaround: Playing a folder through MediaBrowserCompat via "/folders_hier/$folderId/subfolders?shf=2" URI works. It would be nice to have that supported in the proper API though. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now