• 1
  • 37
  • 38
  • 39(current)
  • 40
  • 41
  • 53
Release MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags
(2015-11-24, 23:53)mandricus Wrote: Thought it was simpler, but life never is Smile
A flag to be able to set random / alphabetical for a given collection could be enough.
Since most of the times alphabetical order is the same as chronological order (most cameras use names like "pict_9001","pict_9002", and so on) that should do the trick anyway.
May be you can consider to add this feature some day in one of your next releases?
Thank you anyway.

I also think a random/notrandom setting would be useful. (I typically want a sort by name/increasing slideshow ordering.) As it is, I simply open the collection rather than playing it, and then start a slideshow from there which defaults to non-random. Then you have the option of changing the sort order and direction as well.

scott s.
.
maintainer of skin  Aeon MQ5 mods for post-Gotham Kodi releases:
Matrix see: Aeon MQ5 Mod Matrix release thread
Nexus see: Aeon MQ5 Mod Nexus release thread
Aeon MQ 5 skin and addon repo 11.1.0
Reply
Hi,
yesterday i noticed that, using the Youtube plugin, every time you play a Youtube playlist, a dialog-box appears, asking the user which order he wants to use in order to play playlist videos (options are: playlist order, reverse, random).
Something similar could work too, and should be easier to implement (no need to store the preference for every collection).
I think that this can be a viable solution: simply ask to the user, every time he wants to play a collection, which order should be used to play the slideshow (predefined or random).
Reply
(2015-11-27, 11:16)scott967 Wrote: I also think a random/notrandom setting would be useful. (I typically want a sort by name/increasing slideshow ordering.) As it is, I simply open the collection rather than playing it, and then start a slideshow from there which defaults to non-random. Then you have the option of changing the sort order and direction as well.

scott s.
.

Hi, please correct me if I'm wrong: opening the collection this way you don't have the possibility to start the associated music playlist. I have a different and specific music playlist for every collection (french music for french holidays collection, Irish Music for Irish holidays collection, and so on).
Reply
Hello

Is there a Way i can load content from this addon "dynamic".

all i would need is a path, to the related cathegories. something like:

PHP Code:
plugin://plugin.image.mypicsdb/&method=lastpicsshooted

plugin://plugin.image.mypicsdb/&method=random250

<contend>plugin://plugin.image.mypicsdb/&amp;method=videos</content> 

does this paths already exist?

IF not, would it be possible to provide them, so skiners could use them?
Reply
I have a (probably) rather basic question, but is there a way to display all the pictures from all the selected paths inside an unified view with this plug-in? Something like a "view all" feature, ignoring the directories?
Reply
(2015-12-02, 14:38)Rantanplan-1 Wrote: Hello

Is there a Way i can load content from this addon "dynamic".

all i would need is a path, to the related cathegories. something like:

PHP Code:
plugin://plugin.image.mypicsdb/&amp;method=lastpicsshooted

plugin://plugin.image.mypicsdb/&amp;method=random250

<contend>plugin://plugin.image.mypicsdb/&amp;method=videos</content> 

does this paths already exist?

IF not, would it be possible to provide them, so skiners could use them?

Activate the debug log.
Click on a path and look at the log file.
No log no help.
Main page: https://github.com/Xycl
Repository: Xycl Repository Leia
Repository: Xycl Repository Matrix
Reply
(2015-12-02, 23:47)pbureau Wrote: I have a (probably) rather basic question, but is there a way to display all the pictures from all the selected paths inside an unified view with this plug-in? Something like a "view all" feature, ignoring the directories?

No.
But you can tag all your picture e.g. with keyword "ALL" and then select this keyword within MyPicsDB
No log no help.
Main page: https://github.com/Xycl
Repository: Xycl Repository Leia
Repository: Xycl Repository Matrix
Reply
(2015-12-03, 12:56)Xycl Wrote: Activate the debug log.
Click on a path and look at the log file.


Seems to work after a quick test.

Thanks.
Reply
(2015-12-03, 12:59)Xycl Wrote:
(2015-12-02, 23:47)pbureau Wrote: I have a (probably) rather basic question, but is there a way to display all the pictures from all the selected paths inside an unified view with this plug-in? Something like a "view all" feature, ignoring the directories?

