MyList export template guidelines: Difference between revisions

Jump to navigation Jump to search
m
No edit summary
 
(36 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}


This page will try to give some pointers in to Mylist Export Template creation.
This page will try to give some pointers in to MyList Export Template creation.


== Frequently Asked Questions ==
== Frequently Asked Questions ==
=== What are Mylist Exports? ===
=== What are MyList Exports? ===
: Mylist exports are a way to export your mylist, providing offline browsing capabilites, it's like a snapshot of the state of your mylist at the moment you requested the export.
: MyList exports are a way to export your MyList, providing off-line browsing capabilities, it's like a snapshot of the state of your MyList at the moment you requested the export.
=== Can i create my own template? ===
=== Can I create my own template? ===
: Yes, this page should help you starting with your own template.
: Yes, this page should help you starting with your own template.
=== What are the requirements for building a template? ===
=== What are the requirements for building a template? ===
: Well, the only true *requirement* is a text editor, though if you wan't to test your template before submiting you will need Perl (v5.8.8+) to use the SDK.
: Well, the only true *requirement* is a text editor, though if you want to test your template before submitting you will need Perl (v5.8.8+) to use the SDK.
=== Can I include images, external stylesheets/javascript files with my templates? ===
=== Include images, ext. stylesheets/JavaScript files with templates? ===
: Yes, you can copy stylesheet or javascript files directly into the template directory.
: Yes, you can even include subdirectories but please try to keep the size low.
: However images should be placed in a seperate zip file and will be hosted on anidb and linked on the export page for seperate download.
 
: You also can't include subdirectories, you have to copy the files directly into the directory of your template.
=== How do I create files other than .htm? ===
=== How do i create files other than .htm? ===
: Take a look at the csv-minimal theme. You need to create a file called extension.dat which only contains the desired extension, _without_ the dot!
: Take a look at the csv-minimal theme. You need to create a file called extension.dat which only contains the desired extension, _without_ the dot!
=== What is that info.dat file? ===
=== What is that info.dat file? ===
: It's ment to provide the user with a short info about the template. The content should not be too long but is otherwise left to the author of the template.
: It's meant to provide the user with a short info about the template. The content should not be too long but is otherwise left to the author of the template.
: However, it is strongly recommended to begin the file with 3 special lines:
: However, it is strongly recommended to begin the file with 3 special lines:
:: (C) 2003 by EXP
:: (C) 2003 by EXP
Line 30: Line 29:


=== About this SDK ===
=== About this SDK ===
: This SDK is ment to allow you to test your templates for the anidb mylist export function on your own pc. It should work under Windows and Linux. You might need to install some additional software (see bellow for Installing Perl).
: This SDK is meant to allow you to test your templates for the AniDB MyList export function on your own pc. It should work under Windows and Linux. You might need to install some additional software (see bellow for Installing Perl).
=== Current version and where to get ===
=== Current version and where to get ===
: Current version of the SDK is '''0.11b''', get here: http://static.anidb.net/files/anidb_template_sdk_0.11b.tgz
: Current release of the SDK is '''0.13.4''', get here: http://static.anidb.net/files/anidb_template_sdk_0.13.4.rar
: Current version of the SDK on SVN is '''0.13.5'''.


