SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV Clients Development (http://forums.sagetv.com/forums/forumdisplay.php?f=56)
-   -   Fork of SageTV MiniClient for Android TV (http://forums.sagetv.com/forums/showthread.php?t=66405)

jvl711 06-20-2020 06:26 AM

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

randyth 06-20-2020 11:46 AM

This looks really interesting.

What hardware are you running this fork on?

jvl711 06-20-2020 01:32 PM

Quote:

Originally Posted by randyth (Post 625689)
This looks really interesting.

What hardware are you running this fork on?

2015 XBR-65X850C Sony Android TV. Works pretty flawlessly.

crarbo1 06-20-2020 02:22 PM

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!

jvl711 06-20-2020 03:02 PM

Quote:

Originally Posted by crarbo1 (Post 625692)
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

KryptoNyte 06-20-2020 08:59 PM

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?

Carlton Bale 06-20-2020 09:19 PM

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.

mechling-burgh 06-20-2020 09:44 PM

This solved my audio problems on my HDPVR recordings. Thanks a great deal

NetworkGuy 06-21-2020 04:21 AM

Quote:

Originally Posted by Carlton Bale (Post 625697)
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!

KryptoNyte 06-21-2020 06:17 AM

Quote:

Originally Posted by KryptoNyte (Post 625696)
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.

nyplayer 06-21-2020 08:26 AM

Quote:

Originally Posted by jvl711 (Post 625687)
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.

NetworkGuy 06-21-2020 09:04 AM

Quote:

Originally Posted by KryptoNyte (Post 625701)
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 :thumbup:

nyplayer 06-21-2020 09:26 AM

@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.

gclayto 06-21-2020 09:51 AM

Quote:

Originally Posted by KryptoNyte (Post 625701)
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.

KryptoNyte 06-21-2020 05:01 PM

Quote:

Originally Posted by gclayto (Post 625705)
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.

sacrament055 06-21-2020 07:23 PM

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.

Denali 06-21-2020 07:24 PM

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

jvl711 06-22-2020 08:05 AM

Quote:

Originally Posted by sacrament055 (Post 625709)
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

jvl711 06-22-2020 08:30 AM

Quote:

Originally Posted by nyplayer (Post 625704)
@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.

KryptoNyte 06-22-2020 09:50 AM

Quote:

Originally Posted by Denali (Post 625710)
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?


All times are GMT -6. The time now is 01:29 PM.

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