2018-04-19, 22:23
I'm continuing my investigation on "scraping nfos" in tmm. If I build a nfo containing the following xml (i.e something I'm able to build using only the imdb id and no other metadata)
<movie>
<title>xxx</title>
<ids><entry><key>imdb</key><value xsi:type="xstring" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">tt0091556</value></entry></ids>
</movie>
then it works, but I can't make it simpler than that. In other words, the imdb id has to be in the ids - entry -key - value structure (with the right xsi:type) AND there has to be a <title> tag (I tried without, it doesn't work). If I update the data source using this xml, it fills the imdb id, then "scrape metadata" works fine.
So, for my problem, I only have to write this xml instead of the simple text file with the imdb link, and it should work... i'll keep you posted.
<movie>
<title>xxx</title>
<ids><entry><key>imdb</key><value xsi:type="xstring" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">tt0091556</value></entry></ids>
</movie>
then it works, but I can't make it simpler than that. In other words, the imdb id has to be in the ids - entry -key - value structure (with the right xsi:type) AND there has to be a <title> tag (I tried without, it doesn't work). If I update the data source using this xml, it fills the imdb id, then "scrape metadata" works fine.
So, for my problem, I only have to write this xml instead of the simple text file with the imdb link, and it should work... i'll keep you posted.