Mylist export SDK changelog: Difference between revisions

m
no edit summary
mNo edit summary
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Changelog for Mylist export SDK ==
== Changelog for MyList export SDK ==
 
  0.13.4 - 26.01.2009
    - data files updated
 
  0.13.3 - 10.10.2008 (linked with AniDB release 0.1.53)
    - data files updated
    - files that have episode relations now show up in the related episode listing
    - file->ep relations for a given episode are now handled in loop_ep and are called loop_data_ep_fileeprel
 
  0.13.2 - 28.07.2008
    - data files updated
    - updated jsencodexml
    - additions in loop_anime_genren:
        data_anime_genren_weight : Weight of the category
        data_anime_genren_weight_name : Textual notation of the category weight
 
  0.13.1 - 18.02.2008
    - data files updated (global_genren_loop is not on the dump)
    - added a new function: jsencodexml (check export_funcs.pm)
    - Removed the picurl for awards as they aren't present on the AniDB and are styled with css instead.
 
  0.13 - 09.09.2007
    - data files updated (global_genren_loop is not on the dump)
    - fixes
    ANIME:
        loop_anime_groups:
            data_anime_group_state - Now correctly outputs state
    - new fields
    GLOBAL:
        global_genren_loop: - New global loop for the cat system
            global_genren_id - cat id
            global_genren_name - cat name
            global_genren_parentid - cat parent id
            global_genren_ishentai - is cat 18+ restricted
        NOTES: you should try to limit the usage of this loop to mylist.tpl
    ANIME:
        loop_anime_groups:
            data_anime_group_eprange - episode range for a given group (as in AniDB)
            data_anime_group_alangs_loop: - loops group audio languags
                data_anime_group_alang_id - audio language id (i.e.: 1)
                data_anime_group_alang_name - audio language name (chinese,english, etc)
                data_anime_group_alang_sname - audio language short name (ja, ne, etc)
            data_anime_group_slangs_loop: - loops group sub languags
                data_anime_group_slang_id - sub language id (i.e.: 1)
                data_anime_group_slang_name - sub language name (chinese,english, etc)
                data_anime_group_slang_sname - sub language short name (ja, ne, etc)
        loop_anime_company:
            data_anime_company_type_name - company type string (company, organization, individual, etc)
            data_anime_company_atype_name - company relation to given anime string (production, music, etc)
    FILE:
        data_file_tth - tth hash (now actually added the hash, had forgot before)
        data_file_typename - file type string (video,audio,etc)
        data_file_ar_name - The AR string (4:3, 16:9, etc)
        data_file_chantype_name - channel string (Mono, Stereo, etc) (stream #1)
        data_file_chantype_name2 - channel string (Mono, Stereo, etc) (stream #2)
        data_file_atype - audio type id (stream #1)
        data_file_atype2 - audio type id (stream #2)
        data_file_atype_name - audio type string (stream #1)
        data_file_atype_name2 - audio type string (stream #2)
        data_file_stypename - subtitle type string (stream #1)
        data_file_stypename2 - subtitle type string (stream #2)
 
  0.12 - 04.07.2007
    - data files updated
    - new fields
    GLOBAL:
        global_user_id - AniDB user ID
    ANIME:
        status_anime_isrestricted - Anime has +18 restricted audience (0/1)
        data_anime_name_langname - Language name (ie: Japanese)
        data_anime_name_langsname - Language shortname (ie: ja)
        data_anime_eps_special - Total number of special episodes
        data_anime_eps_total - Total number of episodes
        loop_anime_groups: [new loop]
            data_anime_group_id - Group ID
            data_anime_group_agid - Group AGID
            data_anime_group_name - Group name
            data_anime_group_sname - Group shortname
            data_anime_group_state - Group state (complete, dropped, etc)
            data_anime_group_lastep - Last episode released
            data_anime_group_lastup - Last update date (dd.mm.yyyy hh:mm)
            data_anime_group_votes - Number of votes
            data_anime_group_rating - Rating
            data_anime_group_cmts - Number of comments
            data_anime_group_epcnt - Normal episode count
            data_anime_group_sepcnt - Specials count (S + O + C + T + P eps)
            data_anime_group_myvote - My vote or '-' if none
            data_anime_group_myvote_date - My vote date (dd.mm.yyyy hh:mm)
        loop_anime_titles: [new loop]
            data_anime_title_name - Title
            data_anime_title_langid - Language ID
            data_anime_title_type_id - Type ID (1 = main, 2 = syn, 3 = short, 4 = official)
            data_anime_title_type_string - Type name (main, syn, short, official)
            data_anime_title_langname - Language name (ie: Japanese)
            data_anime_title_langsname - Language shortname (ie: ja)
        loop_anime_title_alias: [existing loop]
            data_anime_title_alias_langname - Language name (ie: Japanese)
            data_anime_title_alias_langsname - Language shortname (ie: ja)
        loop_anime_title_short: [existing loop]
            data_anime_title_short_langname - Language name (ie: Japanese)
            data_anime_title_short_langsname - Language shortname (ie: ja)
        loop_anime_title_official: [existing loop]
            data_anime_title_official_langname - Language name (ie: Japanese)
            data_anime_title_official_langsname - Language shortname (ie: ja)
    EP:
        data_ep_myvote - My vote for a given episode
        data_ep_myvote_date - My vote date for a given episode
    FILE:
        data_file_tth - TTH hash
        loop_data_file_filerel: [new loop]
            data_file_filerel_fid - one end of the relation
            data_file_filerel_otherfid - the other end of the relation
            data_file_filerel_type - type of the relation (subtitle file, etc)
        loop_data_file_fileeprel: [new loop]
            data_file_fileeprel_fid - the fid that spans eps
            data_file_fileeprel_eid - the episode
            data_file_fileeprel_startp - start percentage
            data_file_fileeprel_endp - end percentage
        data_file_lang_sname - Language shortname (ie: ja)
        data_file_lang_sname2 - Language shortname (ie: ja)
        data_file_sub_sname - Language shortname (ie: ja)
        data_file_sub_sname2 - Language shortname (ie: ja)
    - fixed fields
        data_anime_mystate_string - wasn't outputting correctly for mixed state
    - better support for wishlisted anime with no files, anime information only will be exported
 
  0.11b - 27.06.2007
    - data files updated


   0.11 - 26.06.2007
   0.11 - 26.06.2007
Line 11: Line 139:
         data_anime_my_tmpvote_date_short
         data_anime_my_tmpvote_date_short
     FILE:
     FILE:
         file_data_ldate
         data_file_ldate
         file_data_ldate_short
         data_file_ldate_short


   0.10b - 10.05.2006
   0.10b - 10.05.2006
Line 98: Line 226:
     - added flag to show if a file is a generic file (btw. that means size==0)
     - added flag to show if a file is a generic file (btw. that means size==0)
         status_file_isgeneric
         status_file_isgeneric
     - added new mylist filestate info
     - added new MyList filestate info
         data_file_myfilestate (0=normal, 1=invalid crc, 2=self edited,
         data_file_myfilestate (0=normal, 1=invalid crc, 2=self edited,
           10=self ripped, 11=on dvd, 12=on vhs, 13=on tv, 14=theater,
           10=self ripped, 11=on dvd, 12=on vhs, 13=on tv, 14=theater,
Line 108: Line 236:
         status_file_myfilestate_ontv, status_file_myfilestate_theater,
         status_file_myfilestate_ontv, status_file_myfilestate_theater,
         status_file_myfilestate_other
         status_file_myfilestate_other
     - added air and end date for animes
     - added air and end date for anime
         data_anime_startdate, data_anime_startdate_short
         data_anime_startdate, data_anime_startdate_short
         data_anime_enddate, data_anime_enddate_short
         data_anime_enddate, data_anime_enddate_short
Line 114: Line 242:
         data_ep_name_romaji, status_ep_hasname_romaji
         data_ep_name_romaji, status_ep_hasname_romaji
         data_ep_name_kanji, status_ep_hasname_kanji
         data_ep_name_kanji, status_ep_hasname_kanji
     - added wishlist info to animes
     - added wishlist info to anime
         status_anime_isinwishlist
         status_anime_isinwishlist
         data_anime_wishlist_type (0="unknown / unfiled", 1="to watch", 2="to get", 3="blacklist"),
         data_anime_wishlist_type (0="unknown / unfiled", 1="to watch", 2="to get", 3="blacklist"),
Line 121: Line 249:
         data_anime_wishlist_priority_name,
         data_anime_wishlist_priority_name,
         data_anime_wishlist_comment
         data_anime_wishlist_comment
     - added vote/tmpvote info for animes
     - added vote/tmpvote info for anime
         status_anime_my_isvoted, data_anime_my_vote
         status_anime_my_isvoted, data_anime_my_vote
         status_anime_my_istmpvoted, data_anime_my_tmpvote
         status_anime_my_istmpvoted, data_anime_my_tmpvote
     - added id.txt with a list of anidb ids
     - added id.txt with a list of AniDB ids
     - new versions of some themes included
     - new versions of some themes included
     - updated data dump
     - updated data dump
Line 162: Line 290:
   0.06 - 06.09.2003
   0.06 - 06.09.2003
     - added animeplanet info:
     - added animeplanet info:
         data_anime_animeplanetid (not really usefull yet, 1 for all animes, this will change someday though)
         data_anime_animeplanetid (not really useful yet, 1 for all anime, this will change someday though)
         data_anime_animeplaneturl
         data_anime_animeplaneturl
         status_anime_animeplanet_listed
         status_anime_animeplanet_listed
Line 173: Line 301:
       however subdirectories are not copied and you should also not use this to include images.
       however subdirectories are not copied and you should also not use this to include images.
       simply create a zip file contraining all images in the theme directory and i will upload it
       simply create a zip file contraining all images in the theme directory and i will upload it
       to the anidb http server and link to it. (faq updated)
       to the AniDB http server and link to it. (faq updated)
     - jsencode now also strips newlines
     - jsencode now also strips newlines
     - new parsing function jsencodehtml which replaces:
     - new parsing function jsencodehtml which replaces:
Line 182: Line 310:
         data_anime_my_*_total      - total number, same as old data_anime_my_*
         data_anime_my_*_total      - total number, same as old data_anime_my_*
     - data_anime_my_unwatchedeps, data_anime_my_unwatchedeps_special, data_anime_my_unwatchedeps_total where undocumented so far
     - data_anime_my_unwatchedeps, data_anime_my_unwatchedeps_special, data_anime_my_unwatchedeps_total where undocumented so far
     - status_anime_iscomplete and status_anime_iswatched haven been updated to match the current mylist style of only
     - status_anime_iscomplete and status_anime_iswatched haven been updated to match the current MyList style of only
       taking normal eps into account.
       taking normal eps into account.
     - status_ep_mystate_* and status_anime_mystate_* added to reflect the latest mylist changes on anidb
     - status_ep_mystate_* and status_anime_mystate_* added to reflect the latest MyList changes on AniDB
       this allows you now to include state icons on episode and anime level as anidb does it.
       this allows you now to include state icons on episode and anime level as AniDB does it.
     - plaintext dump of the small data file is now included, take a look at datadump.txt if you need info on
     - plaintext dump of the small data file is now included, take a look at datadump.txt if you need info on
       undocumented vars or just want to know what data format to expect. if you encounter a problem or unexpected data in
       undocumented vars or just want to know what data format to expect. if you encounter a problem or unexpected data in
Line 213: Line 341:
       data_anime_animenfoid is the old animenfo id, data_anime_animenfoid2 is the additional new one,
       data_anime_animenfoid is the old animenfo id, data_anime_animenfoid2 is the additional new one,
       data_anime_animenfourl is a complete url (without <a href="">, just a plain url) to the animenfo page of this anime
       data_anime_animenfourl is a complete url (without <a href="">, just a plain url) to the animenfo page of this anime
       data_anime_animenfourl_name is the link name as displayed on anidb (i.e. "ID: 64" or "ID: 1235,rvvvjg")
       data_anime_animenfourl_name is the link name as displayed on AniDB (i.e. "ID: 64" or "ID: 1235,rvvvjg")
     - data_file_size_plain contains plain size without dots, this is needed if you want to construct your own ed2k links
     - data_file_size_plain contains plain size without dots, this is needed if you want to construct your own ed2k links
     - data_file_acodec_id, data_file_acodec_name, data_file_vcodec_id and data_file_vcodec_name were undocumented
     - data_file_acodec_id, data_file_acodec_name, data_file_vcodec_id and data_file_vcodec_name were undocumented
Line 219: Line 347:
   0.03 - 10.08.2003
   0.03 - 10.08.2003
     - fixed typo, the module needed is called Storable
     - fixed typo, the module needed is called Storable
     - added additional big data file which can be used to check templates on big mylists
     - added additional big data file which can be used to check templates on big MyLists
       to use it rename tpl-alist.dat to i.e. tpl-alist.dat.small and rename tpl-alist.dat.big
       to use it rename tpl-alist.dat to i.e. tpl-alist.dat.small and rename tpl-alist.dat.big
       to tpl-alist.dat.
       to tpl-alist.dat.
Line 231: Line 359:
       * status_anime_genre_<genre> is set to 0 or 1 according to added genres
       * status_anime_genre_<genre> is set to 0 or 1 according to added genres
       i.e. status_anime_genre_action = 1, if the anime has genre action added
       i.e. status_anime_genre_action = 1, if the anime has genre action added
       note: genres are all lowercase and spaces are replaced with _
       note: genres are all lower case and spaces are replaced with _
     * status_anime_iscomplete and status_anime_iswatched slightly changed to
     * status_anime_iscomplete and status_anime_iswatched slightly changed to
       match the new way of doing things @ mylist @ anidb. (animes with epcount = 0
       match the new way of doing things @ MyList @ AniDB. (anime with epcount = 0
       are no longer considered complete or completly watched)
       are no longer considered complete or completly watched)
     Ep:
     Ep:
     * epno does now correctly handle specials (epno 1001 => S1)
     * epno does now correctly handle specials (epno 1001 => S1)
     * data_ep_state carries anidb internal state number
     * data_ep_state carries AniDB internal state number
       + EP_SPECIAL=1, EP_RECAP=2, EP_OP=4, EP_END=8, EP_HANGER=16
       + EP_SPECIAL=1, EP_RECAP=2, EP_OP=4, EP_END=8, EP_HANGER=16
         (hanger = cliffhanger)
         (hanger = cliffhanger)
Line 246: Line 374:
     File:
     File:
     * data_file_released is now "-" if no release date was added
     * data_file_released is now "-" if no release date was added
     * data_file_state carries anidb internal state number
     * data_file_state carries AniDB internal state number
       + FILE_CRCOK=1, FILE_CRCERR=2, FILE_ISV2=4, FILE_ISV3=8,
       + FILE_CRCOK=1, FILE_CRCERR=2, FILE_ISV2=4, FILE_ISV3=8,
         FILE_ISV4=16, FILE_ISV5=32
         FILE_ISV4=16, FILE_ISV5=32
Line 255: Line 383:
         are set according to data_file_state so you might want to use these
         are set according to data_file_state so you might want to use these
         instead of data_file_state
         instead of data_file_state
     * data_file_mystate carries anidb internal mylist file state number
     * data_file_mystate carries AniDB internal MyList file state number
       + unknown=0, on hdd=1, on cd=2, deleted=3, shared=4, release=5
       + unknown=0, on hdd=1, on cd=2, deleted=3, shared=4, release=5
     * data_file_mystate_string gives the string representation
     * data_file_mystate_string gives the string representation
     * data_file_mystate_icon gives the icon known from anidb (direct inet link to image,
     * data_file_mystate_icon gives the icon known from AniDB (direct inet link to image,
       img tag already included)
       img tag already included)
     * status_file_mystate_unknown, status_file_mystate_onhdd, status_file_mystate_oncd,
     * status_file_mystate_unknown, status_file_mystate_onhdd, status_file_mystate_oncd,
Line 266: Line 394:
   0.01 - 08.07.2003
   0.01 - 08.07.2003
     - first version
     - first version
[[Category:Development]][[Category:Mylist export]]
1,633

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.