NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC X-NEWA v
1 2 3 4 5 … 13 Next »
knewc 2.9.5 release

 
  • 0 Vote(s) - 0 Average
knewc 2.9.5 release
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#1
2022-01-22, 10:47 PM
knewc 2.9.5

UI Client

- Enable Alt-G
- Fn Hotkeys to What's "New and Scheduler"
- Use constants in emulate.py
- Long Up to hidden menu (consistent with other clients)
- 10 minute timeout to Kodi from UI Client when not playing media
- Drop to Favourites on timeout
- User defined FN and Hauppauge keys.
- separated recordedtv from mytv, recordedtv maps to Home

Python UI

- Improved tagged deletes in Recordings
- Added sorting in Recordings

Note other UI Clients now include a faster and better 2D rendering method (fast background mode) that is not feasible in knewc

Martin
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#2
2022-01-25, 05:01 AM
I have been playing with this a little. 

What do you mean by "10 minute timeout to Kodi from UI Client"?  When I am watching a recording and I don't hit any keys for a while, which is how I usually watch, Kodi comes up in the foreground in front of my program.  I have to find the NextPVR client icon since I have it autostart and hit OK.  Then, I have to go into the recording's menu and hit Resume.  This whole time, the recording is playing the background.

Did you mean Ctrl-G instead of Alt-G?  My Green button already does Alt-G.  I's like to know how to map the Go button to Ctrl-G.  I have the key code defined to KEY_HOME.  In Lirrcmap.xml, I map that to start.  In remote.xml, I map start to PreviousMenu.  It wasn't obvious to me what I would need to change to "url = keyBase + str(ENUM_KEY_G | ENUM_KEY_CONTROL)" in emulate.py.  Do I also need to change something in one of the other files I mentioned?
Tuners: SD HDHR Prime (HDHR3-CC). SD HDHR Connect Quatro Tuner (HDHR5-4US) - only QAM.  EXVIST H.265 Encoder - capturing cable box.
Client: Odroid-N2 running knewc on KODI - connected via MoCA.
EPG: SchedulesDirect
Provider: Verizon Fios
Server: Dell XPS 8700 with Windows 10
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#3
2022-01-25, 02:03 PM
It is not supposed to exit during video or music playback so that sounds like a bug I will take a look. It is supposed to be 10 minutes after stop.

If @pkscout reads this he might be able to tell us how to have Kodi Startup Window as Addon-ons or Favorites

Yes I meant Ctrl-G since I don't use it it is not natural. The key that gets checked is Ctrl-G

Martin
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#4
2022-01-25, 02:29 PM
I’ll take a look when I get home. I know there is a setting to allow a different window at startup, and I’m prett6 sure there is a way to use the autoexec.py (which is depreciated but still hasn’t been removed) to actually start the KNEWC addon at startup.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#5
2022-01-25, 02:48 PM
We can still auto-start knewc via addon.xml What I am hoping is have Kodi also startup on Add-ons or Favourites. Thinking about it now I wonder if I can actually ActivateWindow(addon, myaddons) when I exit the script I will have to try that.

Martin.
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#6
2022-01-25, 04:30 PM
(2022-01-25, 02:03 PM)mvallevand Wrote: It is not supposed to exit during video or music playback so that sounds like a bug I will take a look.  It is supposed to be 10 minutes after stop. 

If @pkscout reads this he might be able to tell us how to have Kodi Startup Window as Addon-ons or Favorites

Yes I meant Ctrl-G since I don't use it it is not natural.  The key that gets checked is Ctrl-G

Martin

Assuming you fix the bug, can the exit after ten minutes be made optional?  When I am done watching for the night, I always exit NextPVR and then hit the Power button on the remote when I get back to Kodi.  Then, the next time I want to watch, I hit the Power button on the remote and it powers on, starts Kodi and autostarts the NextPVR Client UI.  If I am taking a break longer than ten minutes, I'd still like to be in NextPVR rather than Kodi.

