2010-06-05, 23:15
Eisbahn Wrote:@vdrfan:
Hmmm, sorry. Do we have a spec showing which tags are mandantory/optional? If not: how can I figure out which tags are supported? The IMDB com scraper fetches no infos about sound, subtitle, video-format (if I looked right), in several screenshots I could see infos about these things... So the answer: please do reverse engineering because everybody can implement tags however he/she likes is a bit contra productive and shows kind of quick-and-dirty-hacking without any concept? Is this the XBMC style?
What about:
Code:<details>
<title></title>
<year></year>
<director></director>
<top250></top250>
<mpaa></mpaa>
<tagline></tagline>
<runtime></runtime>
<thumb></thumb>
<credits></credits>
<rating></rating>
<votes></votes>
<genre></genre>
<actor>
<name></name>
<role></role>
</actor>
<outline></outline>
<plot></plot>
</details>
@donabi: to cut some infos away is not a real problem and done in few seconds. But gathering all possible things is a bit more complicated. So first I would have a scraper which gets all infos.
If you have a decription of the alowed tags, please provide it. Is the order/sequence relevant, what tags are supported, what format is expected and so on. If the german board has active members, why not. But to be honest: think after the scraper my active work is over :=(
@all: Where can I get infos which tags are supported by XBMC? If the skins shows the infos doesn't matter at all, think a "good scrapper" should gather as much as possible. For the result of a scraper: is the order/sequence relevant, what tags are supported, what format is expected and so on. Today all I've done is reverse engineering, but I think thats not the right way...
Eisbahn
All tags are optional , but i would say its best that the TITLE is at least supplied
Code:
<details>
<title>single instance/Required</title>
<id>single instance/optional</id>
<studio>single instance/optional</studio>
<year>single instance/optional</year>
<director>multiple instance/optional</director>
<top250>single instance/optional</top250>
<mpaa>single instance/optional</mpaa>
<tagline>single instance/optional</tagline>
<runtime>single instance/optional</runtime>
<thumb>multiple instance/optional</thumb>
<credits></credits>
<rating>single instance/optional</rating>
<votes>single instance/optional</votes>
<genre>multiple instance/optional</genre>
<actor>
<name></name>
<thumb></thumb>
<role></role>
</actor>
<outline>single instance/optional</outline>
<plot>single instance/optional</plot>
<premiered>single instance/optional</premiered>
<set>multiple instance/optional</set>
<trailer>multiple instance/optional</trailer>
<streamdetails>
<audio/>
<codec></codec>
<channels></channels>
</audio>
<video>
<codec></codec>
<height></height>
<width></width>
</video>
<subtitle>
<language></language>
</subtitle>
</streamdetails>
</details>
of course it goes without saying that actor, audio (inside stream info), video(inside stream info) and subtitle(inside stream info) are multiple instance and optional