Missing {source} from release
-
- Donor
- Posts: 58
- Joined: 08 Jan 2014, 20:45
Missing {source} from release
Just had the following release fly by:
Curb.Your.Enthusiasm.S09E08.1080p.WEB.h264-CONVOY
Filebot/mediainfo could not determine the Source for this file, and thus the naming gets a bit messed up.
Is this an issue with the release? Something that could be improved on Filebot end?
Curb.Your.Enthusiasm.S09E08.1080p.WEB.h264-CONVOY
Filebot/mediainfo could not determine the Source for this file, and thus the naming gets a bit messed up.
Is this an issue with the release? Something that could be improved on Filebot end?
Re: Missing {source} from release
WEB web is not considered a valid source pattern. It would have to say WEBRip for the {source} binding to work.
Here's the current source pattern:
Here's the current source pattern:
Code: Select all
CAMRip|CAM|PDVD|TS|TELESYNC|PDVD|PTVD|PPVRip|Screener|SCR|SCREENER|DVDSCR|DVDSCREENER|BDSCR|R4|R5|R5LINE|R5.LINE|DVD|DVD5|DVD9|DVDRip|DVDR|TVRip|DSR|PDTV|SDTV|HDTV|HDTVRip|DVB|DVBRip|DTHRip|VODRip|VODR|BDRip|BRRip|BR.Rip|BluRay|Blu.Ray|BD|BDR|BD25|BD50|3D.BluRay|3DBluRay|3DBD|BR.Scr|BR.Screener|HDDVD|HDRip|WorkPrint|VHS|VCD|TELECINE|WEBRip|WEB.Rip|WEBDL|WEB.DL|WEBCap|WEB.Cap|ithd|iTunesHD|Laserdisc|AmazonHD|NetflixHD|NetflixUHD|VHSRip|LaserRip|URip|UnknownRip|MicroHD
-
- Donor
- Posts: 58
- Joined: 08 Jan 2014, 20:45
Re: Missing {source} from release
Ok thanks, will add ".WEB." to the blacklist 

