NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 2 3 4 5 6 … 93 Next »
Web Client: Slow with separate thread and date not obscured

 
  • 0 Vote(s) - 0 Average
Web Client: Slow with separate thread and date not obscured
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#21
2016-09-26, 02:42 PM
mvallevand Wrote:@cncb try the new alpha to see if it helps.

It is working well although I still have a few issues. It does not seem to update popups (some take a while to load so I do some work in a background thread). Also, PlayVideoFile() does not seem to work from NeedsRendering() (which is how I have a timer for my slideshow as recommended by sub). The time/date in the upper right corner is still not covered up just in the web client.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#22
2016-09-26, 03:35 PM
Yes ShowMessage() still don't seem to make it to web client even when forced, but you might be able to code around this by writing to the main form.

I am not sure if it is supported but the attached file will check the regular /activity after a screen is rendered without a keystroke maybe playback is requested. Does that help?

Not sure how you cover the date I think that is system layer rendering might be on top

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#23
2016-09-26, 06:35 PM
This is a regular full popup displayed with ActivatePopup() that is not updating. ShowMessage() actually seems to work fine for me in the web client.

The attached file does allow the video to play, but seems to disable the Ctrl+F5 keypress indication that playback is done?

I use the "block-extras" UI Element that works on the PC but not in the web client.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#24
2016-09-26, 06:47 PM
cncb Wrote:This is a regular full popup displayed with ActivatePopup() that is not updating. ShowMessage() actually seems to work fine for me in the web client.

The attached file does allow the video to play, but seems to disable the Ctrl+F5 keypress indication that playback is done?

I use the "block-extras" UI Element that works on the PC but not in the web client.

I do use ForceRender, I wonder if that is the problem for me and ShowMessage() My ActivatePopups do display.

Could I see the kodi.log of this scenario I can't test it.

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#25
2016-09-26, 10:08 PM
The Popup is displaying fine containing my "loading" text it just is not updating when the background work is done and the UI is changed. This is how my Screens were behaving until your recent change (they now update properly when the UI is changed).

Here is the log for the Ctrl+F5 issue. It seems to be inconsistent like before. You previously added a small delay for me which made it consistent so I don't know if that somehow got left out. The log should show that the first time it worked and the second time did not.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#26
2016-09-26, 10:49 PM
cncb Wrote:The Popup is displaying fine containing my "loading" text it just is not updating when the background work is done and the UI is changed. This is how my Screens were behaving until your recent change (they now update properly when the UI is changed).

Here is the log for the Ctrl+F5 issue. It seems to be inconsistent like before. You previously added a small delay for me which made it consistent so I don't know if that somehow got left out. The log should show that the first time it worked and the second time did not.

I will have a look but I didn't change that code I also don't see any needs rendering logic so you either were active or it isn't working right in that patch.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#27
2016-09-26, 10:59 PM
I'm a bit bogged down today (with day job, and acting as chauffeur for the kids), but if you want to remind me tomorrow, I'll take another look.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#28
2016-09-27, 02:13 AM (This post was last modified: 2016-09-27, 02:41 AM by mvallevand.)
Ok and I I think there is also a bigger problem with the green bar disappearing which must have introduced late (maybe after the RGBY change)? This seems to be related to BrettB's problem because needs rendering starts to say true for several seconds which could kill an RPi when this state comes up.

In any case I can duplicate this in the native client go to what's new a green bar is there left/right cursor it disappears until I move the menu bar over it or I wake the screen saverr

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#29
2016-09-27, 09:25 PM
@cncb, could you try this one, it looks like the keystrokes are alright. I can't test it in NextPVR because something is funny with the green bars but maybe in your plugin it will work.

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#30
2016-09-28, 02:21 PM
mvallevand Wrote:@cncb, could you try this one, it looks like the keystrokes are alright. I can't test it in NextPVR because something is funny with the green bars but maybe in your plugin it will work.

Yes, it does seem to be issuing Ctrl+F5 properly. But, the video slideshows in my plugin still don't work. I don't know - maybe it is a timing issue. In any case, I haven't been using Kodi for a while on my Shield so maybe we can revisit this again if I decide to use it in the future. Thanks to you and sub for your work.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Developing Android TV client fred250 2 1,756 2020-11-16, 06:33 PM
Last Post: fred250
  How to tell when video playback has finished in web client? cncb 6 4,200 2015-09-29, 08:07 PM
Last Post: cncb
  How to get edl information for videos in a web client? fred250 27 10,464 2014-12-10, 12:39 AM
Last Post: fred250
  Remote client logout timeout. mvallevand 2 2,504 2014-10-28, 12:55 AM
Last Post: mvallevand
  Tuner plugins and client id mvallevand 2 2,038 2013-07-03, 01:39 AM
Last Post: mvallevand
  Client - Tuner plugins mvallevand 53 13,406 2011-09-17, 07:19 PM
Last Post: mvallevand
  Date Time display Northpole 0 1,423 2011-08-01, 04:28 PM
Last Post: Northpole
  Suppressing the Date/Time field from global.xml ACTCMS 7 3,130 2010-11-18, 01:36 AM
Last Post: ACTCMS
  Supress Date display in NPVR skin Northpole 13 4,057 2010-10-02, 08:19 PM
Last Post: Northpole
  Client/server detection imilne 1 1,662 2010-08-08, 04:23 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode