NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 89 90 91 92 93 Next »
Pictures Plugin update + requiresMoreRendering

 
  • 0 Vote(s) - 0 Average
Pictures Plugin update + requiresMoreRendering
ecruos
Offline

Junior Member

Posts: 21
Threads: 8
Joined: Apr 2004
#1
2004-04-23, 06:27 PM
http://www.tidegreen.com/downloads/GBPVR...Plugin.zip

Hi,

I've updated the PicturesPlugin, see Readme.txt for details, mainly bug fix, Rotate, and Zoom functionality.

Sub, I've managed to implement a slideshow (not in this version) but, by specifying requiresMoreRendering, I lose the ability to check for keypresses, so I can't start the pictures moving and also check the input for "pause".  Can you think of (or implement) a way round this?

Gerry, does it cope with your 300 images now?

Cheers,


Ecruos
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2004-04-23, 08:24 PM
ecruos, I just gave it a go and it looks good. I did notice one problem when you're viewing a picture (fullscreen) then press menu and select Pictures again - the screen is just black.

Another suggestion, you might want to make the number of preview pictures configurable (or a view possible set combinations) as this would help the time required to show a directory. You're currently showing 6 x 5. I would be quite happy with less preview images per screen.

I'll have to get back to you on the requiresModeRendering. I'm not sure and will need to look at it closer.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#3
2004-04-23, 08:40 PM
Actually, on the requiresModeRendering. From the next release, you'll just need to return true from needsRendering() and you'll plugin will be rendered once a seconds. This approach will be friendly to keystrokes.
gplasky
Offline

Member

Posts: 77
Threads: 3
Joined: Jan 2004
#4
2004-04-23, 09:15 PM
Working nice. Slight hesitation going into folders with large amount of pictures, but that is too be expected. You're making very good progress. May I suggest in the plugin that when you configure it you give your dialog box the capability to browse to a directory. It would be easier for the user. Looking forward to the actual slideshow.

Gerry
Big Gerr
ecruos
Offline

Junior Member

Posts: 21
Threads: 8
Joined: Apr 2004
#5
2004-04-24, 07:40 AM
Sub,

My digital camera stores videos as well as images;  How would I go about making the plugin display them / push them to the MVP?  

Ideally sound, pictures and video would seemessly be part of the same holiday slideshow. - I'll be impressed if you can work that one :-)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#6
2004-04-24, 05:29 PM
There is a method on plugin helper to play a video, but video is only going to make to the MVP if its in MPEG format.
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#7
2004-04-28, 01:54 PM
Sub,

does this mean if returning true from needsRendering(), we do not need to return true from requiresMoreRendering()?

I have been messing about with plugins and learning about the .NET stuff (and good docs on the .NET api's?) and so i implemented a digital clock for the craic.

I hit the same issues as ecruos with regards to key strokes and eventually GBPVR seems to hang, though it is probably just working slowly through events.

As this needs to updated every second should i return true from needsRendering() and false from requiresMoreRendering()?

Cheers,
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#8
2004-04-28, 04:53 PM
Yes, requiresMoreRendering was only ever intended to be used for two or three frames. Its a mechanism to allow you to add a simple transition animation.

To have thing regularly re-rendered you should use the needsRendering(), this will leave the system responsive.
pbj
Offline

Junior Member

Posts: 32
Threads: 8
Joined: Mar 2004
#9
2004-05-01, 07:28 PM
ecruos,
Looks v good. Rounds out what I want from GB-PVR nicely. Slight hitch with an MVP though. Seems to crash if I open a directory with a large-ish number of images ~60. Am I doing something daft?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#10
2004-05-01, 08:14 PM
The MVP will drop its connection to the server if the server if the server takes more than about 6 - 8 seconds to respond to a request. The picture plugin is probably taking too long to return the rendered screen for the MVP.

Hopefully ecruos can come up with a mechanism to speed to process. I'm happy to work with him to find an approach.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,875 2022-10-17, 12:44 AM
Last Post: sgilani
  EPG update API mvallevand 2 1,449 2020-12-02, 01:17 AM
Last Post: mvallevand
  New Systems Plugin kirschey 10 3,378 2020-11-14, 08:01 PM
Last Post: sub
  Update Season and Episode from EPG_EVENT puck64 0 2,811 2015-08-31, 07:37 AM
Last Post: puck64
  VIdeo playback from plugin mvallevand 5 3,485 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,919 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,785 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,133 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,963 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 5,007 2012-08-12, 07:56 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