[TOOL] FileBot TV Renamer and Subtitle Downloader

Easily organize tv series / movies and fetch subtitles

FileBot is the ultimate TV Renamer and Subtitle Downloader. Instantly organize all your TV Shows and Movies. It just works. Easy.

FileBot is really smart about matching your episodes or movies with online data from sources like TVRage / AniDB / TheTVDB or OpenSubtitles / IMDb / TheMovieDB. The naming format and folder structure FileBot will apply to rename your media files is completely up to you. It's extremely powerful and customizable but at the same time really quite simple.

Fetching subtitles has never been easier neither. FileBot will automatically lookup subs from various sources and intelligently match them to your media files. Just drag your files in and FileBot will do the rest.

The GUI is extremely efficient, it's all just a matter of 2-3 drags/clicks. But if you're the really lazy kind, you can automate just about anything using the fully-featured cmdline interface.

Official website, forums and downloads:
http://www.filebot.net/

Here's a video demo:
http://www.youtube.com/watch?v=zcSFKiwFLZw

And some screenshots:
panel.rename.pngdialog.format.png

Check it out!~

FileBot 2.6 is out! Get it here!



This release integrates 7zip right out of the box so you can extract files from pretty much any kind of archive. New cmdline options for linking/copying files instead of moving and how to handle existing files. Also quite a few little enhancements to movie/series auto-detection and episode matching.



New features:

  • 7-Zip native integration for extracting files from archives

    –> supports 7-Zip, Zip, Rar, Tar, Split, Lzma, Iso, HFS, GZip, Cpio, BZip2, Z, Arj, Chm, Lhz, Cab, Nsis, Deb, Rpm, Udf
  • Improved movie/episode auto-detection and matching
  • New CLI -rename option for how to organize files into a new folder structure: --action move|copy|keeplink|symlink|hardlink|test

    –> linking requires Java 7
  • New CLI -rename option for how to handle existing files: --conflict override|skip|fail
  • New CLI -extract action and extract() scripting function
  • Various improvements for the FileBot/Groovy Scripting Environment



    Noteworty new scripts:

Thank you very much for new version.



I’ve been using your script along with Hazel to automate downloading of subtitles.

Plex’ subtitle downloader does not really work for me. ( subtitles arent available when I add TV shows to PLex )



If anyone would like to have script for FileBot to repeatedly try to download subtitles, let me know.

Could use some help with testing multi-episode support.



Forum:

http://filebot.sourceforge.net/forums/viewtopic.php?f=6&t=89#p590



Download:

http://sourceforge.net/projects/filebot/files/filebot/HEAD/

FileBot 2.61 is out! Get it here!



This minor update adds support for multi-episode files and some cmdline features.



New features:

  • Support multi-episode files
  • -get-missing-subtitles per language
  • –filter option to customize episode matching

FileBot 2.62 is out! Get it here!



This minor update brings lots of enhancements for cmdline scripting and lots general improvements suggested in the forums.



New features:

  • Lots of bugfixes and improvments that came up in the forums
  • Various improvements for headless cmdline mode
  • Scripting: pass variables via -Xname=value arguments
  • Scripting: more -script input options besides File/URL:

    => stdin via -script “system:in”

    => pass inline via -script “script:expression”

    => easily call shared script via “fn:name”





    µTorrent Integration:

    There’s a new example script for processing completed downloads using µTorrents “Run this program when torrent finishes” feature. The script will extract archives, handle movies/tvshows, fetch subtitles, copy-rename files, fetch artwork/nfo files and finally make xbmc rescan the video library.



    Best of all, it’ll take less then a minute to set all that up:

    http://filebot.sourceforge.net/forums/viewtopic.php?f=4&t=5#p802

New ipkg/ARM package for embedded linux devices like Synology NAS.



Install via ipkg:


ipkg install "http://sourceforge.net/projects/filebot/files/filebot/FileBot_2.62/filebot_2.62_arm.ipk"

