NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 78 79 80 81 82 … 93 Next »
"My Pictures" Plugin

 
  • 0 Vote(s) - 0 Average
"My Pictures" Plugin
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#1
2004-12-04, 07:41 PM
ive made a new plugin "My Pictures", its pretty basic, has slideshow, rslideshow, 4 different views (list, icons, big icons, preview).

you can zoom in and out of an image whilst in fullscreen mode (doesnt have the same bug "Picture Library" does when zooming). theres only one bug im trying to fix now (well one that i know of) which when you zoom in, it always returns to the very center of the image, and not where you well focusing on (if already zoomed in). once i fix this little bug ill send it to sub to upload.

same interface as "My Videos" so any skin developer, you can pretty much skin two plugins with the same skin.xml (a few changes, just preview mode vs details mode).

build number 1.0.1806.28775



jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#2
2004-12-04, 11:44 PM
That looks like a nice plugin. Good work.

A feature that would be nice would be another button called select album that you can use to select a subdirectory off of the root picture directory, then it would only list the pictures inside there.

Also it is nice to be able to place captions on an image perhaps the same way as the other picture plugin if there is a file called pic name.txt it will read the first line and show it on the picture.

Any chance are you going to post the source?

Jorm
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#3
2004-12-05, 12:08 AM
ill post the source once i iron out all the bugs (the source is quite large, with about 8 different class files, the UI was the huge part, most of the code is exactly the same as the "my videos" plugin, just a few changes (and a different view)).

im not sure what you mean by album, at the moment you can have subdirectories no problems theres just no dirs displayed in the screen shot.  im not sure about the description since that would require a user to manually edit/create a txt file for all images, which i would find really annoying (personally), if enough people want it ill put it in.

if anyone else has a request, make it, if its good ill try and implement it.

hehe 8 classes i called large, well large for a plugin i mean. 8 classes is nothing.
Huw
Offline

Member

Posts: 219
Threads: 7
Joined: Oct 2004
#4
2004-12-05, 12:56 AM
nice plugin reven, now I can boor all my friends with slideshows of my piccies [Image: smile.gif]
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#5
2004-12-05, 01:02 AM
i just fixed a little bug, that if you only had one element in the virtual root (that element becomes the virtual root eg \My Documents\My Pictures\ as the only element, the virtual root, is just My Pictures\Wink sorting wouldnt work (my theory is you shouldnt be able to sort the virtual root (if its just dirs, drives etc) that should be sorted manually in the config app (i only added the one element = virtual root thingy recently, i was going nuts trying to figure out what was wrong, dont you just hate programming sometimes...)

ive also added "my videos" "my pictures" to the wiki, with the latests version of them. ill fix the zoom thing later (tomorrow probably) im sick of programming now [Image: mad.gif]

oh if you notice some grammar/spelling mistakes on the wiki page, can you fix em, i never read over what i write. chances are a few of my sentences dont make any sense Tongue
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#6
2004-12-05, 12:06 PM
hey jorm i was thinking about your filename.txt idea, how about if in fullscreen mode you can press the blue button to turn an osd display on/off which looks like the osd when u press blue on live tv mode, with the image description there? or do you want it in a filelist view?  the only other place i could think to put it was in preview mode (perhaps up the top, on the side(under the menu), or overlapping the preview image.) or i could take the "Details" view from my videos and do the same with that, image on left description on right (about 3 files per page).

if i do the osd in fullscreen mode, ill change yellow/rew as zoom in, green will be rotate (u dont really need a rotate clockwise/counterclockwise, one will do (had a spare button Tongue)).

update: ive just uploaded a new version, it has another view "details" which is the same as in "my videos" which looks for a file of the same name just with ".txt" instead of the image extension and reads in the first line as the description.
huckw
Offline

Junior Member

Posts: 31
Threads: 4
Joined: Sep 2004
#7
2004-12-05, 09:42 PM
reven...I'm stoked about the possibilities on your new plugins. However, I am unable to get them to work properly (I'm sure its user error).

1) I am unable to get My Videos to even show up in the GBPVR list...any ideas what I am doing wrong?

2) My pictures main menu works, I can move around in folders, sort by different things, get different views but I cannot get pictures in full screen mode...how do I do that?

