Ideally and in my opinion would be the Next.Date infolabel to give the same result as the System.Date without the Date in front since the script has a separate infolabel (AirDay) for the day of the week only.
@ronie the code that you give me (<visible>SringCompare(Window(Home).Property(NextAi red.Status),foo)</visible>) is not working the way i want except if i am doing something wrong. I want to separate only the "Cancelled/Ended" shows from the "Returning Series", "Final Season" etc. Is that possible ?.
tv show next aired script - new features for skinners
nessus
Skilled Skinner Joined: Apr 2009 Reputation: 12 Location: Rodos, Greece |
2012-01-04 10:06
Post: #171
(This post was last modified: 2012-01-04 10:35 by nessus.)
|
| find quote |
ronie
Team-XBMC Member Joined: Jan 2009 Reputation: 111 |
2012-01-04 15:14
Post: #172
`Black Wrote:Hm what's the error there? Wrong format? yeah, dateshort and datelong should have the same day, month, year order. imo, it should be changed to: <dateshort>DD-MM-YYYY</dateshort> unless i'm missing something... Always read the XBMC online-manual, FAQ and search the forum before posting. Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
ronie
Team-XBMC Member Joined: Jan 2009 Reputation: 111 |
2012-01-04 15:16
Post: #173
nessus Wrote:@ronie the code that you give me (<visible>SringCompare(Window(Home).Property(NextAi red.Status),foo)</visible>) is not working the way i want except if i am doing something wrong. I want to separate only the "Cancelled/Ended" shows from the "Returning Series", "Final Season" etc. Is that possible ?.this should be all you need then: Code: <visible>!IsEmpty(Window(Home).Property(NextAired.NextDate))</visible>Cancelled/Ended shows won't have a 'NextDate' so it's easiest just to check for that. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
nessus
Skilled Skinner Joined: Apr 2009 Reputation: 12 Location: Rodos, Greece |
2012-01-04 17:02
Post: #174
ronie Wrote:this should be all you need then: Nope. This gives "Cancelled/Ended" shows but also "Returning Series" shows with NO next airing date. For example.. "Burn Notice" right now is reported as "Returning Series" even there isn't any info about in NextDate. So... is not possible to separate ONLY the "Cancelled/Ended" shows ? |
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2012-01-04 17:07
Post: #175
PHP Code: SubString(Window(Home).Property(NextAired.%d.Status),Canceled) ![]() |
| find quote |
`Black
Skilled Skinner Joined: Apr 2009 Reputation: 51 Location: Germany |
2012-01-04 17:48
Post: #176
ronie Wrote:yeah, dateshort and datelong should have the same day, month, year order. No that's correct, YYYY-MM-DD is the international standard date notation. If you look at the US format, it's MM/DD/YYYY for dateshort and DDDD, MMMM D, YYYY for datelong. My guess it's the same for every setting, dateshort is fully localized. @nessus Hitchers suggestion should work. |
| find quote |
nessus
Skilled Skinner Joined: Apr 2009 Reputation: 12 Location: Rodos, Greece |
2012-01-04 18:16
Post: #177
No. Hitchers code is not working too. Actually i have not any results at all.
Any other ideas guys ? Edit: Sorry if this is stupid question bu to clarify this, the %d stand as it is or do i have to change it with some numbers ?
(This post was last modified: 2012-01-04 18:22 by nessus.)
|
| find quote |
`Black
Skilled Skinner Joined: Apr 2009 Reputation: 51 Location: Germany |
2012-01-04 18:22
Post: #178
Code: <control type="group">This definitely works, just tested it. |
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2012-01-04 19:26
Post: #179
nessus Wrote:No. Hitchers code is not working too. Actually i have not any results at all. %d needs to be changed to a number for each item. ![]() |
| find quote |
`Black
Skilled Skinner Joined: Apr 2009 Reputation: 51 Location: Germany |
2012-01-04 20:57
Post: #180
%d is obsolete, it's just NextAired.NextDate, NextAired.Status etc.
|
| find quote |

![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)
![[Image: xp1080-21.png]](http://www.planet-ira.de/wallpaper/xp1080-21.png)
Search
Help