Skip to content

External XML information (dev)

ZeroQI edited this page Jan 31, 2017 · 4 revisions

The XMLs are downloaded (cached for 2 weeks) and a copy is saved In Data folder and used in case of internet issue. If empty it will load XMLs from the Resources folder, and i could not link the ScudLee's files in GITHUB anywhere else...

anime-titles.xml - AniDB HTTP API, contain all anime titles, downloaded from

anime-list-master.xml - ScudLee's AniDB to TVDB xml mapping file, give studio and episode mapping list for the episode overview

anime-movieset-list.xml - ScudLee's movie collection (Because XBMC only support movie collection and the files were develloped for AniDB mod XBMC plugin)

ScudLee anime-list-full.xml

Tags attributes Description
anime-list
anime anidbid AniDB serie unique id
              | tvdbid            |  TheTVDB.com serie unique id
              | defaulttvdbseason |  which TVDB season the anidb eps maps to by default, overwritten by mapping list 
              | imdbid            | [optional] IMDB serie unique ID
              | tmdbid            | [optional] The Movie Database serie unique ID

name | [text] | Main Anime title
supplemental-info | | [optional] contain only studio tag so far studio | [text] | Animation studio, when absent from AniDB mapping-list | | Contain mapping list when AniDB and TheTVDB.com episode numbers differs mapping | anidbseason | AniDB season | tvdbseason | TheTVDB.com season | [text] | Episode mapping anidb_ep-tvdb_ep separated by ';', also present at the beginning & end of the string # -------------------------------- ----------------- --------------------------------------------------------------------------------------------------------

AniDB Serie XML related anime tag

<relatedanime>
  <relatedanime>
    <anime id="4"    type="Sequel" >Seikai no Senki               </anime>
    <anime id="6"    type="Prequel">Seikai no Danshou             </anime>
    <anime id="1623" type="Summary">Seikai no Monshou Tokubetsuhen</anime>
    #</relatedanime>

AniDB xml ressources definition

AniDB_Resources    = {
  "1":["http://www.animenewsnetwork.com/encyclopedia/anime.php?id=%s", "ANN"               ], # Anime News Network
  "2":["http://myanimelist.net/anime/%s"                             , "MAL"               ], # My Anime List
  "3":["http://www.animenfo.com/animetitle,%s,%s,a.html"             , "AnimeNfo"          ], # Anime NFO ID tuple
  "4":["%s"                                                          , "Official page (jp)"], # fficial japanese webpage. URL may contain additional URLs (official PV, etc)
  "5":["%s"                                                          , "Official page (en)"], # Official page (en)
  "6":["http://en.wikipedia.org/wiki/%s"                             , "Wiki (en)"         ], # Wiki (en)
  "7":["http://ja.wikipedia.org/wiki/%s"                             , "Wiki (jp)"         ], # Wiki (jp)
  "8":["http://cal.syoboi.jp/tid/%s/time"                            , "Schedule"          ], # Airing Schedule
  "9":["http://www.allcinema.net/prog/show_c.php?num_c=%s"           , "Allcinema"         ], # All cinema
  "10":["http://anison.info/data/program/%s.html"                     , "Anison"            ], # Anison
  "11":["http://lain.gr.jp/%s"                                        , ".lain"             ], # Lain
  "14":["http://vndb.org/v%s"                                         , "VNDB"              ], # VNDB
  "15":["http://www.anime.marumegane.com/%s.html"                     , "Marumegane"        ], # Anime Marumegane
  "17":["http://home-aki.cool.ne.jp/anime-list/%s.htm"                , "Wiki (ko)"         ], # would be the TV Animation Museum identifier, but the website is no more.
  "19":["http://ko.wikipedia.org/wiki/%s"                             , "Wiki (ko)"         ], # Wiki ko (ko)
  "20":["http://zh.wikipedia.org/wiki/%s"                             , "Wiki (zh)"         ]  # Wiki cn (zh)
} # Analysed the AniDB serie page output and compared to the XML file to extract above values

exemple:

<?xml version="1.0" encoding="UTF-8"?>
<anime id="6022" restricted="false">
    [...]
    <resources>
        <resource type="1">
            <externalentity>
                <identifier>2201</identifier>
            </externalentity>
        </resource>
        <resource type="2">
            <externalentity>
                <identifier>17623</identifier>
            </externalentity>
        </resource>
ScudLee anime-movieset-list Tags Attributes Description
anime-set-list
set
anime                        | anidbid    | AniDB unique anime id
                             | [text]     | Main title
titles                       |            |
  title                      | type       | main, official, syn, short
                             | xml:lang   | AniDB language
                             | [text]     |
Tags Used by Values Description
Banners
Banner
id ALL TVDB serie ID
BannerPath ALL path Can be appended to /banners/ to determine the actual artwork location
BannerType ALL fanart ...
        |        | poster        | ...  
        |        | series        | ...  
        |        | season        | ...     

BannerType2 | fanart | 1280x720 | ... | | 1920x1080 | ... | poster | 680x1000 | ... | series | blank | will leave the title and show logo off the banner | | text | will show the series name as plain text in an Arial font | | graphical | will show the series name in the show's official font or display actual logo | season | season | will be the same dimensions as standard DVD cover format | | seasonwide | will be the same dimensions as the series banners Colors | fanart | Null/rx/gx/bx | These are colors the artist picked that go well with the image.
In order they are Light Accent Color, Dark Accent Color and Neutral Midtone Color.
It's meant to be used if you want to write something over the image, it gives you a good idea of what colors may work and show up well. Language | ALL | en, ... | Some banners list the series name in a foreign language. The language abbreviation will be listed here. Season | ? | season | If the banner is for a specific season, that season number will be listed here. Rating | ALL | | Returns either null or a decimal with four decimal places. The rating the banner currently has on the site. RatingCount | ALL | unsigned int | Number of people who have rated the image. SeriesName | fanart | Bolean | Indicates if the seriesname is included in the image or not. ThumbnailPath| fanart | path | Path to the thumbnail pic, diplayed if fanart only VignettePath | fanart | path | Used exactly the same way as BannerPath, only shows if BannerType is fanart.