2016-06-06, 11:16
(2016-05-26, 19:19)wstephen Wrote: [ -> ]Hi, Xycl,
I found the strings.po in Chinese (Traditional) of myPicsDB Addon only covers 10% or less of the supposedly default English (US).
...
Best Wishes!
Please use Translation System
(2016-05-26, 19:19)wstephen Wrote: [ -> ]Hi, Xycl,
I found the strings.po in Chinese (Traditional) of myPicsDB Addon only covers 10% or less of the supposedly default English (US).
...
Best Wishes!
(2016-05-22, 20:08)peppe_sr Wrote: [ -> ]hi, could you take a look a this log.
i'm having some trouble, the most strange think is that sometime i have this error and sometime no!
i'm using the "random pictures" feature as widget and, as i wrote, sometimes on startup or when i set the widget content i have the error in the log. could you give me a hand?
Peppe
EDIT
i have to say that in the end the addon works each time but only about five minute kodi is on.
on startup i have the problem, widget doesn't start and even if i try to add again the widget just after kodi is on an error is showed in kodi popup.
if i leave the system running after a while i have the widget loaded.
this is the log with both situations.
Peppe
19:59:27 T:5908 NOTICE: [My Pictures Database] line 88 in default.py object Main.get_args >> sys.argv[2] = ?method='random'&page='1'&viewmode='view'&action='showpics'&name='Show+250+random+pictures'&reload=
(2016-06-01, 02:28)twiseva Wrote: [ -> ]Hey all, just reverted to using myPicsDB as I now have a skin that I can get a widget working with. I have upgraded to the latest version and am seeing a few errors in the log around deletion. Seems like the delete statement cannot handle ' in the path names. It added these files fine but possibly the SQL is not escaped
...
NOTE: It seems this issue slows down the scan a lot. Takes about 20 seconds for it to fail. I have hundreds of files under this directory so its painful -- as for the UI in Kodi -- it looks as if its stalled as it lists the last successful update file name. Check logs if you see this as the scan is progressing :-) For now may rename/regenerate directories out of lightroom to avoid this issue.
def del_pic(self, picpath, picfile=None):
if picfile:
self.cur.request("""DELETE FROM Files WHERE idFolder = (SELECT idFolder FROM Folders WHERE FullPath Like '%s_') AND strFilename=? """%picpath,(picfile, ))
else:
def del_pic(self, picpath, picfile=None):
if picfile:
picpath = picpath.replace("\\", "\\\\")
self.cur.request("""DELETE FROM Files WHERE idFolder = (SELECT idFolder FROM Folders WHERE FullPath Like '%s_') AND strFilename=? """%picpath,(picfile, ))
else:
(2016-06-06, 11:29)peppe_sr Wrote: [ -> ]hi mate.
i think ii comes from the script which menage the widget.
maybe this http://puu.sh/piDAa/e80760d677.jpg
(2016-06-06, 12:03)Xycl Wrote: [ -> ]Please try version 13.3.8
(2016-06-06, 11:44)Xycl Wrote: [ -> ](2016-06-01, 02:28)twiseva Wrote: [ -> ]Hey all, just reverted to using myPicsDB as I now have a skin that I can get a widget working with. I have upgraded to the latest version and am seeing a few errors in the log around deletion. Seems like the delete statement cannot handle ' in the path names. It added these files fine but possibly the SQL is not escaped
...
NOTE: It seems this issue slows down the scan a lot. Takes about 20 seconds for it to fail. I have hundreds of files under this directory so its painful -- as for the UI in Kodi -- it looks as if its stalled as it lists the last successful update file name. Check logs if you see this as the scan is progressing :-) For now may rename/regenerate directories out of lightroom to avoid this issue.
Please try the following
1) Edit file resources/lib/MyPicsDB.py
2) At line 615 you should see the following:
change it to:Code:def del_pic(self, picpath, picfile=None):
if picfile:
self.cur.request("""DELETE FROM Files WHERE idFolder = (SELECT idFolder FROM Folders WHERE FullPath Like '%s_') AND strFilename=? """%picpath,(picfile, ))
else:
Code:def del_pic(self, picpath, picfile=None):
if picfile:
picpath = picpath.replace("\\", "\\\\")
self.cur.request("""DELETE FROM Files WHERE idFolder = (SELECT idFolder FROM Folders WHERE FullPath Like '%s_') AND strFilename=? """%picpath,(picfile, ))
else:
EDIT:
Try the new version 13.3.8
(2016-06-06, 03:27)twiseva Wrote: [ -> ]Another oddity I am seeing is navigation of the menus. Seems like the bottom group of menu items are automatically selected (like you hit return) if you stay on them for about a second. This happens in the sub menus also. I am using Jarvis with the Nox skin if that makes any difference.
(2016-06-06, 15:01)peppe_sr Wrote: [ -> ](2016-06-06, 12:03)Xycl Wrote: [ -> ]Please try version 13.3.8
it worked at first attempt
thanks
Peppe
(2016-06-07, 02:52)twiseva Wrote: [ -> ](2016-06-06, 03:27)twiseva Wrote: [ -> ]Another oddity I am seeing is navigation of the menus. Seems like the bottom group of menu items are automatically selected (like you hit return) if you stay on them for about a second. This happens in the sub menus also. I am using Jarvis with the Nox skin if that makes any difference.
A minor update: This seems only to for the following choices: filter wizard; global search; addon settings; translates your tags; help
(2016-06-08, 16:59)Xycl Wrote: [ -> ](2016-06-07, 02:52)twiseva Wrote: [ -> ](2016-06-06, 03:27)twiseva Wrote: [ -> ]Another oddity I am seeing is navigation of the menus. Seems like the bottom group of menu items are automatically selected (like you hit return) if you stay on them for about a second. This happens in the sub menus also. I am using Jarvis with the Nox skin if that makes any difference.
A minor update: This seems only to for the following choices: filter wizard; global search; addon settings; translates your tags; help
I use MyPicsDB with a remote control at home and sometimes with a wireless keyboard.
Never saw this. But my used skin is confluence.
(2016-06-06, 15:01)peppe_sr Wrote: [ -> ](2016-06-06, 12:03)Xycl Wrote: [ -> ]Please try version 13.3.8
it worked at first attempt
thanks
Peppe