2011-11-27 00:32:06 -05:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" itemscope itemtype = "http://schema.org/Product" >
2011-08-26 22:20:40 -04:00
< head >
2011-11-27 00:32:06 -05:00
< meta http-equiv = "content-type" content = "text/html; charset=UTF-8" / >
2012-03-05 09:58:53 -05:00
< meta name = "keywords" content = "rename tv shows, rename movies, download subtitles, check sfv files" / >
2011-11-27 00:32:06 -05:00
2011-12-25 12:17:49 -05:00
< title > Format Expressions< / title >
< meta name = "description" content = "Define your own naming scheme and customize it to your liking. FileBot format expressions give you ultimate control over how FileBot will rename and move your media files. Anything is possible." / >
< meta itemprop = "name" content = "FileBot Format Expressions" / >
< meta itemprop = "description" content = "Define your own naming scheme and customize it to your liking. FileBot format expressions give you ultimate control over how FileBot will rename and move your media files. Anything is possible." / >
2013-03-09 12:15:46 -05:00
< meta itemprop = "image" content = "http://www.filebot.net/images/icon.png" / >
2011-12-24 23:28:09 -05:00
2011-08-26 22:20:40 -04:00
< link rel = "stylesheet" href = "base.css" type = "text/css" / >
2011-08-31 07:06:24 -04:00
< link rel = "stylesheet" href = "code.css" type = "text/css" / >
2011-08-26 22:20:40 -04:00
< link rel = "icon" href = "favicon.png" / >
2011-08-27 02:20:15 -04:00
2011-09-17 08:56:49 -04:00
<!-- google analytics -->
2011-08-27 02:20:15 -04:00
< script type = "text/javascript" >
2011-09-17 08:56:49 -04:00
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25379256-1']);
_gaq.push(['_trackPageview']);
2011-11-27 00:32:06 -05:00
2011-09-17 08:56:49 -04:00
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
< / script >
2011-11-27 00:32:06 -05:00
<!-- google +1 -->
< script type = "text/javascript" >
window.___gcfg = {lang: 'en-GB'};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
< / script >
2011-12-08 10:05:34 -05:00
<!-- twitter -->
< script type = "text/javascript" >
2011-12-10 04:59:27 -05:00
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
2011-12-08 10:05:34 -05:00
< / script >
2011-08-26 22:20:40 -04:00
< / head >
< body >
2012-12-03 06:29:50 -05:00
<!-- Facebook Like Button -->
< div id = "fb-root" > < / div >
< script > ( f u n c t i o n ( d , s , i d ) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));< / script >
2012-10-14 00:54:14 -04:00
< div class = "adsense sidead first" >
< script type = "text/javascript" >
<!--
google_ad_client = "ca-pub-2833958633371388";
google_ad_slot = "1531354934";
google_ad_width = 160;
google_ad_height = 600;
//-->
< / script >
< script type = "text/javascript" src = "http://pagead2.googlesyndication.com/pagead/show_ads.js" >
< / script >
< / div >
< div class = "adsense sidead second" >
< script type = "text/javascript" > < ! - -
google_ad_client = "ca-pub-2833958633371388";
/* FileBot SideAd Wide 2 */
google_ad_slot = "5493651869";
google_ad_width = 160;
google_ad_height = 600;
//-->
< / script >
< script type = "text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
< / script >
< / div >
2011-08-26 22:20:40 -04:00
< div class = "page" >
2011-12-10 04:59:27 -05:00
< div class = "navigation" >
2011-11-22 11:12:20 -05:00
< div >
< ul >
2013-03-09 12:15:46 -05:00
< li > < a href = "http://www.filebot.net/forums/" > Forums< / a > < / li >
2013-12-30 20:52:23 -05:00
< li > < a href = "http://www.filebot.net/forums/viewtopic.php?f=3&t=7" > FAQ< / a > < / li >
2013-03-09 12:15:46 -05:00
< li > < a href = "http://www.filebot.net/#download" > Download< / a > < / li >
2011-11-22 11:12:20 -05:00
< / ul >
< / div >
< / div >
2011-09-17 08:56:49 -04:00
< div class = "social" >
2011-12-10 04:59:27 -05:00
< div class = "twitter" >
2013-03-09 12:15:46 -05:00
< a href = "https://twitter.com/share" class = "twitter-share-button" data-url = "http://www.filebot.net/" data-text = "FileBot - The ultimate tv renamer and subtitle downloader" data-via = "filebot_renamer" data-lang = "en" > < / a >
2011-09-17 08:56:49 -04:00
< / div >
2012-12-03 06:29:50 -05:00
< div class = "facebook" >
< div class = "fb-like" data-href = "https://www.facebook.com/filebot" data-send = "false" data-layout = "button_count" data-width = "80" data-show-faces = "false" > < / div >
< / div >
2011-12-10 04:59:27 -05:00
< div class = "plusone" >
2013-03-09 12:15:46 -05:00
< g:plusone callback = "_gaq.push(['_trackEvent','Social networking','Google Plus One',document.title])" href = "http://www.filebot.net/" > < / g:plusone >
2011-09-17 08:56:49 -04:00
< / div >
< / div >
2011-11-27 00:15:52 -05:00
2011-09-17 08:56:49 -04:00
2011-08-26 22:20:40 -04:00
< div class = "header" >
2013-03-09 12:15:46 -05:00
< a href = "http://www.filebot.net" > < img class = "logo" alt = "logo" src = "images/icon.png" width = "48" height = "48" / > < / a >
2011-08-26 22:20:40 -04:00
< h1 >
2012-12-05 04:36:30 -05:00
Format Expressions
< span class = "description" > User defined episode / movie naming scheme< / span >
2011-08-26 22:20:40 -04:00
< / h1 >
< / div >
< div class = "content" >
< div class = "screenshot" >
2012-12-05 04:36:30 -05:00
< a href = "gallery.html#screenshots/original/dialog.format.png" title = "Format Dialog" target = "_blank" >
2011-08-26 22:20:40 -04:00
< img alt = "screenshot" src = "screenshots/medium/dialog.format.png" / >
< / a >
2011-11-21 07:35:28 -05:00
< / div >
2011-08-26 22:20:40 -04:00
< div class = "section about" >
< h2 > About< / h2 >
< p >
2012-12-05 04:36:30 -05:00
You can easily define your own episode and movie naming schemes. It uses < a href = "http://groovy.codehaus.org" > Groovy< / a > expressions,
2011-08-26 22:20:40 -04:00
which means that you can do pretty much anything, especially if you know a little bit about programming.
2013-03-09 12:15:46 -05:00
You even get media info bindings. You can find < a href = "http://www.filebot.net/forums/viewtopic.php?f=5&t=2#p51" > predefined format expressions< / a > for all kinds of scenarios in the forums. Ready for you to just copy & paste.
2011-08-26 22:20:40 -04:00
< / p >
2011-09-22 12:11:00 -04:00
< h2 id = "examples" > Examples< / h2 >
2011-08-26 22:20:40 -04:00
< p >
2011-12-19 06:59:43 -05:00
< code > < span class = "block start" > {< / span > < span class = "variable" > n< / span > < span class = "block end" > }< / span > - < span class = "block start" > {< / span > < span class = "variable" > s00e00< / span > < span class = "block end" > }< / span > - < span class = "block start" > {< / span > < span class = "variable" > t< / span > < span class = "block end" > }< / span > < / code > Dark Angel - S03E01 - Labyrinth
2011-08-26 22:20:40 -04:00
< / p >
< p >
2011-12-19 06:59:43 -05:00
< code > V:/TV Shows/< span class = "block start" > {< / span > < span class = "variable" > n< / span > < span class = "block end" > }< / span > /Season < span class = "block start" > {< / span > < span class = "variable" > s< / span > < span class = "block end" > }< / span > /< span class = "block start" > {< / span > < span class = "variable" > sxe< / span > < span class = "block end" > }< / span > - < span class = "block start" > {< / span > < span class = "variable" > t< / span > < span class = "block end" > }< / span > < / code > V:\TV Shows\Dark Angel\Season 3\3x01 - Labyrinth
2011-08-26 22:20:40 -04:00
< / p >
< p >
2011-09-19 10:24:57 -04:00
< code > < span class = "block start" > {< / span > < span class = "variable" > n< / span > .< span class = "method" > space< / span > (< span class = "string" > '.'< / span > ).< span class = "method" > lower< / span > ()< span class = "block end" > }< / span > .< span class = "block start" > {< / span > < span class = "variable" > s< / span > < span class = "block end" > }< / span > < span class = "block start" > {< / span > < span class = "variable" > e< / span > .< span class = "method" > pad< / span > (< span class = "numeral" > 2< / span > )< span class = "block end" > }< / span > < / code > dark.angel.301
2011-08-26 22:20:40 -04:00
< / p >
< p >
2012-03-02 20:41:47 -05:00
< code > < span class = "block start" > {< / span > < span class = "variable" > n< / span > < span class = "block end" > }< / span > (< span class = "block start" > {< / span > < span class = "variable" > y< / span > < span class = "block end" > }< / span > )< span class = "block start" > {< / span > < span class = "string" > " CD< span class = "variable" > $pi< / span > "< / span > < span class = "block end" > }< / span > < / code > The Man from Earth (2007) CD1
2011-08-26 22:20:40 -04:00
< / p >
2011-09-19 10:24:57 -04:00
< p >
< code > < span class = "block start" > {< / span > < span class = "variable" > n< / span > < span class = "block end" > }< / span > [< span class = "block start" > {< / span > < span class = "variable" > y< / span > < span class = "block end" > }< / span > ] < span class = "block start" > {< / span > < span class = "variable" > vf< / span > < span class = "block end" > }< / span > < span class = "block start" > {< / span > < span class = "variable" > af< / span > < span class = "block end" > }< / span > < / code > The Man from Earth [2007] 720p 6ch
< / p >
2011-08-26 22:20:40 -04:00
< h2 > Advanced Examples< / h2 >
< p >
2014-03-24 01:49:24 -04:00
< code > < span class = "block start" > {< / span > < span class = "variable" > n< / span > .< span class = "method" > upperInitial< / span > ().< span class = "method" > space< / span > (< span class = "string" > '.'< / span > )< span class = "block end" > }< / span > .< span class = "block start" > {< / span > < span class = "variable" > y< / span > < span class = "block end" > }< / span > .< span class = "block start" > {< / span > < span class = "variable" > source< / span > < span class = "block end" > }< / span > .< span class = "block start" > {< / span > < span class = "variable" > vc< / span > < span class = "block end" > }< / span > < span class = "block start" > {< / span > < span class = "string" > '-'< / span > +< span class = "variable" > group< / span > < span class = "block end" > }< / span > < / code > The.Man.From.Earth.2007.DVDRip.XviD-ALLiANCE
2011-09-19 10:24:57 -04:00
< / p >
< p >
2012-02-20 04:38:58 -05:00
< code > < span class = "block start" > {< / span > < span class = "variable" > n< / span > < span class = "block end" > }< / span > (< span class = "block start" > {< / span > < span class = "variable" > y< / span > < span class = "block end" > }< / span > ) by < span class = "block start" > {< / span > < span class = "variable" > director< / span > < span class = "block end" > }< / span > [< span class = "block start" > {< / span > < span class = "variable" > genres< / span > [< span class = "numeral" > 0< / span > ]< span class = "block end" > }< / span > , < span class = "block start" > {< / span > < span class = "variable" > certification< / span > < span class = "block end" > }< / span > , < span class = "block start" > {< / span > < span class = "variable" > rating< / span > < span class = "block end" > }< / span > ]< / code > The Terminator (1984) by James Cameron [Action, PG-13, 8.5]
< / p >
< p >
2011-08-31 07:06:24 -04:00
< code > < span class = "block start" > {< / span > < span class = "variable" > n< / span > .< span class = "method" > space< / span > (< span class = "string" > '_'< / span > )< span class = "block end" > }< / span > _-_< span class = "block start" > {< / span > < span class = "variable" > e< / span > .< span class = "method" > pad< / span > (< span class = "numeral" > 2< / span > )< span class = "block end" > }< / span > _[< span class = "block start" > {< / span > < span class = "variable" > resolution< / span > < span class = "block end" > }< / span > _< span class = "block start" > {< / span > < span class = "variable" > vc< / span > < span class = "block end" > }< / span > _< span class = "block start" > {< / span > < span class = "variable" > ac< / span > < span class = "block end" > }< / span > ][< span class = "block start" > {< / span > < span class = "variable" > crc32< / span > < span class = "block end" > }< / span > ]< / code > Juuni_Kokuki_-_01_[1280x720_XviD_MP3][3E16AF40]
2011-08-26 22:20:40 -04:00
< / p >
< p >
2012-03-08 00:11:06 -05:00
< code > < span class = "block start" > {< / span > < span class = "variable" > n< / span > .< span class = "method" > space< / span > (< span class = "string" > '.'< / span > )< span class = "block end" > }< / span > .< span class = "block start" > {< / span > < span class = "string" > 's'< / span > +< span class = "variable" > s< / span > .< span class = "method" > pad< / span > (< span class = "numeral" > 2< / span > )< span class = "block end" > }< / span > e< span class = "block start" > {< / span > < span class = "variable" > e< / span > .< span class = "method" > pad< / span > (< span class = "numeral" > 2< / span > )< span class = "block end" > }< / span > .< span class = "block start" > {< / span > < span class = "variable" > t< / span > .< span class = "method" > space< / span > (< span class = "string" > '.'< / span > )< span class = "block end" > }< / span > .< span class = "block start" > {< / span > < span class = "variable" > vf< / span > < span class = "block end" > }< / span > .< span class = "block start" > {< / span > < span class = "variable" > vc< / span > < span class = "block end" > }< / span > .< span class = "block start" > {< / span > < span class = "variable" > ac< / span > < span class = "block end" > }< / span > < / code > Firefly.s01e01.Serenity.720p.x264.ac3
2011-08-26 22:20:40 -04:00
< / p >
< p >
2011-09-29 22:22:30 -04:00
< code > < span class = "block start" > {< / span > < span class = "variable" > n< / span > < span class = "block end" > }< / span > [< span class = "block start" > {< / span > < span class = "variable" > airdate< / span > .< span class = "method" > format< / span > (< span class = "string" > '< a style = "color:inherit" href = "http://download.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html" target = "_blank" > yyyy.MM.dd< / a > '< / span > )< span class = "block end" > }< / span > ] < span class = "block start" > {< / span > < span class = "variable" > t< / span > < span class = "block end" > }< / span > < / code > The Daily Show [2010.01.05] George Lucas
2011-10-10 12:23:10 -04:00
< / p >
2011-08-26 22:20:40 -04:00
< p >
2011-10-10 12:23:10 -04:00
< code > E:/Complete/< span class = "block start" > {< / span > < span class = "variable" > n< / span > < span class = "block end" > }< / span > (< span class = "block start" > {< / span > < span class = "variable" > y< / span > < span class = "block end" > }< / span > )< span class = "block start" > {< / span > < span class = "string" > '/Season '< / span > +< span class = "variable" > s< / span > < span class = "block end" > }< / span > /< span class = "block start" > {< / span > < span class = "variable" > s< / span > +< span class = "string" > 'x'< / span > < span class = "block end" > }< / span > < span class = "block start" > {< / span > < span class = "variable" > e< / span > .< span class = "method" > pad< / span > (< span class = "numeral" > 2< / span > )< span class = "block end" > }< / span > - < span class = "block start" > {< / span > < span class = "variable" > t< / span > < span class = "block end" > }< / span > < / code > Rename and < strong > move< / strong > files. The directory structure is completely up to you.
2011-08-26 22:20:40 -04:00
< / p >
< p >
2012-02-09 23:33:23 -05:00
< code > < span class = "block start" > {< / span > < span class = "variable" > n< / span > .< span class = "method" > replaceTrailingBrackets< / span > ()< span class = "block end" > }< / span > - < span class = "block start" > {< / span > < span class = "variable" > s< / span > +< span class = "string" > 'x'< / span > < span class = "block end" > }< / span > < span class = "block start" > {< / span > < span class = "variable" > e< / span > .< span class = "method" > pad< / span > (< span class = "numeral" > 2< / span > )< span class = "block end" > }< / span > - < span class = "block start" > {< / span > < span class = "variable" > t< / span > .< span class = "method" > replaceAll< / span > (< span class = "regex" > /[!?.]+$/< / span > ).< span class = "method" > replaceAll< / span > (< span class = "regex" > /[`´ ‘ ’ ʻ ]/< / span > , < span class = "string" > "'"< / span > )< br / > .< span class = "method" > lowerTrail< / span > ().< span class = "method" > replacePart< / span > (< span class = "string" > ', Part $1'< / span > )< span class = "block end" > }< / span > < / code > My personal favorite. Pretty much 1x01, normalizing accents, and lots of other cleanup operations.
2011-08-26 22:20:40 -04:00
< / p >
2011-09-12 21:46:27 -04:00
2012-10-14 00:54:14 -04:00
< div class = "adsense adbox" >
< script type = "text/javascript" > < ! - -
google_ad_client = "ca-pub-2833958633371388";
/* FileBot Homepage MedBox */
google_ad_slot = "7829099391";
google_ad_width = 300;
google_ad_height = 250;
//-->
< / script >
< script type = "text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
< / script >
< / div >
2011-09-22 12:11:00 -04:00
< h2 class = "reference" id = "bindings" >
2011-09-12 21:46:27 -04:00
Binding Reference
2014-04-19 03:03:52 -04:00
< a href = "https://sourceforge.net/p/filebot/code/HEAD/tree/trunk/source/net/filebot/format/MediaBindingBean.java" class = "source" target = "_blank" > source< / a >
2011-09-12 21:46:27 -04:00
< / h2 >
2011-09-15 05:51:22 -04:00
< table class = "reference binding" >
2011-08-26 22:20:40 -04:00
< tr >
< th > Name< / th >
< th > Description< / th >
< th > Example< / th >
< / tr >
< tr >
< td > n< / td >
2011-09-29 22:22:30 -04:00
< td > series/movie name< / td >
2011-08-26 22:20:40 -04:00
< td > Dark Angel< / td >
< / tr >
2011-10-01 00:08:46 -04:00
< tr >
< td > y< / td >
< td > series/movie year< / td >
< td > 2009< / td >
< / tr >
2011-08-26 22:20:40 -04:00
< tr >
< td > s< / td >
< td > season number< / td >
< td > 3< / td >
< / tr >
< tr >
< td > e< / td >
< td > episode number< / td >
< td > 1< / td >
< / tr >
< tr >
< td > t< / td >
< td > episode title< / td >
< td > Labyrinth< / td >
< / tr >
< tr >
< td > airdate< / td >
< td > episode airdate< / td >
< td > 2009-06-01< / td >
2011-11-21 07:35:28 -05:00
< / tr >
2011-08-26 22:20:40 -04:00
< tr >
< td > absolute< / td >
< td > absolute episode number< / td >
< td > 42< / td >
< / tr >
< tr >
< td > special< / td >
2011-12-19 21:39:33 -05:00
< td > special number< / td >
2011-08-26 22:20:40 -04:00
< td > 1< / td >
< / tr >
2011-11-21 07:05:47 -05:00
< tr >
2011-11-27 12:04:32 -05:00
< td > sxe< / td >
2011-12-19 21:39:33 -05:00
< td > season / episode numbers< / td >
2011-11-21 07:05:47 -05:00
< td > 1x01< / td >
< / tr >
< tr >
2011-11-27 12:04:32 -05:00
< td > s00e00< / td >
2011-12-19 21:39:33 -05:00
< td > season / episode numbers< / td >
2011-11-21 07:05:47 -05:00
< td > S01E01< / td >
< / tr >
2011-09-19 10:24:57 -04:00
< tr >
2012-09-17 11:21:17 -04:00
< td > imdbid< / td >
2011-09-19 10:24:57 -04:00
< td > imdb id< / td >
2013-01-13 12:08:19 -05:00
< td > tt0756683< / td >
2011-09-19 10:24:57 -04:00
< / tr >
2011-08-26 22:20:40 -04:00
< tr >
< td > vc< / td >
< td > video codec< / td >
< td > x264< / td >
< / tr >
< tr >
< td > ac< / td >
< td > audio codec< / td >
< td > ac3< / td >
< / tr >
< tr >
< td > cf< / td >
< td > container format< / td >
< td > mkv< / td >
< / tr >
< tr >
< td > vf< / td >
2012-07-20 03:38:50 -04:00
< td > standard video format< / td >
2011-08-26 22:20:40 -04:00
< td > 720p< / td >
< / tr >
2012-07-20 03:38:50 -04:00
< tr >
< td > hpi< / td >
< td > exact video format< / td >
< td > 384p< / td >
< / tr >
2011-09-19 10:24:57 -04:00
< tr >
< td > af< / td >
< td > audio channels< / td >
< td > 6ch< / td >
< / tr >
2011-08-26 22:20:40 -04:00
< tr >
< td > resolution< / td >
< td > video size< / td >
< td > 1280x720< / td >
< / tr >
2011-11-21 07:05:47 -05:00
< tr >
< td > ws< / td >
< td > widescreen flag< / td >
< td > ws< / td >
< / tr >
2011-11-02 10:48:23 -04:00
< tr >
< td > sdhd< / td >
< td > SD/HD video< / td >
< td > SD or HD< / td >
< / tr >
2011-09-19 10:24:57 -04:00
< tr >
< td > source< / td >
< td > source medium< / td >
< td > BluRay< / td >
< / tr >
< tr >
< td > group< / td >
2013-03-09 12:15:46 -05:00
< td > < a href = "http://www.filebot.net/forums/viewtopic.php?f=5&t=4" target = "_blank" > release group< / a > < / td >
2011-09-19 10:24:57 -04:00
< td > ALLiANCE< / td >
< / tr >
2011-08-26 22:20:40 -04:00
< tr >
< td > crc32< / td >
< td > crc32 checksum< / td >
< td > 3E16AF40< / td >
< / tr >
< tr >
< td > fn< / td >
< td > file name< / td >
< td > Serenity< / td >
2011-11-25 14:43:24 -05:00
< / tr >
2011-08-26 22:20:40 -04:00
< tr >
< td > ext< / td >
< td > file extension< / td >
< td > mkv< / td >
< / tr >
< tr >
< td > episode< / td >
< td > episode object< / td >
2011-09-19 10:24:57 -04:00
< td > < default episode name> < / td >
< / tr >
< tr >
< td > movie< / td >
< td > movie object< / td >
< td > < default movie name> < / td >
2011-11-25 14:43:24 -05:00
< / tr >
2011-09-19 10:24:57 -04:00
< tr >
< td > pi< / td >
2011-10-10 23:37:46 -04:00
< td > movie part index< / td >
2011-09-19 10:24:57 -04:00
< td > 1< / td >
< / tr >
< tr >
< td > pn< / td >
2011-10-10 23:37:46 -04:00
< td > number of movie parts< / td >
2011-09-19 10:24:57 -04:00
< td > 2< / td >
2011-08-26 22:20:40 -04:00
< / tr >
2011-11-21 07:35:28 -05:00
< tr >
< td > lang< / td >
< td > detect subtitle language< / td >
< td > eng< / td >
< / tr >
2012-08-10 22:40:25 -04:00
< tr >
< td > collection< / td >
< td > movie set< / td >
< td > Avatar Collection< / td >
< / tr >
2012-02-20 04:38:58 -05:00
< tr >
< td > director< / td >
< td > movie director< / td >
< td > James Cameron< / td >
< / tr >
< tr >
< td > actors< / td >
< td > list of actors< / td >
< td > [Sam Worthington, Zoe Saldana, ...]< / td >
< / tr >
< tr >
< td > genres< / td >
< td > list of genres< / td >
< td > [Science Fiction, Action, ...]< / td >
< / tr >
< tr >
< td > certification< / td >
< td > content rating< / td >
< td > PG-13< / td >
< / tr >
< tr >
< td > rating< / td >
< td > movie rating< / td >
< td > 8.5< / td >
< / tr >
2012-02-09 08:42:14 -05:00
< tr >
< td > info< / td >
2012-10-26 05:57:28 -04:00
< td > < a href = "http://www.themoviedb.org/" > TheMovieDB< / a > / < a href = "http://thetvdb.com/" > TheTVDB< / a > info< / td >
2012-02-20 04:38:58 -05:00
< td > < any movie / series info> < / td >
2012-02-09 08:42:14 -05:00
< / tr >
2012-10-26 05:57:28 -04:00
< tr >
< td > imdb< / td >
< td > < a href = "http://www.omdbapi.com/" > OMDb< / a > info< / td >
< td > < any movie info> < / td >
< / tr >
2011-08-26 22:20:40 -04:00
< tr >
< td > file< / td >
< td > file object< / td >
< td > < file path> < / td >
2011-09-19 10:24:57 -04:00
< / tr >
2012-08-10 22:40:25 -04:00
< tr >
< td > dim< / td >
< td > video dimensions< / td >
< td > < width and height> < / td >
< / tr >
2011-08-26 22:20:40 -04:00
< tr >
< td > media< / td >
< td > general media info object< / td >
< td > < any general media parameter> < / td >
< / tr >
< tr >
< td > video< / td >
< td > video object [stream 0]< / td >
< td > < any video parameter> < / td >
< / tr >
< tr >
< td > audio< / td >
< td > audio object [stream 0]< / td >
< td > < any audio parameter> < / td >
< / tr >
< tr >
< td > text< / td >
< td > subtitle object [stream 0]< / td >
< td > < any subtitle parameter> < / td >
2011-11-25 14:43:24 -05:00
< / tr >
2011-08-26 22:20:40 -04:00
< / table >
2011-09-12 21:46:27 -04:00
2011-09-22 12:11:00 -04:00
< h2 class = "reference" id = "functions" >
2011-09-12 21:46:27 -04:00
Function Reference
2014-04-19 03:03:52 -04:00
< a href = "https://sourceforge.net/p/filebot/code/HEAD/tree/trunk/source/net/filebot/format/ExpressionFormatMethods.java" class = "source" target = "_blank" > source< / a >
2011-09-12 21:46:27 -04:00
< / h2 >
2011-08-26 22:20:40 -04:00
< p >
2011-08-31 07:06:24 -04:00
< code > < span class = "method" > pad< / span > (< span class = "numeral" > length< / span > , < span class = "string" > padding< / span > = < span class = "string" > "0"< / span > )< / code > Pad strings or numbers with given characters ('0' by default).
2011-08-26 22:20:40 -04:00
< / p >
< p >
2011-11-08 05:41:40 -05:00
< code > < span class = "method" > match< / span > (< span class = "regex" > pattern< / span > )< / code > Get a substring matching the given pattern or break.
2011-08-26 22:20:40 -04:00
< / p >
< p >
2012-08-10 22:40:25 -04:00
< code > < span class = "method" > matchAll< / span > (< span class = "regex" > pattern< / span > )< / code > Get a list of substrings matching the given pattern or break.
< / p >
< p >
2011-08-31 07:06:24 -04:00
< code > < span class = "method" > space< / span > (< span class = "string" > replacement< / span > )< / code > Replace all spaces (e.g. "Doctor Who" -> "Doctor_Who").
2011-11-25 14:43:24 -05:00
< / p >
2011-08-26 22:20:40 -04:00
< p >
2011-08-31 07:06:24 -04:00
< code > < span class = "method" > upperInitial< / span > ()< / code > Upper-case all initials (e.g. "The Day a new Demon was born" -> "The Day A New Demon Was Born").
2011-08-26 22:20:40 -04:00
< / p >
< p >
2011-08-31 07:06:24 -04:00
< code > < span class = "method" > lowerTrail< / span > ()< / code > Lower-case all letters that are not initials (e.g. "Gundam SEED" -> "Gundam Seed").
2011-08-26 22:20:40 -04:00
< / p >
< p >
2012-07-20 03:38:50 -04:00
< code > < span class = "method" > acronym< / span > ()< / code > Get acronym, i.e. first letter of each word. (e.g. "Deep Space 9" -> "DS9").
< / p >
< p >
2011-08-31 07:06:24 -04:00
< code > < span class = "method" > before< / span > (< span class = "regex" > pattern< / span > )< / code > Get the substring before the given pattern or the original value.
2011-11-08 05:41:40 -05:00
< / p >
2011-08-26 22:20:40 -04:00
< p >
2011-08-31 07:06:24 -04:00
< code > < span class = "method" > after< / span > (< span class = "regex" > pattern< / span > )< / code > Get the substring after the given pattern or the original value.
2011-08-26 22:20:40 -04:00
< / p >
2011-11-08 05:41:40 -05:00
< p >
< code > < span class = "method" > replaceAll< / span > (< span class = "regex" > pattern< / span > , < span class = "string" > replacement< / span > = < span class = "string" > ""< / span > )< / code > Replace or remove all occurrences of the pattern.
< / p >
2011-08-26 22:20:40 -04:00
< p >
2011-11-07 23:34:24 -05:00
< code > < span class = "method" > replaceTrailingBrackets< / span > (< span class = "string" > replacement< / span > = < span class = "string" > ""< / span > )< / code > Replace trailing parenthesis including any leading whitespace (e.g. "The IT Crowd (UK)" -> "The IT Crowd").
2011-08-26 22:20:40 -04:00
< / p >
< p >
2011-08-31 07:06:24 -04:00
< code > < span class = "method" > replacePart< / span > (< span class = "string" > replacement< / span > = < span class = "string" > ""< / span > )< / code > Replace part identifier (e.g. "Today Is the Day (1)" -> "Today Is the Day, Part 1").
2011-08-26 22:20:40 -04:00
< / p >
2012-02-09 08:42:14 -05:00
< p >
< code > < span class = "method" > ascii< / span > ()< / code > Convert Unicode to ASCII. (e.g. "Österreich" -> "Osterreich" or "カタカナ" -> "katakana").
< / p >
< p >
< code > < span class = "method" > transliterate< / span > (< span class = "regex" > identifier< / span > )< / code > Apply any < a target = "_blank" href = "http://userguide.icu-project.org/transforms/general" > ICU script transliteration< / a > . e.g. "中国".transliterate("han-latin") -> "zhōng guó".
< / p >
2011-08-26 22:20:40 -04:00
< / div >
2011-11-16 12:24:14 -05:00
2011-11-26 22:53:23 -05:00
< p class = "suggestion" >
2013-03-09 12:15:46 -05:00
Need some help getting started? Check the < a href = "http://www.filebot.net/forums/viewforum.php?f=5" > forums< / a > .
2011-11-16 12:24:14 -05:00
< / p >
2011-11-26 22:53:23 -05:00
< div class = "metrics" >
< script type = "text/javascript" src = "http://www.ohloh.net/p/16945/widgets/project_partner_badge.js" > < / script >
< / div >
< div class = "footer" >
2014-04-09 02:40:51 -04:00
< div id = "bitcoinate" >
< script src = "http://coinwidget.com/widget/coin.js" > < / script >
< script >
CoinWidgetCom.go({
wallet_address: "1uFh3RU4Aw1sS6ZXtYtiYFPLM9XgQQXBF"
, currency: "bitcoin"
, counter: "count"
, alignment: "ac"
, qrcode: true
, auto_show: false
, lbl_button: "Donate"
, lbl_address: "My Bitcoin Address:"
, lbl_count: "donations"
, lbl_amount: "BTC"
});
2011-11-26 22:53:23 -05:00
< / script >
< / div >
< div id = "donate" >
< form action = "https://www.paypal.com/cgi-bin/webscr" method = "post" style = "display:inline" target = "_blank" >
< input type = "hidden" name = "cmd" value = "_s-xclick" / >
< input type = "hidden" name = "encrypted" value = "-----BEGIN PKCS7-----MIIHNwYJKoZIhvcNAQcEoIIHKDCCByQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBOY1pI25A2C4SZ+iVDHkFo19SvO81rJPwLrh+e13RWDAg+qbo4HbMgbyhiAT+rYw+8nD7Iegs7A2IZJ2Fc5B2Z7qBTfAjjin6HbEyuJTdbZUBbosYAiihhutTkSR94tWbNqH9Fpvl502zutMviTRcAy4EGQfTcQP3TQmLZC9cxxTELMAkGBSsOAwIaBQAwgbQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIwkN+XtfUJTmAgZDp17/1C1h5m7tGRoMTdffNByh5GElib5j+wWtZQbvAms/t/6y7PGRGNp3Ad7W31caczjF4e4jso5gAxAVlAOyfB1o9xB/IjNoSf/5v6cIByR6TQROIdq+2zUAZ5zSsnnlLX0JjUD+8pHGB3AdsQxmnW5v7i1onpVdB9YYFgriqYNPycDC8cJyzShUR2AJ8fMGgggOHMIIDgzCCAuygAwIBAgIBADANBgkqhkiG9w0BAQUFADCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20wHhcNMDQwMjEzMTAxMzE1WhcNMzUwMjEzMTAxMzE1WjCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMFHTt38RMxLXJyO2SmS+Ndl72T7oKJ4u4uw+6awntALWh03PewmIJuzbALScsTS4sZoS1fKciBGoh11gIfHzylvkdNe/hJl66/RGqrj5rFb08sAABNTzDTiqqNpJeBsYs/c2aiGozptX2RlnBktH+SUNpAajW724Nv2Wvhif6sFAgMBAAGjge4wgeswHQYDVR0OBBYEFJaffLvGbxe9WT9S1wob7BDWZJRrMIG7BgNVHSMEgbMwgbCAFJaffLvGbxe9WT9S1wob7BDWZJRroYGUpIGRMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbYIBADAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAIFfOlaagFrl71+jq6OKidbWFSE+Q4FqROvdgIONth+8kSK//Y/4ihuE4Ymvzn5ceE3S/iBSQQMjyvb+s2TWbQYDwcp129OPIbD9epdr4tJOUNiSojw7BHwYRiPh58S1xGlFgHFXwrEBb3dgNbMUa+u4qectsMAXpVHnD9wIyfmHMYIBmjCCAZYCAQEwgZQwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMDExMDgwNzE1MjlaMCMGCSqGSIb3DQEJBDEWBBQxOz+EhIKN690rQ57KLzHBZDiMEzANBgkqhkiG9w0BAQEFAASBgCa61dPlT6Y8ZQSkQs8DXuuGFqZhTPVCp6wAx0qyDhNi6rAdPsOQwoBiUEEFz327g7rUn+HcCVBGqEwv4ExMrZThz9ZHROWc9PbAC1dHHtrrA3SInH0HpIZG5RgDhLcgH1agjGbGGv4k/eKr9Bffte3kf6l3Qd92ZX5AUS1Rf/dD-----END PKCS7-----" / >
< input onclick = "_gaq.push(['_trackPageview', '/donate/paypal'])" type = "image" src = "images/donate.png" name = "submit" alt = "PayPal - The safer, easier way to pay online." / >
< / form >
2011-08-26 22:20:40 -04:00
< / div >
2012-02-16 08:34:04 -05:00
Hosted on < a href = "http://sourceforge.net/projects/filebot/" > sourceforge.net< / a > | Creative Commons License: Attribution-NonCommercial-ShareAlike © 2012
2011-08-26 22:20:40 -04:00
< / div >
< / div >
< / div >
< / body >
< / html >