No.
But you can tag all your picture e.g. with keyword "ALL" and then select this keyword within MyPicsDB

thx for your reply. Actually after experimentations, I discovered the "Browse by Date / All Images" section, it seems to be displaying all the pictures from the db in a single view? My only (minor) problem is that it is quite difficult to access, I would like to it my default view...
Reply
Hello xycl,

can you say, if this Add-On working on Kodi 16 Beta 3 ?
Because, I get follow message:

EDIT: I dont have a database, that the first start, so that must have create a schema.

Code:
17:24:21 T:1656   DEBUG: ------ Window Init (MyPics.xml) ------
17:24:21 T:1656   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.image.mypicsdb/)
17:24:21 T:1656   DEBUG:   ParentPath = [plugin://plugin.image.mypicsdb/]
17:24:21 T:1656   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin My Pictures Database('plugin://plugin.image.mypicsdb/','2','')
17:24:21 T:1656   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the My Pictures Database (id=9) plugin...
17:24:21 T:7720   DEBUG: Thread LanguageInvoker start, auto delete: false
17:24:21 T:7720    INFO: initializing python engine.
17:24:21 T:7720   DEBUG: CPythonInvoker(9, C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\default.py): start processing
17:24:21 T:1656   ERROR: Control 50 in window 10002 has been asked to focus, but it can't
17:24:21 T:9996   DEBUG: Thread JobWorker start, auto delete: true
17:24:21 T:7720   DEBUG: -->Python Interpreter Initialized<--
17:24:21 T:7720   DEBUG: CPythonInvoker(9, C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\default.py): the source file to load is "C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\default.py"
17:24:21 T:7720   DEBUG: CPythonInvoker(9, C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\default.py): setting the Python path to C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb;C:\Users\heiko\AppData\Roaming\Kodi\addons\script.common.plugin.cache\lib;C:\Users\heiko\AppData\Roaming\Kodi\addons\script.module.simplejson\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
17:24:21 T:7720   DEBUG: CPythonInvoker(9, C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\default.py): entering source directory C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb
17:24:21 T:7720   DEBUG: CPythonInvoker(9, C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\default.py): instantiating addon using automatically obtained id of "plugin.image.mypicsdb" dependent on version 2.1.0 of the xbmc.python api
17:24:21 T:1656   DEBUG: ------ Window Deinit (DialogAddonInfo.xml) ------
17:24:21 T:7720   DEBUG: POParser: loaded 214 strings from file C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\resources\language\German\strings.po
17:24:21 T:7720   DEBUG: POParser: loaded 0 strings from file C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\resources\language\English\strings.po
17:24:21 T:7720  NOTICE: [My Pictures Database] line    86 in default.py object Main.get_args >> MyPicturesDB plugin called :
17:24:21 T:7720  NOTICE: [My Pictures Database] line    87 in default.py object Main.get_args >> sys.argv[0] = plugin://plugin.image.mypicsdb/
17:24:21 T:7720  NOTICE: [My Pictures Database] line    88 in default.py object Main.get_args >> sys.argv[2] =
17:24:21 T:7720  NOTICE: [My Pictures Database] line    97 in default.py object Main.get_args >>
17:24:21 T:7720  NOTICE: [My Pictures Database] line    63 in MypicsDB.py function __init__ >> Used DB Backend = MySql
17:24:21 T:7720   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'resources.lib.local.mysql.connector.errors.ProgrammingError'>
                                            Error Contents: 1049: Unknown database 'mypicsdb'
                                            Traceback (most recent call last):
                                              File "C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\default.py", line 1793, in <module>
                                                m=Main()
                                              File "C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\default.py", line 83, in __init__
                                                MPDB = MypicsDB.MyPictureDB()
                                              File "C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\resources\lib\MypicsDB.py", line 64, in __init__
                                                self.con = dblayer.DBFactory(self.db_backend, self.db_name, self.db_user, self.db_pass, self.db_address, self.db_port)
                                              File "C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\resources\lib\dbabstractionlayer.py", line 95, in DBFactory
                                                return backends[backend.lower()](db_name, *args)
                                              File "C:\Users\heiko\AppData\Roaming\Kodi\addons\plugin.image.mypicsdb\resources\lib\dbabstractionlayer.py", line 121, in __init__
                                                self.connect(*args)
Reply
OK, ooo,
I found my mistake. I have todo create a schema "myPicsDB" on mySQL-Server manuell !!

Can you write this in you dokument with higher letters please. :-)
Reply
(2015-12-05, 10:23)pbureau Wrote: thx for your reply. Actually after experimentations, I discovered the "Browse by Date / All Images" section, it seems to be displaying all the pictures from the db in a single view? My only (minor) problem is that it is quite difficult to access, I would like to it my default view...

