2020-03-22, 07:12
(2020-03-21, 22:47)nessus Wrote: Hi @jurialmunkey
I am trying to use your helper's widgets in a custom window to used them for trailers. I've try thePlayMedia($INFO[ListItem.Trailer])
but for items that are not cashed of course it's not working. Also i try thePlayMedia($INFO[Window(Home).Property(TMDbHelper.ListItem.Trailer)])
but this is not working for all items. Cashed or not.
So, i was wondering if its possible to have some kind of RunPlugin action only for the trailer... or an infolabel to use with PlayMedia. The important thing for this is to play trailer immediately regardless if the item is cashed or not.
Thanks
Nessus
This is working for me:
Code:
<onclick>PlayMedia($INFO[Window(Home).Property(TMDbHelper.ListItem.Trailer)])</onclick>
Are you sure the property isn't empty?
Also, in a custom window you need to tell the service monitor the container ID:
Code:
<onfocus>SetProperty(TMDbHelper.WidgetContainer,CONTAINER-ID,Home)</onfocus>