jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2012-03-18 23:51
Post: #31
I expect ListItem.DateAdded will become available soon which would do what you want there. I have no problem with XBMC giving you a property for determining whether something is recently added though (eg if we allow how recently added to be defined by the user).
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not 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 |
Big_Noid
Skilled Skinner Joined: Jul 2010 Reputation: 68 Location: Below sea level |
2012-03-18 23:59
Post: #32
Unless I can do a calculation based on systemdate i don't see how I can do that with dateadded?
I was thinking the property will be set to true when the database path of the item is in videodb://4/ , videodb://5/ or videodb://6/. Only tricky part indeed is the advancedsetting that can be set to whatever by the users. |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2012-03-19 00:01
Post: #33
Ah, sorry, I misunderstood. You're only wanting to know if you're in a recently added node? That would be a container.content thing.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not 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 |
Big_Noid
Skilled Skinner Joined: Jul 2010 Reputation: 68 Location: Below sea level |
2012-03-19 00:06
Post: #34
For example I want to show in the normal movie view if an item is also in videodb://4/. That can't be done with container.content right as it applies to the whole container?
EDIT: This is what I do now to do show what I want, with only one drawback and that is if an episode is watched and in the recent added home properties the marker still shows for seasons and tv shows. http://pastebin.com/0FNJM6wP
(This post was last modified: 2012-03-19 00:18 by Big_Noid.)
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2012-03-19 00:29
Post: #35
Are you wanting to show a "NEW!" image or some such? If so, using dateadded compared with the current date will do the trick.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not 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 |
Big_Noid
Skilled Skinner Joined: Jul 2010 Reputation: 68 Location: Below sea level |
2012-03-19 00:38
Post: #36
exactly, but the dateadded compared to current date will of course only be valid for that particular day that is was added. In the current situation it shows the flag if it's in the recently added list which is nicer I think. It works pretty well how I do it now, I'm just looking for a way to get rid of the ridiculous amount of stringcompares.
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2012-03-19 00:46
Post: #37
Nah, we'll add neat things to allow date in the last foo compares, date subtraction etc.
The problem is that the recently added list could be dynamic - i.e. in the future it's "just" another smart playlist, so could be up to the user to specify what it is (or it may not exist on the users system or whatever). Thus, we won't be able to compare to it necessarily. Ofcourse, there's arguments to be had that XBMC should allow any such "new" flags to be configurable external to the skin - if so, I'd be fine with that in general (i.e. XBMC would offer it in the same way as watched status etc. internally which the skin could then use). Always read the XBMC online-manual, FAQ and search the forum before posting. Do not 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-03-30 13:15
Post: #38
(2012-01-21 16:15)pecinko Wrote: Banners and Posters for TV Shows: Any future news on this. Hitcher's 3 years old ticket is still Future / Pending. Cheers Nessus |
| find quote |
krish_2k4
Fan Posts: 578 Joined: Aug 2010 Reputation: 9 |
2012-03-30 13:41
Post: #39
Date - add "st", "nd", "rd", "th" at the end of the numbers (Ordinal Numbers)
So far I have the date as "Friday 30 March" ![]() I would like it so it adds "th" to the number so it would be "Friday 30th March" and for example..."1st March", "2nd March", "3rd March" an so forth. Format could be "dn (day of month 1st-31st), ddn (day of month 01st-31st)" n = The ordinal number
(This post was last modified: 2012-03-30 13:55 by krish_2k4.)
|
| find quote |
pecinko
Donor Joined: Dec 2008 Reputation: 27 Location: Prague / Belgrade |
2012-03-30 14:02
Post: #40
(2012-03-30 13:15)nessus Wrote:(2012-01-21 16:15)pecinko Wrote: Banners and Posters for TV Shows: It is planned but JM did not give any ETA. Personally I would like it rather sooner than later if possible and implemented in such a way that you would switch between posters and banners by switching views rather than making a XBMC toggle option. For this to work we would need something like ListItem.Banner or ListItem.WideIcon |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
![[Image: kymZ.png]](http://i.imm.io/kymZ.png)
Search
Help