Open kdubowik opened 3 years ago
omxplayer is being deprecated in favour of vlc. So new features are unlikely to be added.
That's a shame. VLC is trying to pull in 260MB of dependencies, including X11. OMXPlayer is better suited for a headless audio player.
omxplayer can read stream metadata when launched with -i option:
$ omxplayer -i --live https://rs7-krk2.rmfstream.pl/RMFFM48 Input #0, aac, from 'https://rs7-krk2.rmfstream.pl/RMFFM48': Metadata: icy-br : 48 icy-pub : 0 icy-description : Unspecified description icy-url : http://www.rmf.fm icy-genre : POP icy-name : RMF FM StreamTitle : Lady Pank - Znowu Pada Deszcz StreamUrl : Duration: N/A, bitrate: 46 kb/s Stream #0:0: Audio: aac (HE-AACv2), 44100 Hz, stereo, fltp, 46 kb/s
But there's no way access this data via DBus interface. Can this be added? My goal is to avoid periodically calling the stream url. Instead I want to the StreamTitle of the currently played stream directly from omxplayer.