3) My pictures plugin...what is Slideshow and RSlideshow? Is there a manual mode where I can navigate through pictures manually?

4) What are they types HDD, DVD and DIR?

Again, I'm sure this is user error...any help is greatly apreciated!! Sorry if these are dumb questions!!

Huck
huckw
Offline

Junior Member

Posts: 31
Threads: 4
Joined: Sep 2004
#8
2004-12-05, 09:44 PM
reven...sorry, in case it wasn't clear in the previous post...selecting Slideshow and RSlideshow do nothing.

thanks for your help
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#9
2004-12-05, 10:05 PM
selected slideshow and rslideshow should only not work if it hasnt found any images in the current directory, if there are images Slideshow *should* (i've had no problems with it) start a slideshow (fullscreen) which will cycle thru the images one by one at the defined interval in the config app, RSlideshow just does this in reverse. to goto fullscreen mode just select an image and press the Ok button to the remote(or enter on keyboard, i just found a bug if u double click on it, it will try and play the image as a video file(same interface as My Videos, i just must have missed this, i release a fix later today/tomorrow).
DIR = Directory/Folder, DVD = Dvd Drive/CD Drive, HDD= Hard Drive, these are just used so the plugin knows which icons to use to display them in the virtual root (so DVD drives just are displayed as folders, same with hdds). if all your pictures are in one folder you can just specify this folder, and that folders contents will be displayed (not just the single folder in the virtual root).

does my videos display currently in the Config app? or is it missing in there too, usually if its in there and not in the actual program, theres something wrong in the skin file (theses no forgiveness on this, it has to be right) if you havent edited the skin.xml file try downloading the lateset version, if it still doesnt show up can you pm me your gbpvr.exe.log (a small one, so quit go back into it, then quit again (should make log only around 10k).

update: ive just updated "My Pictures" i've changed page up/down to green and blue (like in the tv guide (will change these in my videos on the next build)), you can now zoom in with the number buttons on the remote (the zoom is relative to the window image size (720x480 usually) and not the image itself) 1-9 = Nx zoom   ie 7 = 7x Zoom, and 0 = actual image size.
in fullscreen:
red rotate images counterclockwise.
green = clockwise
list mode:
red = cycle thru sort modes
yellow = cycle thru view modes

you may need to retrain you fingers (i had to with the view mode) but trying to keep things constant (pg up/down) and they feel more natural being green/blue anyway (well on hauppauge remote).  the only inconstant thing is view in library is blue, but oh well, yellow works too.  these changes will be implemented in my videos in the next build aswell.

oh and you can now double click on a image file to go into fullscreen mode.

next build ill make it so when you double click on the center it exits, on left previous image, right next image, single click left = zom out, single click right = zoom in, and center to original size (bestfit, not actual, unless you want me to make it actual, tell me if this sounds right/wrong).  for you touch screeners. any other suggestions, bugs let me know, im open to all.

oh thanks blader_se for fixing my wiki pages, that wiki code looked strange (i can handle html, but that was confusing, and was late in the morning).

update again: i rebuilt it, now with touchscreen/mouse support, whilst in fullscreen mode
single click left = previous image (on screen not moust button)
single click right = next image(on screen not moust button)
single click middle = start/pause slide show(on screen not moust button)
doubleclick center = exit fullscreen mode.

i thought zoom would be good idea, then what about scrolling the image? so bugger it, i dont think it would be pratically, unless someone can think of how, and if they really want it.
huckw
Offline

Junior Member

Posts: 31
Threads: 4
Joined: Sep 2004
#10
2004-12-06, 03:32 PM
reven...if I select/highlight an image file and press ok on the hauppauge remote, nothing happens. If I am in a folder which I'm sure has pictures (I can see them when in "preview" mode) and I highlight Slideshow/RSlideshow and press ok, again nothing happens.

My Videos shows up in the config dialog. I made sure to have it enabled and went through the setup but to no avail. I originally had this problem with My Pictures as well but realized I didn't have My Pictures folder in the skins/blue directory (I don't understand how those work but that "seemed" to fix that one). I've made sure I have a My Videos folder in the skins/blue directory but its still not working.

I'm really exctied to see these work...thanks for your help.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): 1 2 3 4 5 … 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,829 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,352 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,462 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,906 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,772 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,098 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,950 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 4,995 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,245 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,432 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