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
  #101  
Old 06-30-2020, 10:21 AM
SteveW's Avatar
SteveW SteveW is offline
Sage Aficionado
 
Join Date: Oct 2008
Location: Fall River, Nova Scotia, Canada
Posts: 389
Hi Josh,

A quick question.... one of the things that stopped me from using the mini client as a full purpose client is that it wouldn’t recognize the bluray or DVD directory structures like the full client and hd300 clients. Mine are bluray rips are without any menus - basically a single stream file with single playlist. DVDs are still VOBs.

I believe the Android mini client only can play MKVs for movies. Any chance that may change?

Tnx
Steve
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, 36TB Synology 1019+ for DVD/Bluray Rips, Music, Home Movies, etc., SageTV Server 64 Bit Ver 9.2.6.976, HDPVR x 2, Bell TV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver

Clients: PC Client x 2, HD-300 x 2 (1 Using Netgear MoCA Coax Bridges), SageTV Miniclient on NVidia Shield x 3
Reply With Quote
  #102  
Old 06-30-2020, 12:35 PM
crarbo1 crarbo1 is offline
Sage Aficionado
 
Join Date: Jul 2008
Posts: 472
Quote:
Originally Posted by jvl711 View Post
Quick status update.

I decided to add the setting for the FFmpeg extension before releasing 1.5.1. I am going to add that setting, and produce one more beta before pushing the update.

I have been attempting to publish the app on the Amazon App Store. I think I am going to need to rebrand the app to get it approved. I renamed it in the app to "SageTV Andriod Client". Hopefully this will not conflict with the other listing, and allow it to be published. I may rename the Google play store entry to match. Have not decided yet.

Josh
jvl711,
Thanks for working on this and I have tried the version you have already published to the play store. It does work fine for me in my limited testing. One thing about the names of the two apps staying the same, if you have them both installed, is that it is not obvious which one you open. I have opened the wrong one a few times. So, my vote is to name the app something different than what is already out there. "SageTV Android Client" sounds good and I think having the same name for every platform designed for would be best.

Thanks again for your work,
Chuck
__________________
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
  #103  
Old 06-30-2020, 02:43 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Hi All,

New beta that adds a setting for the FFmpeg Audio Extension. I am hoping this is the last beta before I release 1.5.1

Let me know if you guys see any issues. If not I will publish to Play Store.

1.5.1 Beta 3

Last edited by jvl711; 06-30-2020 at 03:07 PM.
Reply With Quote
  #104  
Old 06-30-2020, 02:53 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by SteveW View Post
Hi Josh,

A quick question.... one of the things that stopped me from using the mini client as a full purpose client is that it wouldn’t recognize the bluray or DVD directory structures like the full client and hd300 clients. Mine are bluray rips are without any menus - basically a single stream file with single playlist. DVDs are still VOBs.

I believe the Android mini client only can play MKVs for movies. Any chance that may change?

Tnx
Steve
Wow. I honestly do not have a good grasp on how this might be handled. I would need to dig through what is being sent to the mini client when these types of files are attempted to be played. I would assume Sage would send the VOB files for playback, but I am not sure. I will add it to the wish list, but this might be a challange.

The Android Mini Client does support a lot more containers than MKV. But I do not think the VOBs are supported.

Here is a link of the currently supported containers/formats

https://exoplayer.dev/supported-formats.html
Reply With Quote
  #105  
Old 06-30-2020, 02:56 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by crarbo1 View Post
jvl711,
Thanks for working on this and I have tried the version you have already published to the play store. It does work fine for me in my limited testing. One thing about the names of the two apps staying the same, if you have them both installed, is that it is not obvious which one you open. I have opened the wrong one a few times. So, my vote is to name the app something different than what is already out there. "SageTV Android Client" sounds good and I think having the same name for every platform designed for would be best.

Thanks again for your work,
Chuck
I think I am in agreement that the name change may make things more clear. Windows/Andriod/Linux.

FYI, this is no longer a fork of the original. I have taken over the original repository, and am releasing new versions of the original SageTV MiniClient.

Thanks,
Josh
Reply With Quote
  #106  
Old 06-30-2020, 03:01 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jvl711 View Post
Hi All,

New beta that adds a setting for the FFmpeg Audio Extension. I am hoping this is the last beta before I release 1.5.1

Let me know if you guys see any issues. If not I will publish to Play Store.

1.5.1 Beta 3
I am getting an Install error maybe the APK is bad ?

C:\platform-tools>adb install "C:\platform-tools\SageTVMiniClient_1_5_1_beta3.apk"
Performing Streamed Install
adb: failed to install C:\platform-tools\SageTVMiniClient_1_5_1_beta3.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #107  
Old 06-30-2020, 03:08 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by nyplayer View Post
I am getting an Install error maybe the APK is bad ?

C:\platform-tools>adb install "C:\platform-tools\SageTVMiniClient_1_5_1_beta3.apk"
Performing Streamed Install
adb: failed to install C:\platform-tools\SageTVMiniClient_1_5_1_beta3.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
I rebuilt and uploaded again. Can you try again please.

Josh
Reply With Quote
  #108  
Old 06-30-2020, 03:10 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jvl711 View Post
I rebuilt and uploaded again. Can you try again please.

Josh
It says its is in your trash in google.... not available for download.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #109  
Old 06-30-2020, 03:25 PM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 869
I also vote in favor of the name change. I have opened the wrong app more than once.

Quote:
Originally Posted by jvl711 View Post
FYI, this is no longer a fork of the original. I have taken over the original repository, and am releasing new versions of the original SageTV MiniClient.
But you are releasing them with a new name?
__________________
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
  #110  
Old 06-30-2020, 03:34 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by nyplayer View Post
It says its is in your trash in google.... not available for download.
Updated the link. Can you double check the link from the post.
Reply With Quote
  #111  
Old 06-30-2020, 03:36 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jvl711 View Post
Updated the link. Can you double check the link from the post.
Still no Good ....

https://drive.google.com/file/d/1rsz...SIWphIFB_/view
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #112  
Old 06-30-2020, 03:42 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by nyplayer View Post
https://drive.google.com/file/d/1HRq...ew?usp=sharing
Reply With Quote
  #113  
Old 06-30-2020, 03:51 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jvl711 View Post
Off .. Slo Mo.

OK I see the default is On-Use if needed that gave me Slo Mo Video

Prefered - Always use if possible works great.

You might want to make the Prefered the default ... but that is up to you.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #114  
Old 06-30-2020, 03:59 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by nyplayer View Post
Off .. Slo Mo.

OK I see the default is On-Use if needed that gave me Slo Mo Video

Prefered - Always use if possible works great.

You might want to make the Prefered the default ... but that is up to you.
Which devices are impacted by the slo-mo? I think we should target a specific device for the best out of box experience. Not sure which devices that should be? Shield, Fire Stick 4k? What are your thoughts? Anyone else have thoughts?
Reply With Quote
  #115  
Old 06-30-2020, 04:08 PM
SteveW's Avatar
SteveW SteveW is offline
Sage Aficionado
 
Join Date: Oct 2008
Location: Fall River, Nova Scotia, Canada
Posts: 389
Quote:
Originally Posted by jvl711 View Post
... I will add it to the wish list, but this might be a challange....

The Android Mini Client does support a lot more containers than MKV. But I do not think the VOBs are supported...
Ok thanks - no problem. Just thought I’d ask... The bluray stream files are .M2TS files. Sean may have had a reason why he didn’t pursue it - technical or time I’m not sure. It is one of the big pieces that the Sage clients do that the mini client does not...
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, 36TB Synology 1019+ for DVD/Bluray Rips, Music, Home Movies, etc., SageTV Server 64 Bit Ver 9.2.6.976, HDPVR x 2, Bell TV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver

Clients: PC Client x 2, HD-300 x 2 (1 Using Netgear MoCA Coax Bridges), SageTV Miniclient on NVidia Shield x 3
Reply With Quote
  #116  
Old 06-30-2020, 04:57 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jvl711 View Post
Which devices are impacted by the slo-mo? I think we should target a specific device for the best out of box experience. Not sure which devices that should be? Shield, Fire Stick 4k? What are your thoughts? Anyone else have thoughts?
I guess in my testing on the Shield and FireTV Devices the always on worked on all ... including echo sound systems and Soundbars.... but you can wait on feedback from others.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #117  
Old 06-30-2020, 07:29 PM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Using a pre-2019 Shield with 1.5.1 beta 3. Shield is connected to a Onkyo receiver which can process 5.1 Dolby.

No major change for me with this version.

With the defaults (I believe that is "Prefer" for the FFmpeg option) I still get no sound.

The very first time I played a movie it popped up an error message about unsupported audio codecs with a list. I didn't catch a pic of the full error.

I do get the following message most of the time when on Prefer: "This app is set for surround sound. Use the TV remove to adjust the volume". It wasn't doing this before, so that's something new.

Once I got this error: "Exo2MediaPlayer - com.google.android.exoplayer2.audio.AudioSink$InitializationException: AudioTrack init failed: 0, Config(24000, 252, 192000)"

Most video plays but then pauses every 5-20 seconds. Eventually it stops playing with "Exo2MediaPlayer - java.lang.IndexOutOfBoundsException: index=5 out of bounds (limit=4)."

