Posts: 8,283
Joined: Jul 2014
(2015-09-29, 22:49)Angelinas Wrote: In your skin working...new script.......yeeeeeeeeees
Just to find how you enable pvr thumbs and where
If you have time wright here and in readme in git hub,just to everybody know
It already is in the readme:
You must set the following Skin Bool to true -->
SkinHelper.EnablePVRThumbs for the scraper to activate.
Posts: 8,283
Joined: Jul 2014
Posts: 8,283
Joined: Jul 2014
(2015-09-29, 16:42)Jayz2K Wrote: in the itemlayout / focusedlayout, only ListItem.EndTime is showing ? EDIT : Also ListItem.ChannelName returns empty. I can still use ListItem.Label but it then displays something else in case it's not PVR.
EDIT 2 : Ah, got it by looking at the PluginContent.py. Seems it needs to be ListItem.Property(StartTime) and ListItem.Property(ChannelName). Any reason it's not set as li.setInfo like others ? Moreover these properties return time as HH:MM: SS instead of HH:MM AM/PM or HH:MM in 24h format(not sure it's usefull to have the seconds showing).
Also I noticed that using ListItem.Icon returns your generated thumbs which is pretty nice But since I have most of them in cache, is there still needs to use the multiimage control to generate them or is it also generated in background for widget ?
You must use ListItem.Property(StartTime) etc. I tried to set the Infolabels but Kodi doesn't accept them, seems that those special PVR InfoLabels can't be set from python code. Also I'm figuring out the date format. It looks like the json call for the PVR returns the time from the guide which isn't adjusted to the time settings of the user...
Posts: 8,283
Joined: Jul 2014
Latest Git has the fix for the correct date notation in the widgets:
ListItem.Property(StartTime) -->start time time (in correct time format and gmt)
ListItem.Property(StartDate) -->start date (in correct date format)
ListItem.Property(EndTime) -->endtime time (in correct time format and gmt)
ListItem.Property(EndDate) -->enddate (in correct date format)
ListItem.Property(Date) --> startdate starttime-endtime
ListItem.Property(Channel) --> channel name
ListItem.Property(ChannelIcon) --> channel icon (if available)
ListItem.Property(Episodename) --> name of episode (if available)
ListItem.Art(fanart), poster, thumb --> artwork (if available)
Posts: 478
Joined: Sep 2015
Reputation:
17
1 major feature I wish all added info scripts do is download and store the info offline like pvr images go to recording folder or other location.
I live in the middle of Australia and don't have good net access.
Offline metadata is a great feature and more portable and I understand that not many will need thia feature but please consider it.
I understand it stores it in a cache and you could move it around.
P.S loving your script so far and will minimize addons. Thankz
Aussie, Aussie, Aussie, Oi, Oi, Oi
Don't forget the
Thank User button if i have helped!
|
V
Posts: 478
Joined: Sep 2015
Reputation:
17
Are you thinking of adding more Duration formats for make it easier to change the default hh:mm to like hhHmmM or hh Hour (or Hours past 2) and mm Minutes eg. 2 hours and 6 minutes.
I understand it might be more skin side to do this since you made it easy with different duration strings
Aussie, Aussie, Aussie, Oi, Oi, Oi
Don't forget the
Thank User button if i have helped!
|
V
Posts: 478
Joined: Sep 2015
Reputation:
17
I think the duration part is in the library monitor.
It is for movies and sets
Aussie, Aussie, Aussie, Oi, Oi, Oi
Don't forget the
Thank User button if i have helped!
|
V
Posts: 478
Joined: Sep 2015
Reputation:
17
Another issue I have spotted it looks like the pvr show posters and constantly getting downloaded. Or is it jist me I see in the thumbs folders the poster but still don't show straight away.
Aussie, Aussie, Aussie, Oi, Oi, Oi
Don't forget the
Thank User button if i have helped!
|
V