2016-12-27, 06:47
(2016-12-26, 01:33)BobCratchett Wrote:(2016-12-23, 21:10)braz Wrote: Hi Bob!
I've been testing out various library sections as widgets (selected in skinshortcuts dialog), and ran into an issue with recently added episodes. It appears that the widgettype for this one is tvshows, whereas I was expecting it to be episodes. Is this something that is set by skinshortcuts, and if so, can it be changed to episodes?
Thanks and happy holidays...
My time is limited at present, but a quick test produced a widgetType of 'Videos' for me, so it definitely does appear there's an issue with this node. My memory is - though I would actually need to follow the code through to be sure - that the content is generated from the detectPluginContent function - which takes a 'best guess' at what the content is for a returned set of items (not necessarily just plugins) based on the properties they have. I'll take a pass over the function to see if it can be improved but, as this function really does produce a best-guess, I can't guarantee it can return the correct value in all situations.
And here's hoping you had a very happy non-denomination winter festival celebration
Thanks Bob, I did attend a great non-denominational gathering this week.
Based on that function's code, I don't see why Recently Added Episodes wouldn't be classified as episodes. I would think those items would have season and episode numbers. I'll defer to your judgement, the only thing I could think was to compare the node title to $LOCALIZE[20387], no idea if that would work or just be a hack.
Thanks for checking!