Posts: 1,607
Joined: Apr 2016
(2016-08-01, 11:45)peppe_sr Wrote: sure, i now that.
have to think a way to force the refresh.
EDIT
in advancedsettings.xml there is an interesting code.
Code:
2.7 Photos settings
2.7.2 pictureexcludes
Matches filenames or folders which should be excluded from being displayed in My Pictures using a list of Regular Expressions
<pictureexcludes> <!-- Regular expressions that if evaluated to true won't be displayed in My Pictures -->
<regexp>small</regexp>
<regexp>[-\._ ](sample|trailer)[-\._ ]</regexp>
</pictureexcludes>
Hmm interesting. .. will try
Sent from my GT-N7100
Posts: 1,607
Joined: Apr 2016
2016-08-01, 14:39
(This post was last modified: 2016-08-01, 14:40 by User 325245.)
Yes, this has to be in advancedsettings.xml:
Code:
<advancedsettings>
<pictureexcludes> <!-- Regular expressions that if evaluated to true won't be displayed in My Pictures -->
<regexp>folder.png</regexp>
</pictureexcludes>
</advancedsettings>
and the folder.png is not shown. Now only to edit the script to generate PNG instead of JPG
D>
Posts: 1,607
Joined: Apr 2016
Sometimes regenerate thumbs works, sometimes you need to open the folder, return and THEN do "regenerate" in order to update.... sometimes it updates only single folder, sometimes all folders in a level....
Posts: 1,607
Joined: Apr 2016
OK, got everything working except "refresh"... just have to automate adding regex to advancedsettings.xml, which si not a problem but will take some time
Posts: 1,272
Joined: Mar 2006
Reputation:
27
good.
also create advancedsettings.xml if not present, that i think is the common situation of most kodi users. but this feature is not so important.
about refresh, when i suggested to use more than one image format it was because switching between formats should force the refresh. made some test in the past and i'm pretty sure about this.
Peppe
Posts: 1,607
Joined: Apr 2016
v2.3
- Added option to make thumbs as PNG file, not only JPG, so it supports transparency now
- Hides folder.png from being displayed as a picture by making advancedsettings.xml (only if file already doesn't exist)
- Various small optimizations
So for the time being, I am not updating advancedsettings.xml if it exists, only creating it if it does't. If it exists, and exception for folder.png is there - then it;s OK. If it's not there... user must add it manualy. Still have to do the part of updating the XML....
Posts: 1,607
Joined: Apr 2016
v2.4
- parsing advancedsettings.xml and adding exclusion for folder.png
Posts: 1,607
Joined: Apr 2016
Posts: 1,607
Joined: Apr 2016
v2.6
- All strings read from language files
- Unicode fixes
Posts: 1,607
Joined: Apr 2016
If you like this add on, please like the Facebook page:
Visual Thumbs
Posts: 1,607
Joined: Apr 2016
v2.7
- Logo, banner, fanart
Posts: 1,607
Joined: Apr 2016
v2.8
- Change all xml guisettings reading from xml.dom to json
Posts: 1,607
Joined: Apr 2016