Thanks for the fast answer
If the condition depends of various settings what I have to do?
Here's the settings.xml:
Quote:<settings>
<setting label="30012" type="lsep" />
<setting label="30002" type="bool" id="OnlyFilmAffinity" default="false" />
<setting label="30011" type="bool" id="EnableFilmAffinityPosters" default="true" />
<setting label="30013" type="lsep" />
<setting label="30001" type="labelenum" values="Ninguno|HD-Trailers(480p)|HD-Trailers(720p)|HD-Trailers(1080p)|Filmaffinity" id="TrailerQ" default="Filmaffinity"/>
<setting label="30014" type="lsep" />
<setting label="30003" type="bool" id="EnableFanArt" default="true" />
<setting label="30004" type="bool" id="EnableIMPAwards" default="true" />
<setting label="30005" type="bool" id="EnableMoviePosterDB" default="true" />
<setting label="30007" type="bool" id="EnableTMDBPoster" default="true" />
<setting label="30015" type="lsep" />
<setting label="30006" type="bool" id="EnableIMDBPosters" default="true" />
<setting label="30009" type="bool" id="ExtraiMDB" default="true" />
<setting label="30000" type="bool" id="EnableFullCast" default="true" />
<setting label="30010" type="bool" id="iMDBRatings" default="true" />
<setting label="30008" type="bool" id="StudioFlagsON" default="true" />
</settings>
I want to disable all EnableFanart, IMPAwards, MoviePoster, TMDB and IMDB posters if the setting onlyfilmaffinity is true and disable onlyfilmaffinity if anyone of the others are true (I hope you understand, because I explain really poor and worse in English
)
Programing Explanation:
If (EnableFanArt OR EnableIMPAwards OR EnableMoviePosterDB OR EnableTMDBPoster OR EnableIMDBPosters OR EnableFilmAffinityPosters) == True
then OnlyFilmAffinity = False
Else if OnlyFilmAffinity == True
then EnableFanArt AND EnableIMPAwards AND EnableMoviePosterDB AND EnableTMDBPoster AND EnableIMDBPosters AND EnableFilmAffinityPosters= False
Thanks for advance
PS: There is any way to force configuration after installing or updating the addon with new settings? I say this because in this new version I'm working I added a trailer's choice and I want to force configure the scraper after installing it, is this possible?