![]() |
tv show next aired script - new features for skinners - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300) +---- Thread: tv show next aired script - new features for skinners (/showthread.php?tid=111986) |
tv show next aired script - new features for skinners - ronie - 2011-10-09 it's always been a nightmare for skinners to use the info provided by the script as it needs a giant amount of visible conditions to turn it into something useful. recently, 'Black came up with a suggestion to make life a lot easier for skinners. so, we got to work and added two new features to the script: 1) you can now run the script when entering the library. Code: MyVideoNav.xml: and the script will return the info for the selected listitem. (see included readme for details) 2) the script will provide a TV Guide window. there's no need to construct your own tv guide with hundreds of visible conditions anymore. you can simply use the one provided by the script and/or skin it to match the look and feel of your skin. ![]() for backwards compatibility, all the old infolabels (NextAired.%d.Foo) have been left intact, but i'd like to remove them in time. if there's any questions or if you think we've missed something, feel free... script.tv.show.next.aired v4.0.1 is now available in the pre-eden addon repo - Hitcher - 2011-10-09 Nice one guys. - Hitcher - 2011-10-09 Something's wrong with the first Thurs entry - it highlights Fri. - ronie - 2011-10-09 Hitcher Wrote:Something's wrong with the first Thurs entry - it highlights Fri. hmmm...can't reproduce. screenshot maybe? - Sharpe - 2011-10-09 Oh my - all that re-work to do. Still it makes sense to simplify it - good work guys. 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> - BigNoid - 2011-10-09 Nice work! I see one error in the log show up: Code: 19:02:21 T:5720 ERROR: Traceback (most recent call last): Do you need a full log for this? Also the TodayTotal returns 0 while in the next aired window I have several shows airing on sunday. - Hitcher - 2011-10-09 ronie Wrote:hmmm...can't reproduce. ![]() ![]() ![]() ![]() ![]() - Jezz_X - 2011-10-09 Well I just get nothing ![]() ![]() Quote:04:38:01 T:3816 NOTICE: -->Python Interpreter Initialized<-- - humferier - 2011-10-09 2 bugs : - 2 shows have the correct date but displayed on wrong day (red ellipse) - 3 shows airing today, none at total (green ellipse) ![]() - `Black - 2011-10-09 @Hitcher I'll fix that, never tested with mouse. ![]() @Jezz_X Do you have any tv shows? If so, try to remove the canceled.db & next_aired.db from userdata/addon_data/script.tv.show.next.aired - eddiem - 2011-10-09 humferier Wrote:2 bugs : These days and dates come from TVRage. New Girl: normal air day is Tuesday. http://www.tvrage.com/The_New_Girl - Tobby - 2011-10-09 Is there a way to try it even though I no nothing about code? - ronie - 2011-10-09 Sharpe Wrote:Do you know if these kind of visibilities will still work for airing today style widgets? i'd like to remove all NextAired.%d.Today labels, unless are still needed for some reason of course. i have no clue in what ways skins are currently using the info provided by next aired, so if the new labels aren't sufficient, let me know. you can now do Code: <visible>substring(Window(Home).Property(NextAired.Today),true)</visible> ![]() - ronie - 2011-10-09 Big_Noid Wrote:Nice work! I see one error in the log show up: yes please. Big_Noid Wrote:Also the TodayTotal returns 0 while in the next aired window I have several shows airing on sunday. the readme might not be entirely clear on this i guess, but for totals use: Window(Home).Property(NextAired.TodayTotal) in case you're already using that, let me know and i'll have a closer look. - ronie - 2011-10-09 Hitcher Wrote: you've got some pretty weird results ![]() what skin are you running this on? mind posting your nextaired db so i can try to reproduce? (..\userdata\addon_data\script.tv.show.next.aired\next_aired.db) |