SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Clients Development

Notices

SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-20-2020, 06:26 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Expert
 
Join Date: Jan 2004
Posts: 612
SageTV MiniClient for Android TV (jvl711)

This has morphed from me sharing a fork of the SageTV MiniClient to me maintaining and posting releases of Stuckless' original work. I will post APK releases to the github repository. I will also post releases to the Google Play Store and Amazon App Store.

Beta release will not be published to github. I generally will just post a link in the forums. Once I am comfortable that they are stable I will post to GitHub/Google/Amazon.

Release Notes

1.6.3 (2020-10-10)

- jvl711: Rearchitected how playback position was retrieved. Switched to a UI thread that updates every 500ms.
- jvl711: Fixed an issue with seeking after resume from pause. The state was not getting properly updated
- jvl711: Allowing proper seek when playback is paused. Allow the position to get reported to sage server on pause
- jvl711: Added the blue icons that I made for FireTV to Android project

1.6.2 (2020-9-11)

jvl711: Fixed an issue with Android 11 where images were not rendering
jvl711: Upgraded ExoPlayer to 2.11.8
jvl711: Fixed the volume up/down keys. You need to map them to NONE for them to work properly
jvl711: Volume up/down mapped to NONE by default
jvl711: Added fixed transcoding settings to allow for HD transcoding from the server to MKV container
jvl711: Added the ability for Exoplayer to filter the Video codecs that are not supported. This will allow SageTV to transcode on unsupported formats
NOTE: The fixed transcoding changes need a patched version of Sage.jar to work properly. Hopefully those changes will make it into the next release of SageTV

1.5.2 (2020-7-09)

jvl711: Attempted to add a workaround for the FireTV where you can not close the system keyboard. Next/Previous buttons should now close it.

1.5.1 (2020-6-30)

jvl711: Update ExoPlayer FFmpeg extension to 2.11.5
jvl711: Added a setting for ffmpeg exoplayer extension, to turn it on, off or prefer
jvl711: Updated some deprecated code in the constructing on the SimpleExoPlayer instance

1.5.0 (2020-6-26)

jvl711: Moving to new Play Store app
jvl711: Updated to exoplayer 2.11.5
jvl711: Added HEVC codec to list of codecs sent to sage durring connection
jvl711: Attempted to clean up the current playback time, and the seek
jvl711: Turn off rendering cues if by default
jvl711: Add error message toast on ExoPlayer2 Error
jvl711: Fixed issues with seeking when using exoplayer and push mediasource
jvl711: Added some basic support for subtitles in ExoPlayer
jvl711: Fixed a bug where it would not seek to the SageTV supplied start position**Forked the code base from version 1.4.4 (jvl711)**




Download links:

GitHub
Amazon App Store
Google Playstore


If you would like to support my work you can become a supporter here Patreon

Last edited by jvl711; 10-10-2020 at 06:12 AM.
Reply With Quote
  #2  
Old 06-20-2020, 11:46 AM
randyth randyth is offline
Sage User
 
Join Date: Aug 2009
Location: Eugene, ,OR
Posts: 31
This looks really interesting.

What hardware are you running this fork on?
Reply With Quote
  #3  
Old 06-20-2020, 01:32 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Expert
 
Join Date: Jan 2004
Posts: 612
Quote:
Originally Posted by randyth View Post
This looks really interesting.

What hardware are you running this fork on?
2015 XBR-65X850C Sony Android TV. Works pretty flawlessly.
Reply With Quote
  #4  
Old 06-20-2020, 02:22 PM
crarbo1 crarbo1 is offline
Sage Aficionado
 
Join Date: Jul 2008
Posts: 472
How do I install it on a ShieldTV, which is running Android TV? Since it isn't in the Play Store, I am not sure how to install it.

Thanks and I appreciate you taking this on!
__________________
OS: Windows 10 Pro (64 bit)
Motherboard/CPU/RAM: Gigabyte EP43-UD3/Intel Core 2 Quad Q9550 @ 2.83 GHz/8 GB RAM
System Drive : Samsung 850 Pro SSD (256 GB)
Recording Drive's: 2 x WD WD4001FAEX (4 TB)
Tuner's: 2 x Ceton InfiniTV 4's
Clients: 3 x Nvidia Shield TV's; Spares: 2 x HD300's
SageTV v9.1.2.662 with OpenDCT v0.5.28
Java 1.8.0_111-b14 (32bit)
Reply With Quote
  #5  
Old 06-20-2020, 03:02 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Expert
 
Join Date: Jan 2004
Posts: 612
Quote:
Originally Posted by crarbo1 View Post
How do I install it on a ShieldTV, which is running Android TV? Since it isn't in the Play Store, I am not sure how to install it.

Thanks and I appreciate you taking this on!
I am not 100% sure for the shield. but you will need to put the APK file on a USB stick. You will need to allow third party sources to be installed. Use a file explorer app and click on the APK to install it. If you Google how to sideload an app on the shield you will probably get better instructions.

Josh
Reply With Quote
  #6  
