how to get filebot to download ALL available movie posters?
how to get filebot to download ALL available movie posters?
script =
.\filebot.exe -script fn:artwork.tmdb <path to movies>
The problem is, the script is only downloading the 'first' movie poster available instead of ALL of the available movie posters.
How do I get filebot to download more than just the first available movie poster?
.\filebot.exe -script fn:artwork.tmdb <path to movies>
The problem is, the script is only downloading the 'first' movie poster available instead of ALL of the available movie posters.
How do I get filebot to download more than just the first available movie poster?
Re: how to get filebot to download ALL available movie posters?
do you mean all posters from same movie ?
you cant... but you can make your own script to do this
you cant... but you can make your own script to do this
Re: how to get filebot to download ALL available movie posters?
correct, all available posters for the same movie.
Re: how to get filebot to download ALL available movie posters?
This feature (i.e. fetch all backdrops) was removed rather recently actually, because nobody was using it. I'd concur with kim that this use case would be best served with a dedicated script.
Re: how to get filebot to download ALL available movie posters?
then how do I modify the existing script to add the code back in that gets the feature back?
I don't have enough knowledge about filebot scripts to make something dedicated.
I don't have enough knowledge about filebot scripts to make something dedicated.
Re: how to get filebot to download ALL available movie posters?
Writing new scripts would be significantly easier than modifying existing scripts. Then again, some Groovy programming skills will be required either way.
Re: how to get filebot to download ALL available movie posters?
How do you know this, is filebot tracking what we do ?rednoah wrote: ↑16 Nov 2020, 03:26 This feature (i.e. fetch all backdrops) was removed rather recently actually, because nobody was using it.
(try searching forum "extras=y")
also I do not see the harm in leaving this option in ?
btw: I know people do use "generate url files" but maybe it's better to make a separate script for this ?
This may be a easy fix but you are adding +1 api call by not using the cache, yes ?
Code: Select all
fetchMovieArtwork(movieDir.resolve('poster.jpg'), movieInfo, 'posters', override, locale)
fetchMovieArtwork(movieDir.resolve('fanart.jpg'), movieInfo, 'backdrops', override, Locale.ROOT)
The better way to solve both "all" poster and fanart (the kodi way) is to add the info in the movie.nfo then you can see all in kodi and choose the one you like
e.g.
Code: Select all
<thumb aspect="poster" preview="http://image.tmdb.org/t/p/w500/9rtrRGeRnL0JKtu9IMBWsmlmmZz.jpg">http://image.tmdb.org/t/p/original/9rtrRGeRnL0JKtu9IMBWsmlmmZz.jpg</thumb>
<thumb aspect="poster" preview="http://image.tmdb.org/t/p/w500/eRoXqOzciHkSPs1Z8pGnJMZo0Zb.jpg">http://image.tmdb.org/t/p/original/eRoXqOzciHkSPs1Z8pGnJMZo0Zb.jpg</thumb>
Code: Select all
<fanart>
<thumb preview="https://assets.fanart.tv/preview/movies/141052/moviebackground/justice-league-5793f518c6d6e.jpg">https://assets.fanart.tv/fanart/movies/141052/moviebackground/justice-league-5793f518c6d6e.jpg</thumb>
<thumb preview="https://assets.fanart.tv/preview/movies/141052/moviebackground/justice-league-5a119394ea362.jpg">https://assets.fanart.tv/fanart/movies/141052/moviebackground/justice-league-5a119394ea362.jpg</thumb>
</fanart>
Re: how to get filebot to download ALL available movie posters?
No, but based on the feedback here in the forums (i.e. command-line and console log) it doesn't seem particularly popular. Of course, it was added because at least 1-2 people asked for it.
That aspect of --def extras=y is covered by --apply url noways. There's definitely a good number of users that want url files with ids. I suspect only a small number of those users also want all the backdrops. Making a separate script for all artwork makes sense, especially one that includes all posters and not just all backdrops so the OP is covered as well.
Depending on the database, maybe. However, TheMovieDB has both posters and backdrops information in a single json response, so that is cached in the first call, and then readily available in the second.kim wrote: ↑16 Nov 2020, 21:46 This may be a easy fix but you are adding +1 api call by not using the cache, yes ?Code: Select all
fetchMovieArtwork(movieDir.resolve('poster.jpg'), movieInfo, 'posters', override, locale) fetchMovieArtwork(movieDir.resolve('fanart.jpg'), movieInfo, 'backdrops', override, Locale.ROOT)
Interesting. Do Plex and Emby have comparable features?
Re: how to get filebot to download ALL available movie posters?
"Plex and Emby"
Plex can import Kodi nfo's
so I think so BUT not sure
Plex can import Kodi nfo's
Luke (System Architect)
Posted March 6, 2019
Correct we actually follow Kodi conventions on nfo file.
https://support.emby.media/support/solu ... ta-managerTo change the image used, simply click on the cloud underneath each image and the server will search all of the databases for new images.
so I think so BUT not sure
Re: how to get filebot to download ALL available movie posters?
I guess I'll write a separate script for these kind of use cases. It's on my backlog. I'll see what I can do about it. Might take a week or two though. Extending the NFO makes less sense to me, because the links might get outdated, and any HTPC could get those fresh from the database based on the ID anyway. Having all artwork locally cached for quick-selection does make sense though.
-
- Posts: 7
- Joined: 15 Feb 2020, 04:45
Re: how to get filebot to download ALL available movie posters?
Sorry for the months late question on this topic but has this been completed - the ability to download all artwork? If so, where can I find it? Thanks!
Re: how to get filebot to download ALL available movie posters?
Experimental artwork script (for testing and debugging) might can serve as a starting point:
https://github.com/filebot/scripts/blob ... ork.groovy
A quick glance at the code, as far as I can tell, the script above merely lists available artwork, but doesn't actually download anything. But that could probably be added quite easily if if you're familiar with scripting.
https://github.com/filebot/scripts/blob ... ork.groovy

Re: how to get filebot to download ALL available movie posters?
looks like it requires the files to be processed by filebot aka contain XATTR metadata or no worky
for the download part you can use code from
https://github.com/filebot/scripts/blob ... tpc.groovy
remember is matters what names the files have and maybe need to be in a sub folder
Code: Select all
def m = f.metadata
for the download part you can use code from
https://github.com/filebot/scripts/blob ... tpc.groovy
remember is matters what names the files have and maybe need to be in a sub folder