kodi-pvr / pvr.iptvsimple

IPTV Simple client for Kodi PVR
GNU General Public License v2.0
782 stars 373 forks source link

EPG genre colours #364

Closed macamba closed 4 years ago

macamba commented 4 years ago

Hi all,

I checked the way the addon let set the colours in epg by category and it's good for the people have the same o similar categories like standard but for all the rest it doesn't make much sense.

Standard Genres Kodi -> https://pastebin.com/QCA0gpPz My provider List -> https://pastebin.com/WiH4MSdD

If I try to map my list repect the kodi one then I'll missing the exactly information of my provider, besides, it would be very tedious to try to adjust my list with kodi one.

So, it would be easier give the posibility to set the color in TvGuide.xml directly in tag with some reference color id list; List colors: 16 - Red 32 - Green 64 - ...

<category colorId="16">Cine / Acción</category>

Could be posible implement something like this in addon?

Regards

phunkyfish commented 4 years ago

I’m afraid not. The XMLTV has a DTD and we obey it and any inferred standards.

There is already a mechanism to configure the EPG colours in the addon.

macamba commented 4 years ago

It's a shame, because really help to users define their own list and colors, it'd do so much best the addon adding one way more to set it.

If I try to set by the current way I'll missing genres/subgenres descriptions and details likes these;

Series / Adventures and fantastic Short film Suspense Animation TV soaps animation Erotic Motorcycling Cycling Golf Hunting fishing Travels ....and a long etc

phunkyfish commented 4 years ago

what’s wrong with the feature in the addon right now? You can set a category and customise the text.

macamba commented 4 years ago

Oh yes? Well, I'm going to explain you what I'm doing

I created a genres.xml in ..\user\AppData\Roaming\Kodi\userdata\addon_data\pvr.iptvsimple like this;

<genres>
<name>My List</name>
<genre type="16" subtype="0">Deportes / Automovilismo</genre>
<genre type="32" subtype="0">Documentales / Ciencia y tecnología</genre>
</genres>

And I set the genres in my tvGuide.xml like this

<category lang="es">Deportes / Automovilismo</category> or <category lang="es">Documentales / Ciencia y tecnología</category>

But the result is that https://drive.google.com/open?id=1SQS8UR-n4jHiLOTCZOtG33MVTwIoT4Di

What am I doing wrong?

Thanks

phunkyfish commented 4 years ago

Which version of kodi are you using?

macamba commented 4 years ago

I'm testing in this version

Kodi (18.5 Git:20191116-37f51f6e63). Platform: Windows NT x86 64-bit Kodi compiled 2019-11-16 by MSVC 191627034 for Windows NT x86 64-bit version 10.0 (0x0A000006)

phunkyfish commented 4 years ago

I think custom colours will only work in Matrix.

macamba commented 4 years ago

I passed to Kodi matrix but the result is similar https://drive.google.com/open?id=1dihszXCbl5vP_VAyW1ZBXBZSIggpUJ5X I removed the tilde to recognize the second one and atribute lang

<category>Deportes / Automovilismo</category>
or
<category>Documentales / Ciencia y tecnologia</category>

Really what am I doing wrong? or are you sure that I can show my custom genre text?

Thanks

phunkyfish commented 4 years ago

If you send me an M3U (it doesn't need to play), genres.xml and an XMLTV that will be still valid on Monday I will take a look then and see if I can figure out what's wrong with it.

On Sat, 25 Apr 2020 at 11:17, macamba notifications@github.com wrote:

I passed to Kodi matrix but the result is similar https://drive.google.com/open?id=1dihszXCbl5vP_VAyW1ZBXBZSIggpUJ5X I removed the tilde to recognize the second one and atribute lang

Deportes / Automovilismo

or

Documentales / Ciencia y tecnologia

Really what am I doing wrong? or are you sure that I can show my custom genre text?

Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kodi-pvr/pvr.iptvsimple/issues/364#issuecomment-619356100, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDDKY5OKPKHWRW6RH5FBQTROK2DXANCNFSM4MQK7VOA .

macamba commented 4 years ago

Thanks for support, I'll do it

phunkyfish commented 4 years ago

Can you send this to me?

macamba commented 4 years ago

Hi phunkyfish,

Sorry I was going to send it to you later because I'm working anyway I've just updated and uploaded the files here; genres.xml ChannelDetails_Local.m3u EPGDetailsTvGuide_1_Local.xml

https://drive.google.com/drive/u/2/folders/13Eu9RSYnAvWqA9aWZ7fbn2j5oBxLsi87

Thanks

phunkyfish commented 4 years ago

Your files work perfectly for me on the estuary skin.

Screenshot 2020-04-27 at 14 34 47

phunkyfish commented 4 years ago

In Matrix you need to enable this in the addon settings

macamba commented 4 years ago

You're right, I have to active the flag to using mapping genres. Thanks so much phunkyfish for your help and patience :)

phunkyfish commented 4 years ago

No problem. You’re welcome.