SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Clients Development
Forum Rules FAQs Community Downloads Today's Posts Search

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 Fanatic
 
Join Date: Jan 2004
Posts: 825
SageTV MiniClient for Android TV (jvl711)

This has morphed from me sharing a fork of the SageTV MiniClient to 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.

Release Notes

1.10.0 (1/6/2021)
- Upgraded to ExoPlayer 2.16.1
- Made modifications required to support ExoPlayer 2.16.1
- Upgraded to ExoPlayer 2.16.1 version of ExoPlayer FFmpeg extension
- Added new preference screens to allow users to change Container/Codec support
- Completely rearchitected how supported containers/codecs are sent to SageTV
- Started adding support for automated Jenkins build and release

1.9.3 (11/2/2021)
- Updated to 2.15.1 of ExoPlayer and FFmpeg extension
- Cleaned up a number of deprecated calls in ExoPlayer implementation
- Added VP8, VP9, H.263 as valid video codecs
- Removed MPEG4 as a valid codec, because Android TV support is very limited. All non H.264/AVC content will be transcoded

1.9.1 (09/10/2021)
- Fixed issue in PushBufferDataSource that was causing transcoding and live tv transitions to freeze
- Updated build to use local libs directory instead of MavenLocal. Simplify build process for support libraries
- Fixed logic bugs on how to tell SageTV when to transcode/remux
- Moved project to Androidx
- Update GDX library version to 1.9.14
- Update ExoPlayer to 2.14.2
- Multiple build.gradle files cleaned up
- Fixed error generating client ID

1.8.1 (6/18/2021)
- Updated to ExoPlayer 2.14.0
- Updated FFmpeg extension to 2.14.0
- Some minor bug fixes

1.8.0 (5/14/2021) - Brought to you by user cncb
- Support external links to open videos in other apps directly (Netflix/Amazon).
- Allow display of embedded PGS subtitles in ExoPlayer.
- Add option to enable system sleep.

1.7.1 (2/11/2021)
- Redesigned some of the settings screens. Broke out the settings for ExoPlayer and IJKPlayer
- Upgrade to ExoPlayer 2.12.3
- Added additional codecs to the ExoPlayer Codec Debug Screen (DIVX, AC4, OPUS, etc...)
- Removed AVI as a supported container format for ExoPlayer. This should go thru the transcoder

1.7.0 (11/12/2020)
- Playing back active recording TV seeking issue with ExoPlayer: Issue #96
- Frame Advance & Slow Motion Advance enhancement: Issue #91
- Upgrade to ExoPlayer 2.12.1 enhancement: Issue #95
- Full-Screen On Screen Navigation enhancement: Issue #42
- Issue with keyboard and favorites on the FireTV: Issue #92
- Error connecting to server when using fixed Transcoding/Streaming: Issue #97

1.6.3 (2020-10-10)

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

1.6.2 (2020-9-11)

- Fixed an issue with Android 11 where images were not rendering
- Upgraded ExoPlayer to 2.11.8
- Fixed the volume up/down keys. You need to map them to NONE for them to work properly
- Volume up/down mapped to NONE by default
- Added fixed transcoding settings to allow for HD transcoding from the server to MKV container
- 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)

- 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)

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

1.5.0 (2020-6-26)

- Moving to new Play Store app
- Updated to exoplayer 2.11.5
- Added HEVC codec to list of codecs sent to sage durring connection
- Attempted to clean up the current playback time, and the seek
- Turn off rendering cues if by default
- Add error message toast on ExoPlayer2 Error
- Fixed issues with seeking when using exoplayer and push mediasource
- Added some basic support for subtitles in ExoPlayer
- 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; 01-24-2022 at 04:23 PM.
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: 41
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 Fanatic
 
Join Date: Jan 2004
Posts: 825
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 Fanatic
 
Join Date: Jan 2004
Posts: 825
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
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
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: 120
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: 406
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: 869
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!
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7
Servers: ChannelsDVR, Plex, AnyStream, PlayOn,
Tuner: HDHomeRun Connect Quatro
Tuner: HDHomeRun Connect Duo
Sources: OTA, Sling Blue, Prime, Disney+,
Clients: ShieldTV (2), Fire TV Stick 4K (4)
Reply With Quote
  #10  
Old 06-21-2020, 06:17 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
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,997
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.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

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: 869
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
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7
Servers: ChannelsDVR, Plex, AnyStream, PlayOn,
Tuner: HDHomeRun Connect Quatro
Tuner: HDHomeRun Connect Duo
Sources: OTA, Sling Blue, Prime, Disney+,
Clients: ShieldTV (2), Fire TV Stick 4K (4)
Reply With Quote
  #13  
Old 06-21-2020, 09:26 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
@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.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
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: 61
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
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
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: 474
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: 169
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 Fanatic
 
Join Date: Jan 2004
Posts: 825
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 Fanatic
 
Join Date: Jan 2004
Posts: 825
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
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
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)
 

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 14 09-18-2022 07:15 AM
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 02:40 PM.


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