Recently Added infolabels now available in xbmc - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Skin Development (/forumdisplay.php?fid=12)
+--- Thread: Recently Added infolabels now available in xbmc (/showthread.php?tid=99502)
Recently Added infolabels now available in xbmc - ronie - 2011-04-17 14:49
if your skin is eden-pre / nightly build compatible, please note:
as of today the recentlyadded script is not needed anymore.
the functionality has been moved to xbmc itself (thanx firnsy & amet)!
there hardly shouldn't be any need to update your skins for this change
as all infolabels stay the same.
the only thing that needs to be done is to remove the code you use to launch the script
and remove the dependency from your addon.xml!
Albums (these are new!)
as you can see Songs and Albums have been separated and this is the only change compared to the recently added script.
you can use the Latest*.[1-5].Path to play Movies, Episodes and Songs this way:
for albums, use this code:
- ppic - 2011-04-17 15:42
good to know !
- Big_Noid - 2011-04-17 16:07
So it's limited to 5 items?
EDIT: after looking in the code I see it's indeed limited to five items. Is there a specific reason for this? I use 8 items in my skin. Also I see there's no option for hiding the unwatched items for showing up in the list, but I guess this can be added with visibility conditions.
Anyway it's great to see native support for this. Now I can finally get rid of the script running everytime the home window is loaded, thx.
- Hitcher - 2011-04-17 16:35
This is certainly excellent news I to am curious about the limit to 5 items.
While Alaska Revisited uses 10 items (dropping to 5 items wont affect the look of the skin in any way because of the way they're shown one at a time) this will screw up my next skin because it's been designed to display a row of 6 items for Movies, Episodes and Albums.
Perhaps an advanced settings option similar to the current recently added limit?
- mcborzu - 2011-04-17 17:03
I'd vote for 10 being available
- `Black - 2011-04-17 18:00
There should be an option to specify the number of items available in the addon.xml, so every skin could have it's own setting.
- Hitcher - 2011-04-17 18:18
`Black Wrote:There should be an option to specify the number of items available in the addon.xml, so every skin could have it's own setting.
This sounds like the best option to me.
- Sharpe - 2011-04-17 19:25
+1 For that idea. 10 is a decent number I think.
Nice to see it integrated though!
- amet - 2011-04-18 10:33
it is now 10 items, https://github.com/xbmc/xbmc/commit/ac7f69f6f031c17a1dc4c4a8e068062c18d90e94
any issues let me know please
- pecinko - 2011-04-18 10:49
amet Wrote:it is now 10 items, https://github.com/xbmc/xbmc/commit/ac7f69f6f031c17a1dc4c4a8e068062c18d90e94
Guys, thanks for implementing this natively. Still waiting for nighty build to test this, will post findings.
A suggestion - make this universal fetcher with configurable parameter for choosing between
- recently added
- most played albums
We could expose those in skin settings, and user could choose what suits him best. We could the pass this using Skin.String(foo) to get: