Kodi Community Forum
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) (/showthread.php?tid=282157)



RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-12

(2016-12-12, 20:25)gillmacca Wrote: I could handle just a couple of days listings, but my dad wants on his box (once I set it up) a full weeks listings.
Might need to sit down with him and explain the downside of this

Absolutely loving the new search function (takes a while, but there is a lot of data to go through).
I'm a big Beatles fan, and now I'm able to find any programme about them

When a new xmltv file is loaded, the database engine (sqlite3) makes an index of the programs to speed up searching.
It does this in the background and takes a while to complete.
The search might not be very quick until it has finished.

How long does it take to search with all the program data your dad likes?


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-12

(2016-12-12, 20:40)FXB78 Wrote: You can't change the EPG grid from within the xml files, what you'll have to do is either, as primaeval says, adjust it in the Skin GUI or alternatively go into your Kodi skins 720p/1080i folder & change the value of font13 in the Font.xml file. Increase the size of this and it will increase the EPG data font size.

For example change the size value, so instead of 30 you might choose 48 or something:

Code:
<font>
    <name>font13</name>
    <filename>weblysleekuil.ttf</filename>
    <size>30</size>
</font>

Actually the EPG program grid is the one thing that is created programmatically.
I could make a font size option for that if you like.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - gillmacca - 2016-12-12

(2016-12-12, 21:01)primaeval Wrote:
(2016-12-12, 20:25)gillmacca Wrote: I could handle just a couple of days listings, but my dad wants on his box (once I set it up) a full weeks listings.
Might need to sit down with him and explain the downside of this

Absolutely loving the new search function (takes a while, but there is a lot of data to go through).
I'm a big Beatles fan, and now I'm able to find any programme about them

When a new xmltv file is loaded, the database engine (sqlite3) makes an index of the programs to speed up searching.
It does this in the background and takes a while to complete.
The search might not be very quick until it has finished.

How long does it take to search with all the program data your dad likes?

Only about 15 seconds, but I know what he's like. He will want it as close to his current tv set top box as possible, so he will want it almost instant.
Can't please some people....save him over £1000 a year with a pretty reliable system, or keep paying over £1000 for something guaranteed to work


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - gillmacca - 2016-12-12

I notice in one of your screen shots you have series and episode number after the show name.
How did you do it? Is it built in, or something I have to do with my xml file


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-12

(2016-12-12, 21:16)gillmacca Wrote: I notice in one of your screen shots you have series and episode number after the show name.
How did you do it? Is it built in, or something I have to do with my xml file

You need to have Meta installed and the episode-num tag needs to be in the xmltv file.
plugin.video.meta

eg
Code:
<episode-num system="xmltv_ns">4.4/7.</episode-num>

It depends which scraper was used to generate the xmltv file whether episode-num is actually in the data source.

You'll have to dig around in the Webgrab+Plus ini files to see how the scrapers work if you are making the xmltv file yourself.

The bit of code that does the decoding is in source.py. This is a bit of code from midraal.
https://github.com/primaeval/script.tvguide.fullscreen/blob/930c37f51cb0cb3fbffffb0d37e2caff0fec7006/source.py#L1785


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-12

