2011-10-25, 13:01
`Black Wrote:Use !IsEmpty(Window(Home).Property(NextAired.NextDate)) now as info is available for canceled shows as well.
Cheers mate.
`Black Wrote:Use !IsEmpty(Window(Home).Property(NextAired.NextDate)) now as info is available for canceled shows as well.
Sharpe Wrote:Do you know if these kind of visibilities will still work for airing today style widgets?
Code:<visible>substring(Window(Home).Property(NextAired.1.Today),true)</visible>
I used various visibility conditions to make sure the correct items were visible even if the scripts first few items were for previous days (ie if the script hadn't been run for a while).
ronie Wrote:...if anyone who is using the script for a home screen widget could test this:
http://ronie.googlecode.com/files/script....1.2v3.zip...
Sharpe Wrote:Nice - that's reduced over 1500 lines of code from my xml. Seems to work spot on. Also noticed that NextAired.1.Showpath has changed to NextAired.1.Path - once I spotted that everything was ok to get logos working again.
I just wish it didn't take so long to scan everything in when it updates. Still I don't think anything can be done about that.
Thanks for the updates ronie.
Hitcher Wrote:I hate to ask seeing how much you've been working on this but would it be possible to have separate season and episode number please?
ie NextSeasonNumber and NextEpisodeNumber
Purely because I prefer to use S01E01 as opposed to 01x01.
Thanks.
Sharpe Wrote:Nice - that's reduced over 1500 lines of code from my xml. Seems to work spot on.great, exactly the reason we're making these changes to the script.
Sharpe Wrote:Also noticed that NextAired.1.Showpath has changed to NextAired.1.Path - once I spotted that everything was ok to get logos working again.cheers, updated my previous post accordingly.
Sharpe Wrote:I just wish it didn't take so long to scan everything in when it updates. Still I don't think anything can be done about that.
cruzannavy Wrote:Hmmm, Im gonna take a look at Sharps skin, but this version completely broke all my skins pages that utilized tv show next aired, my home page semi broke, my tv guide for the week ( like the one built-in now) broke, and my daily guide broke... im sure i just have to go mod each day and week and home xml, but that does mean i have to edit all 9 xml files? really.. no big deal, once i have teh ime , im sure it reduces code ? im sure i can use some form of replace all to an extent, but is there a shortcut guide as to what changed to what ? im sure the change log is prob my best bet?
ronie Wrote:heh, speak up now or forever hold your peace...
will add those, np :-)
Big_Noid Wrote:I'm a bit confused as to where the solution for this must come:
- next aired script?
- youtube/vimeo add-on?
<visible>StringCompare(Window(Home).Property(NextAired.1.airday),Monday)</visible>
!IsEmpty(Window(Home).Property(TVGuide.MondayList))