There are no standards like the ones you're talking about. Everyone has extension blocks at their disposal and can create an application that works the way they want. I like this method and I implemented it in a test application.
Besides, I wonder if I published this topic in the "Extensions" or "App Showcase" section. I'll check.
Hmm, the section is correct, so why is the main topic of the conversation about the operation of the test application?
Yes, there is no doubt that this is just a side note in the context of your extension. And that is exactly what I called it. However, I have been using CD players and (later) MP3 players for more than 40 years, and they all worked like I say. So it was and is standard. Period. (Regardless of how modern Android apps handle it today.)
Is it possible for MediaSessionPlayer to just play from a folder that I select, instead of getting all songs from device at first start of app?
I have a file selector which returns a list of songs as shown below and can play them one after the other in my listview based on the way it is in the folder or folders.
My list of songs in its folders looks like this:
"/storage/111E-3028/Music/Battle Beast FLAC/2011 - Steel/01. Enter the Metal World.flac",
"/storage/111E-3028/Music/Battle Beast FLAC/2011 - Steel/02. Armageddon Clan.flac",
and so on
Yes, you can build your own list instead of using automatic search. In the sample project, in the resources there is a json file with a sample list. But I think I can add some sort of filter in the form of a given folder. I'll have to check that.
The tracks you provided are from an external physical micro SD card? I haven't tested the player with an SD card.
The sample tracks shown are from external physical micro sd card.
I couldn't get it to read from there - it was like stuck trying to read all music files.
Yes, you can create your own playlist to which you can add links to streams. In the sample application, in the resources there is an example of a list. You just need to use another block to read this list instead of files from the device. I can later make some very simple example of such an application.
With a small modification of the apk, we can also use this player with android auto.