Feature - Auto DL Artwork when renaming

All your suggestions, requests and ideas for future development
Post Reply
srkinard
Donor
Posts: 19
Joined: 08 Feb 2014, 03:38

Feature - Auto DL Artwork when renaming

Post by srkinard »

A handy thing with the GUI would be a checkmark to automatically download the artwork from TMDB or TVDB when renaming a file.

As it stands now, I'm renaming files and on some I have to choose the matching movie or episode.
Then, when I go back afterwards and run the artwork script, I have to monitor it and select the correct title on some again.

It would be nice to select once and have it rename the file and gather the artwork/NFO files all in one pass.
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Feature - Auto DL Artwork when renaming

Post by rednoah »

Logs? (of artwork and xattr scripts)

If files have been renamed with FileBot, then FileBot should be able to identify them easily based on xattr metadata.
:idea: Please read the FAQ and How to Request Help.
FelixVita
Posts: 4
Joined: 26 Sep 2015, 22:11

Re: Feature - Auto DL Artwork when renaming

Post by FelixVita »

Hi!

I've been struggling with the same issue as user:srkinard.

Namely:
Why, when running the fn:artwork script, am I prompted about the ID of certain movies if I already renamed those movies only seconds ago using the filebot renamer?

Problem #2
When prompt appears, asking me whether one of the movies in my Nightmare On Elm Street Collection is in fact "A Nightmare On Elm Street 3: Dream Warriors (1987)", it is hard for me to tell exactly which particular one of those 5 movies filebot is wanting to match with this title suggested by the prompt. In other words: If I went ahead and chose Elm Street 3 from the drop-down menu in the prompt, how could I be sure I'm not accidentally giving the fn:artwork script the go-ahead to download the artwork for Elm Street 3 into what's actually the Elm Street 2 movie folder (seeing as the prompt window does not provide me with the original folder name to compare the suggested name to)?

A few illustrative screenshots from my process of renaming and obtaining artwork, wherein I encounter problems#1&2:
http://imgur.com/a/878rR

CLI log from problems #1&2:

Code: Select all

