Hi
This is a continuation of this thread:
https://www.b4x.com/android/forum/threads/exoplayer-id3-metadata.112430/
This is the code that Erel put:
How to dive deeper to get the information you need? It seems that the information you need is in these classes. How to get them.?
https://exoplayer.dev/doc/reference...Metadata.Entry.html#getWrappedMetadataBytes--
This is a continuation of this thread:
https://www.b4x.com/android/forum/threads/exoplayer-id3-metadata.112430/
This is the code that Erel put:
B4X:
Sub Player_TrackChanged
Dim jo As JavaObject = player1
Dim TrackGroups As JavaObject = jo.GetFieldJO("player").RunMethod("getCurrentTrackGroups", Null)
For i = 0 To TrackGroups.GetField("length") - 1
Dim TrackGroup As JavaObject = TrackGroups.RunMethod("get", Array(i))
For j = 0 To TrackGroup.GetField("length") - 1
Dim Format As JavaObject = TrackGroup.RunMethodJO("getFormat", Array(j))
Dim Metadata As JavaObject = Format.GetField("metadata")
If Metadata.IsInitialized Then
Log("Found: " & Metadata)
End If
Next
Next
End Sub
https://exoplayer.dev/doc/reference...Metadata.Entry.html#getWrappedMetadataBytes--