358
edits
m (→Data Commands)  | 
				|||
| Line 1,683: | Line 1,683: | ||
by size+ed2k hash:  | by size+ed2k hash:  | ||
* MYLISTADD size={int4 size}&ed2k={str ed2khash}[&state={int2 state}&viewed={boolean viewed}&viewdate={int4 viewdate}&source={str source}&storage={str storage}&other={str other}][&edit=1]  | * MYLISTADD size={int4 size}&ed2k={str ed2khash}[&state={int2 state}&viewed={boolean viewed}&viewdate={int4 viewdate}&source={str source}&storage={str storage}&other={str other}][&edit=1]  | ||
by generic  | |||
* MYLISTADD generic=1[&state={int2 state}&viewed={boolean viewed}&viewdate={int4 viewdate}&source={str source}&storage={str storage}&other={str other}][&edit=1]  | |||
by anime + group + epno  | by anime + group + epno  | ||
* MYLISTADD aname={str anime name}[&gname={str group name}&epno={int4 episode number}][&state={int2 state}&viewed={boolean viewed}&viewdate={int4 viewdate}&source={str source}&storage={str storage}&other={str other}][&edit=1]  | * MYLISTADD aname={str anime name}[&gname={str group name}&epno={int4 episode number}][&state={int2 state}&viewed={boolean viewed}&viewdate={int4 viewdate}&source={str source}&storage={str storage}&other={str other}][&edit=1]  | ||
| Line 1,713: | Line 1,715: | ||
'''Info:'''  | '''Info:'''  | ||
* All data except lid/fid/size+hash is optional.  | * All data except lid/fid/size+hash/generic is optional.  | ||
* Viewed should be 0 for unwatched files and 1 for watched files.  | * Viewed should be 0 for unwatched files and 1 for watched files.  | ||
* Viewdate is optional; the current time will be used if not defined. The field will be disregarded if viewed=0.  | * Viewdate is optional; the current time will be used if not defined. The field will be disregarded if viewed=0.  | ||
* Other is the only field which may   | * Other is the only field which may contain newlines, but they have to be stored as <br />  | ||
* If edit is 1 then an existing entry, if found, will be updated with the given values.  | * If edit is 1 then an existing entry, if found, will be updated with the given values.  | ||
* For state values refer to: '''MYLIST'''  | * For state values refer to: '''MYLIST'''  | ||
* If you want to change an existing entry and already know   | * If you want to change an existing entry and already know its mylist id (lid) please use the lid-version of this command. It put less load on the server.  | ||
* epno=0 means all eps (default), negative numbers means upto. (-12 -> upto 12)  | * epno=0 means all eps (default), negative numbers means upto. (-12 -> upto 12)  | ||
* group is optional only when edit=1, meaning you can't add every file for an anime  | * group is optional only when edit=1, meaning you can't add every file for an anime  | ||
----  | ----  | ||