pg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\fanart.jpg => {category: backdrops, width: 1920, height: 1080, l
anguage: en, url: http://image.tmdb.org/t/p/original/lhigVUiWayILn5y9yKLUWMbCRPZ
.jpg}
Fanart not found: G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2
 Freddy's Revenge (1985)\clearart.png / movieart
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\logo.png => {type=movielogo, id=1096, url=http://assets.fanart.t
v/fanart/movies/10014/movielogo/a-nightmare-on-elm-street-2-freddys-revenge-4f6c
19a29487c.png, lang=en, likes=1}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\disc.png => {type=moviedisc, id=24655, url=http://assets.fanart.
tv/fanart/movies/10014/moviedisc/a-nightmare-on-elm-street-2-freddys-revenge-511
d7b4a228a8.png, lang=en, likes=2, disc_type=bluray}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-01.jpg => {category: backdrops, width: 1920,
 height: 1080, language: en, url: http://image.tmdb.org/t/p/original/lhigVUiWayI
Ln5y9yKLUWMbCRPZ.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-02.jpg => {category: backdrops, width: 1280,
 height: 720, language: null, url: http://image.tmdb.org/t/p/original/4DfgQE0N0P
e5ijhofurpCPYdw4P.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-03.jpg => {category: backdrops, width: 1920,
 height: 1080, language: null, url: http://image.tmdb.org/t/p/original/uYRpY8uPl
8C5HwoQZXtpW03S3Sm.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-04.jpg => {category: backdrops, width: 1920,
 height: 1080, language: null, url: http://image.tmdb.org/t/p/original/fkVaEIaVA
VlpfGDF9qF3XrdzZ6b.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-05.jpg => {category: backdrops, width: 1280,
 height: 720, language: null, url: http://image.tmdb.org/t/p/original/kErjd7tTO9
NROwFcETyyLj4ZOGH.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-06.jpg => {category: backdrops, width: 1280,
 height: 720, language: null, url: http://image.tmdb.org/t/p/original/tJTrNDt124
2xe4zlatlZfDMvWjg.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-07.jpg => {category: backdrops, width: 1280,
 height: 720, language: null, url: http://image.tmdb.org/t/p/original/rQoWIfjuII
YW7m6Qq91Bf658I21.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-08.jpg => {category: backdrops, width: 1280,
 height: 720, language: null, url: http://image.tmdb.org/t/p/original/1nAo6p6Fls
Pbfs2xy7RA5nyTSL4.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-09.jpg => {category: backdrops, width: 1280,
 height: 720, language: null, url: http://image.tmdb.org/t/p/original/rtQ4wpVftQ
XnZ7S4DseuoxX7Foh.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-10.jpg => {category: backdrops, width: 1280,
 height: 720, language: null, url: http://image.tmdb.org/t/p/original/k1UFW69WOS
CQSYIZiIhlXZDe1nc.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-11.jpg => {category: backdrops, width: 1280,
 height: 720, language: null, url: http://image.tmdb.org/t/p/original/9bwkAbwOwV
VuJKB5BseHU3YLZ33.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-12.jpg => {category: backdrops, width: 1280,
 height: 720, language: null, url: http://image.tmdb.org/t/p/original/zMEzUXGcHu
4v0PXYocAnprFqg0l.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-13.jpg => {category: backdrops, width: 1920,
 height: 1080, language: null, url: http://image.tmdb.org/t/p/original/wkr6hxAv9
w8WJ0c5LTyhyZz11FD.jpg}
Fetching G:\Films\Yet to be watched\#A\A Nightmare on Elm Street Part 2 Freddy's
 Revenge (1985)\backdrops\backdrops-14.jpg => {category: backdrops, width: 1980,
 height: 1020, language: null, url: http://image.tmdb.org/t/p/original/oCHzzx9BE
UDF8Hc3A6DK76J76Ft.jpg}
G:\Films\Yet to be watched\#A\A Prophet (2009) => A Prophet (2009)
MediaInfoException: Unable to load 32-bit native library 'mediainfo'
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\poster.jpg => {category:
 posters, width: 1000, height: 1500, language: en, url: http://image.tmdb.org/t/
p/original/mRJuB3PEbKQyWtp1CCcpa34c60F.jpg}
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\fanart.jpg => {category:
 backdrops, width: 3840, height: 2160, language: null, url: http://image.tmdb.or
g/t/p/original/iKZ7ZSYeTkIftzlq8Uf0waYXChh.jpg}
Fanart not found: G:\Films\Yet to be watched\#A\A Prophet (2009)\clearart.png /
movieart
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\logo.png => {type=moviel
ogo, id=6263, url=http://assets.fanart.tv/fanart/movies/21575/movielogo/a-prophe
t-4fe92dbc9b7a3.PNG, lang=en, likes=0}
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\disc.png => {type=movied
isc, id=13848, url=http://assets.fanart.tv/fanart/movies/21575/moviedisc/a-proph
et-5056d898991e2.png, lang=de, likes=0, disc_type=bluray}
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\backdrops\backdrops-01.j
pg => {category: backdrops, width: 3840, height: 2160, language: null, url: http
://image.tmdb.org/t/p/original/iKZ7ZSYeTkIftzlq8Uf0waYXChh.jpg}
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\backdrops\backdrops-02.j
pg => {category: backdrops, width: 1920, height: 1080, language: null, url: http
://image.tmdb.org/t/p/original/vYn4LwXPICVnIB2CrPBggkPbSEJ.jpg}
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\backdrops\backdrops-03.j
pg => {category: backdrops, width: 1920, height: 1080, language: null, url: http
://image.tmdb.org/t/p/original/i2EKPUyR4YGtUSwDJS0W3UdllvU.jpg}
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\backdrops\backdrops-04.j
pg => {category: backdrops, width: 1920, height: 1080, language: null, url: http
://image.tmdb.org/t/p/original/c6ldTqcrG1gJiZpLHHSrfyf3l8F.jpg}
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\backdrops\backdrops-05.j
pg => {category: backdrops, width: 1920, height: 1080, language: null, url: http
://image.tmdb.org/t/p/original/4YC1TyrqmwfCvHFIKMjYgNJ09JJ.jpg}
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\backdrops\backdrops-06.j
pg => {category: backdrops, width: 1920, height: 1080, language: null, url: http
://image.tmdb.org/t/p/original/aDbXp80NWIrIumS8DhSCeitK7VZ.jpg}
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\backdrops\backdrops-07.j
pg => {category: backdrops, width: 1920, height: 1080, language: null, url: http
://image.tmdb.org/t/p/original/i9Rp4eKmnrbjFS8FTfoBYK6mUov.jpg}
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\backdrops\backdrops-08.j
pg => {category: backdrops, width: 1280, height: 720, language: null, url: http:
//image.tmdb.org/t/p/original/oYiGnKAFgrHMo7bksg4ka1Xpvgz.jpg}
Fetching G:\Films\Yet to be watched\#A\A Prophet (2009)\backdrops\backdrops-09.j
pg => {category: backdrops, width: 1920, height: 1080, language: fr, url: http:/
/image.tmdb.org/t/p/original/unM2viaihL8Ja7RwFwRUGv8jNjR.jpg}
G:\Films\Yet to be watched\#A\A Separation (2011) => A Separation (2011)
MediaInfoException: Unable to load 32-bit native library 'mediainfo'
Fetching G:\Films\Yet to be watched\#A\A Separation (2011)\poster.jpg => {catego
ry: posters, width: 1000, height: 1500, language: en, url: http://image.tmdb.org
/t/p/original/hMQXRvVmlo52rSZjehkBU42ljue.jpg}
Fetching G:\Films\Yet to be watched\#A\A Separation (2011)\fanart.jpg => {catego
ry: backdrops, width: 1920, height: 1080, language: null, url: http://image.tmdb
.org/t/p/original/iz8eaAVK0HawY8yuoeqAs6Uk83u.jpg}
Fanart not found: G:\Films\Yet to be watched\#A\A Separation (2011)\clearart.png
 / movieart
Fetching G:\Films\Yet to be watched\#A\A Separation (2011)\logo.png => {type=mov
ielogo, id=5736, url=http://assets.fanart.tv/fanart/movies/60243/movielogo/a-sep
aration-4fe0f7216eb3e.png, lang=en, likes=0}
Fanart not found: G:\Films\Yet to be watched\#A\A Separation (2011)\disc.png / m
oviedisc
Fanart not found: G:\Films\Yet to be watched\#A\A Separation (2011)\disc.png / m
oviedisc
Fanart not found: G:\Films\Yet to be watched\#A\A Separation (2011)\disc.png / m
oviedisc
Fetching G:\Films\Yet to be watched\#A\A Separation (2011)\backdrops\backdrops-0
1.jpg => {category: backdrops, width: 1920, height: 1080, language: null, url: h
ttp://image.tmdb.org/t/p/original/iz8eaAVK0HawY8yuoeqAs6Uk83u.jpg}
Fetching G:\Films\Yet to be watched\#A\A Separation (2011)\backdrops\backdrops-0
2.jpg => {category: backdrops, width: 1920, height: 1080, language: null, url: h
ttp://image.tmdb.org/t/p/original/zUc12BzvSuPIur8nmMN0n8iw0Hh.jpg}
Fetching G:\Films\Yet to be watched\#A\A Separation (2011)\backdrops\backdrops-0
3.jpg => {category: backdrops, width: 1920, height: 1080, language: null, url: h
ttp://image.tmdb.org/t/p/original/dZejk819ZOpvSuP21Mny8053e4f.jpg}
Fetching G:\Films\Yet to be watched\#A\A Separation (2011)\backdrops\backdrops-0
4.jpg => {category: backdrops, width: 1920, height: 1080, language: null, url: h
ttp://image.tmdb.org/t/p/original/5p5WV3AIWkWIpr5dgQGzaBuKHZC.jpg}
Fetching G:\Films\Yet to be watched\#A\A Separation (2011)\backdrops\backdrops-0
5.jpg => {category: backdrops, width: 1920, height: 1080, language: null, url: h
ttp://image.tmdb.org/t/p/original/76K1A6ztPSO01jKh6w8QtrCK1Uo.jpg}
Fetching G:\Films\Yet to be watched\#A\A Separation (2011)\backdrops\backdrops-0
6.jpg => {category: backdrops, width: 1920, height: 1080, language: null, url: h
ttp://image.tmdb.org/t/p/original/jLPKFwF22IxoDdhT4IRg2EL0JgC.jpg}
Fetching G:\Films\Yet to be watched\#A\A Separation (2011)\backdrops\backdrops-0
7.jpg => {category: backdrops, width: 1920, height: 1080, language: null, url: h
ttp://image.tmdb.org/t/p/original/mt2gggc9vLWo9uExFgG8sXslwb5.jpg}
Fetching G:\Films\Yet to be watched\#A\A Separation (2011)\backdrops\backdrops-0
8.jpg => {category: backdrops, width: 1920, height: 1080, language: null, url: h
ttp://image.tmdb.org/t/p/original/iehsQeK2E1W49y9fAd3fyhnpgXt.jpg}
G:\Films\Yet to be watched\#A\A View to a Kill (1985) => A View to a Kill (1985)

MediaInfoException: Unable to load 32-bit native library 'mediainfo'
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\poster.jpg => {ca
tegory: posters, width: 1600, height: 2400, language: en, url: http://image.tmdb
.org/t/p/original/veDMW7eX6tat86EapsvGEICJ8Tq.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\fanart.jpg => {ca
tegory: backdrops, width: 1920, height: 1080, language: en, url: http://image.tm
db.org/t/p/original/6QdI6AzhP6ZcWox2PTbyhNA6tH9.jpg}
Fanart not found: G:\Films\Yet to be watched\#A\A View to a Kill (1985)\clearart
.png / movieart
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\logo.png => {type
=movielogo, id=2662, url=http://assets.fanart.tv/fanart/movies/707/movielogo/a-v
iew-to-a-kill-4f919086a400e.png, lang=en, likes=0}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\disc.png => {type
=moviedisc, id=24165, url=http://assets.fanart.tv/fanart/movies/707/moviedisc/a-
view-to-a-kill-5118ce06950db.png, lang=en, likes=2, disc_type=bluray}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-01.jpg => {category: backdrops, width: 1920, height: 1080, language: en, url:
 http://image.tmdb.org/t/p/original/6QdI6AzhP6ZcWox2PTbyhNA6tH9.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-02.jpg => {category: backdrops, width: 1920, height: 1080, language: en, url:
 http://image.tmdb.org/t/p/original/feA30baHibgE67VNYg2AXCszTwj.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-03.jpg => {category: backdrops, width: 1920, height: 1080, language: null, ur
l: http://image.tmdb.org/t/p/original/9SudvdR6HYtgTqMz17RYXdWuTUl.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-04.jpg => {category: backdrops, width: 1920, height: 1080, language: null, ur
l: http://image.tmdb.org/t/p/original/paxNiiii2I9m2lv8vDYum0uDePn.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-05.jpg => {category: backdrops, width: 1280, height: 720, language: null, url
: http://image.tmdb.org/t/p/original/4g9hXUu0epKjN1VDlJM9AcTFiGI.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-06.jpg => {category: backdrops, width: 1920, height: 1080, language: null, ur
l: http://image.tmdb.org/t/p/original/mR3M9DM0O9crOuvSxIb6OPgkwVq.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-07.jpg => {category: backdrops, width: 1280, height: 720, language: null, url
: http://image.tmdb.org/t/p/original/jpWhgHUbFHT5vzz5NnSju0K4TpO.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-08.jpg => {category: backdrops, width: 1280, height: 720, language: null, url
: http://image.tmdb.org/t/p/original/9yfpF7e5CA96bkgXYISfn8rLyP0.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-09.jpg => {category: backdrops, width: 1920, height: 1080, language: xx, url:
 http://image.tmdb.org/t/p/original/wnk8dH7IIxkglIZ0Y8k0XSVYVRm.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-10.jpg => {category: backdrops, width: 1280, height: 720, language: null, url
: http://image.tmdb.org/t/p/original/3q719IKBCVcj6kXhSAZ2LYIiPVU.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-11.jpg => {category: backdrops, width: 1280, height: 720, language: null, url
: http://image.tmdb.org/t/p/original/54gkaogaXgldiEGp7LW5bPScoxw.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-12.jpg => {category: backdrops, width: 1280, height: 720, language: null, url
: http://image.tmdb.org/t/p/original/A5vc9e18SmMpPMzng1KTtQNxwGv.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-13.jpg => {category: backdrops, width: 1920, height: 1080, language: fr, url:
 http://image.tmdb.org/t/p/original/OcoHpuMvCfzC1tEyVIICHiuvj9.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-14.jpg => {category: backdrops, width: 1920, height: 1080, language: null, ur
l: http://image.tmdb.org/t/p/original/9x6gGeQpLiNX2TQwBLaJCUpdPjJ.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-15.jpg => {category: backdrops, width: 1920, height: 1080, language: null, ur
l: http://image.tmdb.org/t/p/original/M6FK3p1ATUNjLokVcrCQzkQMdF.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-16.jpg => {category: backdrops, width: 1920, height: 1080, language: null, ur
l: http://image.tmdb.org/t/p/original/neW9undyWvf9dEWuRcyf76NNgzw.jpg}
Fetching G:\Films\Yet to be watched\#A\A View to a Kill (1985)\backdrops\backdro
ps-17.jpg => {category: backdrops, width: 1920, height: 1080, language: null, ur
l: http://image.tmdb.org/t/p/original/2HQc6H6NnHgg9mgoTqMkmEiCKf5.jpg}
G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012) => Abraham L
incoln: Vampire Hunter (2012)
MediaInfoException: Unable to load 32-bit native library 'mediainfo'
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\pos
ter.jpg => {category: posters, width: 1000, height: 1500, language: en, url: htt
p://image.tmdb.org/t/p/original/lHcaLiPDDrLmJAL2MTlMzgM2s2x.jpg}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\fan
art.jpg => {category: backdrops, width: 1920, height: 1200, language: en, url: h
ttp://image.tmdb.org/t/p/original/wLSRm9BCg3g3rRE5nQJKBet5x1c.jpg}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\cle
arart.png => {type=movieart, id=6432, url=http://assets.fanart.tv/fanart/movies/
72331/movieart/abraham-lincoln-vampire-hunter-4fee2736d6d15.png, lang=en, likes=
2}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\log
o.png => {type=movielogo, id=6429, url=http://assets.fanart.tv/fanart/movies/723
31/movielogo/abraham-lincoln-vampire-hunter-4fee207d6365f.png, lang=en, likes=0}

Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\dis
c.png => {type=moviedisc, id=23600, url=http://assets.fanart.tv/fanart/movies/72
331/moviedisc/abraham-lincoln-vampire-hunter-51138249ef3e0.png, lang=en, likes=4
, disc_type=bluray}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\bac
kdrops\backdrops-01.jpg => {category: backdrops, width: 1920, height: 1200, lang
uage: en, url: http://image.tmdb.org/t/p/original/wLSRm9BCg3g3rRE5nQJKBet5x1c.jp
g}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\bac
kdrops\backdrops-02.jpg => {category: backdrops, width: 1920, height: 1080, lang
uage: null, url: http://image.tmdb.org/t/p/original/6dJgvOSLD6DKYqd29HsC10Cjyii.
jpg}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\bac
kdrops\backdrops-03.jpg => {category: backdrops, width: 1920, height: 1080, lang
uage: null, url: http://image.tmdb.org/t/p/original/2TXoEAZUjN5ONm2wkBQQfDOJBwM.
jpg}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\bac
kdrops\backdrops-04.jpg => {category: backdrops, width: 1920, height: 1080, lang
uage: null, url: http://image.tmdb.org/t/p/original/isoKQ2O4UwHecSulNf1L4Dm3Nr8.
jpg}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\bac
kdrops\backdrops-05.jpg => {category: backdrops, width: 1920, height: 1080, lang
uage: null, url: http://image.tmdb.org/t/p/original/o3pAQqg6GpGEJgQBo1840PwSEA6.
jpg}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\bac
kdrops\backdrops-06.jpg => {category: backdrops, width: 1920, height: 1080, lang
uage: null, url: http://image.tmdb.org/t/p/original/zjK08EjWii41483SugkHwD85WF3.
jpg}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\bac
kdrops\backdrops-07.jpg => {category: backdrops, width: 1920, height: 1080, lang
uage: null, url: http://image.tmdb.org/t/p/original/xzNcJ9UpGdoJpIkoo5AYtSFkopT.
jpg}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\bac
kdrops\backdrops-08.jpg => {category: backdrops, width: 1920, height: 1080, lang
uage: null, url: http://image.tmdb.org/t/p/original/auXboX4xs8qVSXka86P0TltMDLX.
jpg}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\bac
kdrops\backdrops-09.jpg => {category: backdrops, width: 1920, height: 1080, lang
uage: null, url: http://image.tmdb.org/t/p/original/fQG1D9AeBtuOkPs0oirtx8AsCOh.
jpg}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\bac
kdrops\backdrops-10.jpg => {category: backdrops, width: 1920, height: 1080, lang
uage: null, url: http://image.tmdb.org/t/p/original/m3Xw2tD08fShxPxA5ULyBScEt93.
jpg}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\bac
kdrops\backdrops-11.jpg => {category: backdrops, width: 1280, height: 720, langu
age: null, url: http://image.tmdb.org/t/p/original/WK3qBUdM4D94kgeayXfSjoN3Jl.jp
g}
Fetching G:\Films\Yet to be watched\#A\Abraham Lincoln Vampire Hunter (2012)\bac
kdrops\backdrops-12.jpg => {category: backdrops, width: 1280, height: 720, langu
age: null, url: http://image.tmdb.org/t/p/original/dagqlGD1BKRkEPqyE3Ahqn9fCKD.j
pg}
Done ?(?????)?


G:\Films\Yet to be watched\#A>
(some of the beginning was cut off)
(also, sorry: I'm not familiar with how to use the CODE tag)

Problem #3
How do I run the fn:artwork script on movies that are not even recognized by filebot in the first place (despite being in the themoviedb database).
Example: Despite being the first in the list of results when I search for it on the themoviedb website, the movie "9" from the year 2009 is not recognized by filebot, (see screenshot), and so I have had to name it manually. Needless to say, the fn:artwork script does not recognize it either.

Two pics to illustrate Problem #3:
http://imgur.com/a/O5w1n

CLI log from problem #3:

Code: Select all

G:\Films\Yet to be watched\#B>filebot -script fn:artwork.tmdb *
Java HotSpot(TM) Client VM warning: TieredCompilation is disabled in this releas
e.
Done ?(?????)?


G:\Films\Yet to be watched\#B>
Sub-problem #3.1
If, in the end, it turns out that I always have to manually find artwork and nfo files for hard-to-identity movies like "9", then I'm sure finding and downloading the artwork will be possible, just tedious and boring a long time... Okay, that's fine. However, the big problem is the movie.nfo files, which I can't seem to find anywhere on the themoviedb website. (They are important to me because I need that metadata for use with my Kodi/XBMC setup.) So, is there a way to get these movie.nfo files manually?


System:
Windows 8
Filebot v4.6

Output of filebot -script fn:sysinfo

Code: Select all

G:\Films\Yet to be watched\#A>filebot -script fn:sysinfo
Java HotSpot(TM) Client VM warning: TieredCompilation is disabled in this releas
e.
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': N
ative library (win32-x86/mediainfo.dll) not found in resource path ([file:/C:/Pr
ogram%20Files/FileBot/FileBot.jar])
Sep 27, 2015 2:15:36 AM net.filebot.archive.SevenZipLoader requireNativeLibrarie
s
WARNING: Failed to preload library: java.lang.UnsatisfiedLinkError: no mingwm10
in java.library.path
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: F
ailed to load 7z-JBinding: C:\Program Files\FileBot\7-Zip-JBinding.dll: Can't lo
ad AMD 64-bit .dll on a IA 32-bit platform
chromaprint-tools: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Runtime Environment 1.8.0_51
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 247 MB Max Memory / 12 MB Used Memory
OS: Windows 8.1 (x86)
Done ?(?????)?


G:\Films\Yet to be watched\#A>
I'd really appreciate the help. :)

As a side-note/suggestion, I think it would be a great idea to have the prompt allow one to manually write the movie id into the prompt window (e.g. such that when attempting to rename "9" correctly, I could just choose "manual movie ID entry" from the prompt's drop-down menu, click a text field and type in "12244-9" (which happens to the the themoviedb ID for "9").
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Feature - Auto DL Artwork when renaming

Post by rednoah »

1.
If your files are xattr tagged, then the first option in the dialog should always be the correct one. So you can use -non-strict to force non-interactive mode.

@see https://github.com/filebot/scripts/blob ... groovy#L41


2.
It'll show the file path in the window title. Windows should have a way of showing the complete window title even if it's too long. Just using folder/file name as window title might be better.

@see https://github.com/filebot/scripts/blob ... groovy#L42
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Feature - Auto DL Artwork when renaming

Post by rednoah »

3.
"9 (2009)" auto-detection issues fixed with r3207. You should never have to enter any ID since the "name (year)" identifier should be unique enough.
:idea: Please read the FAQ and How to Request Help.
FelixVita
Posts: 4
Joined: 26 Sep 2015, 22:11

Re: Feature - Auto DL Artwork when renaming

Post by FelixVita »

Thanks for the swift response! ;)


First and foremost,
(1) I am not familiar with xattr tags, and neither googling nor searching the forums got me very far. Could you please link to a pertinent thread or to some FileBot documentation explaining what xattr tags are and how to add them? (If possible, preferably how to do it from FileBot's GUI rather than the CLI, as navigating and using CLIs is not my strong suit).

EDIT: Just doing a bit of experimenting, I tried viewing the extended file attributes by using the fn:xattr command. The input went through and printed "done", but nothing else happened and no window popped up or anything. I'm not sure what I expected would happen. Here's the log:

Code: Select all

G:\Films\Yet to be watched\#A>filebot -script fn:xattr *
Java HotSpot(TM) Client VM warning: TieredCompilation is disabled in this releas
e.
Done ?(?????)?


G:\Films\Yet to be watched\#A>

Also please consider answering the following,

(2) When you say
So you can use -non-strict to force non-interactive mode.
do I understand you correctly that you're saying that I can essentially tell the fn:artwork script to always just pick the first one on the list instead of asking me about it, by including the argument

Code: Select all

-non-strict 
when I call the script

Code: Select all

-script fn:artwork.tmdb * 
in the CLI? Or have I completely misinterpreted what you said?

(3) Thanks for fixing the auto-detection issues for movie query "9 (2009)" in revision 3207. I tried downloading the newest version from http://sourceforge.net/projects/filebot/ but when i call fn:sysinfo, the latest revision still shows up as r3052. Is there a way to update FileBot to have the latest revisions or do I have to wait for a new version to come out?

EDIT: I figured out how to update manually to latest revision by replacing the .jar file. Disregard question #3 (greyed out).
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Feature - Auto DL Artwork when renaming

Post by rednoah »

1.
We're talking about FileBot-specific file attributes. So only FileBot will read or write this kinda of metadata (for lack of a standard). If you rename files with FileBot then xattr will be set after the file has been moved/copied if supported by the filesystem (i.e. NTFS).

@see https://en.wikipedia.org/wiki/Extended_file_attributes
@see viewtopic.php?f=3&t=324

If there's xattr the log would look something like this:

Code: Select all

$ filebot -script fn:xattr *
One Piece - S14E20 - The Flames Are Lit - The Gray Terminal's Crisis.mkv
	net.filebot.filename: One Piece 501.mkv
	net.filebot.metadata: {"@type":"net.filebot.web.Episode","seriesName":"One Piece","season":14,"episode":20,"title":"The Flames Are Lit - The Gray Terminal's Crisis","absolute":501,"special":null,"airdate":{"year":2011,"month":6,"day":5},"seriesInfo":{"database":"TheTVDB","order":"Airdate","language":"en","id":81797,"name":"One Piece","certification":"TV-PG","startDate":{"year":1999,"month":10,"day":20},"genres":["Action","Adventure","Animation","Comedy"],"network":"Fuji TV","rating":9.1,"ratingCount":313,"runtime":25,"status":"Continuing"}}
2.
Correct. Setting -non-strict will enable fully automatic processing.
:idea: Please read the FAQ and How to Request Help.
FelixVita
Posts: 4
Joined: 26 Sep 2015, 22:11

Re: Feature - Auto DL Artwork when renaming

Post by FelixVita »

I see. It's making a lot more sense now.

Importantly, I have a hypothesis as to why the xattr script does not return any data when I run it on a handful of movies in my movie folder. You see, I have all my movies in separate folders, and I suspect the fn:xattr script simply doesn't work on folders, only on files. Because it works fine when I tested it on a bunch of star trek episodes (.avi files)--I get a similar output to the one you've provided in the post above--but as soon as I try to call the script on a folder or a set of folders, the script does nothing, but simply returns "done".

Of course, this is not to say that the folders don't have any xattr metadata. For fun, I tried the fn:revert script, which if I've understood correctly relies on xattr data, and sure enough I got the old folder names back again. So, even though I can't figure out how to view the xattributes of my movie folders, I assume they've got to be there, or else there's no way the fn:revert script could've worked. Am I right?

In any case, I've been using your latest revision for most of today and it's been immensely helpful. Thank you so much. My Kodi setup is getting sexier by the second. :D
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Feature - Auto DL Artwork when renaming

Post by rednoah »

1.
xattr only works for files. "Folder Mode" renaming should only ever be used for DVD/BD folders. If you're using it for folders that contain the movie file then you're doing it wrong. See FAQ #1.

2.
The revert script uses the history data, which is stored in history.xml in the filebot appdata folder.
:idea: Please read the FAQ and How to Request Help.
FelixVita
Posts: 4
Joined: 26 Sep 2015, 22:11

Re: Feature - Auto DL Artwork when renaming

Post by FelixVita »

I must admit I'm confused now. Exactly what part am I doing wrong? I read and re-reread the FAQ, and I've watched this video you made: https://www.youtube.com/watch?v=WbHPC0o4Uqo , which shows a collection of folders with .avi files in them being renamed using the "link" functionality (CTRL+SHIFT+drop). Are you saying that that's not what my movie collection is supposed to look like when used with kodi? Because so far it's been working just fine as far as I can tell! I mean, if I'm supposed to drag the contents of all my movie folders into one big folder then it's sure gonna be one helluva big chaotic mess of .avi, .srt, .jpg, .png, and .nfo files, many of which have fairly nondescript names and thus now belong to god knows which movies. :?
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Feature - Auto DL Artwork when renaming

Post by rednoah »

:idea: You do know that FileBot can move files right?


1. Set a format for the structure you want.

Code: Select all

X:/Media/Movies/{n} ({y})/{n} ({y}){' CD'+pi}
(as you can see, the format defines a clear and simple one-folder-per-movie structure)

2. Drop files.

3. Rename! (which moves files into the exact structure you've specified)


(you may want to delete left behind folders manually, or use the cleaner script, or ignore them)


There are special cases where "Folder Mode" is useful, but the most ordinary "Organize stuff for Kodi" use-case is most certainly not one of them.
:idea: Please read the FAQ and How to Request Help.
Post Reply