2021-08-30, 19:34
I have a couple of questions about the Info panel for widgets.
What I want to do is change the way some of the information is presented - I am comfortable editing the relevant xmls. Specifically I want to change the way the Release Date of movies is presented and the way the runtime/duration of movies, tvshows is presented.
Let me give an example. For the movie "The Suicide Squad" (well worth the price of the cinema ticket) currently the Release Date is presented as "28/7/2021" in the widget info panel and the Runtime is "02:12:00". What I would like to do is have the Release Date be shown as "2021" (maybe "July 2021") and the runtime as "132 minutes"
I did try changing in the Variables_xml the "$INFO[Container.ListItem.Duration,$LOCALIZE[2050]: ]" to "$INFO[Container.ListItem.Duration(mm),$LOCALIZE[2050]: ]" but to my sad surprise this resulted in presenting "12" rather than "132".
Any suggestions as to how to achieve that
What I want to do is change the way some of the information is presented - I am comfortable editing the relevant xmls. Specifically I want to change the way the Release Date of movies is presented and the way the runtime/duration of movies, tvshows is presented.
Let me give an example. For the movie "The Suicide Squad" (well worth the price of the cinema ticket) currently the Release Date is presented as "28/7/2021" in the widget info panel and the Runtime is "02:12:00". What I would like to do is have the Release Date be shown as "2021" (maybe "July 2021") and the runtime as "132 minutes"
I did try changing in the Variables_xml the "$INFO[Container.ListItem.Duration,$LOCALIZE[2050]: ]" to "$INFO[Container.ListItem.Duration(mm),$LOCALIZE[2050]: ]" but to my sad surprise this resulted in presenting "12" rather than "132".
Any suggestions as to how to achieve that