2012-01-01, 16:27
I'm trying to add some extra info to listitem that was missing however i don't get correct visible ListItem
Example code:
For now i'm trying to set
Hardcoded to try it out but no luck. Others do show up fine even when replace with text like
Example code:
PHP Code:
dirItem.listitem.setInfo( "video", { "VideoCodec": "AVC1", "AudioCodec": "AAC", "VideoResolution": "1080", "Title": video[ "title" ], "Overlay": overlay, "Size": video[ "size" ], "Year": year, "Plot": video[ "plot" ], "PlotOutline": video[ "plot" ], "MPAA": video[ "mpaa" ], "Genre": video[ "genre" ], "Studio": video[ "studio" ], "Director": video[ "director" ], "Duration": video[ "duration" ], "Cast": video[ "cast" ]} )
For now i'm trying to set
PHP Code:
VideoCodec": "AVC1", "AudioCodec": "AAC", "VideoResolution": "1080"
VideoCodec": "avc11", "AudioCodec": "aac", "VideoResolution": "1080"
PHP Code:
"Title": "Test test test"