FileBot 2.64 is out! Get it here!



This update brings lots of enhancements for movie detection and cmdline mode.



Changes:

  • Lots of tweaks and improvements for movie detection
  • Ignore clutter files like samples/trailers/etc
  • Hide “Override Extension” feature (can still be activated for the current session via right-click Rename button)
  • Added “series X episode Y” as known SxE pattern
  • Cmdline: use TheTVDB and TheMovieDB as default if --db is not set
  • Cmdline: --q option in -rename series mode supports “A | B | C” syntax for manually forcing multiple tv shows
  • Cmdline: tweaked series auto-selection
  • Cmdline: --output in -rename mode is resolved against current working dir (as opposed to --format which is resolved against the folder of the file to be renamed)
  • Cmdline: fixed PermGen memory leak that happened when calling rename(…) alot
  • DEB: use SVG application icon and setup /usr/bin/filebot via postinst/prerem properly
  • Portable: fix bash startup script
  • WebStart: don’t create webstart desktop shortcut automatically (still can do it manually via Java control panel)
  • IPKG: New ipkg packages for embedded devices

can i have step by step how to use this on ds1511+ ? i have installed it on my nas, and i have used it on my laptop but not directly from my nas. thanks

I’m still using 2.6 via automated script to fetch subtitles for some TV shows and Sublight lookup is giving me error that FileBot is not approved client. OpenSubtitles is working fine.



7/21/12 9:46:41 PM	[0x0-0x9b19b1].net.sourceforge.filebot[63873]	java.util.concurrent.ExecutionException: javax.xml.ws.WebServiceException: Response indicates error: Client not supported. Contact us at: contact@sublight.si<br />
7/21/12 9:46:41 PM	[0x0-0x9b19b1].net.sourceforge.filebot[63873]		at net.sourceforge.filebot.web.SublightSubtitleClient.getSubtitleList(Unknown Source)<br />
7/21/12 9:46:41 PM	[0x0-0x9b19b1].net.sourceforge.filebot[63873]	Caused by: javax.xml.ws.WebServiceException: Response indicates error: Client not supported. Contact us at: contact@sublight.si<br />
7/21/12 9:46:41 PM	[0x0-0x9b19b1].net.sourceforge.filebot[63873]		at net.sourceforge.filebot.web.SublightSubtitleClient.checkError(Unknown Source)<br />
7/21/12 9:46:41 PM	[0x0-0x9b19b1].net.sourceforge.filebot[63873]		at net.sourceforge.filebot.web.SublightSubtitleClient.login(Unknown Source)<br />
7/21/12 9:46:41 PM	[0x0-0x9b19b1].net.sourceforge.filebot[63873]		at net.sourceforge.filebot.web.SublightSubtitleClient.getSubtitleList(Unknown Source)<br />
7/21/12 9:46:41 PM	[0x0-0x9b19b1].net.sourceforge.filebot[63873]		at net.sourceforge.filebot.web.SublightSubtitleClient.getSubtitleList(Unknown Source)<br />
7/21/12 9:46:41 PM	[0x0-0x9b19b1].net.sourceforge.filebot[63873]		at net.sourceforge.filebot.web.SublightSubtitleClient$1.call(Unknown Source)<br />
7/21/12 9:46:41 PM	[0x0-0x9b19b1].net.sourceforge.filebot[63873]		at net.sourceforge.filebot.web.SublightSubtitleClient$1.call(Unknown Source)<br />
7/21/12 9:46:51 PM	[0x0-0x9b19b1].net.sourceforge.filebot[63873]	WARNING: Response indicates error: Client not supported. Contact us at: contact@sublight.si



Did not see anything mentioned in release notes related to this error. Any ideas ?

FileBot 3.0



