|
SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
WARNING: SageTV Android Client and Android 11
I upgraded my phone last night to Android 11 and the SageTV client no longer has images or fonts loading. I am pretty sure that this is an issue with the upgrade.
I am going to need to look into this. Not sure what is going on. It might take me a little while to figure out. This is an area of the code I am not very familiar with. So, if you do not want it to break, you may want to hold off on upgrading. Josh
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#2
|
||||
|
||||
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 |
#3
|
||||
|
||||
At first I was getting some objects that did not have images or fonts. Then after reinstalling I get just a black screen. I was thinking that maybe there is a error loading images.
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#4
|
||||
|
||||
Stuckless I think I stumbled upon the issue by luck. I was wondering if you could give me some insight on this code block, and why you added this change. It seems like it was working perfectly until Android 11. It looks like Adroid 11 does not like Bitmap.Config.HARDWARE. Kinda odd.
Code:
public ImageHolder<GdxTexture> readImage(InputStream fis) throws Exception { long st = System.currentTimeMillis(); BitmapFactory.Options options = new BitmapFactory.Options(); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { // this appears to work better since Android O (documentation says it's prefferred // for bitmaps that are only used to render to the screen (immutable) //options.inPreferredConfig = Bitmap.Config.HARDWARE; options.inPreferredConfig = Bitmap.Config.ARGB_8888; } else { options.inPreferredConfig = Bitmap.Config.ARGB_8888; } final Bitmap bitmap = BitmapFactory.decodeStream(fis, null, options); long time = System.currentTimeMillis() - st; totalTextureTime += time; longestTextureTime = Math.max(time, longestTextureTime); final GdxTexture t = new GdxTexture(bitmap); invokeLater(new Runnable() { @Override public void run() { t.load(); } }); return new ImageHolder<>(t, t.width, t.height); }
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#5
|
||||
|
||||
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 |
#6
|
|||
|
|||
Edit - well apparently I'm an idiot. I took the Android 11 OTA update, but something must have gone wrong and the phone must have rebooted into the old Android 10 partition. I didn't notice I was still on Android 10 for a couple of days. (I was killing myself trying to root the phone and every time I booted the Android 11 modified boot image, I got a bootloop. Once I realized it was still on Android 10, I manually upgraded to 11 and rooted the phone just fine).
Long story short, this post of mine was made when I was still unknowingly on Android 10. Quote:
__________________
i7-6700 server with about 10tb of space currently SageTV v9 (64bit) Ceton InfiniTV ETH 6 cable card tuner (Spectrum cable) OpenDCT HD-300 HD Extenders (hooked to my whole-house A/V system for synched playback on multiple TVs - great during a Superbowl party) Amazon Firestick 4k and Nvidia Shield using the MiniClient Using CQC to control it all Last edited by sic0048; 09-22-2020 at 09:43 AM. |
#7
|
||||
|
||||
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 |
#8
|
||||
|
||||
Quote:
Josh
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#9
|
||||
|
||||
Interesting. What hardware are you using? I am using Pixel 3xl. It might be specific to that hardware.
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#10
|
|||
|
|||
I have a Pixel 3aXL. EDIT - that was apparently still on Android 10 (the Android 11 OTA must have failed and unknowingly rebooted into the old Android 10 partition).
__________________
i7-6700 server with about 10tb of space currently SageTV v9 (64bit) Ceton InfiniTV ETH 6 cable card tuner (Spectrum cable) OpenDCT HD-300 HD Extenders (hooked to my whole-house A/V system for synched playback on multiple TVs - great during a Superbowl party) Amazon Firestick 4k and Nvidia Shield using the MiniClient Using CQC to control it all Last edited by sic0048; 09-22-2020 at 09:44 AM. |
#11
|
||||
|
||||
They are really similar, but there is hardware differences in GUP/CPU. I wonder if this is a driver bug on my phone.
Regardless, I fixed the issue and pushed a new release just in case someone else has the issue I had. Josh
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#12
|
|||
|
|||
I just wanted to update my original posts with an idiotic mistake I must have made.
Long story short, my phone was still on Android 10 when I posted that I didn't have any issues with the app. My only guess is that the OTA update failed, or something else caused the phone to reboot into the Android 10 partition. It may have been when I was trying to root it.
__________________
i7-6700 server with about 10tb of space currently SageTV v9 (64bit) Ceton InfiniTV ETH 6 cable card tuner (Spectrum cable) OpenDCT HD-300 HD Extenders (hooked to my whole-house A/V system for synched playback on multiple TVs - great during a Superbowl party) Amazon Firestick 4k and Nvidia Shield using the MiniClient Using CQC to control it all |
#13
|
||||
|
||||
Quote:
Thanks, Josh
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#14
|
|||
|
|||
I experienced the issue after upgrading to Android 11 on my Pixel 4a. The issue was fixed for me in the newer release.
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3 Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030 Client: NVIDIA ShieldTV Client: Fire TV Stick 4K |
#15
|
||||
|
||||
Quote:
Thanks, Josh
__________________
Projects I am currently maintaining SageTV Andoid Client Media Format Parser Plugin JavaFFmpegLibrary SageTVTranscoder If you like the work I am doing and would like to support it you can become a Patreon member. |
#16
|
|||
|
|||
Yep, your newer release of the android mini client (that you said includes a fix for this issue on 9/10) did, indeed, fix it for me on my Pixel 4a. Prior to updating to your fixed version of the mini client, I was just getting a black screen.
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3 Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030 Client: NVIDIA ShieldTV Client: Fire TV Stick 4K |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV Android mini client on an android based TV: Viable? | Slack | SageTV Software | 32 | 08-26-2019 07:57 PM |
SageTV Android Client up and running on Tinkerboard | Redhawk56 | Hardware Support | 1 | 05-21-2017 05:57 PM |
[Android Mini Client] Integrate with Android TV 'Live Channels' | dinki | SageTV Clients Development | 11 | 01-31-2016 09:43 AM |
Finally, a fully functional SageTV client on android and iphone! | mkanet | SageTV v7 Customizations | 12 | 01-12-2013 12:22 AM |
Android client? | equalize | SageTV Placeshifter | 1 | 07-22-2010 09:37 AM |