MyList export template guidelines: Difference between revisions

Line 393: Line 393:
; status_anime_animeplanet_listed : Anime-Planet is listed (0/1)
; status_anime_animeplanet_listed : Anime-Planet is listed (0/1)
; status_anime_ann_listed : Anime News Network is listed (0/1)
; status_anime_ann_listed : Anime News Network is listed (0/1)
==== loop_ep ====
<tt>loop for episodes</tt>
; data_ep_id : Episode ID (as in DB)
; data_ep_epno : Episode number
; data_ep_name : Episode name
; data_ep_name_romaji : Romaji episode name
; data_ep_name_kanji : Kanji episode name
; data_ep_length : Episode lenght, in minutes
; data_ep_aired : Date of first airing
; data_ep_aired_short : Short date of first airing
; data_ep_other : Other information related to episode
; data_ep_rating : Average rating
; data_ep_votes : Total votes
; data_ep_date : Date of addition to DB
; data_ep_date_short : Short date of addition to DB
; data_ep_update : Last update date
; data_ep_update_short : Last update short date
; data_ep_state : Episode state (1=Special, 2=Recap, 4=OP/ED/Credits, 32=Trailer, 64=Parody, 128=Others)
''Note that the values can be added together, so 3 would be a special which is also a recap. 4, 32, 64 and 128 are exclusive''
''If only one file is present for an ep the following variables will have the same
values as the ones for that file, if there is more than one file and all files have the same mystate it will match those. in any other case the mystate is undef
''
; data_ep_mystate : State of anime episode (undef=-1, unknown=0, on hdd=1, on cd=2, deleted=3)
; data_ep_mystate_string : String representation of state (i.e. "unknown" or "on cd")
; data_ep_mystate_icon : AniDB url to state icon (img tag already included)
----
===== Episode status variables =====
; status_ep_mystate_undef : Has undefined state (0/1)
; status_ep_mystate_unknown : Has unknown state (0/1)
; status_ep_mystate_onhdd : Has onhdd state (0/1)
; status_ep_mystate_oncd : Has oncd state (0/1)
; status_ep_mystate_deleted : Has deleted state (0/1)
; status_ep_state_special : Episode is a special (0/1)
; status_ep_state_recap : Episode is a recap (0/1)
; status_ep_state_op : Episode is an opening (0/1)
; status_ep_state_end : Episode is an ending (0/1)
; status_ep_iswatched : Episode was watched (0/1)
; status_ep_hasfile : Episode has files (0/1)
; status_ep_hasname_kanji : Has kanji episode name (0/1)
; status_ep_hasname_romaji : Has romaji episode name (0/1)
----
===== loop_file =====
<tt>loop for files</tt>
; data_file_id : File ID (as in DB)
; data_file_size : File size in bytes (with dots)
; data_file_size_plain : File size in bytes (without dots)
; data_file_size_h : Same as data_file_size_plain but in MB
; status_file_isgeneric : Is a generic (0/1) (http://wiki.anidb.info/w/Files:Generic_files)
; data_file_filetype : File type (extension, i.e. avi or mkv)
; data_file_crc : CRC for file
; data_file_md5 : MD5 hash for file
; data_file_sha1 : SHA1 hash for file
; data_file_ed2k_link : Full ed2k link
; data_file_ed2k_hash : ed2k hash for file
; data_file_ed2k_name : ed2k file name
; data_file_group_id : ID for the group who released the file
; data_file_group_name : Group name
; data_file_group_shortname : Short group name
; data_file_released : Date of release
; data_file_released_short : Short date of release
; data_file_qual_id : Quality ID
; data_file_qual_name : Quality string representation
; data_file_res_name : Video resolution
; data_file_vidcnt : Count for video streams (1 for media files, 0 for others)
; data_file_ar : Aspect ratio
; data_file_fps : Frames per second
; data_file_vbitrate : Video bit rate
; data_file_vcodec_id : Video codec ID (see ids.txt)
; data_file_vcodec_name : Video codec name
; data_file_vflags : Video Flags (see ids.txt)
; data_file_audcnt : Count for audio streams (for now just 2)
; data_file_abitrate : Audio bitrate
; data_file_acodec_id : Audio codec ID (see ids.txt)
; data_file_acodec_name : Audio codec name
; data_file_chantype : Number of audio channels (see ids.txt)
; data_file_lang_id : Language ID (see ids.txt)
; data_file_lang_name : Language name
; data_file_abitrate2 : Audio bitrate, for second stream
; data_file_acodec_id2 : Audio codec ID (see ids.txt), for second stream
; data_file_acodec_name2 : Audio codec name, for second stream
; data_file_chantype2 : Number of audio channels (see ids.txt), for second stream
; data_file_lang_id2 : Language ID (see ids.txt), for second stream
; data_file_lang_name2 : Language name, for second stream
; data_file_subcnt : Count for subtitle streams (for now just 2)
; data_file_sflags : Subtitle flags describing the kind of subtitles (see ids.txt)
; data_file_stype : Subtitle type (see ids.txt)
; data_file_sub_id : Subtitle language ID (see ids.txt)
; data_file_sub_name : Subtitle language name
; data_file_sflags2 : Subtitle flags describing the kind of subtitles (see ids.txt), for second stream
; data_file_stype2 : Subtitle type (see ids.txt), for second stream
; data_file_sub_id2 : Subtitle language ID (see ids.txt), for second stream
; data_file_sub_name2 : Subtitle language name, for second stream
; data_file_length : File length in seconds
; data_file_type : File type (see ids.txt)
; data_file_type_id : File source ID
; data_file_type_name : File source name
; data_file_date : Date of addition to DB
; data_file_date_short : Short date of addition to DB
; data_file_update : Last update date
; data_file_update_short : Last update short date
; data_file_storage : User defined string for storage
; data_file_source : User defined string for source
; status_file_hascomment : Has comment (0/1)
; data_file_other : File comments
; data_file_viewdate : Date when viewed
; data_file_viewdate_short : Short date when viewed
; data_file_state : File state (1=CRC ok, 2=CRC error, 4=is v2, 8=is v3, 16=is v4, 32=is v5, 64=is uncensored, 128=is censored)
; status_file_state_crcok : File has verified CRC (0/1)
; status_file_state_crcfailed : File has failed CRC (0/1)
; status_file_state_crcunverified : File has unverified CRC (0/1)
; status_file_state_isv2 : File is second release (0/1)
; status_file_state_isv3 : File is third release (0/1)
; status_file_state_isv4 : File is fourth release (0/1)
; status_file_state_isv5 : File is fifth release (0/1)
; status_file_iswatched : File was watched (0/1)
; data_file_state_versionname : File release version in string (including v1)
; data_file_mystate : File state
(unknown=0, on hdd=1, on cd=2, deleted=3)
; data_file_mystate_string : String representation of file state (i.e. "unknown" or "on cd")
; data_file_mystate_icon : AniDB url to state icon (img tag already included)
; status_file_mystate_unknown : Has unknwon state (0/1)
; status_file_mystate_onhdd : Has onhdd state (0/1)
; status_file_mystate_oncd : Has oncd state (0/1)
; status_file_mystate_deleted : Has deleted state (0/1)
; data_file_myfilestate : User file mystate ID (0=normal, 1=invalid crc, 2=self edited, 10=self ripped, 11=on dvd, 12=on vhs, 13=on tv, 14=theater, 20=filler ep, 100=other)
; data_file_myfilestate_string : String representation of user file mystate ID
; data_file_myfilestate_icon : AniDB url to mystate icon (img tag already included)
; status_file_myfilestate_normal : File is normal mystate (0/1)
; status_file_myfilestate_invalidcrc : File is invalidcrc mystate (0/1)
; status_file_myfilestate_selfedited : File is sefedited mystate (0/1)
; status_file_myfilestate_selfripped : File is selfripped mystate (0/1)
; status_file_myfilestate_ondvd : File is ondvd mystate (0/1)
; status_file_myfilestate_onvhs : File is onvhs mystate (0/1)
; status_file_myfilestate_ontv : File is ontv mystate (0/1)
; status_file_myfilestate_theater : File is theater mystate (0/1)
; status_file_myfilestate_other : File is other mystate (0/1)
347

edits

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