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. ;) - Drt1989 - 2016-12-21

(2016-12-21, 15:28)Scott00007 Wrote: Hey....it's been more than 3 hours and there hasn't been an update....is everything okay primaeval lol.

A quick question....I don't really understand how the categories feature works. I am thinking that I can set up different categories (movies, sports, kids ect) and then choose which channels are visible when I navigate between categories....so I would have a bunch of sports channels turned on for the sports category and nothing else...then I would switch to the kids category and only the kids channels I turned on would be there.....I am guessing that is not how it works because no matter what I do I just get the same list of channels no matter what category I am in.....am I setting things up wrong or is what I am describing not how it is supposed to work.

Thanks as always!!!!

You are correct - you need to setup the categories and then add the channels in. This can be done from the context menu. I have mapped my categories to show when I press a certain button on my remote, then I can change them as I want. Works well.


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

(2016-12-21, 15:28)Scott00007 Wrote: Hey....it's been more than 3 hours and there hasn't been an update....is everything okay primaeval lol.

A quick question....I don't really understand how the categories feature works. I am thinking that I can set up different categories (movies, sports, kids ect) and then choose which channels are visible when I navigate between categories....so I would have a bunch of sports channels turned on for the sports category and nothing else...then I would switch to the kids category and only the kids channels I turned on would be there.....I am guessing that is not how it works because no matter what I do I just get the same list of channels no matter what category I am in.....am I setting things up wrong or is what I am describing not how it is supposed to work.

Thanks as always!!!!

Hi. I've been fixing the washing machine. It needed new carbon brushes but Siemens put a teeny weeny little back cover on it so I had to turn it upside down to get the motor out. I wonder how many washing machines have been thrown away when all they needed were new carbon brushes.

Anyway...

Yes. That is how categories should work.

You have to be a bit more careful when you set them up from the main EPG than from the Menu or you will lose the channels you just added.

You need to bring up the categories menu with the m key.

Then use the c key to bring up a menu to add categories and channels.

Add a Category first.

Then select it and press c again to Add Channels.

Then press on that category and you should end up with only the channels you just selected showing.

If you try to do more than one category at once I think it loses the previous one.

I did a change the other day to reset your current category to All Channels if you restart the guide with a category that isn't in the list you just made.


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

@primaeval - I think I've spotted a bit of an unusual issue with AutoPlayWiths/always. In the main this works however today I have chosen "World Championship of Darts" on SS3 and it kicks me out of the guide & gives an error in the log. It also screwed by db up which I managed to fix. I think the issue is either because the programme is heavily repeated or the fact it's on both SS3 & SS1 at the same time, not sure. Anyway, this is the message it gives:

Code:
18:14:09.674 T:10224   ERROR: Database.eventLoop() >>>>>>>>>> exception! __init__() takes at most 8 arguments (9 given) = _getFullAutoplaywiths

In the meantime I just chose AutoPlayWiths/once & this seems ok, so no great problem but thought it worth mentioning.

Thanks.


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

I have an idea but I do not know what the impact of the guide's performance would be. But come on, in epg now, instead of presenting the long list of channels maybe you could only submit the Links of the categories, then you click on the desired category to see the content and so on, opens up only what you want at that moment without needing Scroll through the entire list. As I said above is just an idea. Thank you and Merry Christmas.


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

(2016-12-21, 20:30)Hinkel Wrote: I have an idea but I do not know what the impact of the guide's performance would be. But come on, in epg now, instead of presenting the long list of channels maybe you could only submit the Links of the categories, then you click on the desired category to see the content and so on, opens up only what you want at that moment without needing Scroll through the entire list. As I said above is just an idea. Thank you and Merry Christmas.
Have you got Categories set up, that sounds exactly like they already work.


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

(2016-12-21, 20:20)FXB78 Wrote: @primaeval - I think I've spotted a bit of an unusual issue with AutoPlayWiths/always. In the main this works however today I have chosen "World Championship of Darts" on SS3 and it kicks me out of the guide & gives an error in the log. It also screwed by db up which I managed to fix. I think the issue is either because the programme is heavily repeated or the fact it's on both SS3 & SS1 at the same time, not sure. Anyway, this is the message it gives:

Code:
18:14:09.674 T:10224   ERROR: Database.eventLoop() >>>>>>>>>> exception! __init__() takes at most 8 arguments (9 given) = _getFullAutoplaywiths

In the meantime I just chose AutoPlayWiths/once & this seems ok, so no great problem but thought it worth mentioning.

Thanks.

Thanks. I haven't used AutoPlayWiths for a long time. It might well be broken as there was a huge change to the programs table in the database recently. If you can find out exactly what is missing please let me know.


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

(2016-12-21, 20:33)FXB78 Wrote:
(2016-12-21, 20:30)Hinkel Wrote: I have an idea but I do not know what the impact of the guide's performance would be. But come on, in epg now, instead of presenting the long list of channels maybe you could only submit the Links of the categories, then you click on the desired category to see the content and so on, opens up only what you want at that moment without needing Scroll through the entire list. As I said above is just an idea. Thank you and Merry Christmas.
Have you got Categories set up, that sounds exactly like they already work.

I must be missing something too.

