You can install by repo passion in xbmc or with the zip file too
http://passion-xbmc.org/addons/?Page=Vie...e.mypicsdb
Is it possible to add property for recently or random pictures in the home, like recently movie or other media?
Pictures database and library mode; scan EXIF and IPTC metadata tags into a SQL db
fmronan
Fan Posts: 586 Joined: Dec 2010 Reputation: 4 |
2012-04-05 19:09
Post: #311
(This post was last modified: 2012-04-05 19:11 by fmronan.)
|
| find |
mgmartin
Junior Member Posts: 4 Joined: Mar 2012 Reputation: 0 |
2012-04-06 05:41
Post: #312
Thanks for putting this addon together, it is filling a distinct hole in XBMC's capabilities.
I've noticed that the browse_folder function scanpath.py tends to bomb out at the stat functions if it encounters any files or folders without read permissions. This is probably OS-specific and partially a user issue... HOWEVER - In the name of bulletproofing, would it be possible to insert some exception trapping per-file or per-folder ? I crudely hacked some try/except blocks around the code to enable it to scan my pics, but this might be handled more elegantly by the original authors. Thanks again ! |
| find |
Xycl
Senior Member Joined: Feb 2012 Reputation: 6 Location: Germany |
2012-04-06 19:31
Post: #313
(2012-04-05 18:53)fiveisalive Wrote: Update: I took the liberty of adding the link to: http://www.xycl.de/de/xbmc/addons-und-programme.html to the first column, now the two Xycl repos should show up in the Repositories Installer Add-on. Thanks. It works. (2012-04-05 19:09)fmronan Wrote: Is it possible to add property for recently or random pictures in the home, like recently movie or other media? You want to go directly into "Uploads from last n days" or "The n latest pictures"? PHP Code: ActivateWindow(Pictures,"plugin://plugin.image.mypicsdb/?method='recentpicsdb'&viewmode='view'&action='showpics'",return)
(This post was last modified: 2012-04-06 20:06 by Xycl.)
|
| find |
fmronan
Fan Posts: 586 Joined: Dec 2010 Reputation: 4 |
2012-04-06 19:52
Post: #314
good question
![]() the last added , i suppose |
| find |
Xycl
Senior Member Joined: Feb 2012 Reputation: 6 Location: Germany |
2012-04-06 20:07
Post: #315
See my updated reply.
|
| find |
Xycl
Senior Member Joined: Feb 2012 Reputation: 6 Location: Germany |
2012-04-07 16:50
Post: #316
(2012-04-06 05:41)mgmartin Wrote: I've noticed that the browse_folder function scanpath.py tends to bomb out at the stat functions if it encounters any files or folders without read permissions. Please test it with new version 0.6.6. File permission errors are now handled when using Windows. |
| find |
mikebzh44
Posting Freak Posts: 1,067 Joined: Nov 2011 Reputation: 19 Location: Nantes - France |
2012-04-07 18:40
Post: #317
(2012-04-05 19:09)fmronan Wrote: You can install by repo passion in xbmc or with the zip file tooHello Xycl. Fmronan, Glass skinner, is looking for a special feature of your script. Your script is able to return "Recently added" and "Random" images but not as Home properties. Is it possible to you to set Home properties so skinners could populate widgets, as for "Recently added" and " Random" movies, tvshows, albums ? |
| find |
Xycl
Senior Member Joined: Feb 2012 Reputation: 6 Location: Germany |
2012-04-08 15:33
Post: #318
(2012-04-07 18:40)mikebzh44 Wrote:Sorry, but what are home properties?(2012-04-05 19:09)fmronan Wrote: You can install by repo passion in xbmc or with the zip file tooHello Xycl. Can you give me an example? Best would be the xml file (and lines) from confluence skin where the recently added videos are shown because I don't know much about skins (only enough to add some home submenus for playlists or sources). With help of an example it should'nt be to complicated for me to give fmronan the needed pictures. Update: I can write for him a function like 'RecentlyAdded(n)' which gives back the picture path of the n'th recently added picture.
(This post was last modified: 2012-04-08 15:35 by Xycl.)
|
| find |
mikebzh44
Posting Freak Posts: 1,067 Joined: Nov 2011 Reputation: 19 Location: Nantes - France |
2012-04-08 21:45
Post: #319
How I set Home property with RandomAndLastItems script :
WINDOW = xbmcgui.Window( 10000 ) _setProperty( "PictureDB.%d.Path" % ( _count ), path ) So skinners can use PictureDB.1.Path to PictureDB.10.Path for example. |
| find |
mgmartin
Junior Member Posts: 4 Joined: Mar 2012 Reputation: 0 |
2012-04-09 08:49
Post: #320
Still seems to have issues under Linux.
I have to trap exceptcions in the picentry={...stat...} code to successfully scan the folders. (2012-04-07 16:50)Xycl Wrote:(2012-04-06 05:41)mgmartin Wrote: I've noticed that the browse_folder function scanpath.py tends to bomb out at the stat functions if it encounters any files or folders without read permissions. |
| find |


Search
Help