Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 56
  • 57
  • 58(current)
  • 59
  • 60
  • 201
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;)
(2016-12-14, 23:55)primaeval Wrote:
(2016-12-14, 23:46)gillmacca Wrote: Another option (not keen on, but if it works), is add the reminder option to the search box that comes up (so you have, Title, Synopsis, Categories & Reminder) and it will add the reminder because the show is already selected

- Choice.

I see where you're coming from but if we're going for a multi-function action then the main context menu already is that.

I'll try and find a spare ACTION_ for the Reminders tomorrow as it seems like it would be useful to have a quick shortcut.
Should it be the Once/Always choice or just the Once?

I tried and failed (wasn't 100% sure what I was doing)

What I tried was this:

In Gui.py added this line - ACTION_TELETEXT_BLUE = 30301 (where 30301 is REMIND_PROGRAM in strings.py) - In my head trying this seemed logical to a point. Although I do think I am wrong here. I chose the above action because it was free..... and my thinking was if it's free I can make it do what I want (real big knowledge gaps here)

I then made a keymaps.xml and put: <keymap>
<global>
<keyboard>
<r>blue</r>
</keyboard>
</global>
</keymap>

However it failed....... as it most likely is not correct at all.
Reply
(2016-12-15, 00:10)Drt1989 Wrote:
(2016-12-14, 23:55)primaeval Wrote:
(2016-12-14, 23:46)gillmacca Wrote: Another option (not keen on, but if it works), is add the reminder option to the search box that comes up (so you have, Title, Synopsis, Categories & Reminder) and it will add the reminder because the show is already selected

- Choice.

I see where you're coming from but if we're going for a multi-function action then the main context menu already is that.

I'll try and find a spare ACTION_ for the Reminders tomorrow as it seems like it would be useful to have a quick shortcut.
Should it be the Once/Always choice or just the Once?

I tried and failed (wasn't 100% sure what I was doing)

What I tried was this:

In Gui.py added this line - ACTION_TELETEXT_BLUE = 30301 (where 30301 is REMIND_PROGRAM in strings.py) - In my head trying this seemed logical to a point. Although I do think I am wrong here. I chose the above action because it was free..... and my thinking was if it's free I can make it do what I want (real big knowledge gaps here)

I then made a keymaps.xml and put: <keymap>
<global>
<keyboard>
<r>blue</r>
</keyboard>
</global>
</keymap>

However it failed....... as it most likely is not correct at all.

You're on the right track but it might need to be a remote key rather than keyboard.

I've found ACTION_CREATE_BOOKMARK which you can map up to R or anything else in Keymap Editor.

I'm just writing the code to trigger the Reminder code. Maybe tomorrow if I start yawning too much.
Reply
(2016-12-15, 00:18)primaeval Wrote:
(2016-12-15, 00:10)Drt1989 Wrote:
(2016-12-14, 23:55)primaeval Wrote: - Choice.

I see where you're coming from but if we're going for a multi-function action then the main context menu already is that.

I'll try and find a spare ACTION_ for the Reminders tomorrow as it seems like it would be useful to have a quick shortcut.
Should it be the Once/Always choice or just the Once?

I tried and failed (wasn't 100% sure what I was doing)

What I tried was this:

In Gui.py added this line - ACTION_TELETEXT_BLUE = 30301 (where 30301 is REMIND_PROGRAM in strings.py) - In my head trying this seemed logical to a point. Although I do think I am wrong here. I chose the above action because it was free..... and my thinking was if it's free I can make it do what I want (real big knowledge gaps here)

I then made a keymaps.xml and put: <keymap>
<global>
<keyboard>
<r>blue</r>
</keyboard>
</global>
</keymap>

However it failed....... as it most likely is not correct at all.

You're on the right track but it might need to be a remote key rather than keyboard.

I've found ACTION_CREATE_BOOKMARK which you can map up to R or anything else in Keymap Editor.

I'm just writing the code to trigger the Reminder code. Maybe tomorrow if I start yawning too much.

Haha, well I am going to try to see what I can come up with, while I wait for your update. - unfortunately for me the bedroom has been occupied by the other half and her sowing machine... so until she's done I am sat on the PC...... Not all bad Wink

--My attempt: (failed by the way) (who would of guessed!?)

Added Action:

ACTION_CREATE_BOOKMARK = 82

added following code after line 636

# Change to remind key
elif action.getId() == ACTION_CREATE_BOOKMARK:
self._showControl(self.C_POPUP_REMIND)
return

Created the keymap for keyboard and remote....

However nada happens still.

back to the drawing board.
Reply
(2016-12-13, 18:19)primaeval Wrote: 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.

Thanks for these fixes - Having the Category listed in the EPG is super helpful!

I'm not sure I quite understand the implementation of the Smart Categories as they are..But I agree that I think we're close.

If I want to find all the Sports programs on, I can hit '4' in the EPG, select Category, select Sports. This works as expected. But I'm then brought to a menu that shows all sports that have been, and will be on in the future. Is there a way to only show the currently playing shows that match the Category? And if you hit Select on a program, it can load up the channel instead of taking you to the stream selection menu?

Thanks!!
Reply
Exclamation 
version 0.0.248
- ACTION_CREATE_BOOKMARK to bring up Schedulers Dialog (Remind|Autoplay|Autoplaywith)

@Drt1989 Sorry to spoil your fun but here's my offering. Wink

Map up the Global \ Playback \ Create Bookmark key to something sensible with Keymap Editor.

Here is the code if you want to see if you were on the right track.
Reply
(2016-12-15, 01:09)primaeval Wrote: version 0.0.248
- ACTION_CREATE_BOOKMARK to bring up Schedulers Dialog (Remind|Autoplay|Autoplaywith)

@Drt1989 Sorry to spoil your fun but here's my offering. Wink

Map up the Global \ Playback \ Create Bookmark key to something sensible with Keymap Editor.

Here is the code if you want to see if you were on the right track.

Can't see the code? Yes I need to... my only way to learn at the moment ha!
Reply
(2016-12-15, 01:04)GriffeyJuni0r Wrote:
(2016-12-13, 18:19)primaeval Wrote: 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.

Thanks for these fixes - Having the Category listed in the EPG is super helpful!

I'm not sure I quite understand the implementation of the Smart Categories as they are..But I agree that I think we're close.

If I want to find all the Sports programs on, I can hit '4' in the EPG, select Category, select Sports. This works as expected. But I'm then brought to a menu that shows all sports that have been, and will be on in the future. Is there a way to only show the currently playing shows that match the Category? And if you hit Select on a program, it can load up the channel instead of taking you to the stream selection menu?

Thanks!!

It needs a bit more work doing to it.

I don't think I'm going to implement a normal Smart Categories view. It is a lot of work. It usually gives you an epg view with just the category you select. It means filtering the channels by the programs with a certain category and leaves gaps all over the place.

I'll have a look at the other things tomorrow including filtering and sorting by time and playing the channel.
I thought some of that was in their already but it isn't.

In the meantime you can see the now playing programs because they should have a timebar next to the length. Near future programs will say "in x minutes".
Reply
(2016-12-15, 01:15)Drt1989 Wrote:
(2016-12-15, 01:09)primaeval Wrote: version 0.0.248
- ACTION_CREATE_BOOKMARK to bring up Schedulers Dialog (Remind|Autoplay|Autoplaywith)

@Drt1989 Sorry to spoil your fun but here's my offering. Wink

Map up the Global \ Playback \ Create Bookmark key to something sensible with Keymap Editor.

Here is the code if you want to see if you were on the right track.

Can't see the code? Yes I need to... my only way to learn at the moment ha!

https://github.com/primaeval/script.tvgu...1e2adbf3d6

I think its time for bed. I'm starting to forget things. Wink
Reply
(2016-12-15, 01:18)primaeval Wrote:
(2016-12-15, 01:15)Drt1989 Wrote:
(2016-12-15, 01:09)primaeval Wrote: version 0.0.248
- ACTION_CREATE_BOOKMARK to bring up Schedulers Dialog (Remind|Autoplay|Autoplaywith)

@Drt1989 Sorry to spoil your fun but here's my offering. Wink

Map up the Global \ Playback \ Create Bookmark key to something sensible with Keymap Editor.

Here is the code if you want to see if you were on the right track.

Can't see the code? Yes I need to... my only way to learn at the moment ha!

https://github.com/primaeval/script.tvgu...1e2adbf3d6

I think its time for bed. I'm starting to forget things. Wink

Nice. I was sort of on the right track. Time for me to learn myself as I am picking it up ok. Smile

I'll update to .248 and get cracking with my grand plan haha.

Well I leave that till a little later in the morning.... oops.
Reply
Exclamation 
version 0.0.249
- Settings \ Appearance \ Sort Listings Views by Time (off for Sort by Channel)
- Settings \ Appearance \ Listing View Previous Hours (search past programs or long running programs)
- Listings View default action is now Play (usually). context menu for Menu

@GriffeyJuni0r I think this should cover most of your requests.

Your ideas make more sense for the normal use of TV Guide Fullscreen.
I've been using it more as a platform for launching catchup searches but it really is supposed to be a tool for live TV.
So, thanks for making that clearer to me.
Reply
(2016-12-15, 10:46)primaeval Wrote: version 0.0.249
- Settings \ Appearance \ Sort Listings Views by Time (off for Sort by Channel)
- Settings \ Appearance \ Listing View Previous Hours (search past programs or long running programs)
- Listings View default action is now Play (usually). context menu for Menu

@GriffeyJuni0r I think this should cover most of your requests.

Your ideas make more sense for the normal use of TV Guide Fullscreen.
I've been using it more as a platform for launching catchup searches but it really is supposed to be a tool for live TV.
So, thanks for making that clearer to me.

Nice. For me catchup is further down the line.... would be pretty awesome but I have to make things as simple as possible for now.

I have made a few keymaps. So now the context menu button opens up the set remind menu. (which is awesome)

I am struggling to see how I can map ACTION_Menu from m to say remote 9........... for the catergoies. I can't see what it would be in global in keymap editor?
Reply
(2016-12-15, 12:18)Drt1989 Wrote: I have made a few keymaps. So now the context menu button opens up the set remind menu. (which is awesome)

I am struggling to see how I can map ACTION_Menu from m to say remote 9........... for the catergoies. I can't see what it would be in global in keymap editor?

The ACTION_MENU item is actually missing from the Keymap Editor for some reason.

You can add it into the actions list to the Navigation section in:
addons\script.keymap\actions.py
about line 34

Code:
"contextmenu"       , "Context Menu",
"menu"              , "Menu",

I didn't want to start adding code to mess around with keymaps but seeing as Keymap Editor needs a bit of maintenance I might have a go sometime.

[EDIT] I added a pull request for the addon but that may take a while to get into the main repo. There is an outstanding one from October.
https://github.com/tamland/xbmc-keymap-editor/pull/9
Reply
(2016-12-15, 12:58)primaeval Wrote:
(2016-12-15, 12:18)Drt1989 Wrote: I have made a few keymaps. So now the context menu button opens up the set remind menu. (which is awesome)

I am struggling to see how I can map ACTION_Menu from m to say remote 9........... for the catergoies. I can't see what it would be in global in keymap editor?

The ACTION_MENU item is actually missing from the Keymap Editor for some reason.

You can add it into the actions list to the Navigation section in:
addons\script.keymap\actions.py
about line 34

Code:
"contextmenu"       , "Context Menu",
"menu"              , "Menu",

I didn't want to start adding code to mess around with keymaps but seeing as Keymap Editor needs a bit of maintenance I might have a go sometime.

[EDIT] I added a pull request for the addon but that may take a while to get into the main repo. There is an outstanding one from October.
https://github.com/tamland/xbmc-keymap-editor/pull/9

Great Smile Will add this to my Keymap Editor and try again.

---- Have you thought of somehow adding recording functionality? Now that we can set reminders straight from the Guide, imagine having a Record option too.
I know this would probably have to be handled by a 3rd party player so is probably a dead end. Just an idea.
Reply
(2016-12-15, 14:45)Drt1989 Wrote: ---- Have you thought of somehow adding recording functionality? Now that we can set reminders straight from the Guide, imagine having a Record option too.
I know this would probably have to be handled by a 3rd party player so is probably a dead end. Just an idea.

It's been there ever since AutoPlayWith's were added. You just need to do a bit of extra manual labour. Wink

If you have ffmpeg installed for your device it should be fairly easy but needs a bit of work.

See if you can follow the instructions in
addons\script.tvguide.fullscreen\resources\playwith\readme.txt

I haven't made it generic yet because there are some major variations on all the devices, operating systems and Kodi versions.

If you have a playercorefactory.xml player that can do recording you can use that instead.

[EDIT] It won't be as good as a dedicated pvr recording backend but it does work for addons which the pvr doesn't.
Reply
(2016-12-15, 14:54)primaeval Wrote:
(2016-12-15, 14:45)Drt1989 Wrote: ---- Have you thought of somehow adding recording functionality? Now that we can set reminders straight from the Guide, imagine having a Record option too.
I know this would probably have to be handled by a 3rd party player so is probably a dead end. Just an idea.

It's been there ever since AutoPlayWith's were added. You just need to do a bit of extra manual labour. Wink

If you have ffmpeg installed for your device it should be fairly easy but needs a bit of work.

See if you can follow the instructions in
addons\script.tvguide.fullscreen\resources\playwith\readme.txt

I haven't made it generic yet because there are some major variations on all the devices, operating systems and Kodi versions.

If you have a playercorefactory.xml player that can do recording you can use that instead.

[EDIT] It won't be as good as a dedicated pvr recording backend but it does work for addons which the pvr doesn't.


Ah.... I didn't mention that this would be on Android OSConfused.......... I'll read the readme as I can at least try on Windows.

I really feel I should get into programming. There's a lot of ideas I have but it's as though I can't write because I don't know the language. Kodi has become a bit of a playground for me! Have you got any tips on where to start learning?
Reply
  • 1
  • 56
  • 57
  • 58(current)
  • 59
  • 60
  • 201

Logout Mark Read Team Forum Stats Members Help
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;)8