|
SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development. |
|
Thread Tools | Search this Thread | Display Modes |
#161
|
|||
|
|||
Quote:
I also read a certain number of these images into a list to hold in memory to save going back to disk for them and replace the oldest ones when something new is requested for display. We can discuss more if there is a better approach that may help with the UI performance....I wrote this a LONG time ago and I know the code is complex (and has a couple bugs in it too). k |
#162
|
||||
|
||||
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 |
#163
|
||||
|
||||
Quote:
My understanding is that sagetv is not scaling before sending. I'm basing this off a conversation I had with Jeff when I introduced the "scale screen to half native". I thought that by telling sagetv that my screen size was half native then it would send me "smalller" images, and I'd upscale them on the client, but that is not the case. ie, doesn't matter what I tell sagetv my screen size is... it will send me the same physical sized images, and then just ask the client to render it smaller/larger (based on the rectangles). ie, the server doesn't scale and resize before sending. So my "brilliant" idea of rendering half native to save on bandwidth, actually doesn't do anything useful, except make the screen look bad
__________________
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 |
#164
|
|||
|
|||
Stuckless
Do you think that at least for the directional buttons you could add in a long press as sending multi events. As it currently sits the directional buttons really get a work out when traversing the EPG. |
#165
|
||||
|
||||
Quote:
https://github.com/OpenSageTV/sagetv...ient/issues/37
__________________
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 |
#166
|
|||
|
|||
First off, many thanks for the great work on the mini client.
The mini client works fine with my Samsung tablet and phone. I have a couple of HD300's that also connect without issue. However, there's an issue when I connect with a Sony Xperia Tablet Z. When the mini client initiates a connection with SageTV, SageTV terminates. The GUI loads on the tablet and SageTV disappears off the PC (which is running Windows 10). I'm guessing that it's an issue with SageTV rather than the mini client, but I can't find anything in any of the SageTV log files to determine the root cause. There's nothing in the Windows event log either. I'm currently running Beta 0.08 and also tried 0.06. A snippet from the mini client log shows the connection loss while it's caching files. Code:
10:25:43.812 [GFX-172.16.1.99] DEBUG sagex.miniclient.GFXCMD2 - PREPIMAGE: CACHED: Loading 33 10:25:43.821 [GFX-172.16.1.99] DEBUG sagex.miniclient.GFXCMD2 - PREPIMAGE: CACHED: Loading 34 10:25:43.830 [GFX-172.16.1.99] DEBUG sagex.miniclient.GFXCMD2 - PREPIMAGE: CACHED: Loading 35 10:25:43.839 [GFX-172.16.1.99] DEBUG sagex.miniclient.GFXCMD2 - PREPIMAGE: CACHED: Loading 36 10:25:43.945 [GFX-172.16.1.99] DEBUG sagex.miniclient.GFXCMD2 - LoadImageCompressed: 2145839201, CACHED: /data/data/sagex.miniclient.android/cache/stv1615781162img 10:25:46.275 [Media-172.16.1.99] ERROR s.miniclient.MiniClientConnection - Error w/ Media Thread java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer) at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:601) ~[na:0.0] at libcore.io.IoBridge.recvfrom(IoBridge.java:565) ~[na:0.0] at java.net.PlainSocketImpl.read(PlainSocketImpl.java:485) ~[na:0.0] at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:37) ~[na:0.0] at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:237) ~[na:0.0] at libcore.io.Streams.readFully(Streams.java:81) ~[na:0.0] at java.io.DataInputStream.readFully(DataInputStream.java:99) ~[na:0.0] at java.io.DataInputStream.readFully(DataInputStream.java:95) ~[na:0.0] at sagex.miniclient.MiniClientConnection.MediaThread(MiniClientConnection.java:1921) ~[na:0.0] at sagex.miniclient.MiniClientConnection.access$000(MiniClientConnection.java:32) ~[na:0.0] at sagex.miniclient.MiniClientConnection$1.run(MiniClientConnection.java:389) ~[na:0.0] Caused by: android.system.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer) at libcore.io.Posix.recvfromBytes(Native Method) ~[na:0.0] at libcore.io.Posix.recvfrom(Posix.java:185) ~[na:0.0] at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:250) ~[na:0.0] at libcore.io.IoBridge.recvfrom(IoBridge.java:562) ~[na:0.0] ... 9 common frames omitted |
#167
|
|||
|
|||
Quote:
I saw this reasoning before, but I thought it could be done at a per key granularity(I swear I've seen apps support both types). The directional buttons should almost never need a long a press to mean anything other than a repeated press. This is why i only mentioned directional odd. Last edited by Gustovier; 01-30-2016 at 12:04 AM. |
#168
|
||||
|
||||
A couple of things comes to mind, especially since you said the SageTV exits (which I understand to mean the server). I've several people have issues with sagetv existing due to an exit bug in Foncour's tcp server plugin. So, if you have that installed, then I'd go searching the thread for that.
I think the sagetv server log would show more/better information, especially if debug logging is enabled. The log snippet that you showed, basically indicates that the server killed our connection. The server could be running out memory, or something else on the server is happening. 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 |
#169
|
||||
|
||||
BETA 9
This "may" be the last beta before I release it on the play store. A couple of minor things 1. SPACE was an unmapped key, so that's fixed (ie, you can use space the virtual keyboard) 2. When you exit, it will exit to the home screen (configurable in preferences) A bigger thing is that Jeff provided me with a PSExtractor so that ExoPlayer can support playing MPEGPS streams. (ie, MPEG2 Video in a MPEGPS container) This works, but, like when we started out with TS support there are quirks. Hopefully we can address those quirks over time. 1. Seeking is not working 2. Some videos that I tried had mixed results (in once case video appears to play 2x)
__________________
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 |
#170
|
|||
|
|||
Suggestion. I don't know how easy or feasible this is, but the on screen navigation might work better if it's arranged like a remote. It would make it easier to get to get around and I don't think blocking a little bit of the screen is too big a deal.
|
#171
|
|||
|
|||
I got an Android TV box and I have installed Sage - one problem is that I can't figure out how to get to the Options screen from the main menu so that I can load the Gemstone settings. To be honest I am not 100% sure that Gemstone is even loaded as it looks like the default UI.
Can you use Gemstone on the Android client? And how do I get to the Options screen in the main menu that can normally be accessed by a right click on the mouse or by pressing the options button on the remote?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#172
|
||||
|
||||
Quote:
http://forums.sagetv.com/forums/showthread.php?t=62439
__________________
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 |
#173
|
|||
|
|||
Yes - thanks - I was looking for the info in this thread. My box is supposed to be quad core and and an octa core GPU but it seems to be underpowered as the UI is kind of laggy and slow compared to what I am used to on an HD200. And I may also be having network issues with the box right now.
In addition I am not sure how to do the mapping so that the Home key on my remote takes me to the SageTV home rather than to the Android Box home screen.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#174
|
|||
|
|||
Quote:
The SageTV debug log didn't show anything, so I tried disabling the tcp server plugin and that did the trick. |
#175
|
||||
|
||||
Quote:
Thanks again!
__________________
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 |
#176
|
||||
|
||||
Quote:
I guess the first step is get the mediainfo for the files you are playing and see what it says, and always, I'll need to know which player you are using.
__________________
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 |
#177
|
||||
|
||||
I've tried with both players and really have no preference but it sounds like ExoPlayer would be the obvious choice as it should use hardware decoding if I'm reading you correctly. Here's the media info on one of the files:
Code:
General Complete name : D:\Media\tvrecordings\Shark Tank - S07E15 - 13573998-0.mpg Format : MPEG-PS File size : 3.72 GiB Duration : 1h 0mn Overall bit rate : 8 763 Kbps Movie name : DR. KEN Law rating : TV-PG (L) Video ID : 224 (0xE0) Format : MPEG Video Commercial name : HDV 720p Format version : Version 2 Format profile : Main@High Format settings, BVOP : Yes Format settings, Matrix : Custom Format settings, GOP : Variable Duration : 1h 0mn Maximum bit rate : 8 420 Kbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate : 59.940 (60000/1001) fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio #1 ID : 128 (0x80) Format : AC-3 Format/Info : Audio Coding 3 Compression mode : Lossy Audio #2 ID : 189 (0xBD)-128 (0x80) Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Format settings, Endianness : Big Muxing mode : DVD-Video Duration : 1h 0mn Bit rate mode : Constant Bit rate : 192 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Frame rate : 31.250 fps (1536 spf) Compression mode : Lossy Delay relative to video : -585ms Stream size : 83.4 MiB (2%) Text #1 ID : 224 (0xE0)-CC1 Format : EIA-608 Muxing mode : A/53 / DTVCC Transport Muxing mode, more info : Muxed in Video #1 Bit rate mode : Constant Stream size : 0.00 Byte (0%) Text #2 ID : 224 (0xE0)-CC3 Format : EIA-608 Muxing mode : A/53 / DTVCC Transport Muxing mode, more info : Muxed in Video #1 Bit rate mode : Constant Stream size : 0.00 Byte (0%) Text #3 ID : 224 (0xE0)-1 Format : EIA-708 Muxing mode : A/53 / DTVCC Transport Muxing mode, more info : Muxed in Video #1 Bit rate mode : Constant Stream size : 0.00 Byte (0%) Text #4 ID : 224 (0xE0)-2 Format : EIA-708 Muxing mode : A/53 / DTVCC Transport Muxing mode, more info : Muxed in Video #1 Bit rate mode : Constant Stream size : 0.00 Byte (0%) Text #5 ID : 224 (0xE0)-3 Format : EIA-708 Muxing mode : A/53 / DTVCC Transport Muxing mode, more info : Muxed in Video #1 Bit rate mode : Constant Stream size : 0.00 Byte (0%) Text #6 ID : 224 (0xE0)-4 Format : EIA-708 Muxing mode : A/53 / DTVCC Transport Muxing mode, more info : Muxed in Video #1 Bit rate mode : Constant Stream size : 0.00 Byte (0%) Text #7 ID : 224 (0xE0)-5 Format : EIA-708 Muxing mode : A/53 / DTVCC Transport Muxing mode, more info : Muxed in Video #1 Bit rate mode : Constant Stream size : 0.00 Byte (0%) Text #8 ID : 224 (0xE0)-6 Format : EIA-708 Muxing mode : A/53 / DTVCC Transport Muxing mode, more info : Muxed in Video #1 Bit rate mode : Constant Stream size : 0.00 Byte (0%)
__________________
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 |
#178
|
||||
|
||||
What's the issue you are having. is that you get an error, or that the video starts and then crashes. no audio? etc.
__________________
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 |
#179
|
||||
|
||||
Hi, stuckless - I have Beta V.09 installed. This is pretty amazing!
A lot of the time, I would probably want to use the Mini Client to remotely check / schedule recordings over the internet. Unfortunately, I think I need to use a placeshifter license to get this to work. I purchased a used HD-100 a year or so ago that I don't use right now. Can I use the unused HD-100 license to act as a placeshifter for the mini-client? Thanks, AzJazz
__________________
AzJazz SageTV: v9.x (on Win7x64) CPU: Core i7-3770 @ 3.40+ GHz RAM: 16GB DDR3 1600 GPU: nVidia GTX-770 RCVR: HD-Homerun STB: STX-HD100, HD-300 |
#180
|
||||
|
||||
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MiniClient Information | Taddeusz | SageTV Github Development | 5 | 09-10-2015 11:11 AM |
Miniclient? | BobbyDing | General Discussion | 3 | 09-08-2015 11:53 AM |
OSD doesn't work in Linux miniclient 6.6 | Grant.Edwards | SageTV Linux | 1 | 08-27-2011 04:37 PM |
Linux Placeshifter/Miniclient Fails | scsever | SageTV Linux | 1 | 08-23-2011 10:20 PM |
Does miniclient work with SageTV 7? | bkbonner | SageTV Beta Test Software | 1 | 09-10-2010 12:54 AM |