Features:

  • [Windows XP, Vista, 7+] Use native shell operations for MOVE and COPY
  • Support all rename actions (move, copy, hardlink, …) in GUI as well as cmdline
  • New absolute rename mode that doesn’t preserve file extension
  • Improved movie/series auto-detection and episode matching
  • Rainbow highlighting of folder structure
  • Double-Click list entry to reveal file location or open movie page
  • Improved subtitle auto-matching (esp. for movies)





    Changes / Fixed Issues:
  • Update/Fix Subscene scraper
  • Update/Fix Sublight (needs to be configured via filebot fn:configure.login)
  • {vf} now rounds to standard tags like 1080p, 720p, 480p, etc; {hpi} will give you exact values
  • New binding {collection} for movie sets
  • Make sure to ignore IMDb video game type search results
  • Treat folders that contain ‘movie.nfo’ as disk folder, i.e. rename/move folder as a whole, rather than individual files
  • Lots of bugfixes and other improvements





    Scripting:
  • Bundle Groovy 2.0 with all dependencies for AntBuilder and @Grape
  • Changed cmdline syntax for passing in variables (e.g. --def name=value)
  • Support for passing in Closure as RenameAction (e.g. replace rename with scp/ftp to remote location or any other custom logic)
  • Updated cleaner.groovy, watcher.groovy, housekeeping.groovy, etc with extra default functionality





    uTorrent / deluge Integration:
  • Force movie/tv/anime mode via the torrent label
  • Improved movie-vs-series auto-detection
  • Only extract archives that contain video files
  • Adhere to XBMC naming conventions when saving artwork
  • Support FanartTV for extra artwork
  • More data for generated nfo files
  • Support Plex notifications
  • Support email notifications out of the box
  • Allow the script to crash on error via --conflict fail

FileBot 3.1



This release brings lots improvements for especially for fully-automated processing, improved series lookup and episode matching especially for ambiguous cases. Other enhancements include better support for renaming of movie folders (rather than files), OMDb/IMDb bindings for naming expressions, ed2k support in SFV panel, and storing rename-metadata in extended attributes (if supported by the platform and filesystem).



Features:

  • Use Link-Drop modifier to drop folders into ‘Original Files’ allow processing of movie folders
  • Enhanced TheTVDB series lookup (combine online search with local index)
  • Improved episode matching (same-name-different series problem, specials)
  • Use OMDb data (unofficial IMDb API) for the {imdb} binding
  • Set File Creation Date to episode/movie airdate/year on rename if supported by the platform
  • Store rename data as user-defined filesystem attributes if supported by the platform (EAs, xattr, etc)
  • Support ed2k hash algorithm in SFV panel
  • Set -Dunixfs=true via cmdline option -unixfs



    Changes / Fixed Issues:
  • Various adjustments for Mac
  • Fixed various 32/64-bit msi installer issues
  • Many other bugfixes and adjustments



    Scripts:
  • utorrent-postprocess works better than ever!

Im unable to get Hazel + Filebot working. Can anyone point me in the right direction?



Error code is


2012-11-09 07:14:44.141 hazelworker[15517] [Error] Shell script failed: Error processing shell script on file /Volumes/Media/TV/Castle 2009/Season 5/S5x02 - HDTV x264-LOL/Castle.2009.S05E02.HDTV.x264-LOL.mp4.<br />
2012-11-09 07:14:44.141 hazelworker[15517] Shellscript exited with non-successful status code: 255



Enclosed picture of Hazel config.

Thanks!

I suppose /bin/bash might work better as ‘filebot’ is a bash script.



What the output if you run it in the console?

Have you looked into my collection of useful FileBot scripts yet? If you’re using filebot from cmdline, on a headless machine or just for automated downloading & processing, light-weight artwork fetcher, etc these scripts might be of interest:



Script Index:

[list]

[]µTorrent Integration

[
]Fetch Artwork and Nfo for TV Shows

[]Fetch Artwork and Nfo for Movies

[
]The Cleaner - Delete left over files and folders

[]Media Index CSV

[
]Query Rename History

[]Revert Renamed Files to their Original Names

