|
SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development. |
|
Thread Tools | Search this Thread | Display Modes |
#401
|
|||
|
|||
Quote:
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit. |
#402
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#403
|
||||
|
||||
Quote:
Quote:
In the end, the easiest thing will be to use a full featured remote with the AndroidTV, or bare with the limited set of controls on the dumb remotes.
__________________
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 |
#404
|
|||
|
|||
Quote:
What do the ijkplayer OSD controls allow ?
__________________
Tecra M5, 2 x HD200, 2 x HD300 2 x PCTV 290e Win 7, Sage 7.1.9, Phoenix 2 STV Stephane's XMLTV Importer, Digiguide, |
#405
|
||||
|
||||
Quote:
I'm not saying that I wouldn't go down this path, but, personally, I'll be looking for a solution that allows me to use a normal remote first (since it's less work). Rendering a second OSD (SageTV renders it's own OSD), would be confusing, in my mind, and I'd have to manage whether or not I'm handling the key presses for my OSD or if I'm sending them to SageTV. What key activates the OSD, because that key can only be used to active the OSD and nothing else, etc. EDIT: I wouldn't be apposed to needing a better remote, such, as this... http://support-shield.nvidia.com/and...mote_Setup.htm I just know know if you can map other buttons to events or if you are just limited to the basic few. EDIT2: I think someone may have posted this... Or I stumbled on it before.. not sure which... but I wonder if FLlirc could be used... https://flirc.tv/more/flirc-usb
__________________
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 Last edited by stuckless; 11-03-2015 at 05:46 AM. |
#406
|
|||
|
|||
it's looks like harmony works out of box.
http://http://support-shield.nvidia....mote_Setup.htm wondering if the smart hub works better even since it can control over lan. |
#407
|
|||
|
|||
looking further this implies the smart hub can control it over Bluetooth and that tv shield does have ir.
https://m.reddit.com/r/AndroidTV/com...ppear_to_have/ |
#408
|
||||
|
||||
Sean - Maybe this is an area where I can help out? Can you point me to where the mapping is done so I can take a look?
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#409
|
|||
|
|||
Last I remember there was some headache with the Harmony and SHIELD, (from a thread on their forums), but I think people were able to work around it. I use an older Harmony 890 Pro with my entertainment center as I don't like the button layout on the newer remote. It works fine with the SHIELD, although I usually use the gamepad with it.
__________________
Home Network: https://karylstein.com/technology.html |
#410
|
||||
|
||||
Quote:
https://github.com/OpenSageTV/sagetv...yListener.java You can see the static MAP at the top of the file has the mappings that I've done. It actually get a little complicated because you can't map both A and CENTER, because in some cases when a single key is pressed, Android will send both events ie, You might Map A and ENTER to to SageTV enter, and when the user presses A, Android sends A and ENTER events as 2 separate events, and if you handle both, then you end up sending 2 events to sagetv... this caused me some grief early on, before I realized what was happening
__________________
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 Last edited by stuckless; 11-03-2015 at 07:58 AM. |
#411
|
||||
|
||||
How doe miniclient send commands to sage? What does it actually send? Is it sending the sage command, or is it sending a discrete event/number/whatever that is then mapped in the .properties file via the Detailed Setup -> Commands menu?
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#412
|
||||
|
||||
Ideally, the app should basically be passing any input event through as a raw key_code, or whatever identifying string, to sage, and if we need to, we can add the 'defaults' to the RemoteClients.properties file's ui/rc_mappings entries (this is how the extenders handle it, as far as I can tell).
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#413
|
||||
|
||||
Quote:
Quote:
https://github.com/OpenSageTV/sagetv...entRouter.java
__________________
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 |
#414
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#415
|
||||
|
||||
Quote:
Then in the MiniClientKeyListener, we need to MAP Native Android Keys to SageTV keys. I've said from the beginning... all of this is possible, just a huge mapping excercise
__________________
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 |
#416
|
||||
|
||||
So in an android app, a keypress doesn't automatically get handled by the foreground application unless it is specifically mapped to handle it? I was not suggesting doing any key mapping at the client level, and just sending the raw keystroke data to the server as a RC input event, and let the server's rc_mapping handle translating that to a sagetv command.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#417
|
||||
|
||||
Quote:
__________________
SageTV 7.1.9 / Phoenix Captures: 1x Genpix Skywalker DVB4Sage / 1x 7500 Prof DVBS2 Tunner DVB4Sage / 1x HD HomeRun / 1x Slingbox M1 / 1x Colossus HD Extender: 2x HD200 / 1x HD300 |
#418
|
||||
|
||||
Quote:
When you press a button your remote, that IR code gets sent to a pieces of hardware, in this case, Android device. The android unit would map that IR code to a Key Event (this happens at the kernel level). The Android App would get an Android Key Event for the Remote Key Event. I can't send that to SageTV, since SageTV needs to have the Key Event as a Java AWT Key Event, so I have to create a mapping table of ANDROID keys to SageTV keys. I can Map Android NATIVE keys events to SageTV Key Events, or SageTV COmmands, even SageTV IR Codes... but in all cases, it has to be mapped. In the case of using something like, FLIRC (which I ordered this morning), I'd actually have to Map the REMOTE key, and and Android Key in the remote software... and then in the App... I need to map the Android Key to the SageTV 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 |
#419
|
|||
|
|||
Quote:
https://forums.logitech.com/t5/Harmo...y/td-p/1337271 |
#420
|
|||
|
|||
Digging this back up from earlier in the thread. It should help in mapping
Android KeyEvent -> ASCII value == Java AWT Key Event Flirc can be configured to emulate a keyboard such that any arbitrary remote signal will fire the appropriate Android KeyEvent (as programmed by the user in the Flirc software). So if all or enough designated keys are mapped in EventRouter.java, it should cover the commands that users would need. Quote:
Last edited by jm9843; 11-03-2015 at 11:38 AM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Finally, a fully functional SageTV client on android and iphone! | mkanet | SageTV v7 Customizations | 12 | 01-12-2013 12:22 AM |
SageTV Placeshifter for Android | nyle | SageTV Placeshifter | 5 | 12-31-2011 10:40 AM |
Sage should get an android client running on this | Deacon Crusher | Hardware Support | 1 | 09-29-2010 11:30 AM |
Android client? | equalize | SageTV Placeshifter | 1 | 07-22-2010 09:37 AM |