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
  #701  
Old 12-07-2015, 04:16 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Gustovier View Post
There's a couple of other smaller graphical (I believe shape drawing instructions) issues that might also still be missing as I do still see some minor differences (but I believe you are aware of this fact).
You should the rendering issues. Even though I'm aware of some, if you log them, then I'll see when I got the issue list to see what's outstanding.

Quote:
Originally Posted by Gustovier View Post
Comcast cable company has now converted a couple of my channels to h264. This gives me a good opportunity to see some differences with live tv mpeg2 vs mpeg4 h264 channels. I can say the h264 channels are playing a lot better than the mpeg2 channels. The mpeg2 channels I get pixelation and frame drops. I'm wondering if it's really using the Nvidia shield tv mpeg 2 HW decoder? I see no difference when I enable vs disable HW acceleration, which is why I question if it's really being used.
I do have a couple of mpeg2 files that someone sent me. I haven't much time testing video stuff yet, but, I have couple weeks over christmas, so I'm hoping to make some progress there. I'll do some testing to see if the Shield is using the hardware decoder.

Quote:
Originally Posted by Gustovier View Post
Another issue (I'll log it to the issue list) is that when holding down directional keys the app should register this as multiple key presses until the key is let go. As it works now. If you want to scroll the epg you have to continousily press the up or down key, you can't just hold them down.
Yeah, I notice this as well. This will be a tricky one. Not sure if SageTV handles this internally (it would be nice if it did), but, another problem is that I can't use long presses AND support this as well. Right now I have some directional long presses since the shield remote is very limited. long press down is pause, long press right is play, long press up is options. So, if I enable multiple sending of command when a key is pressed, then, I can't support long presses. I'll likely need to use an preference for this, since, on the shield remote, I'd rather have long presses, but on my logitech remote I'd rather have it sending multiple key presses.
Reply With Quote
  #702  
Old 12-07-2015, 07:44 AM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by cncb View Post
Also, does it seem like the player will allow for audio bitstreaming (DD and DTS)?
Does it look like this will be possible?
__________________
-Craig
Reply With Quote
  #703  
Old 12-07-2015, 08:10 AM
brewston brewston is offline
Sage Expert
 
Join Date: Apr 2006
Location: Surrey
Posts: 719
Quote:
Originally Posted by stuckless View Post
Right now I have some directional long presses since the shield remote is very limited. long press down is pause, long press right is play, long press up is options. So, if I enable multiple sending of command when a key is pressed, then, I can't support long presses. I'll likely need to use an preference for this, since, on the shield remote, I'd rather have long presses, but on my logitech remote I'd rather have it sending multiple key presses.
I was just playing with this, very cool

when FF/REW are implemented, would it make more sense to have :

long press right - FF
long press left - REW
long press up - options
long press down - pause
long press centre - STV's stop menu

A preference to toggle between long press and multiple presses for the different remotes makes sense to me
__________________
Tecra M5, 2 x HD200, 2 x HD300
2 x PCTV 290e
Win 7, Sage 7.1.9, Phoenix 2 STV
Stephane's XMLTV Importer, Digiguide,
Reply With Quote
  #704  
Old 12-07-2015, 08:37 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by cncb View Post
Does it look like this will be possible?
I have no idea

Quote:
Originally Posted by brewston View Post
I was just playing with this, very cool

when FF/REW are implemented, would it make more sense to have :

long press right - FF
long press left - REW
long press up - options
long press down - pause
long press centre - STV's stop menu

A preference to toggle between long press and multiple presses for the different remotes makes sense to me
I think these sorts of layout preferencs will have to come as part of a larger change that allows end users to remap buttons on their remote to specific actions (not to be confused with a similar feature that sagetv allows internally). Without that, it'll be a never ending requests of "I think long press down should be....". That whole piece is actually pretty compicated, since there are cases now where I change the action of the button depending on the media player state. ie, back is stop when media is playing, but it send BACK when media is not playing.

So, in essence, buttons have a single press, long press, and they could possibly have some context awareness, based on media playing or not. Some buttons like, navigation and select can not be media playback aware since when media is playing you can overlay a sagetv dialog, so up/down/left/right/select ALWAYS needs to send those commands.

Because of these scenarios, designing a button configuration screen is quite complex, and somewhat tedious... but I think it will need to happen eventually, so that people can configure and use a simple remote effectively.
Reply With Quote
  #705  
Old 12-07-2015, 11:49 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Thanks to pforemanpf (not sure who that maps to on the forums) we have a nice icon for the phone/tablet (instead of the green robot ) Thanks!!

Reply With Quote
  #706  
Old 12-07-2015, 02:40 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by stuckless View Post
Thanks to pforemanpf (not sure who that maps to on the forums) we have a nice icon for the phone/tablet (instead of the green robot ) Thanks!!

fun! how do we activate the icon?
__________________
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
Reply With Quote
  #707  
Old 12-07-2015, 02:42 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by tvmaster2 View Post
fun! how do we activate the icon?
Likely wait for the next version release.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #708  
Old 12-07-2015, 02:46 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by Fuzzy View Post
Likely wait for the next version release.
hehe. just installed 17 and realized that. doh
__________________
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
Reply With Quote
  #709  
Old 12-07-2015, 05:32 PM
gexi gexi is offline
Sage Advanced User
 
Join Date: Aug 2007
Posts: 77
Talking

Quote:
Originally Posted by stuckless View Post
Thanks to pforemanpf (not sure who that maps to on the forums) we have a nice icon for the phone/tablet (instead of the green robot ) Thanks!!

Heh, that would be me. As long as you do not mind me tweaking things along the way in your app, I will keep opening pull requests. I've been learning Android on the side and this project gives me a good excuse.

Now if I could just figure out why firetv hates preference panels I could fix it in your app and mine.
Reply With Quote
  #710  
Old 12-07-2015, 07:18 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by gexi View Post
Heh, that would be me. As long as you do not mind me tweaking things along the way in your app, I will keep opening pull requests. I've been learning Android on the side and this project gives me a good excuse.

Now if I could just figure out why firetv hates preference panels I could fix it in your app and mine.
So, does the prefernces not show? Once I get the FireTV you sent me, I guess I'll have to look into that

As for the pull requests, by all means, submit away
Reply With Quote
  #711  
Old 12-07-2015, 08:24 PM
Gustovier Gustovier is offline
Sage Aficionado
 
Join Date: Nov 2010
Location: Chicago
Posts: 460
I've also been looking for a reason to get back into Java development (I'm in IT mgmt these days..boo). Stuckless can you recommend some sites to start learning about video playback / graphic rendering on Android?
Reply With Quote
  #712  