Re: Missing {source} from release
Unfortunately, the {source} pattern list can't be changed. WEB is an English word and likely to cause side-effects.
If you want to match WEB, you'll have to do it in your custom format:
If you want to match WEB, you'll have to do it in your custom format:
Code: Select all
any{fn.match(/WEB/)}{source}
Re: Missing {source} from release
Hi
I am having another problem but the solution could be the same
I get files with source = WEB-DL and WEB-RIP - Sonarr translates both to WEB-DL
any{fn.match(/WEB-RIP/)}{WEB-DL}
Can I make a line that uses WEB-DL , when it finds WEB-RIP? (Isn't it the same thing?)
Also WEBDL is written as WEB-DL in the filename is that correct?
So many extension would be great to have Filebot "cleaning them up to a few"
Do you have the official list (The source pattern gets translated to?)
Br
Casperse
I am having another problem but the solution could be the same

I get files with source = WEB-DL and WEB-RIP - Sonarr translates both to WEB-DL
any{fn.match(/WEB-RIP/)}{WEB-DL}
Can I make a line that uses WEB-DL , when it finds WEB-RIP? (Isn't it the same thing?)
Also WEBDL is written as WEB-DL in the filename is that correct?
So many extension would be great to have Filebot "cleaning them up to a few"
Do you have the official list (The source pattern gets translated to?)
Br
Casperse
Re: Missing {source} from release
There's no list. FileBot has built-in patterns and then just normalizes punctuation a little bit in the hope that that somehow unifies different ways of writing the same tag.
Regarding your question, you can do this:
Regarding your question, you can do this:
Code: Select all
fn =~ /WEB.DL|WEB.RIP/ ? /WEB-DL/ : null
Re: Missing {source} from release
Sorry I am using the GUI (Windows store) and get some errors on your fn =
What am I doing wrong?
Best regards
Casperse
What am I doing wrong?
Code: Select all
[{SOURCE fn =~ /WEB.DL|WEB.RIP/ ? /WEB-DL/ : null}{'.'+VF}{'.'+VC}{'.'+BITDEPTH+'Bit'}{'.'+AC}{'.'+AF}{'.'+fn.match(/DD5.1/)}{'.'+fn.match(/DDP5.1/)}{'.'+fn.match(/Atmos/)}]
Casperse
Re: Missing {source} from release
When you get "some error" maybe a screenshot of said error would be helpful? You can copy & paste info / warning messages in the Format Editor by clicking on them.
YES:
NO:
YES:
Code: Select all
{source} {fn =~ /WEB.DL|WEB.RIP/ ? /WEB-DL/ : null}
Code: Select all
{SOURCE fn =~ /WEB.DL|WEB.RIP/ ? /WEB-DL/ : null}
Re: Missing {source} from release
Thanks!
(And sorry for leaving out the error message)
I did a testrun on a file:
And I added WEBRIP to the substitute list like this:
And I get this as output:
I know its stirring me in the face, and I have tried different things, but I just cant get it to substitute WEBRip with WEB-DL?
Making it case sensitive WEBRip like this
just gave me:
(And sorry for leaving out the error message)
I did a testrun on a file:
Code: Select all
Showtittle.NORDiC.ENG.S01E01.720p.WEBRip.DD5.1.x264
Code: Select all
[{source}{fn =~ /WEB.RIP|WEBRIP|WEBDL|WEB.DL/ ? /WEB-DL/ : null}{'.'+VF}{'.'+VC}{'.'+BITDEPTH+'Bit'}{'.'+AC}{'.'+AF}{'.'+fn.match(/DD5.1/)}{'.'+fn.match(/DDP5.1/)}]
Code: Select all
Showtitle - s01e01 - episodename [WEBRip.720p.x264.8Bit.AC3.6ch.DD5.1]
Making it case sensitive WEBRip like this
Code: Select all
[{source}{fn =~ /WEB.RIP|WEBRip|WEBDL|WEB.DL/ ? /WEB-DL/ : null}{'.'+VF}{'.'+VC}{'.'+BITDEPTH+'Bit'}{'.'+AC}{'.'+AF}{'.'+fn.match(/DD5.1/)}{'.'+fn.match(/DDP5.1/)}]
just gave me:
Code: Select all
Showtitle - s01e01 - episodename [WEBRipWEB-DL.720p.x264.8Bit.AC3.6ch.DD5.1]
Re: Missing {source} from release
{source} and {fn =~ /WEB.RIP|WEBRip|WEBDL|WEB.DL/ ? /WEB-DL/ : null} are two separate things that will give you two separate values, and you probably don't want both at the same time.
Here's what I think you want but haven't properly explained yet:
1. Use your custom tag for certain patterns
2. Use source for everything else
Here's how that'll work:
@see viewtopic.php?f=5&t=1895
Here's what I think you want but haven't properly explained yet:
1. Use your custom tag for certain patterns
2. Use source for everything else
Here's how that'll work:
Code: Select all
{
any{fn =~ /WEB.RIP|WEBRip|WEBDL|WEB.DL/ ? /WEB-DL/ : null}{source}{'NO-SOURCE'}
}
Re: Missing {source} from release
YES! THANK YOU SO MUCH!
I have learned to use the replace, but this will make it possible to "clean" the source list with a selection of a standard selection.
Like other programs do with for example genres.
I have learned to use the replace, but this will make it possible to "clean" the source list with a selection of a standard selection.
Like other programs do with for example genres.
Re: Missing {source} from release
Hi - I'm having trouble understanding this - this is working for everything but "WEB" still:
Where am I going wrong?
Code: Select all
--def seriesFormat="D:\{Plex} - {vf} {fn =~ /.WEB.|WEB.RIP|WEBRip|WEBDL|WEB.DL/ ? /WEB-DL/ : {source}}"
Re: Missing {source} from release
Your format is incorrect. I recommend using the FileBot Format Editor GUI for rapid prototyping.
NO:
YES:
NO:
Code: Select all
fn =~ /.WEB.|WEB.RIP|WEBRip|WEBDL|WEB.DL/ ? /WEB-DL/ : {source}
Code: Select all
fn =~ /.WEB.|WEB.RIP|WEBRip|WEBDL|WEB.DL/ ? /WEB-DL/ : source