Kodi Community Forum
Library Scanner, excluding Videos (tvtunes) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Meta-Data provider and Artwork Packs (https://forum.kodi.tv/forumdisplay.php?fid=71)
+--- Thread: Library Scanner, excluding Videos (tvtunes) (/showthread.php?tid=285281)



Library Scanner, excluding Videos (tvtunes) - AttacktheCow - 2016-08-02

Hi Guys,

i am having trouble excluding videos and trailers from my library list. I do have trailers to almost every movie in my library, but sometimes they are listed as an actual movie itself (and sometimes not). Also since i have tvtunes and since it downloades mp4 backgroundvideos, i get these videos listed as well.
Please see my screenshots attached for clarification

Image

Image

Image

Heres my advancedsettings.xml.
Code:
<advancedsettings>
    <video>
      
        <excludefromscan action="append">
            <regexp>[-\._ ](sample|trailer|theme)[-\._ ]</regexp>
            <regexp>(theme|trailer|sample)[-\._ ]</regexp>
        </excludefromscan>
  
        
  
        <excludetvshowsfromscan action="append">
            <regexp>[-\._ ](sample|trailer|theme)[-\._ ]</regexp>
            <regexp>(theme|trailer|sample)[-\._ ]</regexp>
        </excludetvshowsfromscan>
  
         <trailermatching>
        <!-- This regexp will match moviename_Trailer.avi -->
            <regexp>(.*?)(-trailer)(\.[^.]+)$</regexp>
        </trailermatching>
    </video>
</advancedsettings>
It does not make any difference whether action = append, prepend or left out.


Thanks in advance!


RE: Library Scanner, excluding Videos (tvtunes) - Mike_Doc - 2016-08-03

Code:
<advancedsettings>
    <video>
        <!-- TvTunes: Section Start -->
        <excludefromscan action="append">
            <regexp>/Themes/</regexp>
            <regexp>[\\/]Themes[\\/]</regexp>
            <regexp>theme([0-9]*)\.(mp4|mkv|avi|mov|MP4|MKV|AVI|MOV)$</regexp>
        </excludefromscan>
        <excludetvshowsfromscan action="append">
            <regexp>/Themes/</regexp>
            <regexp>[\\/]Themes[\\/]</regexp>
            <regexp>theme([0-9]*)\.(mp4|mkv|avi|mov|MP4|MKV|AVI|MOV)$</regexp>
        </excludetvshowsfromscan>
        <!-- TvTunes: Section End -->
    </video>
</advancedsettings>



RE: Library Scanner, excluding Videos (tvtunes) - AttacktheCow - 2016-08-03

(2016-08-03, 09:18)Mike_Doc Wrote:
Code:
<advancedsettings>
    <video>
        <!-- TvTunes: Section Start -->
        <excludefromscan action="append">
            <regexp>/Themes/</regexp>
            <regexp>[\\/]Themes[\\/]</regexp>
            <regexp>theme([0-9]*)\.(mp4|mkv|avi|mov|MP4|MKV|AVI|MOV)$</regexp>
        </excludefromscan>
        <excludetvshowsfromscan action="append">
            <regexp>/Themes/</regexp>
            <regexp>[\\/]Themes[\\/]</regexp>
            <regexp>theme([0-9]*)\.(mp4|mkv|avi|mov|MP4|MKV|AVI|MOV)$</regexp>
        </excludetvshowsfromscan>
        <!-- TvTunes: Section End -->
    </video>
</advancedsettings>

yeah, sorry i forgot to mention that i of course tried this too but it hasn't worked either.


RE: Library Scanner, excluding Videos (tvtunes) - orangesky - 2016-11-23

(2016-08-03, 17:27)AttacktheCow Wrote:
(2016-08-03, 09:18)Mike_Doc Wrote:
Code:
<advancedsettings>
    <video>
        <!-- TvTunes: Section Start -->
        <excludefromscan action="append">
            <regexp>/Themes/</regexp>
            <regexp>[\\/]Themes[\\/]</regexp>
            <regexp>theme([0-9]*)\.(mp4|mkv|avi|mov|MP4|MKV|AVI|MOV)$</regexp>
        </excludefromscan>
        <excludetvshowsfromscan action="append">
            <regexp>/Themes/</regexp>
            <regexp>[\\/]Themes[\\/]</regexp>
            <regexp>theme([0-9]*)\.(mp4|mkv|avi|mov|MP4|MKV|AVI|MOV)$</regexp>
        </excludetvshowsfromscan>
        <!-- TvTunes: Section End -->
    </video>
</advancedsettings>

yeah, sorry i forgot to mention that i of course tried this too but it hasn't worked either.

I have the same problem. Did you solve it? Thanks