I'm not sure if other formats also contain chapters, but I have a 2-hour-long M4A file with chapters. I want to display a list where I can navigate to the chapters position and see the current chapter title instead the file title. Therefore, it would be helpful if I could access the chapter metadata. It's not required to load this on folder scan. I would call another method to get advanced metadata. Btw. I would also load lyrics laters in separate method. But I don't know. Just some thoughts for optimizations. As I read, to read the chapters is a bit more complex. So I really would extract these with a separate method the dev can call when required. Same for lyrics, because it may contain a lot of text.
I'm not sure if other formats also contain chapters, but I have a 2-hour-long M4A file with chapters. I want to display a list where I can navigate to the chapters position and see the current chapter title instead the file title. Therefore, it would be helpful if I could access the chapter metadata. It's not required to load this on folder scan. I would call another method to get advanced metadata. Btw. I would also load lyrics laters in separate method. But I don't know. Just some thoughts for optimizations. As I read, to read the chapters is a bit more complex. So I really would extract these with a separate method the dev can call when required. Same for lyrics, because it may contain a lot of text.