[
]Rename All Media Folder by Folder

[]Auto-Sort Tivo Recordings

[
]Sort out TV Download Folder

[]Watch folder and rename new episodes

[
]Filename: Find & Replace[/list]



You can use these out of the box, or modify them to your needs, or build something different entirely in which case I’d like to hear from you. :wink:

FileBot 3.2 Get it here!



This release brings lots of tweaks for episode/movie auto-detection and fully automated processing. The IMDb scraper is fixed and http connections will connect through the system proxy by default. Drag-n-drop on Linux now handles GVFS URIs as well and maps them to the ~/.gvfs filesystem abstraction via libgio.



Features:

  • Much more robust and reliable movie detection
  • Improved movie/series detection and auto-selection
  • Transliteration-aware candidate ranking (e.g. 你好 VS ni hao => 100% match)
  • New and improved IMDb scraper
  • Support drag-n-drop from GVFS locations via ~/.gvfs filesystem abstraction



    Changes / Fixed Issues:
  • Use the system proxy by default
  • Replace -clear option with 2 options -clear-cache and -clear-prefs
  • {d} binding for movie release date or episode airdate
  • {es} convenience binding for multi-episode numbers
  • Make the revert function more obvious via a new button
  • Fixed various GTK LaF issues



    Chocolatey Windows Package available:

    Install and keep up to update via “cinst filebot” => http://chocolatey.org/packages/filebot/



    Noteworthy Scripts:

    New: Revert Renamed Files to their Original Names

    Revert files to their original names using the internal history.

    => http://filebot.sourceforge.net/forums/viewtopic.php?f=4&t=5#p2485



    New: MyEpisodes.com Integration

    Automatically add shows and tick episodes on your MyEpisodes account.

    => http://filebot.sourceforge.net/forums/viewtopic.php?f=4&p=2629#p2629



    Update: µTorrent Integration
  • Automatically tick new episodes as ‘aquired’ on MyEpisodes
  • Video Tutorial for standalone cmdline usage
  • ut_state_allow condition to better support running on state change
  • Support passing in formats via cmdline

    => http://filebot.sourceforge.net/forums/viewtopic.php?f=4&t=215&p=1561#p1561



    Merry Xmas everyone!~

Hello rednoah,



first off : thank you for this piece of software. Installed it yesterday and it already replaced an old home made script that did renaming for tv shows.



Yours is far more superior and the addition of movies renaming is for me excellent.





I have however a question on the CLI : is it possible to call filebot for -rename and -get-subtitles on the same line ? When I do it does work but having issues with arguments (–db --output) which are passed for both …



I wish to do a oneliner that :

  • look for subtitles based on untouched name and convert it to srt
  • rename the file based on a specific db
  • then rename subtitle accordingly
  • move subtitle and file to another folder



    is that possible ? have I missed something ?



    Thanks for your time and great work.



    Darathor


You should look into the scripting section for that. All on the website and lots of info and resources in the forums. Look for the utorrent-postprocess script which is kinda like a "just-do-everything-thing".

FileBot 3.3 Get it here!



This release brings a brand new Music Mode using AcoustID. There’s also lots of enhancements in movie, episode and subtitle processing as well as various scraper fixes.



Features:

  • New Music Mode using AcoustID audio-fingerprints and MusicBrainz info
  • Support movie detection via tt1234567 patterns in the filename
  • Improved handling 1e01 and 101 and S01E01-E02 SxE patterns
  • Improved Subtitle<->Episode matching



    Changes / Fixed Issues:
  • Fix Subscene and IMDb scraper issues
  • Value of {s00e00} now uses the S01E01-E02 pattern for multi episodes
  • Value of {imdbid} now includes the tt prefix
  • Added {tmdbid} binding
  • Added .m2ts as video extension
  • More caching to reduce load on the various webservices



    Update: µTorrent Integration
  • Automatically process music


I would like that a lot, how can I get it from you?
Thanks!