• 1
  • 49
  • 50
  • 51
  • 52
  • 53(current)
Release MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags
(2023-01-22, 16:01)rafikW Wrote: ....

from Kodi 19 /storage/.kodi/addons to Kodi 20 /storage/.kodi/addons then it works.

Thanks a lot for investigating !
This addon is a must for me, and I guess many of us Wink , so it would have been a pity if not working on Nexus
Reply
(2023-01-22, 18:11)rockrider69 Wrote:
(2023-01-22, 16:01)rafikW Wrote: ....

from Kodi 19 /storage/.kodi/addons to Kodi 20 /storage/.kodi/addons then it works.

Thanks a lot for investigating !
This addon is a must for me, and I guess many of us Wink , so it would have been a pity if not working on Nexus

I'm glad to see my investigation's result could be valuable for others :-)
Don't forget to copy addon settings in files: /storage/.kodi/userdata/addon_data/plugin.image.mypicsdb2/settings.xml & /storage/.kodi/userdata/addon_data/script.service.mypicsdb2/settings.xml
But I think this is pretty obvious.
On CoreELEC forum people are recommending to fresh install instead of upgrade so I did that - fresh install.
Then only Kodi configuration and most of the addons settings migrated via settings.xml files.
And of course two the most important files:
/storage/.kodi/userdata/advancedsettings.xml
/storage/.kodi/userdata/sources.xml
Good luck.
Reply
I was too optimistic... something is wrong so I have started experiencing Kodi complete freeze when a library is refreshed.
In the log:
xml:

2023-02-05 14:30:41.719 T:4099    error <general>: Repository add-on repository.xycl.addons2 uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use <dir> definitions.
2023-02-05 14:30:41.719 T:4099    error <general>: Repository add-on repository.xycl.addons2 does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition
2023-02-05 14:30:41.736 T:4099    error <general>: Repository add-on repository.xycl.addons2 uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use <dir> definitions.
2023-02-05 14:30:41.736 T:4099    error <general>: Repository add-on repository.xycl.addons2 does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition
2023-02-05 14:30:41.740 T:4099    error <general>: Repository add-on repository.xycl.addons2 uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use <dir> definitions.
2023-02-05 14:30:41.740 T:4099    error <general>: Repository add-on repository.xycl.addons2 does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition
2023-02-05 14:30:41.744 T:4099    error <general>: Repository add-on repository.xycl.addons2 uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use <dir> definitions.
2023-02-05 14:30:41.744 T:4099    error <general>: Repository add-on repository.xycl.addons2 does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition
2023-02-05 14:30:41.745 T:4099    error <general>: Repository add-on repository.xycl.addons2 uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use <dir> definitions.
2023-02-05 14:30:41.745 T:4099    error <general>: Repository add-on repository.xycl.addons2 does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition


I think development need to be done here in order to make this add-on fully compatible with Kodi Nexus.
Reply
Regarding errors reported by @rafikW ...
I did some quick checks and yes from Nexus V20, the xml definition for repository extension like used by @Xycl for his addons must be updated (with min and max version / which Kodi version they are compatible with... at least that is my understanding)
Add-on_repositories (wiki)

Not sure it can explain Kodi freezes thoughConfused

Let's hope @Xycl is back here soon !
Reply
https://forum.kodi.tv/showthread.php?tid...pid3139701
Apparently the issue with hundreds of lines:
xml:

2023-02-07 21:28:01.541 T:14405    info <general>: UpdateDetailsForMovie: Starting updates for movie 2811
2023-02-07 21:28:01.549 T:14405    info <general>: UpdateDetailsForMovie: Finished updates for movie 2811
2023-02-07 21:28:05.949 T:14405    info <general>: UpdateDetailsForMovie: Starting updates for movie 2841
2023-02-07 21:28:05.956 T:14405    info <general>: UpdateDetailsForMovie: Finished updates for movie 2841
2023-02-07 21:28:10.384 T:14405    info <general>: UpdateDetailsForMovie: Starting updates for movie 2798
2023-02-07 21:28:10.395 T:14405    info <general>: UpdateDetailsForMovie: Finished updates for movie 2798
2023-02-07 21:28:27.941 T:14405    info <general>: UpdateDetailsForMovie: Starting updates for movie 2853
2023-02-07 21:28:27.948 T:14405    info <general>: UpdateDetailsForMovie: Finished updates for movie 2853
in kodi.log which eventually was leading to memory exhausting and Kodi freeze is "The TVDB v4" TV scraper.

Now I'm again on CoreELEC 20 with Xonfluence and two the most important add-ons to me:
TV Shows-Next Aired: https://forum.kodi.tv/showthread.php?tid=186090
My Pictures Database Library: https://forum.kodi.tv/showthread.php?tid=133905