Old 06-20-2020, 08:59 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 2,422
Can this be sideloaded on my Galaxy smartphone, or a FireTV device? If so, is the user interface able to allow the entering of username/password for remote use while I travel?
Reply With Quote
  #7  
Old 06-20-2020, 09:19 PM
Carlton Bale Carlton Bale is offline
Sage Advanced User
 
Join Date: Sep 2010
Location: Indianapolis, Indiana, USA
Posts: 108
It would be great to have this merged into the official version. With so few developers remaining, itís probably better to consolidate as much as possible.
Reply With Quote
  #8  
Old 06-20-2020, 09:44 PM
mechling-burgh mechling-burgh is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Pittsburgh, PA
Posts: 398
This solved my audio problems on my HDPVR recordings. Thanks a great deal
Reply With Quote
  #9  
Old 06-21-2020, 04:21 AM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 769
Quote:
Originally Posted by Carlton Bale View Post
It would be great to have this merged into the official version. With so few developers remaining, itís probably better to consolidate as much as possible.
I agree. It is much better to have a version that is being maintained.

Thanks!
__________________
Server: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 3-1TB WD Blue SATA 6.0Gb/s HDD; Windows 7; SageTV 9
Tuner: (2) HDHomeRun Prime
Client: (2) HD300
Client: Mini-Client, ShieldTV
Client: (2) Mini-Client, Fire TV Stick 4K
Reply With Quote
  #10  
Old 06-21-2020, 06:17 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 2,422
Quote:
Originally Posted by KryptoNyte View Post
Can this be sideloaded on my Galaxy smartphone, or a FireTV device? If so, is the user interface able to allow the entering of username/password for remote use while I travel?
Added it to the phone, works great. Added it to the FireTV device, set it to Exoplayer, works great. Tried remote, still have that pesky keyboard that can't be navigated when trying to enter Placeshifter user/pass. If you are able to fix that, it would be a huge advancement for remote use.

Thanks for your work on this, Josh.
Reply With Quote
  #11  
Old 06-21-2020, 08:26 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,336
Quote:
Originally Posted by jvl711 View Post
I wanted to share with everyone a fork of the mini client that I have been maintaining for personal use. I have built off of, and attempted to maintain, the great work that Stuckless has done. This was my first foray into Android development, so I am still learning a lot. I am mainly trying to keep ExoPlayer up to date and fill in some missing features or bugs. It does not seem that IJKPlayer is being updated anymore, so right now ExoPlayer seems like the best choice to keep this moving forward.

This release has a different name/icon so it can be used side by side with the original. So if I break something, you will have a backup.

I am sharing this as is. You can post questions, comments and issues, but there is no guarantee I will get to them. I will continue to post updates as I make them.

Release Notes

**1.0.7 (2020-6-19) **
- jvl711: Updated to exoplayer 2.11.5
- jvl711: Removed the queue timer since remove cues was fixed

**1.0.6 (2020-1-30) **
- jvl711: Added HEVC codec to list of codecs sent to sage durring connection

**1.0.5 (2020-1-20) **
- jvl711: Added timer thread to hide cues after 5 seconds
- jvl711: Attempted to clean up the current playback time, and the seek
- jvl711: Updated Exoplayer to 2.11.1

**1.0.3 (2019-12-12)**
- jvl711: Turn off rendering cues if by default
- jvl711: Add error message toast on ExoPlayer2 Error
- jvl711: Updated Exoplayer to 2.11.0

**1.0.2 (2019-11-15)**
- jvl711: Fixed issues with seeking when using exoplayer and push mediasource

**1.0.1 (2019-11-14)**
- jvl711: upgraded ExoPlayer base to 2.10.6

**1.0.0 (2019-10-01)**
- jvl711: Updated to version 2.9.6 of Exoplayer.
- jvl711: Added some basic support for subtitles in ExoPlayer
- jvl711: Fixed a bug where it would not seek to the SageTV supplied start position

**Forked the code base from version 1.4.4 (jvl711)**

Download links:

SageTV_Mini_1_0_7.apk
Installed in FireTV Cube 2 and it works great ... seeking is much better ... with this fork.

The only thing is that the Icon does not appear ... all I see is some default gray box to launch the APK.
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.

Last edited by nyplayer; 06-21-2020 at 08:54 AM.
Reply With Quote
  #12  
Old 06-21-2020, 09:04 AM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 769
Quote:
Originally Posted by KryptoNyte View Post
still have that pesky keyboard that can't be navigated when trying to enter Placeshifter user/pass. If you are able to fix that, it would be a huge advancement for remote use.
+1
__________________
Server: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 3-1TB WD Blue SATA 6.0Gb/s HDD; Windows 7; SageTV 9
Tuner: (2) HDHomeRun Prime
Client: (2) HD300
Client: Mini-Client, ShieldTV
Client: (2) Mini-Client, Fire TV Stick 4K
Reply With Quote
  #13  
Old 06-21-2020, 09:26 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,336
@jvl711

Tested on Various devices ...