Old 12-07-2015, 08:25 PM
gexi gexi is offline
Sage Advanced User
 
Join Date: Aug 2007
Posts: 77
I have been looking into it some with a private build, as soon as I select preferences it kicks me out of the application. It also never seems to load preferences even though I have set a different set of default values in the code.

In the android emulators for both phone and TV it works fine so it must be something unique to the firetv.

If I figure something out I will submit a fix
Reply With Quote
  #713  
Old 12-07-2015, 08:54 PM
gexi gexi is offline
Sage Advanced User
 
Join Date: Aug 2007
Posts: 77
Actually I think I've got something! Will submit a PR in a moment
Reply With Quote
  #714  
Old 12-07-2015, 08:55 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Gustovier View Post
I've also been looking for a reason to get back into Java development (I'm in IT mgmt these days..boo). Stuckless can you recommend some sites to start learning about video playback / graphic rendering on Android?
I'll see if I can dig up some information. To be honest, video playback and opengl is not my area of expertise either, so if find some good sites, I'll post them.

Quote:
Originally Posted by gexi View Post
I have been looking into it some with a private build, as soon as I select preferences it kicks me out of the application. It also never seems to load preferences even though I have set a different set of default values in the code.

In the android emulators for both phone and TV it works fine so it must be something unique to the firetv.

If I figure something out I will submit a fix
Must be some API that is being used that FireTV is not implementing, I guess
Reply With Quote
  #715  
Old 12-07-2015, 09:10 PM
gexi gexi is offline
Sage Advanced User
 
Join Date: Aug 2007
Posts: 77
Quote:
Originally Posted by stuckless View Post
Must be some API that is being used that FireTV is not implementing, I guess
Nope, just a missing intent config. Pull request has been opened. Looking through the Amazon SDK, it appears that with Fire OS 5 they are essentially back in sync with Android.

As an added bonus, now that I can set preferences, switching to pull for the streaming mode fixes my comskip and tracking issues

Awesome work stuckless!

Last edited by gexi; 12-07-2015 at 09:13 PM.
Reply With Quote
  #716  
Old 12-09-2015, 12:21 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Update

So, last night I decided to watch a movie (mp4) using the Android MiniClient on the Shield TV. (Also just using the Shield remote). This is only the second time that I actually watched something from start to finish using an Android device. Most of the time I'm updating the App, testing a feature, and then back on the computer (repeat as needed).