version 0.0.233
- Settings \ Lab1 \ EPG Font (look in your Kodi Skin's Font.xml file for alternatives)
- Program Search now searches from 6 hours ago to Settings \ Appearance \ Listing View Days

@gillmacca I've limited the Program Search range to be the same as the other Listings Views.
It should be a lot quicker unless your dad insists on searching the full 7 days.

@Drt1989 Here is a Setting to change the EPG Font size.
Like @FXB78 says you can find the font names in your current Kodi skin's Font.xml file.

If you want a custom one for this addon it's probably better to add a new one than modify the ones in there already, unless you want to change everything in Kodi.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - gillmacca - 2016-12-12

I have installed meta
my xmltv file has this line:
<episode-num system="onscreen">S2E11</episode-num>

Not seeing anything in the guide though


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-12

(2016-12-12, 22:02)gillmacca Wrote: I have installed meta
my xmltv file has this line:
<episode-num system="onscreen">S2E11</episode-num>

Not seeing anything in the guide though

version 0.0.234
- S1E1 episode-num match

Strangely there wasn't a search for that format even though it is pretty common.
Maybe it wasn't in the xmltv spec or a Webgrab+Plus option when the code was written.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - GriffeyJuni0r - 2016-12-13

I've been using the Category feature a bunch lately, and have a few more suggestions:

- I'd like to see an indicator somewhere (maybe in the skin) of what Category you are currently in. I've had a few people think that channels were missing, but they had simply changed categories.
- In the 'Add Channels' for a Category, I'd like to hide any channel that is currently hidden in the All Channels section. It won't show up in the Category anyways if it's hidden in All Channels.
- Also in the Add Channels for a Category, I'd like to highlight the Channels that are currently in the Category. Right now you can't see what channels are already in the category when trying to add more.

Feature Request for somewhere down the line:
Smart Categories
For instance, the 'Sports' Smart Category would find any live sports program if your XML has a category field (I think most have this info):
<category lang="en">Sports</category>

Thanks again!


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - gillmacca - 2016-12-13

(2016-12-13, 01:28)GriffeyJuni0r Wrote: I've been using the Category feature a bunch lately, and have a few more suggestions:

- I'd like to see an indicator somewhere (maybe in the skin) of what Category you are currently in. I've had a few people think that channels were missing, but they had simply changed categories.
- In the 'Add Channels' for a Category, I'd like to hide any channel that is currently hidden in the All Channels section. It won't show up in the Category anyways if it's hidden in All Channels.
- Also in the Add Channels for a Category, I'd like to highlight the Channels that are currently in the Category. Right now you can't see what channels are already in the category when trying to add more.

Feature Request for somewhere down the line:
Smart Categories
For instance, the 'Sports' Smart Category would find any live sports program if your XML has a category field (I think most have this info):
<category lang="en">Sports</category>

Thanks again!

Love the idea of smart categories, if it gets added. Downside, I could see my categories easily spiralling out of control...lol


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-13

version 0.0.237
- Category over Program From-To
- filter Add Channels to Category if already in category or invisible
- removed pip skin - use Settings \ Appearance \ Small EPG Video Preview Window and Default skin

@GriffeyJuni0r I think this covers most of it.

If you can find a better place to put the Category let me know.

Add Channels should ignore channels that are already in the category and invisible channels.
There was a bug that must have been in all the TV Guides for years in there.

No more pip skin. Use "Small EPG Video Preview Window" and Default skin instead.
Saves me having to change two skins every time and a bit of bandwidth.

I'll have a look at the Smart Categories idea but I've got the feeling it could be a can of worms.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - ködi-zömbie - 2016-12-13

Sometimes my saved streams are starting for a second and closing. I need to push them few times. Zattoo streams open well but streams from kodilivetv.eu crashing a lot. Sometimes they crash so I only see a black screen and cant go back to TV Guide. Sometimes I get "Stream failed" and can try to reopen them


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-13

(2016-12-13, 13:22)ködi-zömbie Wrote: Sometimes my saved streams are starting for a second and closing. I need to push them few times. Zattoo streams open well but streams from kodilivetv.eu crashing a lot. Sometimes they crash so I only see a black screen and cant go back to TV Guide. Sometimes I get "Stream failed" and can try to reopen them

Experiment with Settings \ Appearance \ Playback Timeout.
It depends on the addon and your hardware.
On a version 1 rpi I had to set it to 30 seconds for some addons but most of my other devices only need a few seconds.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-13

version 0.0.238
- Program Category Search in Program Search (4 or Menu \ Lists \ Program Search)
- sub-title in main Program Title in EPG

@GriffeyJuni0r Not quite a full Smart Categories filter but close.
You can now search by Category.
It needs some tweaking as it does a LIKE search in the comma separated list of program categories.
Small words might match unrelated categories.
But it's a start.

BEWARE: the extra fields in the Programs table in the database have caused a huge amount of code changes.
It might break something!
I can't find any problems but I haven't tested everything.
Some of the Scheduled tasks or Settings actions might not work.
Let me know if you find anything.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - gillmacca - 2016-12-13

Anyone having issues updating to 0.0.237?
Keeps failing. Logs mentions code 404