=== Resources ===
=== Resources ===
: The development forum, here: http://forum.anidb.net/viewforum.php?f=11
: {{ForumLink|20|The new development forum}}
: The SDK thread, here: http://forum.anidb.net/viewtopic.php?t=429
: [http://forum.anidb.net/viewforum.php?f=11 The old development forum] ''(old forum)''
: Image pack, here: http://static.anidb.net/files/anidb_icon_pack.rar
: {{OldThreadLink|429|The SDK thread}}
: [http://static.anidb.net/files/anidb_icon_pack.rar Image pack]


=== Installing Perl ===
=== Installing Perl ===
: This programm needs Perl to create example html files from the templates. If you don't have Perl installed (preferably 5.8.8) you'll need to do so now.
: This program needs Perl to create example html files from the templates. If you don't have Perl installed (preferably 5.8.8) you'll need to do so now.
: Under Windows you'll need to download ActivePerl 5.8.8.820+ from activeperl.com:
: Under Windows you'll need to download ActivePerl 5.8.8.820+ from activeperl.com:
:: http://downloads.activestate.com/ActivePerl/Windows/5.8/
:: http://www.activestate.com/activeperl/downloads
:: Install it to c:\perl (or some other directory, but remember where you installed it!).
:: Install it to c:\perl (or some other directory, but remember where you installed it!).
: Under Linux it should already be installed. If not get it from:
: Under Linux it should already be installed. If not get it from the link above.
:: http://downloads.activestate.com/ActivePerl/Linux/5.8/


: If you are not using 5.8.8.820 it's possible you need to update Storable, try the following:
: If you are not using 5.8.8.820 it's possible you need to update Storable, try the following:
Line 51: Line 51:
:: install Storable
:: install Storable
:: bye
:: bye
 
{{eyecatch|1|Note|If you installed 5.8.8.820 '''don't''' overwrite Perl's copy of Storable with the one in the SDK.}}
: <b>Note:</b>If you installed 5.8.8.820 <b>don't</b> overwrite Perl's copy of Storable with the one in the SDK.


=== Additional Module HTML::Template::Expr ===
=== Additional Module HTML::Template::Expr ===
Line 65: Line 64:
: (export.pl takes one parameter which is the name of the template to use)
: (export.pl takes one parameter which is the name of the template to use)


: Note: you can get more information about the HTML::Template::Expr here: http://html-template.sourceforge.net/html_template_expr.html
{{eyecatch|1|Note|You can get more information about the HTML::Template::Expr here: http://html-template.sourceforge.net/html_template_expr.html}}
 
=== Changelog ===
=== Changelog ===
: Read here [[Mylist_export_SDK_changelog]]
: Read here [[Mylist export SDK changelog]]
 
== SVN Access ==
 
: If you created your own template for AniDB and want to share it with everyone else please send a pm to [[User:Der Idiot|deridiot]] or [[User:Fahrenheit|fahrenheit]] @ anidb<br/>
: You might also want to periodically check this page for a list of the latest changes.


: The sourcecode of all release versions of the Mylist Export templates listed on this page is [[AniDB:Mylist_export_DEV]].<br/>
== GIT Access ==
: By HTTP: [http://dev.anidb.info/websvn/listing.php?repname=AniDB+CSS&path=%2Ftrunk%2Fexport%2F&rev=0&sc=0 http://dev.anidb.info/websvn/]<br/>
[[AniDB:Mylist_export_DEV]]


== Template HowTo ==
== Template HowTo ==


Well, here's all you need to write templates for the mylist export function.<br>
Well, here's all you need to write templates for the MyList export function.<br>
We really need better templates!
We really need better templates!


Line 89: Line 84:
* changelog.txt - (optional)
* changelog.txt - (optional)


All files, if possible, in unix format. But dos format doesn't hurt either, I'll convert them, in that case.<br>
All files, if possible, in Unix format. But dos format doesn't hurt either, I'll convert them, in that case.<br>
The export script will parse the mylist.tpl file and create one output file called i.e. mylist.htm. So mylist.tpl get's parsed only once (because you only have one mylist).<br>
The export script will parse the mylist.tpl file and create one output file called i.e. mylist.htm. So mylist.tpl get's parsed only once (because you only have one MyList).<br>
However anime.tpl will be parsed once for every anime in your mylist. And for each a unique file will be created. The default file extension for the output files is "htm", however if you create a file called "extension.dat" and put only the extension in the first line of the file, i.e. "txt" then that extension will be used.<br>
However anime.tpl will be parsed once for every anime in your MyList. And for each a unique file will be created. The default file extension for the output files is "htm", however if you create a file called "extension.dat" and put only the extension in the first line of the file, i.e. "txt" then that extension will be used.


The file info.dat should contain at least the following 3 lines:<br>
The file info.dat should contain at least the following 3 lines:<br>
     (C) 2003 by EXP
     (C) 2003 by EXP
     Version: 0.01 (08.07.2003)
     Version: 0.01 (08.07.2003)
<br>
 
1. copyright of the template author, you may include your email address here<br>
1. copyright of the template author, you may include your email address here<br>
2. version number and date<br>
2. version number and date<br>
3. one empty line<br>
3. one empty line


The rest may be used for a short description of the template.<br>
The rest may be used for a short description of the template.<br>
Please do not include the changelog in your info.dat file, instead create a seperate changelog.txt file and put your changelog there.<br>
Please do not include the changelog in your info.dat file, instead create a separate changelog.txt file and put your changelog there.


Please also note that the content of the info.dat will be displayed on the AniDB MyList Export Page, so please make sure that your additional info is acutally of interest to AniDB users who are trying to decide which theme to use.<br>
Please also note that the content of the info.dat will be displayed on the AniDB MyList Export Page, so please make sure that your additional info is actually of interest to AniDB users who are trying to decide which theme to use.


The export script will create the file (i.e.) mylist.htm and if anime.tpl was provided a folder "anime" where for each anime a file "a<animeid>.htm" will be created.<br>
The export script will create the file (i.e.) mylist.htm and if anime.tpl was provided a folder "anime" where for each anime a file "a<animeid>.htm" will be created.<br>
This can be used to created a linked animelist instead of one huge single html file with all data in it.<br<
This can be used to created a linked animelist instead of one huge single html file with all data in it.<br>
The tpl files are simple plaintext or html files. So just put normal html code in them.<br>
The tpl files are simple plain text or html files. So just put normal html code in them.


The export function uses the HTML::Template perl module to create the output. <br>
The export function uses the HTML::Template Perl module to create the output.<br>
This means you have to use some special tags:<br>
This means you have to use some special tags:


----
----
Line 120: Line 115:
==== Example 2 ====
==== Example 2 ====
; <tmpl_if name=status_anime_iswatched>anime is watched<tmpl_else>anime is unwatched</tmpl_if>
; <tmpl_if name=status_anime_iswatched>anime is watched<tmpl_else>anime is unwatched</tmpl_if>
: This is a simple if/else statement. This would write "anime is watched" or "anime is unwatched" into the resulting html file. Note that you can only check if a variable is defined, it is not possible to compare values. All variables begining with status_ are meant to be used in ifs. They are either 0 or 1.
: This is a simple if/else statement. This would write "anime is watched" or "anime is unwatched" into the resulting html file. Note that you can only check if a variable is defined, it is not possible to compare values. All variables beginning with status_ are meant to be used in ifs. They are either 0 or 1.


==== Example 3 ====
==== Example 3 ====
Line 134: Line 129:


==== Example 5 ====
==== Example 5 ====
; You will also need loops to create a usefull template. What are loops?
; You will also need loops to create a useful template. What are loops?
: Well, to create html tables there will be some parts of the html code (mostly table rows) which need to be repeated over and over again and filled with anime/ep/file info.
: Well, to create html tables there will be some parts of the html code (mostly table rows) which need to be repeated over and over again and filled with anime/ep/file info.
: This is specified like this:
: This is specified like this:
Line 159: Line 154:
; global_date : Date of creation (i.e. 02.08.2003 12:18)
; global_date : Date of creation (i.e. 02.08.2003 12:18)
; global_date_short : Short date of creation (i.e. 02.08.03)
; global_date_short : Short date of creation (i.e. 02.08.03)
; global_animecount : Number of animes in mylist
; global_animecount : Number of anime in MyList
; global_epcount : Number of episodes in mylist
; global_totalepcount : Total number of episodes in MyList, including both normal and special episodes
; global_filecount : Number of files in mylist
; global_epcount : Number of <u>normal</u> episodes in MyList
; global_bytecount : Overall size of all files in mylist in Bytes
:''Normal excludes special episodes, such as S, C, T, O, and P episodes''
; global_spcount : Number of <u>special</u> episodes in MyList
:''Special episodes only, such as S, C, T, O, and P episodes''
; global_filecount : Number of files in MyList
; global_bytecount : Overall size of all files in MyList in Bytes
; global_bytecount_h : Same as global_bytecount but in kB, MB, GB, ...
; global_bytecount_h : Same as global_bytecount but in kB, MB, GB, ...
; global_animedburl : URL to animedb, http://..../animedb.pl
; global_animedburl : URL to animedb, <nowiki>http://..../animedb.pl</nowiki>
; global_userstat_animeadded : Anime entries added by user to db
; global_userstat_animeadded : Anime entries added by user to DB
; global_userstat_epsadded : Episode entries added by user to db
; global_userstat_epsadded : Episode entries added by user to DB
; global_userstat_filesadded : Files added by user to db
; global_userstat_filesadded : Files added by user to DB
; global_userstat_groupsadded : Group entries added by user to db
; global_userstat_groupsadded : Group entries added by user to DB
; global_userstat_lamefiles : Number of lame files user owns
; global_userstat_lamefiles : Number of lame files user owns
; global_userstat_lamefilesp : Percentage of lame files in mylist
; global_userstat_lamefilesp : Percentage of lame files in MyList
; global_userstat_independencep : Percentage of independence ([[AniDB_Stats:Most_Independent_User]])
; global_userstat_independencep : Percentage of independence ([[AniDB_Stats:Most_Independent_User]])
; global_userstat_leechp : Percentage of leechness ([[AniDB_Stats:Biggest_Leech0r]])
; global_userstat_leechp : Percentage of leechness ([[AniDB_Stats:Biggest_Leech0r]])
; global_userstat_reviews : Total reviews written by user
; global_userstat_reviews : Total reviews written by user
; global_userstat_votes : Number of votes issued by user
; global_userstat_votes : Number of votes issued by user
; global_userstat_totalviewedp : Percentage of viewed episodes, from all db
; global_userstat_totalviewedp : Percentage of viewed episodes, from all DB
; global_userstat_totalownedp : Percentage of owned episodes, from all db
; global_userstat_totalownedp : Percentage of owned episodes, from all DB
; global_userstat_ownviewedp : Percentage of viewed episodes, from mylist
; global_userstat_ownviewedp : Percentage of viewed episodes, from MyList
; global_userstat_viewedepcnt : Number of viewed episodes, from mylist
; global_userstat_viewedepcnt : Number of viewed episodes, from MyList
 
----
 
==== global_genren_loop ====
<tt>New global loop for the cat system</tt>
<tt>NOTES: you should try to limit the usage of this loop to mylist.tpl</tt>
; global_genren_id : cat id
; global_genren_name : cat name
; global_genren_parentid : cat parent id
; global_genren_ishentai : is cat 18+ restricted


----
----
Line 194: Line 203:
; data_anime_url : Official home page
; data_anime_url : Official home page
; data_anime_other : Anime synopsis
; data_anime_other : Anime synopsis
; data_anime_date : Date of addition to db
; data_anime_date : Date of addition to DB
; data_anime_date_short : Short date of addition to db
; data_anime_date_short : Short date of addition to DB
; data_anime_update : Last update date (in unix time format)
; data_anime_update : Last update date (in Unix time format)
; data_anime_update_short : Last update short date
; data_anime_update_short : Last update short date
; data_anime_startdate : Start airing/release date
; data_anime_startdate : Start airing/release date
Line 210: Line 219:
; data_anime_type_id : Anime type ID (see ids.txt)
; data_anime_type_id : Anime type ID (see ids.txt)
; data_anime_type_name : Anime type name
; data_anime_type_name : Anime type name
; data_anime_animenfoid : Old AnimeNFO ID (i.e. 954)
; data_anime_animenfoid : Old AnimeNfo ID (i.e. 954)
; data_anime_animenfoid2 : New AnimeNFO ID (i.e. klmgzk)
; data_anime_animenfoid2 : New AnimeNfo ID (i.e. klmgzk)
; data_anime_animenfourl : Complete AnimeNFO url (without <a href="">, just a plain url)
; data_anime_animenfourl : Complete AnimeNfo URL (without <a href="">, just a plain URL)
; data_anime_animenfourl_name : AnimeNFO link name as displayed at AniDB (i.e. "ID: 954" or "ID: 954,klmgzk")
; data_anime_animenfourl_name : AnimeNfo link name as displayed at AniDB (i.e. "ID: 954" or "ID: 954,klmgzk")
; data_anime_annid : Anime News Network ID
; data_anime_annid : Anime News Network ID


''If only one file is present for an anime 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''
''If only one file is present for an anime 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_anime_mystate : State of anime files (undef=-1, unknown=0, on hdd=1, on cd=2, deleted=3)
; data_anime_mystate : State of anime files (undef=-1, unknown=0, on hdd=1, on cd=2, deleted=3)
; data_anime_mystate_string : String representation of state (i.e. "unknown" or "on cd")
; data_anime_mystate_string : String representation of state (i.e. "unknown" or "on CD")
; data_anime_mystate_icon : AniDB url to state icon (img tag already included)
; data_anime_mystate_icon : AniDB URL to state icon (img tag already included)
; data_anime_wishlist_type : Wishlist type ID (0="unknown / unfiled", 1="to watch", 2="to get", 3="blacklist"),
; data_anime_wishlist_type : Wishlist type ID (0="unknown / unfiled", 1="to watch", 2="to get", 3="blacklist"),
; data_anime_wishlist_type_name : Wishlist type name
; data_anime_wishlist_type_name : Wishlist type name
Line 231: Line 240:
; data_anime_my_tmpvote_date : Date when temp vote for anime was last changed
; data_anime_my_tmpvote_date : Date when temp vote for anime was last changed
; data_anime_my_tmpvote_date_short : Same, short version
; data_anime_my_tmpvote_date_short : Same, short version
; data_anime_annurl : Anime News Network url
; data_anime_annurl : Anime News Network URL
; data_anime_allcinemaid : AllCinema ID
; data_anime_allcinemaid : AllCinema ID
; data_anime_allcinemaurl : AllCinema url
; data_anime_allcinemaurl : AllCinema URL
; data_anime_animeplanetid : Anime-Planet ID (i.e. 415)
; data_anime_animeplanetid : Anime-Planet ID (i.e. 415)
; data_anime_animeplaneturl : Anime-Planet Recomendation url
; data_anime_animeplaneturl : Anime-Planet Recommendation URL
; data_anime_my_eps : Number of non-special episodes in mylist
; data_anime_my_eps : Number of non-special episodes in MyList
; data_anime_my_eps_special : Number of special episodes in mylist
; data_anime_my_eps_special : Number of special episodes in MyList
; data_anime_my_eps_total : Number of non-special and special episodes in mylist
; data_anime_my_eps_total : Number of non-special and special episodes in MyList
; data_anime_my_watchedeps : Number of watched episodes
; data_anime_my_watchedeps : Number of watched episodes
; data_anime_my_watchedeps_special : Number of watched specials
; data_anime_my_watchedeps_special : Number of watched specials
Line 245: Line 254:
; data_anime_my_unwatchedeps_special : Number of unwatched specials
; data_anime_my_unwatchedeps_special : Number of unwatched specials
; data_anime_my_unwatchedeps_total : Total number of unwatched episodes and specials
; data_anime_my_unwatchedeps_total : Total number of unwatched episodes and specials
; data_anime_my_size : Overall size of all anime files in mylist in Bytes
; data_anime_my_size : Overall size of all anime files in MyList in Bytes
; data_anime_my_size_h : Same as data_anime_my_size but in kB, MB, GB, ...
; data_anime_my_size_h : Same as data_anime_my_size but in kB, MB, GB, ...
; data_anime_name : Default anime title (mostly japanese romaji), always present
; data_anime_name : Default anime title (mostly Japanese romaji), always present
; data_anime_name_langname : Language name (ie: Japanese)
; data_anime_name_langname : Language name (ie: Japanese)
; data_anime_name_langsname : Language shortname (ie: ja)
; data_anime_name_langsname : Language shortname (i.e.: ja)
; data_anime_title_jap_kanji : Anime title in japanese kanji, optional
; data_anime_title_jap_kanji : Anime title in Japanese kanji, optional
; data_anime_title_eng : Anime title in english, optional
; data_anime_title_eng : Anime title in English, optional
; data_anime_title_other : Other official title in another language, optional
; data_anime_title_other : Other official title in another language, optional
; data_anime_awardicons : Ready to use html string which displays the little award icons from AniDB. Empty string if no awards are present.
; data_anime_awardicons : Ready to use html string which displays the little award icons from AniDB. Empty string if no awards are present.
Line 263: Line 272:
; data_anime_genren_parentid : Parent genre (category) ID
; data_anime_genren_parentid : Parent genre (category) ID
; data_anime_genren_ishentai : This genre (category) is hentai related
; data_anime_genren_ishentai : This genre (category) is hentai related
; data_anime_genren_weight : Weight of the category
; data_anime_genren_weight_name : Textual notation of the category weight


----
----
Line 281: Line 292:
; data_anime_company_othername : Company other name
; data_anime_company_othername : Company other name
; data_anime_company_type : Company type ID (see ids.txt)
; data_anime_company_type : Company type ID (see ids.txt)
; data_anime_company_url : Company url
; data_anime_company_url : Company URL
; data_anime_company_picurl : Company logo url
; data_anime_company_picurl : Company logo URL
; data_anime_company_aptype : Company role for the anime (see ids.txt)
; data_anime_company_aptype : Company role for the anime (see ids.txt)
; data_anime_company_type_name : company type string (company, organization, individual, etc.)
; data_anime_company_aptype_name : company relation to given anime string (production, music, etc.)


----
----
Line 346: Line 359:
; data_anime_award_name : Award name
; data_anime_award_name : Award name
; data_anime_award_type : Award type
; data_anime_award_type : Award type
; data_anime_award_url : Award URL (url assigned to this award, i.e. overview over all awards of this type)
; data_anime_award_url : Award URL (URL assigned to this award, i.e. overview over all awards of this type)
; data_anime_award_picurl : URL to pic only
; <strike>data_anime_award_picurl : URL to pic only</strike> [this was removed since AniDB v0.1.47]


----
----
Line 376: Line 389:
; data_anime_group_myvote : My vote or '-' if none
; data_anime_group_myvote : My vote or '-' if none
; data_anime_group_myvote_date : My vote date (dd.mm.yyyy hh:mm)
; data_anime_group_myvote_date : My vote date (dd.mm.yyyy hh:mm)
; data_anime_group_eprange : episode range for a given group (as in AniDB)
----
====== data_anime_group_alangs_loop ======
<tt>loops group audio languags</tt>
; 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 ======
<tt>loops group subtitle languags</tt>
; 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)


----
----
Line 382: Line 413:
; status_anime_iscomplete : Anime is complete (0/1)
; status_anime_iscomplete : Anime is complete (0/1)
; status_anime_iswatched : Anime is completely watched (0/1)
; status_anime_iswatched : Anime is completely watched (0/1)
; status_anime_genre_<genrename> : '''[deprecated]''' i.e. status_anime_genre_action = 1, if the anime has genre action added. Genres are all lowercase and spaces are replaced with _.
; status_anime_genre_<genrename> : '''[deprecated]''' i.e. status_anime_genre_action = 1, if the anime has genre action added. Genres are all lower case and spaces are replaced with _.
; status_anime_my_isvoted : User voted for this anime (0/1)
; status_anime_my_isvoted : User voted for this anime (0/1)
; status_anime_my_istmpvoted : User temporally voted for this anime (0/1)
; status_anime_my_istmpvoted : User temporally voted for this anime (0/1)
; status_anime_mystate_undef : Has undefined state (0/1)
; status_anime_mystate_undef : Has undefined state (0/1)
; status_anime_mystate_unknown : Has unknwon state (0/1)
; status_anime_mystate_unknown : Has unknown state (0/1)
; status_anime_mystate_onhdd : Has onhdd state (0/1)
; status_anime_mystate_onhdd : Has onhdd state (0/1)
; status_anime_mystate_oncd : Has oncd state (0/1)
; status_anime_mystate_oncd : Has oncd state (0/1)
Line 394: Line 425:
; status_anime_title_has_other : Has other title (0/1)
; status_anime_title_has_other : Has other title (0/1)
; status_anime_title_has_jap_kanji : Has kanji title (0/1)
; status_anime_title_has_jap_kanji : Has kanji title (0/1)
; status_anime_title_has_eng : Has english title (0/1)
; status_anime_title_has_eng : Has English title (0/1)
; status_anime_allcinema_listed : All Cinema is listed (0/1)
; status_anime_allcinema_listed : All Cinema is listed (0/1)
; 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)
; status_anime_isrestricted : Anime has +18 restricted audience (0/1)


----
----
Line 408: Line 440:
; data_ep_name_romaji : Romaji episode name
; data_ep_name_romaji : Romaji episode name
; data_ep_name_kanji : Kanji episode name
; data_ep_name_kanji : Kanji episode name
; data_ep_length : Episode lenght, in minutes
; data_ep_length : Episode length, in minutes
; data_ep_aired : Date of first airing
; data_ep_aired : Date of first airing
; data_ep_aired_short : Short date of first airing
; data_ep_aired_short : Short date of first airing
Line 478: Line 510:
; data_file_vidcnt : Count for video streams (1 for media files, 0 for others)
; data_file_vidcnt : Count for video streams (1 for media files, 0 for others)
; data_file_ar : Aspect ratio
; data_file_ar : Aspect ratio
; data_file_ar_name : The AR string (4:3, 16:9, etc)
; data_file_fps : Frames per second
; data_file_fps : Frames per second
; data_file_vbitrate : Video bit rate
; data_file_vbitrate : Video bit rate
Line 484: Line 517:
; data_file_vflags : Video Flags (see ids.txt)
; data_file_vflags : Video Flags (see ids.txt)
; data_file_audcnt : Count for audio streams (for now just 2)
; data_file_audcnt : Count for audio streams (for now just 2)
; data_file_atype : audio type id (stream #1)
; data_file_atype_name : audio type string (stream #1)
; data_file_abitrate : Audio bitrate
; data_file_abitrate : Audio bitrate
; data_file_acodec_id : Audio codec ID (see ids.txt)
; data_file_acodec_id : Audio codec ID (see ids.txt)
; data_file_acodec_name : Audio codec name
; data_file_acodec_name : Audio codec name
; data_file_chantype : Number of audio channels (see ids.txt)
; data_file_chantype : Number of audio channels (see ids.txt)
; data_file_chantype_name : channel string (Mono, Stereo, etc) (stream #1)
; data_file_lang_id : Language ID (see ids.txt)
; data_file_lang_id : Language ID (see ids.txt)
; data_file_lang_name : Language name
; data_file_lang_name : Language name
; data_file_lang_sname : Language shortname (ie: ja)
; data_file_lang_sname : Language shortname (ie: ja)
; data_file_atype2 : audio type id (stream #2)
; data_file_atype_name2 - audio type string (stream #2)
; data_file_abitrate2 : Audio bitrate, for second stream
; data_file_abitrate2 : Audio bitrate, for second stream
; data_file_acodec_id2 : Audio codec ID (see ids.txt), 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_acodec_name2 : Audio codec name, for second stream
; data_file_chantype2 : Number of audio channels (see ids.txt), for second stream
; data_file_chantype2 : Number of audio channels (see ids.txt), for second stream
; data_file_chantype_name2 : channel string (Mono, Stereo, etc) (stream #2)
; data_file_lang_id2 : Language ID (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_lang_name2 : Language name, for second stream
Line 501: Line 540:
; data_file_sflags : Subtitle flags describing the kind of subtitles (see ids.txt)
; data_file_sflags : Subtitle flags describing the kind of subtitles (see ids.txt)
; data_file_stype : Subtitle type (see ids.txt)
; data_file_stype : Subtitle type (see ids.txt)
; data_file_stypename : subtitle type string (stream #1)
; data_file_sub_id : Subtitle language ID (see ids.txt)
; data_file_sub_id : Subtitle language ID (see ids.txt)
; data_file_sub_name : Subtitle language name
; data_file_sub_name : Subtitle language name
Line 506: Line 546:
; data_file_sflags2 : Subtitle flags describing the kind of subtitles (see ids.txt), for second stream
; 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_stype2 : Subtitle type (see ids.txt), for second stream
; data_file_stypename2 - subtitle type string (stream #2)
; data_file_sub_id2 : Subtitle language ID (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_sub_name2 : Subtitle language name, for second stream
Line 511: Line 552:
; data_file_length : File length in seconds
; data_file_length : File length in seconds
; data_file_type : File type (see ids.txt)
; data_file_type : File type (see ids.txt)
; data_file_typename : file type string (video,audio,etc)
; data_file_type_id : File source ID
; data_file_type_id : File source ID
; data_file_type_name : File source name
; data_file_type_name : File source name
Line 517: Line 559:
; data_file_update : Last update date
; data_file_update : Last update date
; data_file_update_short : Last update short date
; data_file_update_short : Last update short date
; data_file_ldate : Date when file was added to mylist
; data_file_ldate : Date when file was added to MyList
; data_file_ldate_short : Same, short version
; data_file_ldate_short : Same, short version
; data_file_storage : User defined string for storage
; data_file_storage : User defined string for storage
Line 565: Line 607:
; status_file_state_isv4 : File is fourth 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_state_isv5 : File is fifth release (0/1)
; status_file_mystate_unknown : Has unknwon state (0/1)
; status_file_mystate_unknown : Has unknown state (0/1)
; status_file_mystate_onhdd : Has onhdd state (0/1)
; status_file_mystate_onhdd : Has onhdd state (0/1)
; status_file_mystate_oncd : Has oncd state (0/1)
; status_file_mystate_oncd : Has oncd state (0/1)
Line 581: Line 623:
== List of Ids ==
== List of Ids ==


Should this list be outdated you can also check the HTML code of the corresponding dropdowns at AniDB.
Should this list be outdated you can also check the HTML code of the corresponding drop-downs at AniDB.
----
----


Line 890: Line 932:
----
----


=== Episode mylist status ===
=== Episode MyList status ===
; -1 : mixed
; -1 : mixed
; 0 : unknown
; 0 : unknown
Line 911: Line 953:
----
----


=== Mylist file status ===
=== MyList file status ===
; 0 : unknown
; 0 : unknown
; 1 : on hdd
; 1 : on hdd
Line 919: Line 961:
----
----


=== Mylist filestate ===
=== MyList filestate ===
; 0 : normal
; 0 : normal
; 1 : invalid crc
; 1 : invalid crc
Line 931: Line 973:
; 100 : other
; 100 : other


[[Category:Development]][[Category:Mylist_export]]
[[Category:Development]][[Category:Mylist export]]
1

edit

Navigation menu

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