My impressions were pretty good. I have "Surfaces" disabled, and it used "PULL" Streaming mode over WIFI. I'm also running Gemstone. I felt the UI was pretty decent (comparable to HD300, with a few minor glitches). The video playback was pretty solid (for that one file). I ended up having to pause/play a few times to get a snack, let the dog out, let the dog back in, etc, all normal stuff, and the App held up. Having mapped the long press down to PAUSE and long press RIGHT to play made it pretty easy to pause/play.

But, I did encounter a few things, and I logged some defects. I'll consider this out of ALPHA when I can use it, with a few quirks. As it stands, while I watched a movie OK, when I finished that and started to watch a recorded show, I ran into issues and I had to kill the app forcefully ... So, it's still not there.

What I did find out last night though, is that
- Resume Playback (for PULL media) was not working. (I thought this was working, but apparently not)
- When I'm playing a video, and I bring up on screen nav controls, to skip forward (it works), but when I press BACK button to close the nav, it also sends the media STOP command as well (because Back is mapped to Media Stop), which kicks me back to the sagetv UI.
- And Lastly, when I was playing the TV show, and I hit back, to stop the media, I got a spinning CIRCLE... Finally SageTV kicked me back to the main menu, but, the video's audio kept playing the background. Even when I exited the APP, the audio was playing. I ended up having to force quit on the App to stop it. I'm not sure what happened there, and it doesn't do it all the time, but I've seen this happen a couple times during testing as well.

Next week, I'm officially on holidays until the new year. So, I'm hoping to make some real progress on things. Specifically, I'm looking at re-adding the ExoPlayer back in, which needs a rewrite from when I first did it. Jeff and team are helping me by answering questions, etc, and once I get the ExoPlayer back in, I'll enlist their help to figure out why ExoPlayer won't play the TS stream that I'm getting from SageTV. I think that using ExoPlayer for PUSH mode (ie, live tv, ts files, mpeg2 files), will be better since I think the IJKPlayer is not enabling hardware decoding for the mpeg2 streams (and not sure why). Also while on vacation, I'm going to see about fixing some the UI gitches that I've been seeing. With any luck, maybe in January, we can have this project leave ALPHA and go into BETA.

I also have memory leaks, and performance tweaks to work on as well

Anyways, that's the status of things so far.
Reply With Quote
  #717  
Old 12-09-2015, 12:27 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
stuckless,


You are actually abandoning us to Spend time with your family and actually enjoy yourself???? How can you possibly do that.


PS thanks for everything you have done so far enjoy the holidays and other good things in life... I too am gong to sit back and not update or test anymore until after the holidays.

Once Again Thanks.
Reply With Quote
  #718  
Old 12-09-2015, 01:31 PM
Dargason Dargason is offline
Sage Expert
 
Join Date: Oct 2003
Posts: 516
Quote:
Originally Posted by nyplayer View Post
stuckless,


You are actually abandoning us to Spend time with your family and actually enjoy yourself???? How can you possibly do that.


PS thanks for everything you have done so far enjoy the holidays and other good things in life... I too am gong to sit back and not update or test anymore until after the holidays.

Once Again Thanks.
You read it the way I did... that he's going to take a break from this to spend well-deserved time with his family and friends.

When I read it again, I think maybe he meant he's on holiday from his real job and he plans to spend it working on this... I'm still not sure.
Reply With Quote
  #719  
Old 12-09-2015, 01:32 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by Dargason View Post
You read it the way I did... that he's going to take a break from this to spend well-deserved time with his family and friends.

When I read it again, I think maybe he meant he's on holiday from his real job and he plans to spend it working on this... I'm still not sure.
Pretty sure it's the latter.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #720  
Old 12-09-2015, 01:45 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by stuckless View Post
Next week, I'm officially on holidays until the new year. So, I'm hoping to make some real progress on things.
Which means, that yeah, this is my new "job" while I'm vacation I'll be spending time with family as well, but right now, I can only spend about an hr a day on this (if I'm lucky), but when I'm on vacation, I can probably spend several hours a day on it (until my wife makes me go out with her).
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
Finally, a fully functional SageTV client on android and iphone! mkanet SageTV v7 Customizations 12 01-12-2013 12:22 AM
SageTV Placeshifter for Android nyle SageTV Placeshifter 5 12-31-2011 10:40 AM
Sage should get an android client running on this Deacon Crusher Hardware Support 1 09-29-2010 11:30 AM
Android client? equalize SageTV Placeshifter 1 07-22-2010 09:37 AM


All times are GMT -6. The time now is 06:03 PM.


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