I am still not sure how I would assign the Go button on my remote to Ctrl-G.  I already changed the F8, F9 & F10 to a way that makes more sense to me.  (Scheduler used to be Pending & that starts with "P" and so does Pictures.  Same logic for Recordings and the Radio button.  I don't remember exactly how that is different than the default.)
Tuners: SD HDHR Prime (HDHR3-CC). SD HDHR Connect Quatro Tuner (HDHR5-4US) - only QAM.  EXVIST H.265 Encoder - capturing cable box.
Client: Odroid-N2 running knewc on KODI - connected via MoCA.
EPG: SchedulesDirect
Provider: Verizon Fios
Server: Dell XPS 8700 with Windows 10
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#7
2022-01-25, 05:01 PM
No I will not make it optional. In 2022 having a client, network and server doing millions of CPU request to save one key stroke seems to be a waste of resources. And it makes support for NextPVR harder.

I don't know how you can assign Go to send Ctrl-G sorry.

The default values

TV - F8 Recordings
Guide - F1 Guide
Videos - F3 Video Library
Music - F4 Music Library
Pictures - F9 Scheduler
Radio - F10 Whats New

Fn keys used to be able to be changed globally in config.xml as well.


Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#8
2022-01-25, 07:44 PM
Hopefully the changed logic shown in this video https://imgur.com/a/U0B7d5l will help make it a little easier to adapt. From the knewc icon open the context menu and add it too your Favourites. It sounds like you will only have one. The only gotcha is sometimes you will get the screen and then it will fall to the screensaver.

I know this isn't how NextPVR clients have worked in the past, but to me it is no different than learning a new habit like turning off the light when you leave the room.

Updates to rc2 in first post.

Martin
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#9
2022-01-25, 09:07 PM
(2022-01-25, 02:48 PM)mvallevand Wrote: We can still auto-start knewc via addon.xml  What I am hoping is have Kodi also startup on Add-ons or Favourites.  Thinking about it  now I wonder if I can actually ActivateWindow(addon, myaddons) when I exit the script I will have to try that.

Martin.

I lied (kind of).  There is a setting in the Interface section (under Startup) that lets you pick a different window, but it doesn't have options for Add-ons or Favorites.  There is a replacement for the old autoexec.py though.

https://kodi.wiki/view/Autoexec_Service

You should be able to do that and then use this to activate the Add-ons or Favourites windows at startup:

Code:
xbmc.executebuiltin('ActivateWindow(addonbrowser)'

or

Code:
xbmc.executebuiltin('ActivateWindow(favourites)'

I didn't check either of these windows, and it's possible addonbrowser is not the window you want.  The full list of windows is at:

https://kodi.wiki/view/Window_IDs
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#10
2022-01-25, 09:21 PM
Thanks the first thing I did was look in Startup, I would think Favourites would be a handy starting page but I guess it is a dialog. I think doing it under script control like I do now makes sense. I didn't kknow that addonbrowser would launch the addon page.

If anyone testing this would prefer the addon page I could activate that instead.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unclear how to install knewc and use it in Kodi smbunn 2 1,485 2023-05-02, 01:12 PM
Last Post: mvallevand
  knewc 2.10.0 release mvallevand 0 1,441 2022-05-31, 08:30 PM
Last Post: mvallevand
  knewc Timeout Starting Recording Playback BrettB 1 1,725 2021-10-21, 03:02 PM
Last Post: mvallevand
  Kodi 19 Matrix - knewc is Uninstalled after Modification meccano 2 2,822 2021-04-12, 03:08 PM
Last Post: meccano
  knewc 2.9.3 Update mvallevand 0 1,867 2021-03-08, 04:53 PM
Last Post: mvallevand
  kodi/knewc crashing baj1 12 4,553 2021-01-23, 07:05 PM
Last Post: baj1
  knewc 2.9.1 Update mvallevand 22 8,045 2021-01-18, 06:22 AM
Last Post: baj1
  knewc problems with new server patch BrettB 7 3,799 2021-01-07, 02:45 PM
Last Post: BrettB
  NextPVR Timeout message in knewc baj1 3 2,324 2020-11-21, 07:11 PM
Last Post: mvallevand
  knewc 2.9.0 Release Dual Mode mvallevand 63 17,360 2020-10-14, 12:20 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode