|
SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development. |
|
Thread Tools | Search this Thread | Display Modes |
#121
|
||||
|
||||
Nice work Sean. I'm going to try this later today on my Samsung. I'll also start looking at the STV to see if I can come up with something more phone friendly.
__________________
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. |
#122
|
||||
|
||||
Quote:
That would be awesome!
__________________
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 |
#123
|
||||
|
||||
Quote:
*EDIT* According to this site: http://tabshowdown.blogspot.com/2014...-best-mid.html it appears my phone supports opengl es 3: 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 Last edited by dinki; 09-21-2015 at 07:05 AM. |
#124
|
||||
|
||||
There is a manifest entry that requires es2... so Android may be preventing you from installing it, because of that. Setting that was require to force Android to use hardware acceleration on the Canvas. Otherwise it would be REAL slow.
__________________
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 |
#125
|
||||
|
||||
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 |
#126
|
||||
|
||||
Sean, did you see my edit above? I may have been editing while you were replying. I _think_ my phone has es3, so should I be able to use es2 code? Sorry if that's a dumb question.
__________________
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 |
#127
|
||||
|
||||
Quote:
So not an es2 issue, which is good, so not sure why it would not install.
__________________
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 |
#128
|
||||
|
||||
Quote:
You'll likely need to send this event immediately after connecting to get it to send a higher res ui. On the client end, it looks like this is done via: MiniClientConnection.postResizeEvent(java.awt.Dimension size)
__________________
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 |
#129
|
||||
|
||||
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 |
#130
|
||||
|
||||
Yeah, I haven't figured out the difference between those two, but they appear to be completely unrelated to each other on the server end.
__________________
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 |
#131
|
||||
|
||||
Fuzzy is right...that's the event you need to let the server know what the actual UI size is.
GFX_RESOLUTION is actually used for output resolutions from the device...not for the size of the actual UI plane itself. In the Android TV case though, it probably doesn't really matter.
__________________
Jeffrey Kardatzke Founder of SageTV |
#132
|
|||
|
|||
Trying to see if I can use j2objc to convert the MiniClient to work with iOS. Doesn't work with what is in the repository. Do you have the source for your cut down MiniClient available?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#133
|
||||
|
||||
I don't have it published, yet, because to be honest, the code is quite scary I've been hacking and slashing to get running I'll see about pushing out the code that I have in the next day or so, and you can try that as a base. I've removed all the AWT dependencies, etc, so it's a good base to start from.
__________________
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 |
#134
|
||||
|
||||
Quote:
From my logging, I can see it doing about 120 frame operations (mostly texture rendering) and those frames take 100-200ms... On some frames, like going into Plugins, it's doing 2300 frame operations... and those take about 500-600ms per frame
__________________
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 |
#135
|
||||
|
||||
Just downloaded and installed the .apk. Sometimes it connects to the server and sometimes it doesn't (go from the blue connecting to .... screen back to the black screen with the ip address on it. Here is some of the log when it fails:
Code:
Mon 9/21 17:14:23.737 [VideoFrame-90b68673f8cb@181849a] Did not find a player socket connection; notifying the client to force a reconnect on the other channel Mon 9/21 17:14:23.741 [VideoFrame-90b68673f8cb@181849a] MiniUI client error24-1:java.io.IOException: An established connection was aborted by the software in your host machine Mon 9/21 17:14:23.745 [VideoFrame-90b68673f8cb@181849a] java.io.IOException: An established connection was aborted by the software in your host machine Mon 9/21 17:14:23.745 [VideoFrame-90b68673f8cb@181849a] sun.nio.ch.SocketDispatcher.write0(Native Method) Mon 9/21 17:14:23.748 [VideoFrame-90b68673f8cb@181849a] sun.nio.ch.SocketDispatcher.write(Unknown Source) Mon 9/21 17:14:23.751 [VideoFrame-90b68673f8cb@181849a] sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source) Mon 9/21 17:14:23.754 [VideoFrame-90b68673f8cb@181849a] sun.nio.ch.IOUtil.write(Unknown Source) Mon 9/21 17:14:23.757 [VideoFrame-90b68673f8cb@181849a] sun.nio.ch.SocketChannelImpl.write(Unknown Source) Mon 9/21 17:14:23.760 [VideoFrame-90b68673f8cb@181849a] java.nio.channels.Channels.write(Unknown Source) Mon 9/21 17:14:23.763 [VideoFrame-90b68673f8cb@181849a] java.nio.channels.Channels.access$000(Unknown Source) Mon 9/21 17:14:23.766 [VideoFrame-90b68673f8cb@181849a] java.nio.channels.Channels$1.write(Unknown Source) Mon 9/21 17:14:23.768 [VideoFrame-90b68673f8cb@181849a] com.jcraft.jzlib.ZOutputStream.write(ZOutputStream.java:88) Mon 9/21 17:14:23.770 [VideoFrame-90b68673f8cb@181849a] sage.MiniClientSageRenderer.sendBufferNow(MiniClientSageRenderer.java:6489) Mon 9/21 17:14:23.772 [VideoFrame-90b68673f8cb@181849a] sage.MiniClientSageRenderer.forceMediaReconnect(MiniClientSageRenderer.java:6467) Mon 9/21 17:14:23.774 [VideoFrame-90b68673f8cb@181849a] sage.MiniClientSageRenderer.getSocketChannelInfo(MiniClientSageRenderer.java:811) Mon 9/21 17:14:23.777 [VideoFrame-90b68673f8cb@181849a] sage.MiniClientSageRenderer.getSocketChannel(MiniClientSageRenderer.java:766) Mon 9/21 17:14:23.779 [VideoFrame-90b68673f8cb@181849a] sage.MiniClientSageRenderer.getPlayerSocketChannel(MiniClientSageRenderer.java:740) Mon 9/21 17:14:23.781 [VideoFrame-90b68673f8cb@181849a] sage.MiniClientSageRenderer.getPlayerSocketChannel(MiniClientSageRenderer.java:735) Mon 9/21 17:14:23.783 [VideoFrame-90b68673f8cb@181849a] sage.MiniPlayer.initDriver0(MiniPlayer.java:2979) Mon 9/21 17:14:23.785 [VideoFrame-90b68673f8cb@181849a] sage.MiniPlayer.load(MiniPlayer.java:645) Mon 9/21 17:14:23.787 [VideoFrame-90b68673f8cb@181849a] sage.VideoFrame.timeSelected(VideoFrame.java:3403) Mon 9/21 17:14:23.789 [VideoFrame-90b68673f8cb@181849a] sage.VideoFrame.processJob(VideoFrame.java:2450) Mon 9/21 17:14:23.791 [VideoFrame-90b68673f8cb@181849a] sage.VideoFrame.run(VideoFrame.java:1614) Mon 9/21 17:14:23.793 [VideoFrame-90b68673f8cb@181849a] sage.Pooler$PooledThread.run(Pooler.java:252) I've never done any real work on the phone. Where in the filesystem do I find the Sage tv "home" directory? I'm specifically looking for the STV file. Edit: I tried turning the animatios off to see if that would make things faster. It put the device ino some kind of loop where the UI would flash on and off. I had to delete the .properties file on the server to correct the problem. Edit2: The swipe gesture seem to be backwards. Swiping from right to left goes back. I would have guessed that swiping left to right would be back and right to left would be forward?
__________________
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. Last edited by tmiranda; 09-21-2015 at 03:31 PM. |
#136
|
||||
|
||||
Quote:
As for turning off animations, yeah, I noticed lots of issues as well... so I left them on Obviously there is much more work that I need to do there.
__________________
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 |
#137
|
||||
|
||||
And I realized that as a miniclient it uses the STV from the server. I'll start messing about with it to see if I can come up with something a bit more small-screen friendly.
__________________
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. |
#138
|
|||
|
|||
Quote:
Swiping, on the other hand, is swiping the media itself. Swiping left to right on my phone shows my the screen that was previously to the left, which is what left-arrow does on my Windows machine. Think of arrow keys as moving the pencil and swiping as moving the paper. |
#139
|
||||
|
||||
Quote:
__________________
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. |
#140
|
||||
|
||||
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 |
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 |