|
SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development. |
|
Thread Tools | Search this Thread | Display Modes |
#101
|
||||
|
||||
sometimes, you just need to take a break.
|
#102
|
|||
|
|||
Sounds like a job for someone on the inside. Gees, who do we know?....
|
#103
|
|||
|
|||
Spot on. Google did some stupid things with the ADT-1. Not that it can recover your lost time but the only explanation for that ridiculous developer cable is that the ADT-1 was probably originally meant for consumer release but they pivoted and re-purposed it as a developer giveaway. And now, they've abandoned it for the Nexus Player as the de facto Android TV developer device.
That said, I hope you don't give up Sean. You do too much cool shit and are a big reason for the excitement around here. |
#104
|
||||
|
||||
Assuming that you find the special USB cable, on rooted Android device you only need to authorize with the cable the first time, then the adb wifi will work after... Then again, that requires some apps on the rooted device like su/adbConnect, so might not be how the native way would work on AndroidTV.
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#105
|
|||
|
|||
autostart wireless adb
I haven't verified it myself, but it's said that the following will autostart adb over WiFi (requires SU):
Code:
add the line service.adb.tcp.port=5555 to build.prop |
#106
|
|||
|
|||
Amen to that.
|
#107
|
|||
|
|||
Quote:
I'm fighting a few things with Android myself. Mainly their refusal to get the SD card working correctly and GPS stuff. I've had to root every phone I've owned, and as a Verizon subscriber, that's getting harder and harder!
__________________
Server #1= AMD A10-5800, 8G RAM, F2A85-M PRO, 12TB, HDHomerun Prime, HDHR, Colossus (Playback - HD-200) Server #2= AMD X2 3800+, 2G RAM, M2NPV-VM, 2TB, 3x HDHR OTA (Playback - HD-200) |
#108
|
|||
|
|||
Sean,
I have an adt 1 around here that I believe is still on an older version that I rarely use. Let me know if this can be of use to you and I can get it over. PM me if needed |
#109
|
||||
|
||||
Really Alpha MiniClient build
So.. Ranting is done... I managed to spend a few hours looking through boxes of old cables, and I did find the ADT1 usb cable, so I could set it into WiFi debugging mode, and push the App.
My initial plan was to use LibGDX (which I've used in the past for other projects), but I ran into rendering glitches. It was fast, but the rendering looked like crap. So, I ditched LibGDX To show "something", I ended up using the Android Canvas, which is hardware accelerated and uses opengl under the hood, but sadly, performance is not good, but the rendering is very good. It would appear that I'll need to learn OpenGL (specifically OpenGL ES -- which is VERY different than the version of opengl that SageTV currently uses) in order to build a client that can render smoothly. (Particularly, the rendering is slow because each frame has to be scaled up to screen size) But, in the mean time, if people would like to see what a MiniClient on their phone/tablet/tv might look like, here is an Alpha build. (you'll have to side load it) If you are on an Android TV, then the DPAD UP/DOWN/LEFT/RIGHT should work, and A is Enter, and B is escape. If you are on a Phone tablet, swiping up/down/left/right is like using keyboard up/down/left/right. Single tap will focus an item. Double tap will be like SELECT/ENTER. Enjoy... and I can't promise I wont have another Google meltdown... because between fragments, sd cards (4x), permissions, img urls, and now the botched ADT... Another meltdown is almost a given
__________________
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; 09-20-2015 at 03:26 PM. |
#110
|
|||
|
|||
Quote:
I loaded on the Nexus Player while watching this boring Eagles Cowboys game ... The rendering of the ui is very good ...sluggish like you stated... I can see my recordings and guide. The mouse works on it I was able to schedule a recording through the guide ... overall it is a great start. PS Of course I tried to play a recording.... Last edited by nyplayer; 09-20-2015 at 03:55 PM. |
#111
|
||||
|
||||
I don't even know what that would do... I suspect it either crashed it or locked it since I've gutted all video related stuff for now, just to focus on the UI.
__________________
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 |
#112
|
|||
|
|||
Quote:
Ps I am sure you know that the Nexus Player round middle button did not select instead I used a mouse and double clicked. |
#113
|
||||
|
||||
UI preview worked great on Amazon Fire TV stick. Could not install on my Moto G phone but it may have been a bad download. I'll give it another try tomorrow. It's good to see that familiar interface on a modern device even if it isn't all that functional. Bravo on your efforts sir!
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#114
|
||||
|
||||
The rendering looks great on my older Droid phone. What resolution is your current build generating the UI at? It honestly is not all that slow on my 1280x720 screen. There are of course navigation issues dealing with the small device - but just the simple directional swipes and double click seem to work great. Gemstone is quite unusable I've found without access to the options command, as it removes the 'Options' button from the lower taskbar.
Summary: Rendering is perfect, and somewhat sluggish - but I've used sagetv with much slower rendering over a proper placeshifter connection. If this had the ability to enter in a manual server address, I'd love to test this over a remote connection, which would make it instantly useful to me for remote recording management.
__________________
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 |
#115
|
||||
|
||||
Quote:
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#116
|
|||||
|
|||||
Quote:
Quote:
Quote:
Quote:
Quote:
I think this can be used to connect to a V7 SageTV as well... (My server is running V9 so I can't say for sure)
__________________
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 |
#117
|
||||
|
||||
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 |
#118
|
||||
|
||||
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 |
#119
|
||||
|
||||
Quote:
Quote:
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#120
|
||||
|
||||
The android Canvas, much like the Java2d canvas is pretty snappy for drawing, but when you start to scale it, it gets laggy. Currently each rendered frame takes anywhere between 100-200ms to render, which is far too long, especially when you consider that sagetv typically has an animation duration of 200-300ms. So, if an animation in sagetv creates 5 frames and each of those frames takes 200ms each to render, then our 250ms animation just took a full second to render, and that's the sluggishness you are seeing in the UI today.
So my next challenge for this is to try and create a pure opengl ES2 renderer. My problem is that I haven't looked at opengl in years (probably since college)... and ES2 uses shader functions, and vertex buffer objects, and I've never looked at either of these. So combining my lack of knowledge in opengl with the fact that the opengl code that sagetv is using currently has no direct mapping to opengl ES... this next step is going to be slow But moving to opengl is the only way we are going to get buttery smooth transition, like we have on the HD300. If anyone that has experience with VBOs and Android OpenGL ES and they want to help or work with me, then it would be appreciated. To be honest, to get this working in opengl based on where the code is now, is minimal effort for anyone that understands opengl. I've written the load bitmap into a texture function (Android provided a nice utility for that), but I have no idea how I'm supposed to map a loaded texture to a region of the screen using VBOs. Android has a GLSurfaceView that manages the offscreen buffering from what I can tell, so getting this work, should be fairly straight forward. In the mean time, I'll be reading article after article on opengl, vbos, and android opengl es
__________________
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 |
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 |