FireTV 4K everything works.
Panasonic FireTV everything works
ShieldTV everything works.
FireTV Cube 2 everything works just the Icon doesn't load no big deal.

Thanks for keeping this alive ... SageTV still the best after so many years and contenders.
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.
Reply With Quote
  #14  
Old 06-21-2020, 09:51 AM
gclayto's Avatar
gclayto gclayto is offline
Sage User
 
Join Date: Dec 2010
Location: US
Posts: 56
Quote:
Originally Posted by KryptoNyte View Post
Added it to the phone, works great. Added it to the FireTV device, set it to Exoplayer, works great. Tried remote, still have that pesky keyboard that can't be navigated when trying to enter Placeshifter user/pass. If you are able to fix that, it would be a huge advancement for remote use.

Thanks for your work on this, Josh.
The easiest way around the keyboard issue is to buy a cheap Bluetooth keyboard and pair it with the Firestick.
Reply With Quote
  #15  
Old 06-21-2020, 05:01 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 2,422
Quote:
Originally Posted by gclayto View Post
The easiest way around the keyboard issue is to buy a cheap Bluetooth keyboard and pair it with the Firestick.
The keyboard is the problem. Once it pops up while you are trying to type the username, nothing the user does can make it go away, and it doesn't seem to advance fields.
Reply With Quote
  #16  
Old 06-21-2020, 07:23 PM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 459
Anybody else test this with MPEG2 OTA TV Stream? I didn't seem to have any luck with getting EXOPlayer to work for me there but when I switch back to IJK it works same as before.
Reply With Quote
  #17  
Old 06-21-2020, 07:24 PM
Denali Denali is offline
Sage Advanced User
 
Join Date: Aug 2008
Location: South Florida
Posts: 165
For keyboard problem this works for me

Launch Sage app
keyboard opens for Username
enter Username
tap Return/Back on phone
keyboard hides
tap Password field
swipe from left side
function overlay appears
tap keyboard icon
keyboard returns
enter Password
tap Return/Back on phone
keyboard hides
tap Login
__________________
HTPC: Gigabyte GA-Z170XP-SLI, I7-6700, 16GB, Windows 10 Pro x64, Hauppauge HVR-1600, WinTV-dualHD, Colossus 2, Samsung 850 EVO 120GB, Seagate 3TB, WD 3TB, 3TB, 5TB, Java v1.8.0_231, SageTVx64 v9.2.1.826, Samsung UN60EH6003F, Dish ViP222K, ViewHD 1x2 HDMI Splitter.
Reply With Quote
  #18  
Old 06-22-2020, 08:05 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Expert
 
Join Date: Jan 2004
Posts: 612
Quote:
Originally Posted by sacrament055 View Post
Anybody else test this with MPEG2 OTA TV Stream? I didn't seem to have any luck with getting EXOPlayer to work for me there but when I switch back to IJK it works same as before.
I added a screen that shows which codecs are available to ExoPlayer in the settings menu. Check to see if your device has MPEG2 codec available. A handful of devices do not have MPEG2. For instance my Pixel phone does not.

In that case you will need to use IJKPlayer. I may look into adding the ability to fallback to IJK when the codec is not supported...

Thanks,
Josh
Reply With Quote
  #19  
Old 06-22-2020, 08:30 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Expert
 
Join Date: Jan 2004
Posts: 612
Quote:
Originally Posted by nyplayer View Post
@jvl711

Tested on Various devices ...

FireTV 4K everything works.
Panasonic FireTV everything works
ShieldTV everything works.
FireTV Cube 2 everything works just the Icon doesn't load no big deal.

Thanks for keeping this alive ... SageTV still the best after so many years and contenders.
Thanks for your feedback nyplayer. I will try and load this on my Firestick when I have some time and see if I can reproduce the icon issue. Probably missing a specific icon format/size.
Reply With Quote
  #20  
Old 06-22-2020, 09:50 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 2,422
Quote:
Originally Posted by Denali View Post
For keyboard problem this works for me

Launch Sage app
keyboard opens for Username
enter Username
tap Return/Back on phone
keyboard hides
tap Password field
swipe from left side
function overlay appears
tap keyboard icon
keyboard returns
enter Password
tap Return/Back on phone
keyboard hides
tap Login
I'm not sure what phone you are using, but whether I try this on my Galaxy Note 8 or my fire stick 4k, the return/back never hides the keyboard. Unless I'm missing something?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTV MiniClient for Android Indiegogo Campaign (Thanks) stuckless SageTV Clients Development 13 10-27-2020 01:49 PM
Android MiniClient 1.4.3 stuckless SageTV Clients Development 20 03-25-2019 10:32 AM
Android MiniClient 1.2.9 stuckless SageTV Clients Development 53 04-16-2018 07:30 AM
Android Miniclient and UK TV rickgillyon SageTV Clients Development 6 12-01-2016 05:58 PM
Android Miniclient on Mi Box Crashing SageTV Server v9 mackb SageTV Clients Development 9 11-27-2016 07:28 PM


All times are GMT -6. The time now is 05:14 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.