|
SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
Quote:
__________________
Home Network: https://karylstein.com/technology.html |
#22
|
|||
|
|||
I had the same issue with NBC this morning, also with Today show. That was on IJK though. I have seen it occasionally before but never frequently enough to look into.
I still can’t get Exo to play anything at all, with and without the ffmpeg box checked. I was hoping to get 5.1 back. My sources are r5000 outputting h264 mpeg4 and ancient hdhomerun dual mpeg2. This is all on 2017 shields
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend 4 Nvidia Shield TVs with Miniclient |
#23
|
|||
|
|||
Quote:
I was wondering if you could comment on the key mapping, specifically how the server handles the key mapping vs the miniclient? I had initially gone into the server's key mapping settings rather than the miniclient and found that the server was not recognizing Insert. Is this because Android/the keyboard is sending non-standard mappings to the server?
__________________
Server: SageTV 9.2.6x64 on Win10 x64 Home, i7-2600, 8gb RAM, OpenDCT, Java 1.8, 20TB storage Display: EVGA GT 1030 fanless to Sony LED TV via DVI-HDMI Capture Devices: HDHR Prime for Comcast, HDHR Dual for OTA (retired) Clients: Nvidia Shield Android miniclient |
#24
|
||||
|
||||
Quote:
For android, it does not use AWT. It has its own key codes, so, any application that sending keys to the sagetv server needs to map those keys from Android to AWT and then send that code. So, on Android, when you press 'A' the key code is 29, but, on SageTV, 'A' is 65. On Android the INSERT key is 155 and on SageTV it is 124. So you can see that every key might be pressed and received on Android needs to be mapped to a different number before it goes to the SageTV server. Android also has a lot more keys than what SageTV knows about. For example, gamepad keys are mapped separately. Android also knows about media keys and remote keys (DPAD UP, DOWN, etc), and they have to managed as well. The SageTV server can accept keys and it can accept "commands" like MENU, HOME, GUIDE, etc. So, on Android for some keys we allow mappings to happen, in Android, so that you can map some keys to a sage Command. So, INSERT as received on Android can map to something other than INSERT on sagetv. On Android the Key Mapping is further complicated because, most Android TV units only use a 8 button remote, so, I added a "smart" remote feature where by things like left/right can mean something different depending on the screen you are in. Eg, left/right will normally send a left/right key code to sagetv, but, if you are watching a video and you press LEFT it will send a REW command instead of LEFT. And this is further complicated by the fact that on Android I've also implemented long presses so that a long press left can mean something different than a regular press left. eg, when a video is playing if I press right it will skip 30 seconds, but if press and hold right it will skip the commercial. Key handling is further complicated by managing key repeats and long presses and knowing the difference. All in all key handling on the miniclient on Android is a highly complex process. It's not just as easy as read a key send a key.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#25
|
|||
|
|||
Really appreciate the tutorial into key mapping!
__________________
Server: SageTV 9.2.6x64 on Win10 x64 Home, i7-2600, 8gb RAM, OpenDCT, Java 1.8, 20TB storage Display: EVGA GT 1030 fanless to Sony LED TV via DVI-HDMI Capture Devices: HDHR Prime for Comcast, HDHR Dual for OTA (retired) Clients: Nvidia Shield Android miniclient |
#26
|
|||
|
|||
Where in settings? I swear I've looked everywhere
|
#27
|
||||
|
||||
Settings -> Media Key Mappings -> Sound Effects
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#28
|
|||
|
|||
Up until 1.4 I've been able to use my CEC enabled TV remote with my Shield to bring up the overlay on long press. That's no longer working for some reason. Seems to work with my shield game controller though. (I don't have the shield tv remote)
|
#29
|
||||
|
||||
Quote:
Did you turn on show unmapped key presses to see if it's somehow unmapped?
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#30
|
|||
|
|||
Quote:
I'll see if the unmapped keypress shows anything but I suspect it will show it as select since it is working for everything else within sage. |
#31
|
||||
|
||||
I'm having the same issue with the CEC remote.
One other problem, when you press the stop recording key while watching live tv the recording will stop and then immediately start again. Nothing I do will stop the live recording. I don't know if this is by design or not but, it did not work that way before. |
#32
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#33
|
|||
|
|||
Hi Stuckless I checked long press is enabled. I assume you mean for me to go into the commands menu and "show commands linked to infrared keystroke" I did that and noticed that for some reason when I press the "select" button on my tv remote it does not show a mapping. I then told it to "Link Infrared/Keystroke to SageTV Command" and assigned my select button to the select function. Once again tried to show the linked code and again it showed nothing. It does function for everything else just not the long press for overlay part.
|
#34
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#35
|
||||
|
||||
@stuckless
thank you very much for all your hard work! know that it is much appreciated.
__________________
Q: dad, when will you stop changing all the electronics? A: never, so you might as well get used to it. |
#36
|
||||
|
||||
I turned smart remote off and this fixed the CEC remote exit/back key to get from the guide to the menu. I still cannot stop live video from playing. it will stop briefly and then restart on its own.
|
#37
|
||||
|
||||
What button is "stop recording"? Is it just the "stop" button? What is the stop button mapped to in the Media Key Mappings (in the MiniClient not sagetv)? Have you tried long pressing to bring up the on screen keys and then using the "STOP" button there, and does it behave the same way? (if the answer is yes, then likely a bug, if no, then likely something in your setup -- either in the minicliet or sagetv).
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#38
|
||||
|
||||
Quote:
|
#39
|
||||
|
||||
Quote:
Does this only happen on recorded tv? The MiniClient itself has no concept of recorded tv vs live tv... it's all the same, and it has no way to know the difference. My point being, is that if all media behaves the same way, "stop" causes a stop followed by a replay, then I can see the MiniClient possibly being at fault (although it doesn't happen to me, in my setup). If LiveTV behaves differently than pre recorded tv, then, this is definitely something happening in the SageTV server.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#40
|
|||
|
|||
Quote:
mmc/encoders/<tuner number>/never_stop_encoding=true If you do set it to false.
__________________
"Keep your goals away from the trolls" |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Android MiniClient v1.3.0 | stuckless | SageTV Clients Development | 127 | 08-13-2020 07:29 AM |
Android MiniClient 1.3.5 | stuckless | SageTV Clients Development | 5 | 12-21-2018 09:14 PM |
Android MiniClient 1.2.9 | stuckless | SageTV Clients Development | 53 | 04-16-2018 07:30 AM |
New Android TV Box and Miniclient | rickgillyon | SageTV Clients Development | 4 | 01-03-2018 05:19 PM |
Android Miniclient and UK TV | rickgillyon | SageTV Clients Development | 6 | 12-01-2016 05:58 PM |