Tools and other software FileBot - The ultimate TV Renamer and Subtitle Downloader (4 Viewers)

lboregard

New Member
August 15, 2010
2
0
rednoah, i have a simple script that does "args.eachMediaFolder { dir -> println "Listing $dir" } ... but it only lists the first folder ???

i'm running the portable version doing ./filebot.sh -script "scrape.groovy" -trust-script "/Volumes/Storage/Output"

any ideas what could be the problem ?
 

rednoah

Portal Pro
December 18, 2011
83
58
eachMediaFolder() will only list folders recursively but only folders with at least one video file. Maybe you want getFolders() ?
 

rednoah

Portal Pro
December 18, 2011
83
58
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
 

rednoah

Portal Pro
December 18, 2011
83
58
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!
 

FreakyJ

Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I love your little tool :) it made my life so easy :p
    especially if your mpTvSeries db gets fucked up xD
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I just discovered filebot last night, been running therenamer prior. I can recommend both, but I have a feeling that filebot seems to be able to read a wider variation in file naming patterns... WOW didn't know filebot originated from a MP user :D
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Hey @rednoah

    I'm wondering if you can help me with something.
    I've created a script/plugin for tv server that creates thumbnails for tv recordings using ffmpeg, it also has the ability to use custom images for particular recordings
    https://forum.team-mediaportal.com/...tom-rec-tv-thumbs-better-h264-support.113415/
    It's probably pretty crude, but it works well and it is useful.

    Anyways I'm wondering if you can help me with something.

    I'd like to create a stand alone .exe/script that when given two arguments eg. Download_FanArt.exe -show %tvshowname% -dir %dir%
    it will look for that tv show name on thetvdb and if it finds a match or a fairly close match it would download the first fanart listed for that tv show and save it to %dir%\%tvshowname%.jpg
    I'm wondering if it would be a lot of work to create such a program/script given you probably already have done a lot of the code.
    It is totally beyond my ability to program such a task
    After the image was downloaded my script would resize the image and store it in a subfolder so it can be used for thumbnails every time that tv show is recorded

    Feel free to decline, if you think it looks like a lot of work, or you are too busy

    THANKS!
    Kiwi
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Thank you,

    I'm able to use the script by doing the following 3 steps
    Say I want the fanart for breaking bad

    1. Create dummy folder called c:\temp\breaking bad
    2. Create an empty file called c:\temp\breaking bad\breaking bad s01e01.avi
    3. filebot -script fn:artwork.tvdb --q "breaking bad" "c:/temp/breaking bad"

    I have to do all 3 steps, otherwise I don't get anything download,
    then afterwards I delete the images I don't want and keep fanart.jpg the fanart.jpg

    Is this the best way to do it?
    Is it possible to download images without creating dummy files and folders?
    Is it possible to specify to only download fanart.jpg?

    If I'm using portable installation and disable GUI dialogs does it require java to be installed on the PC?

    Thanks
    Kiwi
     
    Last edited:

    Users who are viewing this thread

    Top Bottom