Hey I have a couple of questions. Thought it's best to ask them here instead of creating another thread.
Firstly, is it possible for me to use filebot to remove existing metadata within filenames and write new metadata to it?
Example, I have a file of Sherlock - The Abominable Bride that I've downloaded and when I click on properties and view the title it contains "PSArips.com | Sherlock.The.Abominable.Bride.2016.1080p.10bit.WEB-DL.6CH.x265.HEVC-PSA" which sometimes messes up plex's scanner. Any way for me to deal with this? Also, is it possible for me to replace it with the title of the episode?
Secondly, I'm using AMC to manage my media. I have two folders called "TV" and "Movies" that's present in my Downloads directory. When AMC finishes renaming media, it's deleting the root folder as well(probably because I have "clean" enabled). i.e. /Downloads/TV which means that the downloader is not able to find its destination directory and is throwing errors every now and then. Any way I can override this behaviour? I just don't want the root directories to get deleted. Please direct your attention to the second last line of this log:
Code: Select all
E:\scriptHub\filebotMediaRenameBatch\TV>filebot -script fn:amc --action move --conflict fail -non-strict --log-file "E:\scriptHub\filebotMediaRenameBatch\TV\amcTV.log" --def @E:\scriptHub\filebotMediaRenameBatch\TV\amcArgsTV.txt "ut_dir=C:\Users\karanRajpal\Downloads\TV"
Locking E:\scriptHub\filebotMediaRenameBatch\TV\amcTV.log
Run script [fn:amc] at [Wed Aug 03 14:09:57 IST 2016]
Parameter: excludeList = E:\scriptHub\filebotMediaRenameBatch\filebotAMCfilebotExcludedFilesTV.txt
Parameter: seriesFormat = H:/tvShows/{n.replaceTrailingBrackets().sortName().upperInitial().space(' ')} ({y}){'/Season '+S}/{n.sortName().upperInitial().replaceTrailingBrackets().space(' ')} - {S00E00} - {t.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'") .lowerTrail().replacePart(', Part $1')} [{vf} {vc.replace('HEVC','x265')} {ac} {af.replace('6ch','5.1').replace('3ch','2.1').replace('2ch','2.1')}]
Parameter: unsorted = y
Parameter: artwork = y
Parameter: subtitles = en
Parameter: storeReport = y
Parameter: reportError = y
Parameter: deleteAfterExtract = y
Parameter: clean = y
Parameter: plex = localhost:RzwxzAjtNXdnGTkcNB2k
Parameter: ut_label = Series
Parameter: ut_kind = multi
Parameter: ut_dir = C:\Users\karanRajpal\Downloads\TV
Creating excludes: E:\scriptHub\filebotMediaRenameBatch\filebotAMCfilebotExcludedFilesTV.txt
Input: C:\Users\karanRajpal\Downloads\TV\Elementary S01E01.mkv
Group: [tvs:elementary] => [Elementary S01E01.mkv]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
Fetching [English] subtitles [Elementary.S01E01.HDTV.x264-LOL.HI.srt] from [OpenSubtitles]
Export [Elementary.S01E01.HDTV.x264-LOL.HI.srt] as [SubRip / UTF-8]
Writing [Elementary.S01E01.HDTV.x264-LOL.HI.srt] to [Elementary S01E01.eng.srt]
Rename episodes using [TheTVDB]
Auto-detected query: [Elementary]
Fetching episode data for [Elementary]
Auto-detected query: [Elementary]
Fetching episode data for [Elementary]
[MOVE] Rename [C:\Users\karanRajpal\Downloads\TV\Elementary S01E01.mkv] to [H:\tvShows\Elementary (2012)\Season 1\Elementary - S01E01 - Pilot [480p x264 AAC 2.1].mkv]
[MOVE] Rename [C:\Users\karanRajpal\Downloads\TV\Elementary S01E01.eng.srt] to [H:\tvShows\Elementary (2012)\Season 1\Elementary - S01E01 - Pilot [480p x264 AAC 2.1].srt]
Processed 2 files
Fetching series artwork for [Elementary / Season 1] to [H:\tvShows\Elementary (2012)\Season 1]
Generate Series NFO: Elementary [255316]
Fetching H:\tvShows\Elementary (2012)\poster.jpg => [poster/680x1000, en, 7.66, http://thetvdb.com/banners/posters/255316-2.jpg]
Fetching H:\tvShows\Elementary (2012)\banner.jpg => [series/graphical, en, 8.2, http://thetvdb.com/banners/graphical/255316-g10.jpg]
Fetching H:\tvShows\Elementary (2012)\fanart.jpg => [fanart/1920x1080, en, 7.92, http://thetvdb.com/banners/fanart/original/255316-17.jpg]
Fetching H:\tvShows\Elementary (2012)\Season 1\poster.jpg => [season/season/1, en, 7.29, http://thetvdb.com/banners/seasons/255316-1-4.jpg]
Banner not found: H:\tvShows\Elementary (2012)\Season 1\banner.jpg / seasonwide:seasonwide
Fetching H:\tvShows\Elementary (2012)\clearart.png => [hdclearart, en, 2, http://assets.fanart.tv/fanart/tv/255316/hdclearart/elementary-56715bd649be9.png]
Fetching H:\tvShows\Elementary (2012)\logo.png => [hdtvlogo, en, 8, http://assets.fanart.tv/fanart/tv/255316/hdtvlogo/elementary-5064556d2f5eb.png]
Fetching H:\tvShows\Elementary (2012)\landscape.jpg => [tvthumb, en, 5, http://assets.fanart.tv/fanart/tv/255316/tvthumb/elementary-503a1151ecb31.jpg]
Fetching H:\tvShows\Elementary (2012)\Season 1\landscape.jpg => [seasonthumb/1, en, 1, http://assets.fanart.tv/fanart/tv/255316/seasonthumb/elementary-525ec88e26ef3.jpg]
Notify Plex: localhost
GET: http://localhost:32400/library/sections/all/refresh?X-Plex-Token=RzwxzAjtNXdnGTkcNB2k
Saving report as C:\Users\karanRajpal\AppData\Roaming\FileBot\reports\AMC [2016-08-03 14h10m] Elementary S01E01.html
Clean clutter files and empty folders
Delete C:\Users\karanRajpal\Downloads\TV
Done ヾ(@⌒ー⌒@)ノ
And last but not the least, here's how my Series Format looks like:
Code: Select all
H:/tvShows/{n.replaceTrailingBrackets().sortName().upperInitial().space(' ').replaceAll(/\b[IiVvXx]+\b/, { it.upper() })} ({y}){'/Season '+S}/{n.sortName().upperInitial().replaceTrailingBrackets().space(' ').replaceAll(/\b[IiVvXx]+\b/, { it.upper() }).replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/)} - {S00E00} - {t.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'") .lowerTrail().replacePart(', Part $1').replaceAll(/\b[IiVvXx]+\b/, { it.upper() }).replaceAll(/\b[0-9](?i:th|nd|rd)\b/, { it.lower() }).replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/)} {episode.special ? '- S00E'+special.pad(2)+' -' : '- '+s00e00+' -'} [{vf} {vc.replace('HEVC','x265')} {ac} {af.replace('8ch','7.1').replace('7ch','7.1').replace('6ch','5.1').replace('5ch','5.1').replace('3ch','2.1').replace('2ch','2.1')}]
Considering the same file of Sherlock The Abominable Bride which is a special, the file is being renamed to
Code: Select all
H:\tvShows\Sherlock (2010)\Season 3\Sherlock - S00E09 - Abominable Bride, The - S00E09 - [1080p x265 AAC 5.1]
I do not understand why it's going into the "Season 3" folder and not "Season 0". Is it possible for me to move special episodes to a designated "Specials" folder within each show? How do I go about this issue? Any suggestions? I'd really appreciate some help here. Thank you!