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
#51
2004-12-11, 03:07 AM
ok ive added playlist support. so you must configure the plugin again and select your playlist directory (.m3u and .mpl (windows media playlists) are supported). once you've done this you will have to edit the config.xml file again, same procedure as before, just with the <PlaylistDirectory>C:\\</PlaylistDirectory> tag. fairly easy stuff.

also here are two new additions for the language.xml file
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><translate originalText="Playlists" translatedText=""/>
<translate originalText="File List" translatedText=""/>[/QUOTE]

note: many playlists cant be moved after being saved (winamp and windows media player uses relative file locations instead of the physical locations ie &quot;..\song.mp3&quot; instead of something like &quot;C:\my music\song.mp3&quot; so once they have been moved it no longer points to the right file. just incase you run into a problem without it loading.
reefboy
Offline

Member

Posts: 188
Threads: 50
Joined: Dec 2004
#52
2004-12-12, 05:11 AM
Reven, I finally got around to installing your latest My Pictures plugin with the random feature. Works great. I love it. I must have over 2 thousand photos and it comes up instantly for the most part.

Thanks again!
AMD Athlon XP 2500+, Asus A7V8X-X, 1 gb Ram, 7600 GT, Hauppauge WinTV-PVR-250 & Hauppauge WinTV-PVR-150, 1.5 Terabyte Seagate HD, XP Pro
reefboy
Offline

Member

Posts: 188
Threads: 50
Joined: Dec 2004
#53
2004-12-12, 05:30 AM
Reven, I finally got around to installing your latest My Pictures plugin with the random feature. Works great. I love it. I must have over 2 thousand photos and it comes up instantly for the most part.

Thanks again!
AMD Athlon XP 2500+, Asus A7V8X-X, 1 gb Ram, 7600 GT, Hauppauge WinTV-PVR-250 & Hauppauge WinTV-PVR-150, 1.5 Terabyte Seagate HD, XP Pro
chrisw
Offline

Junior Member

Posts: 33
Threads: 13
Joined: Aug 2004
#54
2004-12-20, 02:41 AM
Pretty cool Reven,

I have dozens of photo directories and this is great, however on many of the directories it simply doesnt display any files.

The files are standard jpg images from a digital camera with nothing special about them.

They are on a network share (gbpvr is logged in as a user) and the my pictures can see half of the directories so its not a permissions issue.

Is there any logging that might help me work out what is wrong, or is the source code available so I can take a look myself?

Cheers
Chris
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#55
2004-12-20, 02:51 AM
theres a bug, that i forgot to fix, ill fix this on the next build, but the extension are case sensative, so if you have jpg in the image extension in the configuration, JPG wont show up (many digital cameras use capitals as extension) so just add JPG|GIF|JPEG|BMP|TIF etc to the extensions and they will show up.
povarotti
Offline

Member

Posts: 70
Threads: 9
Joined: Dec 2004
#56
2004-12-21, 06:54 AM
aha...that is why i wasn't able to view any pictures.  now that i added the uppercase, it works...kind of.  i think i have a different bug to report.  i have &quot;[&quot; and &quot;]&quot; in folder names (eg. &quot;[ 20040701 ] vegas&quotWink and this seems to cause problems for the plugin.  i get an error that &quot;crashes&quot; (well, forces it to exit to the main menu) the plugin whenever i select a directory with these characters.  my main directory contains a number (about 8) of these folders, all named accordingly.  so the first time, upon (re)starting gbpvr, i enter the my pictures plugin, i have all the folders displayed.  once i choose one, i get the following error: &quot;Error: The expression passed to this method should result in a NodeSet.&quot;  At this point, this particular directory is selected until I restart gbpvr, because I cant browse away from this folder at this point -- any attempt to browse to &quot;..&quot; just gives me the same error, and jumps back to the GBPVR main menu.  and if i re-enter the plugin from the main menu, it takes me back to the same folder.  i'm fairly positive it's something to do with the &quot;[&quot; and &quot;]&quot; characters because I renamed one of my folders &quot;_ 20040701 _ vegas&quot; and everything worked just fine there -- i was able to browse to it, and then back up a level using &quot;..&quot;

for now, i can just rename the folders, so no big deal, but something to look at.

pov.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#57
2004-12-21, 07:04 AM
yeah i found that bug in &quot;My Music&quot; ill fix this on the next build. theres just some characters that you cant use in xml tags, which im using to remember the folder views. there will be a few of these bugs that pop up from time and again, just record the character (well name) and post it.

on the next build, i will also fix a few other bugs. should be out in a day or two.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#58
2004-12-21, 12:34 PM
ok i fixed the extensions problem (lowercase/uppercase), i fixed the nodeset problem (well removed the '[' ']' characters). there is only one thumbnail image for all views now, so when you change a view, you dont need to wait for it to recreate the thumbnail (tried using threads to do this, but there were issues, ill try and sort these out later, or ill just try and setup a thumbnail database, so when a thumbnail is found, it will automatically create one and add it to the database, have to learn how to use databases first Tongue).

i think thats all ive done, being busy fixing things in my vids,my music. and making &quot;musicpanel&quot; and a xmltv grabber (if you ever made one of those, you know how fun they can be Tongue).

if you run into any bugs, let me know.

oh im going to change the random thing in the future, its kinda silly how im doing it now, i create an arraylist, and then choose a random image in that array list (well random file, then load image). im going to create the arraylist, then shuffle it, then just iterate thru it, so you can go forward and back and also ensuring that images are displayed evenly. this should be implemented in a week or two. xmas/new years and all.

oh new version can be found in the wiki like usual.
darrin75
Offline

Senior Member

Posts: 558
Threads: 103
Joined: Nov 2004
#59
2004-12-24, 10:47 AM
12/16/2004 1:06:22 AM.375 ERROR [2] Unable to find node: /settings/Buttons/Button[@name=&quot;Random&quot;]
12/16/2004 1:06:22 AM.375 ERROR [2] Error initializing menu plugin: C:\Program Files\devnz\gbpvr\\plugins\MyPicturesPlugin.dll
12/16/2004 1:06:22 AM.375 ERROR [2] Exception has been thrown by the target of an invocation.
12/16/2004 1:06:22 AM.390 ERROR [2] at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)


this is my log out of memory i think it has something to do with random button?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#60
2004-12-25, 12:13 AM
theres something wrong with your skin.xml file.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 … 4 5 6 7 8 Next »
Jump to page 


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