Perhaps you could add the "Browse by Date / All Images" section to facourites and access them from Favourites.
Reply
Hi Xycl

I did some rescans with MPD in Kodi Jarvis 16.0 beta 3 and 4. Did the rescan in both Win7 and Win10 environments on different computers.
In some cases the list view is generated/shown, but when I like to start the slideshow, Kodi stops working. This is what I found in the log
List views with a small amounth of pics (around 2500) are displayed OK
When the resultset of the list is above 4000 pics, then the slideshow is not starting

Have you seen this before? Do you need some more info?

Hopefully I can do some fixing

Thanks, Michel

Part of the Kodi log
18:57:31 T:9352 NOTICE: [My Pictures Database] line 118 in scanpath.py object VFSScanner.dispatcher >> Database refresh started
...
19:33:57 T:9352 ERROR: [My Pictures Database] line 858 in iptcinfo.py object iptcinfo.jpegScan >> Marker scan hit start of image data
19:33:57 T:9352 NOTICE: .
19:33:57 T:9352 ERROR: XFILE::CDirectory::Create - Error creating C:\
19:34:50 T:9352 ERROR: Previous line repeats 334 times.
19:34:50 T:9352 ERROR: [My Pictures Database] line 858 in iptcinfo.py object iptcinfo.jpegScan >> Marker scan hit start of image data
19:34:50 T:9352 NOTICE: .
19:34:50 T:9352 ERROR: XFILE::CDirectory::Create - Error creating C:\
19:35:28 T:9352 ERROR: Previous line repeats 217 times.
19:35:28 T:9352 ERROR: [My Pictures Database] line 858 in iptcinfo.py object iptcinfo.jpegScan >> Marker scan hit start of image data
19:35:28 T:9352 NOTICE: .
19:35:28 T:9352 ERROR: XFILE::CDirectory::Create - Error creating C:\
19:37:59 T:1000 ERROR: Previous line repeats 942 times.
19:37:59 T:1000 NOTICE: [My Pictures Database] line 86 in default.py object Main.get_args >> MyPicturesDB plugin called :
19:37:59 T:1000 NOTICE: [My Pictures Database] line 87 in default.py object Main.get_args >> sys.argv[0] = plugin://plugin.image.mypicsdb/
19:37:59 T:1000 NOTICE: [My Pictures Database] line 88 in default.py object Main.get_args >> sys.argv[2] =
19:38:09 T:5488 NOTICE: [My Pictures Database] line 86 in default.py object Main.get_args >> MyPicturesDB plugin called :
19:38:09 T:5488 NOTICE: [My Pictures Database] line 87 in default.py object Main.get_args >> sys.argv[0] = plugin://plugin.image.mypicsdb/
19:38:09 T:5488 NOTICE: [My Pictures Database] line 88 in default.py object Main.get_args >> sys.argv[2] = ?action=%27showtagtypes%27&name=%27Weergeven%20tags%27&tags=%27%27&viewmode=%27view%27
19:38:12 T:7516 NOTICE: [My Pictures Database] line 86 in default.py object Main.get_args >> MyPicturesDB plugin called :
19:38:12 T:7516 NOTICE: [My Pictures Database] line 87 in default.py object Main.get_args >> sys.argv[0] = plugin://plugin.image.mypicsdb/
19:38:12 T:7516 NOTICE: [My Pictures Database] line 88 in default.py object Main.get_args >> sys.argv[2] = ?action=%27showtags%27&method=%27tagtype%27&name=%27Trefwoorden%20(50%20tags)%27&page=%271%27&tagtype=%27Trefwoorden%27&viewmode=%27view%27
19:38:24 T:1568 NOTICE: [My Pictures Database] line 86 in default.py object Main.get_args >> MyPicturesDB plugin called :
19:38:24 T:1568 NOTICE: [My Pictures Database] line 87 in default.py object Main.get_args >> sys.argv[0] = plugin://plugin.image.mypicsdb/
19:38:24 T:1568 NOTICE: [My Pictures Database] line 88 in default.py object Main.get_args >> sys.argv[2] = ?action=%27showpics%27&method=%27tag%27&name=%27Fleur%20de%20Lastname%20(4791%20afbeeldingen)%27&page=%271%27&tag=%27Fleur%20de%20Lastname%27&tagtype=%27Trefwoorden%27&viewmode=%27view%27
19:38:35 T:3304 NOTICE: [My Pictures Database] line 86 in default.py object Main.get_args >> MyPicturesDB plugin called :
19:38:35 T:3304 NOTICE: [My Pictures Database] line 87 in default.py object Main.get_args >> sys.argv[0] = plugin://plugin.image.mypicsdb/
19:38:35 T:3304 NOTICE: [My Pictures Database] line 88 in default.py object Main.get_args >> sys.argv[2] = ?action=%27showpics%27&method=%27tag%27&name=%27Fleur%20de%20Lastname%20(4791%20afbeeldingen)%27&page=%271%27&tag=%27Fleur%20de%20Lastname%27&tagtype=%27Trefwoorden%27&viewmode=%27view%27
19:38:40 T:6672 ERROR: CJobWorker:Tonguerocess error processing job cacheimage
19:38:40 T:7260 ERROR: Previous line repeats 3 times.
19:38:40 T:7260 ERROR: XFILE::CDirectory::GetDirectory - Unhandled exception
19:38:40 T:7260 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.image.mypicsdb/?action=%27showpics%27&method=%27tag%27&name=%27Fleur%20de%20Lastname%20(4791%20afbeeldingen)%27&page=%271%27&tag=%27Fleur%20de%20Lastname%27&tagtype=%27Trefwoorden%27&viewmode=%27view%27
19:38:40 T:6672 ERROR: CJobWorker:Tonguerocess error processing job cacheimage
19:38:50 T:7260 ERROR: Previous line repeats 259 times.

