Excluding pictures from media scanning
#1
Hi,

In XBMC I'm using a share for My Pictures that points to the albums directory from Coppermine, a webbased photo gallery.
This Coppermine script auto-generates normal (800x600) and thumb pictures from the original photo's and puts them into the same directory.

I want to exclude the auto-generated files when XBMC is scanning the folder.

The filenames of the auto-generated files start with :

normal_xxxxxxx.jpg
thumb_xxxxxxx.jpg

Is there any way of doing this ??

I've checked the Wiki page of advancedsettings.xml, but I can only exclude filetypes, i.e. .gif|.tiff etc, etc.

Thanks !

Bram
Reply
#2
AFAIK extension based exclusion is all that's available ATM. You might add a feature request on trac for a regex based advanced setting. I can see it being useful in the other categories as well (block porn, low quality releases,etc from video library, your little sisters tunes from the music library,etc).
Reply
#3
No need for the ticket Wink
I've just added three new advancedsettings options the the linuxport SVN. New ones are <musicexcludes>, <videoexcludes> and <pictureexcludes>.

To get rid of the "thumb_<filename>.jpg" your advancedsettings.xml should look like this ..

Code:
<advancedsettings>
  <pictureexcludes>
    <regexp>(thumb_)</regexp>
  </pictureexcludes>
</advancedsettings>

.. it's working the same way as the current <excludefromscan> stuff.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#4
Wow, that's great you guys !!
Thanks for this quick response.

XBMC RULEZ !!

Can't wait to give the new SVN a go !
Reply
#5
Works like a charm. Thanks again !
Reply
#6
Bram1nat0r Wrote:Works like a charm. Thanks again !

You're welcome! Wink
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#7
I was asked to let you know when this feature was merged to Xbox, which I just did...
-= Team Kodi developer fueled by heavy metal =-
Reply
#8
I'm a happy camper ! Keep up the fine work !
Reply
#9
(2008-11-29, 20:44)mkortstiege Wrote: No need for the ticket Wink
I've just added three new advancedsettings options the the linuxport SVN. New ones are <musicexcludes>, <videoexcludes> and <pictureexcludes>.

To get rid of the "thumb_<filename>.jpg" your advancedsettings.xml should look like this ..

Code:
<advancedsettings>
  <pictureexcludes>
    <regexp>(thumb_)</regexp>
  </pictureexcludes>
</advancedsettings>

.. it's working the same way as the current <excludefromscan> stuff.

@mkortstiege

I'm trying to use your method above under 15.2 to exclude the following files from displaying when 'Recursive Slideshow' is selected with joy.

SYNOPHOTO:THUMB_B.jpg
SYNOPHOTO:THUMB_L.jpg
SYNOPHOTO:THUMB_M.jpg
SYNOPHOTO:THUMB_S.jpg
SYNOPHOTO:THUMB_XL.jpg
SYNOPHOTO_THUMB_PREVIEW.jpg

I've tried
Code:
<advancedsettings>
  <pictureexcludes>
    <regexp>(SYNOPHOTO)</regexp>
  </pictureexcludes>
</advancedsettings>

but that doesn't work.

Any advice?
Reply

Logout Mark Read Team Forum Stats Members Help
Excluding pictures from media scanning0