2022-03-06, 02:39
Hi,
After an update I'm afraid I lost my earlier edit to tmdb.xml somehow.
I just wanted to try to redo the edit, but it seems the file has slightly changed and I'm failing to get it working...
This is what I tried:
The xml file in 2014 had
So I tried all kinds of combinations of input / output / dest in my added code
But nothing seems to work. I think my added code is never used (not sure how to check this either, except that I notice that it doesn't work)
After an update I'm afraid I lost my earlier edit to tmdb.xml somehow.
I just wanted to try to redo the edit, but it seems the file has slightly changed and I'm failing to get it working...
This is what I tried:
xml:<CreateSearchUrl dest="3">
<RegExp input="$$7" output="\1" dest="7">
<expression noclean="1">%5b[0-9]+%5d%20(.*)</expression>
</RegExp>
<RegExp input="$$7" output="<url>https://api.themoviedb.org/3/search/movie?api_key=f090bb54758cabf231fb605d3e0468&query=\1&year=$$4&language=$INFO[language]</url>" dest="3">
<RegExp input="$$2" output="\1" dest="4">
<expression clear="yes">(.+)</expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="7">
<expression clear="yes">(.+)</expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="6">
<expression noclean="1">(.+)(?:%20the$|%20an$|%20a$|%2Cthe$|%2Can$|%2Ca$)</expression>
</RegExp>
<RegExp input="$$6" output="\1" dest="7">
<expression>(.+)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</CreateSearchUrl>
The xml file in 2014 had
While the new xml file hasxml:<RegExp input="$$1" output="<url>http://api.tmdb.org/3/search/movie?api_key=57983e31fb435df477afb854740ea9&query=\1&year=$$4&language=$INFO[language]</url>" dest="3">
Notice that it now says input="$$7" in the new xml file instead of input="$$1" in the old xml filexml:<RegExp input="$$7" output="<url>https://api.themoviedb.org/3/search/movie?api_key=f090bb54758cabf23b605d3e3e0468&query=\1&year=$$4&language=$INFO[language]</url>" dest="3">
So I tried all kinds of combinations of input / output / dest in my added code
xml:<RegExp input="$$1" output="\1" dest="1">
<RegExp input="$$7" output="\7" dest="7">
<RegExp input="$$7" output="\1" dest="7">
<RegExp input="$$1" output="\1" dest="7">
But nothing seems to work. I think my added code is never used (not sure how to check this either, except that I notice that it doesn't work)