NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 88 89 90 91 92 93 Next »
Picture viewer plugin

 
  • 0 Vote(s) - 0 Average
Picture viewer plugin
ecruos
Offline

Junior Member

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

To install the plugin, you need to copy the Pictures directories into the appropriate skins subdirectories (and the dll into the plugins directory).  Remember to configure the plugin to specify your images directory.

Any comments or suggestions would be welcome.

Thanks sub for enabling the remaining remote control buttons!


Ecruos
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,953
Threads: 770
Joined: Nov 2003
#2
2004-04-19, 11:33 PM
I'll take a look after work. [Image: smile.gif]
gplasky
Offline

Member

Posts: 77
Threads: 3
Joined: Jan 2004
#3
2004-04-19, 11:56 PM
Nice plugin.
1. When set to "My pictures" directory which has 12 subfollders and about 300 picture images total I get an "out of memory" error when I choose your program.
2. When I click on an image I get one that fills the screen. The only way to get to the next one is with the arrow key. So I am assuming this is a work in progress. Because I really don't see the slideshow function of it yet or any slideshow button or settings.

Keep up the good work. I like it. Think about different transistions in the slideshow and maybe a way for background music too.

Gerry
Big Gerr
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#4
2004-04-20, 12:51 AM
If you are pre-loading all the images (why he ran out of memory?) you might consider only pre-loading the next one. So you would display the current one, and as the user is looking in admiration of his/her picture, you load the next one as a optimization.

Nice start!
-CodeMonkey
gplasky
Offline

Member

Posts: 77
Threads: 3
Joined: Jan 2004
#5
2004-04-20, 03:36 AM
And just to let you know I have 1GB of RAM so memory shouldn't be an issue. You might want to consider having your plugin create a thumbnail directory to store all the thumbnails of the pictures. That way it wouldn't have to reread them all the time and it wouldn't have to try to store all the images in memory? Just a thought and I'm no programmer.

Gerry
Big Gerr
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,953
Threads: 770
Joined: Nov 2003
#6
2004-04-20, 07:02 AM
Well done. It looks like a great start. I didn't experience the 'out of memory' error mentioned above, but did notice a couple of slow downs loading the page of thumbnails - so some caching strategy is probably in order.


Suggestions:
- Might also be preferrable to black out the background before drawing the fullsize picture. The background can be distracting.

- Small text in the corner of the screen saying the directory position (eg: 30 of 35) might be good when viewing the directory/slideshow.

- Button to rotate the image.
ecruos
Offline

Junior Member

Posts: 21
Threads: 8
Joined: Apr 2004
#7
2004-04-20, 05:48 PM
Thanks all for your comments, I will try to implement your suggestions as I can.

re: gplasky's error, I don't preload the images.  What has seemed to cause memory errors in the past is loading files of an unexpected type.

Maybe one of the first 30 thumbnail images, is an unusual format TIF/GIF/PNG or JPG?  Anyway I should be able to trap the error to make it "go away".

Regarding the slow list screen, I have avoided creating thumbnail files because they could soon number thousands, and take up many megabytes and I don't like to create "clutterware" :-)  I must see if I can think of another way.

Ecruos
Guest

Unregistered
 
#8
2004-05-07, 09:02 AM
Hi,

Superb plug-in.

I have a couple of suggestions for improvements:

1) When displaying the folders within the 'Pictures' directory, it would be nice to have the option to display the folders as a list of folder names rather than as icons (like it does in the Music/Video libraries).

Ideally this would use the 'Use Icon View for media libraries' setting from the main 'Misc' GBPVR configuration tab, but a specific one for the 'Pictures' plugin would also do.

2) When displaying the folders within the 'Pictures' directory, it would be nice to have a setting for the sort order. The folders seem to get displayed according to their modified dates whereas I'd prefer them to be alphabetical.

3) The pictures within each folder are also displayed according to their modified dates rather than alphabetically, again a setting for this would be great.

A single setting would suit me fine, but maybe others would require both.

4) Rename the 'Pictures' icon to 'Picture Library' to make it more in line with the 'Music Library' and 'Video Library'.

I also have an intermittant problem when going to the 'Pictures' folder list. It sometimes displays a blank screen rather than the folder icons, going back to the menu and re-entering the 'Pictures' folder list seems to solve the problem, but it's rather annoying.

I've not been able to reproduce this reliably as yet though.

Thanks for a great plug-in.

Neil
===
ecruos
Offline

Junior Member

Posts: 21
Threads: 8
Joined: Apr 2004
#9
2004-05-09, 09:22 AM
http://www.tidegreen.com/downloads/GBPVR...Plugin.zip

New release... Added basic video support, which is nice for viewing modern digital camera output on the computer, but less good with MediaMVP which doesn't support AVI.  If you play an AVI on the MVP, nothing will happen until the duration of the AVI has ellapsed.  To stop any video playing (including the invisible AVIs) press "Stop" then "Back".

pbj: When I render the thumbnails screen, I open as many images as will be visible on that screen to draw the preview.  This will unfortunately be slower if the images to display are larger sizes, which may lead to the MVP crashing.  This release allows you to reduce the number of thumbnails displayed... a half-way solution, I know Undecided

Neil: Good list! I'll see what I can do in the next release.

Ecruos
pbj
Offline

Junior Member

Posts: 32
Threads: 8
Joined: Mar 2004
#10
2004-05-11, 06:02 PM
Ecruos,

Top work, halfway house is great for me...

Small suggestion (not v important). When scrolling up or down I presume you recreate all the thumbnails on the screen (since the time take to render is about the same as when you go in to a new directory).
Can this be speeded up by caching or (simpler solution) can you add a "page down" button?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 3,356 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,918 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,866 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 3,172 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 3,023 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,715 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 2,175 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 5,591 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,480 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,649 2012-01-15, 08:33 PM
Last Post: imilne

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

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

Linear Mode
Threaded Mode