NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC X-NEWA v
« Previous 1 2 3 4 5 … 13 Next »
Remote Issue - Argh!

 
  • 0 Vote(s) - 0 Average
Remote Issue - Argh!
baj1
Offline

Senior Member

Maple Grove, MN, USA
Posts: 553
Threads: 91
Joined: Jan 2006
#1
2019-12-22, 01:10 AM (This post was last modified: 2019-12-22, 01:46 AM by baj1.)
So I have my #2 ODroid N2 CoreElec's setup exactly how I want now, with Comskip functioning in playback, and controlled with my Hauppauge 45 button remote. 

I went back to the first N2 (I'll call #1) I set up previously and duplicated the steps.  Everything works except the Play button is still play/pause and doesn't jump to the end of the commercial segment.  But the N2 #2 I described above DOES skip the commercial segment with the Play button (Play button does not play/pause).

I followed the instructions here for setting up the IR codes/Kodi Keys on N2 #1 just as I did on #2 using meson-ir:
https://discourse.coreelec.org/t/how-to-...control/31

My Hauppauge 45 button key map file defines this for pause (0x1e30) and play (0x1e35) buttons
0x1e30 KEY_PLAYPAUSE
0x1e35 KEY_PLAY

I copied remote.xml on the N2 #1:
cp /usr/share/kodi/system/keymaps/remote.xml /storage/.kodi/userdata/keymaps/remote.xml

Then edited /storage/.kodi/userdata/keymaps/remote.xml file with the following changes in the <global> section:
<play>Play</play>
<pause>PlayPause</pause>

I thought this was all I did to get the Play button to trigger the commercial skip on N2 #2, but it doesn't work on N2 #1.

Comskip does work on both #1 and #2, I tested with "999" toggle.

I didn't see any settings that seemed applicable to this in Kodi, PVR or knewc add-ons. 

Am I missing something obvious?

Thanks,
-Brad
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711
Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner
Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
baj1
Offline

Senior Member

Maple Grove, MN, USA
Posts: 553
Threads: 91
Joined: Jan 2006
#2
2019-12-22, 01:19 AM
I just plugged a keyboard into #1 N2 and 'P' does trigger the jump to end of commercials.
<scratching head>
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711
Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner
Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
baj1
Offline

Senior Member

Maple Grove, MN, USA
Posts: 553
Threads: 91
Joined: Jan 2006
#3
2019-12-22, 01:25 AM
I repeated the steps to make N2 #1 run with my PCH remote instead of the Hauppauge. It works, but same issue with the Play button. At least I know my attempts are doing something.

I documented all of my steps with N2 #2 so I wouldn't have to re-learn all this when the time comes to replace the PCH's. Apparently I missed documenting a step or two though.
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711
Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner
Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#4
2019-12-22, 02:46 AM
Your issues sound like a server side question for sub.

- I don't know if UI Client supports 999.

- likewise Play/pause may not support comskip because a) I didn't know about it to test and b) now that I do I think it is a nonsense key combination but if UI Client mode supports it, it should work.

Even if they work in UI client you'd probably need to make sure that you aren't using the share, http only, so that it is the server not Kodi doing comskip. If you are using Kodi to do the comskip, you'd have to map NextChapter to navigate the EDL.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#5
2019-12-22, 03:31 AM
What does 999 do? I can't remember it, and can't see it in the NextPVR v4 source code. (it might be there hidden away somewhere)
baj1
Offline

Senior Member

Maple Grove, MN, USA
Posts: 553
Threads: 91
Joined: Jan 2006
#6
2019-12-22, 03:45 AM (This post was last modified: 2019-12-22, 03:53 AM by baj1.)
Zooooom! Over my head. I guess I don't know what pieces of software are performing each function. Sorry for my ignorance. I thought I was using knewc/UI client for everything. 999 on the remote works to toggle commercial autoskip on/off. 'P' on the keyboard (play per kodi keyboard reference) triggers the jump to commercial end, and that does work if I plug a keyboard into the N2. I just can't get the Play button on the remote (KEY_PLAY) to do the same thing as 'P' on the keyboard.

To me it seems that what is broken is something in the IR driver config or remote.xml config that is converting the remote IR codes into (keyboard) commands. Or I missed a step somewhere and one of my changes has not been applied correctly. Or perhaps using cached (old, previous) config data somewhere? I did cycle power on the N2.

I also searched my remote.xml files, the only reference to "<play>" are in the global section and it's set to "PLAY".
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711
Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner
Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
baj1
Offline

Senior Member

Maple Grove, MN, USA
Posts: 553
Threads: 91
Joined: Jan 2006
#7
2019-12-22, 03:51 AM (This post was last modified: 2019-12-22, 04:10 AM by baj1.)
(2019-12-22, 03:31 AM)sub Wrote: What does 999 do? I can't remember it, and can't see it in the NextPVR v4 source code. (it might be there hidden away somewhere)
999 toggles autoskip of commercials on/off during playback. It's a great feature. We autoskip turned off because generally we like to trigger the commercial skipping manually (because Comskip isn't perfect) but I use the heck out of autoskip in the Kitchen and workout/shop clients because I don't keep the remote in or even near my hand in those locations.

I do appreciate the responses and your help. I'll be happy to share my notes/write up when I get this working if there's interest.
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711
Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner
Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#8
2019-12-22, 05:24 AM
UI Client is very stupid and responds to what NextPVR tells it do to. Unfortunately it is even stupider then on the PCH since I have to let Kodi do somethings too.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#9
2019-12-22, 05:54 AM
The 999 feature is there, but I suspect it only works when you're running nextpvr.exe.

Martin, does knewc attempt to do comskip? If so, approximately how does it work? is it using skip requests sent from the backend, or is it using the comskip info directly?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#10
2019-12-22, 03:02 PM
UI client in knewc supports two modes of comksip playback. 1) SDL mode supports your media interface and 2) the original mode which only use the Kodi playback. Kodi playback mode supports comskip via the Kodi player so if the system is configured via advanced settings to use a share it works fine for the sake of this discussion we can ignore that.

In SDL mode basically if NextPVR sends a seek the client will action it and comskip does seem to be supported. My comskip detection works very well and I have never tried 999. As @baj1 is coming from the PCH perhaps he is comparing a feature that is not available in UI client mode.

There is no equivalent of 999 in Kodi.

There is another mode that @baj1 discussed using play/pause to skip to the beginning of the commercial. I don't know these keys at all and not sure if I even understand the logic. In Kodi mode there is a next scene/prev scene capability but this is when EDL support in the EDL file is set to not auto skip.

There is a potential conflict SDL mode is enabled and Kodi is using the share on which EDL support to use, so I

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
  Menu list skip using MCE remote no longer works jcjefferies 2 1,526 2022-02-13, 06:16 PM
Last Post: jcjefferies
  Exiting one remote UI client causes both clients to exit BrettB 7 2,751 2020-12-24, 09:53 PM
Last Post: mvallevand
  Knewc not handling certain buttons on the Hauppauge remote ElihuRozen 3 2,276 2019-11-30, 05:42 PM
Last Post: mvallevand
  Can't Connect Remote, 404 crackulator 11 3,719 2019-10-27, 02:51 PM
Last Post: ElihuRozen
  keymap.xml or remote.xml for use with X-NEWA on a RPi2? jksmurf 4 3,706 2016-02-27, 02:37 AM
Last Post: stustunz
  Remote record button stustunz 4 3,038 2015-05-18, 09:48 PM
Last Post: mvallevand
  Potential Issue with NEWA 2.13 pkscout 7 3,232 2014-07-25, 02:46 AM
Last Post: mvallevand
  Problem with STOP key on remote jcjefferies 11 4,533 2014-05-31, 11:33 AM
Last Post: jcjefferies
  X-NEWA Remote Control Request nitram 2 2,234 2014-05-11, 09:34 PM
Last Post: nitram

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

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

Linear Mode
Threaded Mode