Plugin.video.themoviedb.helper: Disable fanart.tv per widget

Created on 16 Dec 2019  路  9Comments  路  Source: jurialmunkey/plugin.video.themoviedb.helper

Would it be possible to have an option where I can disable fanart.tv on a per widget basis? similar to how you can remove &widgets=True on an individual widgets for the default action?

Use case would be having widgets within VideoInfo (similar to your AZ2 tmdb widgets) without fanart.tv so as to speed up load times, but still having fanart.tv as default for home / all other widgets where Clearlogo etc would be useful.

All 9 comments

Yeah this is a good idea. I was having a similar thought the other day - just thinking about the best way to implement it

Okay, in latest update now only additional artwork is pulled from fanart.tv when inside the add-on itself. There is an additional option in settings to enable artwork for widgets (i.e. this setting will enable fanarttv for plugin paths that have &widget=True).

If you need to use additional artwork elsewhere, you can force it by adding &fanarttv=True - however, the user will still need enable fanart.tv in settings (i.e. you can't override user setting to disable fanart.tv).

So by adding &fanarttv=True to a widget item without &widget=True, we could have a widget that gets extra artwork, but also follows the default action?

Yep, anything you add &fanarttv=True to will get extra artwork (as long as it isn't disabled in addon settings)

@jurialmunkey I'm not seeing this behavior. With a widget with only &widget=True, it looks like I'm getting extended artwork, but when removing that tag and replacing it with &fanart=True, I don't.

&fanart=True

It needs to be &fanarttv=True
You're missing the "tv" part of "fanarttv"

@jurialmunkey Haha, wow... let me try again 馃槄

Ok, this is working! Nothing to see here 馃槅

Thanks for changes, can confirm working perfectly for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

drinfernoo picture drinfernoo  路  9Comments

onlytanmoy picture onlytanmoy  路  7Comments

djnield picture djnield  路  4Comments

umonkey13 picture umonkey13  路  3Comments

Wayoff1 picture Wayoff1  路  6Comments