Separate Icon and thumb in PVR
#1
I have a hard time understanding the logic behind having ListItem.Icon and ListItem.Art(thumb) returning the same value in the PVR. I don't have a PVR setup but as I understand it not all (or none?) backends supply thumbnails. However thumbnails can be provided by add-ons like Skin Helper Service, which has a PVR scraper function.

Because ListItem.Icon and ListItem.Art(thumb) return the same value, I am unable to distinguish what is shown in what situation. So I cannot define x dimensions, y scaling and z position when there's a thumbnail available, but use a dimensions, b scaling and c position when a channel logo is showing.

So, to put it briefly, please consider changing this so that:

- ListItem.Icon: returns channel logo
- ListItem.Art(thumb): returns a thumbnail if available, returns empty when not available.

This way the channel logo can be used as a fallback for thumbnails using a different set of properties. I can't think of any situation where this would take away anything.

Thoughts?
Reply
#2
This Art don't working for PVR
Code:
ListItem.Art(thumb): returns a thumbnail if available, returns empty when not available.


Code:
ListItem.Icon: returns channel logo
This is true, in windows for PVR return always Channel logo...but for dialog showing thumb if available if pvr epg don't support thumb
this code will show channel logo.

That's what is it.It's ok by me and code for fallback I dont use.
All main art are from helper script....
With thumb in epg
Image
without thumb
Image
with SHS
Image
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
#3
(2017-09-24, 17:24)Angelinas Wrote: This Art don't working for PVR
Code:
ListItem.Art(thumb): returns a thumbnail if available, returns empty when not available.

Well, as you can see it's clearly returning something:
Image

Quote:
Code:
ListItem.Icon: returns channel logo
This is true, in windows for PVR return always Channel logo...but for dialog showing thumb if available if pvr epg don't support thumb
this code will show channel logo.
Which to me does not make any sense whatsoever.

Quote:That's what is it.It's ok by me and code for fallback I dont use.
All main art are from helper script....
I think you're missing my point. It's great you've got working what you want.

I simply want to apply different properties to channel logos than thumbnails. In the video library we can choose to show an icon or the thumbnail, why should the PVR be any different? And what would you lose by separating icons and thumbnails? Why even have both if they return the same?
Reply
#4
(2017-09-24, 18:09)Jeroen Wrote: Well, as you can see it's clearly returning something:
Yes , you have right...mine mistake (missing bracket)

(2017-09-24, 18:09)Jeroen Wrote: I simply want to apply different properties to channel logos than thumbnails. In the video library we can choose to show an icon or the thumbnail, why should the PVR be any different? And what would you loose by separating icons and thumbnails? Why even have both if they return the same?
You have right again...but why you write in skining part...this is for PVR thread.
I remember mine discussions with dushmaniac to include in PVR thumbnails,director,writer, episodenumber....
Good luck Smile
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
#5
Seemed skinning related to me. If the PVR forum is better suited can a mod please move this thread?
Reply
#6
@Jeroen 
Has something changed regarding this "issue" or do you found another way to check if a thumbnail is available?
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply

Logout Mark Read Team Forum Stats Members Help
Separate Icon and thumb in PVR0