in an other log I discovered this line
16:17:36 T:3324 NOTICE: [My Pictures Database] line 86 in default.py object Main.get_args >> MyPicturesDB plugin called :
16:17:36 T:3324 NOTICE: [My Pictures Database] line 87 in default.py object Main.get_args >> sys.argv[0] = plugin://plugin.image.mypicsdb/
16:17:36 T:3324 NOTICE: [My Pictures Database] line 88 in default.py object Main.get_args >> sys.argv[2] =
16:17:37 T:2668 ERROR: CD3DTexture::Create - failed to create texture.
16:17:37 T:2668 ERROR: CRenderSystemDX::FinishCommandList - Failed to finish command queue.
16:17:37 T:2668 ERROR: DXGI_ERROR_DEVICE_REMOVED
16:17:43 T:2668 ERROR: CRenderSystemDX::CreateWindowSizeDependentResources - Failed to resize buffers (8007000E - E_OUTOFMEMORY (Onvoldoende opslagruimte beschikbaar om deze bewerking te voltooien.
Reply
I guess that the 2nd error log seems to be a DirectX problem but the first one with "XFILE::CDirectory::Create - Error creating C:\" and "XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.image.mypicsdb/?action=%27showpics%27&method=%27tag%27&" is pretty strange.
Never saw something like this.

With a Kodi release candidate I will start testing MyPicsDB with Jarvis, but not before.
No log no help.
Main page: https://github.com/Xycl
Repository: Xycl Repository Leia
Repository: Xycl Repository Matrix
Reply
Is there a way to set the views to Wall instead of default Info? I have to manually set it for each new folder. I want the main folder to still be setup as info, but the rest as Wall. Ideas?
Reply
  • 1
  • 37
  • 38
  • 39(current)
  • 40
  • 41
  • 53

Logout Mark Read Team Forum Stats Members Help
MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags1