Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84004

addStreamInfo in Frodo

$
0
0
Edit: Err nevermind. It seems to be working now. Sorry I think it was caching something from before.



Does anyone have addStreamInfo working to display the associated icons for audio/video codec, resolutions, channels, etc.

I have been following the documentation from but I can't seem to get it to display. I have been using confluence.

Anyone have this working?

Code:
addStreamInfo(...)
    addStreamInfo(type, values)--Add a stream with details.
    
    type : string - type of stream(video/audio/subtitle). values : dictionary - pairs of { label: value }.
    
    Video Values: codec : string (h264) aspect : float (1.78) width : integer (1280) height : integer (720) duration : integer (seconds)
    
    Audio Values: codec : string (dts) language : string (en) channels : integer (2)
    
    Subtitle Values: language : string (en)
    
    example:
        - self.list.getSelectedItem().addStreamInfo('video', { 'Codec': 'h264', 'Width' : 1280 })

Viewing all articles
Browse latest Browse all 84004

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>