When I enable the FFmpeg auto options I get sounds but it's like a high pictched whiny see saw noise of the original audio. I can upload a sample if you're curious.

I'm really curious about nyplayer's setup, as I see he is using an HDHR Prime which is what most of my recordings are also from. What OpenDCT options are you using?

--John
Reply With Quote
  #118  
Old 06-30-2020, 07:37 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jpwegas View Post
Using a pre-2019 Shield with 1.5.1 beta 3. Shield is connected to a Onkyo receiver which can process 5.1 Dolby.

No major change for me with this version.

With the defaults (I believe that is "Prefer" for the FFmpeg option) I still get no sound.

The very first time I played a movie it popped up an error message about unsupported audio codecs with a list. I didn't catch a pic of the full error.

I do get the following message most of the time when on Prefer: "This app is set for surround sound. Use the TV remove to adjust the volume". It wasn't doing this before, so that's something new.

Once I got this error: "Exo2MediaPlayer - com.google.android.exoplayer2.audio.AudioSink$InitializationException: AudioTrack init failed: 0, Config(24000, 252, 192000)"

Most video plays but then pauses every 5-20 seconds. Eventually it stops playing with "Exo2MediaPlayer - java.lang.IndexOutOfBoundsException: index=5 out of bounds (limit=4)."

When I enable the FFmpeg auto options I get sounds but it's like a high pictched whiny see saw noise of the original audio. I can upload a sample if you're curious.

I'm really curious about nyplayer's setup, as I see he is using an HDHR Prime which is what most of my recordings are also from. What OpenDCT options are you using?

--John
The default is not preferred ... try this setting in FFMPEG extension "Prefered - Always use if possible" ...

On the Shield I use EXOPLAYER and ""Prefered - Always use if possible" Samsung TV connected to Samsung Soundbar Via ARC. OPenDCT default settings... Have the latest firmware on all my HDHomeRun units. Use Pooling in OPENDCT to be able to share tuners with other APPS.

My Sound Settings on the Shield are ...

Surround Sound ..
Available Formats ... Auto
Stereo Upmix
Upmix stereo to 5.1 PCM

If you can upload a Video I will test it on my Shield.
__________________
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-30-2020 at 07:53 PM.
Reply With Quote
  #119  
Old 06-30-2020, 08:25 PM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by nyplayer View Post
The default is not preferred ... try this setting in FFMPEG extension "Prefered - Always use if possible" ...

On the Shield I use EXOPLAYER and ""Prefered - Always use if possible" Samsung TV connected to Samsung Soundbar Via ARC. OPenDCT default settings... Have the latest firmware on all my HDHomeRun units. Use Pooling in OPENDCT to be able to share tuners with other APPS.

My Sound Settings on the Shield are ...

Surround Sound ..
Available Formats ... Auto
Stereo Upmix
Upmix stereo to 5.1 PCM

If you can upload a Video I will test it on my Shield.
Thanks for the clarification!

I retested:

"Off" and "Use if needed" give me the behavior I described above with no sound.

When I use "Prefered - Always use if possible" I get the bizarre sounds I mentioned above. Eventually it stops with the error ""Exo2MediaPlayer - com.google.android.exoplayer2.audio.AudioSinkConfigurationException: Unsupported channel count: 0"

Interestingly, when using "Preferred", the video seems to pause less.

I've attached a recording of the audio I get when using Preferred. This is the same audio behavior I heard when testing on a FireStick 4K.

I checked my Android Audio settings. I didn't have "Upmix stereo to 5.1 PCM" selected, but I set it and it didn't change anything.

--John
Attached Files
File Type: zip audio.m4a.zip (106.5 KB, 127 views)
Reply With Quote
  #120  
Old 06-30-2020, 08:28 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jpwegas View Post
Thanks for the clarification!

I retested:

"Off" and "Use if needed" give me the behavior I described above with no sound.

When I use "Prefered - Always use if possible" I get the bizarre sounds I mentioned above. Eventually it stops with the error ""Exo2MediaPlayer - com.google.android.exoplayer2.audio.AudioSinkConfigurationException: Unsupported channel count: 0"

Interestingly, when using "Preferred", the video seems to pause less.

I've attached a recording of the audio I get when using Preferred. This is the same audio behavior I heard when testing on a FireStick 4K.

I checked my Android Audio settings. I didn't have "Upmix stereo to 5.1 PCM" selected, but I set it and it didn't change anything.

--John
How is your Firmware on the Primes ?

Model: HDHR3-CC
Device ID: 131A192A
Firmware: 20200521
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
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 12:54 PM.


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