So in order to have My Picture Database Library add-on running in Kodi 20 the following steps need to be performed:
Copy these folders from Kodi 19 /storage/.kodi/addons:
script.service.mypicsdb2
script.module.mypicsdb2scan
script.module.mypicsdb2lib
repository.xycl.addons2
plugin.image.mypicsdb2

to Kodi 20 /storage/.kodi/addons.
Once they are copied and Kodi device restarted you will get confirmations questions if you would like to run these add-ons. When confirmed one more step need to be done as at this stage it doesn't work yet:
go to My Pictures Database Library add-on information -> Dependencies and there you will see "Common plugin cache" and "MySQL Connector/Python" are not installed - just click on them and install.
The last step is to overwrite settings.xml from plugin.image.mypicsdb2 and script.service.mypicsdb2 folders inside /storage/.kodi/userdata/addon_data backed up from Kodi 19.5
Reply
Thank you for this complete information.
But as I am 84 years old and not a single knowledge into computer do you think that one day a simple solution based on installation of zip files will be available.
This application is a must to me
Regards
Reply
(2023-03-07, 14:23)pierre8991 Wrote: Thank you for this complete information.
But as I am 84 years old and not a single knowledge into computer do you think that one day a simple solution based on installation of zip files will be available.
This application is a must to me
Regards
It depends if this add-on creator will be back here.
Last his activity is: Last Visit: 2022-08-15, 11:10
But you should try the steps I explained in details. Its really easy.
I don't know what is your setup but having additional SD Card usually helps if you would like to back to the previous version.
Reply
Thank's for your fast answer. So if I understant I have to reinstall Kodi 19 ?
Reply
(2023-03-07, 14:44)pierre8991 Wrote: Thank's for your fast answer. So if I understant I have to reinstall Kodi 19 ?
I have Odroid N2 with CoreELEC. It has SD Card.
Steps suggested:
1. buy additional SD Card
2. copy these folders from Kodi 19 /storage/.kodi/addons folder:
script.service.mypicsdb2
script.module.mypicsdb2scan
script.module.mypicsdb2lib
repository.xycl.addons2
plugin.image.mypicsdb2
Use WinSCP for copying these folders from Kodi running on your Kodi device to your Windows machine (if using)
3. copy /storage/.kodi/userdata/advancedsettings.xml and /storage/.kodi/userdata/sources.xml from Kodi running on your Kodi device to your Windows machine.
4. If you have your Kodi databases located on your Kodi device - backup them as well. As far as I remember for Kodi 19 those are:
MyMusic82.db
MyVideos119.db
and the database of your MyPics addon: the name is what you set but it should be in the same place where these two for Kodi are located: /storage/.kodi/userdata/Database. Copy these db files to your Windows machine as well.
4. power off your Kodi device.
5. install CoreELEC (if using) to your new SD Card. Download it from here: https://github.com/CoreELEC/CoreELEC/releases More information: https://coreelec.org/ I'm using LibreELEC.USB-SD.Creator.Win32.exe for installing (flashing) CoreELEC on SD card. Download: https://libreelec.tv/downloads/
6. insert new SD Card to your Kodi device and power on.
7. When CoreELEC is starting select SSH Enable, set password. When primary configuration is completed use WinSCP and upload folders that you copied in steps 2, 3 and 4 back to your new Kodi 20 on your Kodi device to the same locations as source Kodi 19. Reboot.
8. Now you should see database migration in progress... new MyVideos121.db should be created. And when Kodi 20 will start you will get a question as described at the end of my post #785
Reply
Thankyou Rafik. I did my best but I did not succeed. So I will look to some other application to manage my Pictures and leave Kodi. too bad but no choice
Reply
@rafikW - thanks for the procedure you created as a stop-gap. It seems to pretty much work going from a Kodi 19 Windows machine to a Kodi 20 LibreElec machine, with the following exceptions:
1. There isn't a script.service.mypicsdb2 folder on the Kodi 19 install
2. script.module.mypicsdb2scan and scrpit.module.mypicsdb2lib show up as not being available even though I have copied them
Having said this, the scanning, databasing etc all seem to work properly.
I am guessing it may have something to do with your final step "The last step is to overwrite settings.xml from plugin.image.mypicsdb2 and script.service.mypicsdb2 folders inside /storage/.kodi/userdata/addon_data backed up from Kodi 19.5" since I don't have the latter
Reply
Hey there, hi @Xycl, i was just wondering is this addon still being maintained?
Reply
  • 1
  • 49
  • 50
  • 51
  • 52
  • 53(current)

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