2015-08-29, 01:53
(2015-08-28, 20:35)marcelveldt Wrote:Nice !. This will save me about 200+ lines of codes although i have some issues with the infolabels ListItem properties.(2015-08-27, 15:44)nessus Wrote: 2. Is it possible to add a dynamic content for the NextAired episodes from the NextAired script so can we use it as a widget ?.
The nextaired entrypoint/widget has been added.
This was my item code in my old static content...
PHP Code:
<item id="1">
<onclick>ActivateWindow(Videos,$INFO[Window.Property(NextAired.1.Library)],return)</onclick>
<property name="Fanart">$INFO[Window.Property(NextAired.1.Art(fanart))]</property>
<thumb>$INFO[Window.Property(NextAired.1.Art(poster))]</thumb>
<label>$INFO[Window.Property(NextAired.1.Label)]</label>
<property name="NextAiredEpisode">$INFO[Window.Property(NextAired.1.NextNumber)]$INFO[Window.Property(NextAired.1.NextTitle),. ,]</property>
<property name="NextAiredDateTime">$INFO[Window.Property(NextAired.1.NextDay)]$INFO[Window.Property(NextAired.1.ShortTime), $LOCALIZE[31228] ]</property>
<visible>!IsEmpty(Window.Property(NextAired.1.Label))</visible>
</item>
<label> --> "The Last Ship"
<property name="NextAiredEpisode"> --> "2x12. Cry Havoc"
<property name="NextAiredDateTime"> --> "Mon, 31 Aug at 04:00"
Now, with your dynamic list (using these) the 'TVShowTitle' is empty and the AirTime it shows only the long day of the week (i don't mind if is short or long)
and the the time but not the date. IMHO a separate aired date(including the day of the week) and aired time would be more efficient so every skinner
can use them in any way they like.
Also the <onclick> action is dead but as you can see in my code above it takes you to the root of the show in the library which is more user friendly.
Thanks for implementing this.
Cheers
Nessus