You can get to Categories by pressing m in Windows,
or CATEGORIES in the touch screen controls,
or c for the context menu and turn left.


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

(2016-12-21, 20:41)primaeval Wrote:
(2016-12-21, 20:20)FXB78 Wrote: @primaeval - I think I've spotted a bit of an unusual issue with AutoPlayWiths/always. In the main this works however today I have chosen "World Championship of Darts" on SS3 and it kicks me out of the guide & gives an error in the log. It also screwed by db up which I managed to fix. I think the issue is either because the programme is heavily repeated or the fact it's on both SS3 & SS1 at the same time, not sure. Anyway, this is the message it gives:

Code:
18:14:09.674 T:10224   ERROR: Database.eventLoop() >>>>>>>>>> exception! __init__() takes at most 8 arguments (9 given) = _getFullAutoplaywiths

In the meantime I just chose AutoPlayWiths/once & this seems ok, so no great problem but thought it worth mentioning.

Thanks.

Thanks. I haven't used AutoPlayWiths for a long time. It might well be broken as there was a huge change to the programs table in the database recently. If you can find out exactly what is missing please let me know.
I think I've figured it out, it seems it was the programs table which was screwed up. I made changes to source.py and it now seems to be all working. You might want to have a quick look over what I did but essentially c.lineup was duplicated in 'always' and missing from 'once'. I also added in "if not c: return" although I don't know for sure if this is needed.

This is the code from 1407 - 1427:

Code:
if not c:
            return
        #once
        c.execute("SELECT DISTINCT c.id, c.title as channel_title,c.lineup,c.logo,c.stream_url,c.visible,c.weight, p.* FROM programs p, channels c, autoplaywiths a WHERE c.id = p.channel AND a.type = 0 AND p.title = a.program_title AND a.start_date = p.start_date")
        for row in c:
            channel = Channel(row["id"], row["channel_title"], row["lineup"], row["logo"], row["stream_url"], row["visible"], row["weight"])
            program = Program(channel, title=row['title'], sub_title=row['sub_title'], startDate=row['start_date'], endDate=row['end_date'],
                            description=row['description'], categories=row['categories'],
                            imageLarge=row["image_large"],imageSmall=row["image_small"],
                            season=row["season"],episode=row["episode"],is_movie=row["is_movie"],language=row["language"],autoplaywithScheduled=True)
            programList.append(program)
        #always
        c.execute("SELECT DISTINCT c.id, c.title as channel_title,c.lineup,c.logo,c.stream_url,c.visible,c.weight, p.* FROM programs p, channels c, autoplaywiths a WHERE c.id = p.channel AND a.type = 1 AND p.title = a.program_title AND p.start_date >= ? AND p.end_date <= ?", [start,end])
        for row in c:
            channel = Channel(row["id"], row["channel_title"], row['lineup'], row["logo"], row["stream_url"], row["visible"], row["weight"])
            program = Program(channel, title=row['title'], sub_title=row['sub_title'], startDate=row['start_date'], endDate=row['end_date'],
                            description=row['description'], categories=row['categories'],
                            imageLarge=row["image_large"],imageSmall=row["image_small"],
                            season=row["season"],episode=row["episode"],is_movie=row["is_movie"],language=row["language"],autoplaywithScheduled=True)
            programList.append(program)
        c.close()



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

@FXB78, @primaeval, thank you. Yes I have categories configured and I know they work that way too, but I had thought of changing categories directly in the Epg panel Now, without having to go back to the main screen.


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

(2016-12-21, 22:03)Hinkel Wrote: @FXB78, @primaeval, thank you. Yes I have categories configured and I know they work that way too, but I had thought of changing categories directly in the Epg panel Now, without having to go back to the main screen.

Do you mean like this?

Image


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

(2016-12-21, 21:57)FXB78 Wrote: ^^^

Thanks. I've added that change to 0.0.262.
That was one cut and paste too many. Wink I'm surprised there weren't more bugs from that session.


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

@primaeval, No. I'll try to explain it better. In TV mode, with the Epg Now panel activated, instead of showing the channel list show only the categories, then you click on a certain category to see the content categories, ie the list of channels in this category, without having to return to the Main guide and also do not have to scroll through the list of all channels. Sorry if I can not express what I'm thinking.


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

(2016-12-21, 22:53)Hinkel Wrote: @primaeval, No. I'll try to explain it better. In TV mode, with the Epg Now panel activated, instead of showing the channel list show only the categories, then you click on a certain category to see the content categories, ie the list of channels in this category, without having to return to the Main guide and also do not have to scroll through the list of all channels. Sorry if I can not express what I'm thinking.

I see what you mean now. You did say it correctly the first time.

I'll see if I can make the Categories list at the top pop up if you press m in the Now and Next views.

Did you mean Channel Categories or Program Categories?

You can get to Program Categories by pressing 4 then selecting Category,
or Menu \ Lists \ Program Search \ Category.


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

I was thinking about Channel Category. If you implement this obviously as optional for those who prefer it. I think it can be useful for those with a lot of channels, not having to scroll through the list or return to the guide to change the category. Thank you for your attention, but if this will impact the guide's performance, please forget.


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

Thanks for the info on categories...I think I understand what I was doing wrong.

And thanks for the unexpected washing machine info.....you learn something new every day!!