Is it possible to access the ICY-metadata over the libvlc interface? I'm using the python-vlc bindings.
import vlc
import time
url = "http://fritz.de/livemp3"
instance = vlc.Instance("--no-xlib")
player = instance.media_player_new()
player.set_media(instance.media_new(url))
player.play()
time.sleep(0.5)
print("meta 0")
print(player.get_media().get_meta(0))
print("track info")
print(player.get_media().get_tracks_info())
I thought it is maybe get_meta
and with the Enum value 0 which should be title. But this returns just part of the url.
And get_tracks_info
is just a number.