Exclude subfolder "@Transcoding" from scan
#1
Hi

When I execute a transcoding command on my server a new sub folder called "@Transcoding" is created with in a primary folder of the Movie or Tv_Show.

How can I exclude this subfolder and its content form any search (eg. Universal Movie Scrapper or TV DB) so that I will not get duplicate entries on database.

Example.

Folder before trancoding:
Movies/Divx/Stars/stars.avi
Movies/Divx/Beach/beach.avi

Folder after trancoding:
Movies/Divx/Stars/@Transcoding/stars.avi
Movies/Divx/Beach/@Transcoding/beach.avi

Thanks in advance for help
Reply
#2
http://kodi.wiki/view/Advancedsettings.x...defromscan
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Tnx that did the job Wink
Reply
#4
Nope it did not work.

I have modify the advancedsettings.xml with the following

Code:
<video>
  <excludefromscan>
    <regexp>-trailer</regexp>
    <regexp>[!-._ \\/]@Transcode[-._ \\/]</regexp>
  </excludefromscan>
</video>
<video>
  <excludetvshowsfromscan>
    <regexp>[!-._ \\/]@Transcode[-._ \\/]</regexp>
  </excludetvshowsfromscan>
</video>

But all movies/tv_shows are now duplicated Sad

Where did I go wrong?
Reply
#5
(2016-01-30, 16:32)ziga Wrote: Nope it did not work.

I have modify the advancedsettings.xml with the following

Code:
<video>
  <excludefromscan>
    <regexp>-trailer</regexp>
    <regexp>[!-._ \\/]@Transcode[-._ \\/]</regexp>
  </excludefromscan>
</video>
<video>
  <excludetvshowsfromscan>
    <regexp>[!-._ \\/]@Transcode[-._ \\/]</regexp>
  </excludetvshowsfromscan>
</video>

But all movies/tv_shows are now duplicated Sad

Where did I go wrong?

Your folder is called "@Transcoding", but in the regex you put "@Transcode" so it fails.
Reply
#6
Is there a way to do this at a certain point in the file structure?

Some of the folders I wan't to exclude doesn't have generic names so I would have to create a regex for each single one of them.

It's said that "Kodi will only read the advancedsettings.xml file when it starts up". Would it be possible to put some kind of overwrite file in those folders that tells the scraper to ignore this folder and all of it's content.

Something like OverwriteAdvancedsettings.xml:
<video>
  <excludetvshowsfromscan>
    <regexp>[.*]</regexp>
  </excludetvshowsfromscan>
</video>
Reply
#7
(2021-11-29, 02:29)InterstellarPirate Wrote: Would it be possible to put some kind of overwrite file in those folders that tells the scraper to ignore this folder and all of it's content.
Use a .nomedia file. sect 6.2 ... https://kodi.wiki/view/Updating_or_remov...ude_Folder
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki) || Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#8
(2021-11-29, 03:11)Karellen Wrote:
(2021-11-29, 02:29)InterstellarPirate Wrote: Would it be possible to put some kind of overwrite file in those folders that tells the scraper to ignore this folder and all of it's content.
Use a .nomedia file. sect 6.2 ... https://kodi.wiki/view/Updating_or_remov...ude_Folder

Thanks, that's what I was looking for.
Reply



Logout Mark Read Team Forum Stats Members Help
Exclude subfolder "@Transcoding" from scan0
This forum uses Lukasz Tkacz MyBB addons.