Working on a similar issue so I hope it isn't off topic posting my query in here. I actually don't use Poweramp so I've just installed the trial version to trouble shoot a problem with Musicbee's wifi app that I'm trying to get working again. It queries different music players including the Poweramp database. It does say the trial is a fully functioning version for 15 days but I just wanted to check queries to the API work in the trial version? I'm not against paying for it to trouble shoot the problem but I don't want to throw my money at an app I'm not going to use if the trial version isn't the actual problem.
ContentResolver contentResolver = getContentResolver();
String[] projection = {"folders.path", "folder_files.name", "folder_files.rating", "folder_files.played_times", "folder_files.played_at"};
Cursor cursor = contentResolver.query(Uri.parse("content://com.maxmpz.audioplayer.data/files"), projection, null, null, null))
With the code above, cursor is null. I've tried just using "folder_files.name" for the projection string but it still comes back as null. This is on a device running android 14. I've got a small playlist with 8 songs and played a few of them a couple of times to get some stats going.
Am I missing something or is my problem the trial version?
Thanks.