View Issue Details

IDProjectCategoryView StatusLast Update
0000238AniDB IRC (Chii/Lafiel)Feature Requestpublic2007-09-02 17:07
ReporterDerIdiot Assigned ToDerIdiot  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Summary0000238: [Chii] <state> for !addfile
Descriptionatm using !addfile sets the file to "unknown" which means you have to use !state afterwards

combining the both commands is first easier and second less spam in the channel ;)

!addfile <fid>, !addfile <anime> <epnumber> [<group>] [<state>] [w]
TagsNo tags attached.

Activities

bbaab

2005-08-22 11:11

reporter   ~0000664

So, the new syntaxes would be:

!addfile <file> ( [<state>] | ... )

with <file> being a file specification (currently: <anime> <epnumber> [<group>] or <fid> or <ed2klink> or "last") and <state> being one of "hdd", "cd", "deleted", "watched", "corrupted", "edited" and any unambiguous short version of those. Any other wishes or suggestions?

We could add ...

!addfile <anime> <epnumber> generic ( [<state>] | ... )

... to the list of syntaxes, too; this might work quite well sharing the code of the "normal" !addfile command. The only problem is the list of additional states available ("ripped", "dvd", "vhs", "tv", "theatre", "filler") which shouldn't work with non-generic files, of course. :)

pelican

2005-08-22 11:43

administrator   ~0000665

...and that we can't actually code anything to do with generic files and their states because we don't have any code relating to them or table definitions.

exp

2005-08-22 16:02

administrator   ~0000668

generic files are identified by size, everything with size==0 is a generic file

Rar

2005-08-22 19:43

reporter   ~0000669

Me and pelican had a bet on how you'd implimented generics, but I now can't remember who won if you did it by size 0. Him, maybe.

pelican

2005-08-23 08:27

administrator   ~0000672

Yes, me I think (not that I wouldn't say that anyway...)

However, that only identifies generics. How the additional states for generic files are implemented is another matter.

Issue History

Date Modified Username Field Change
2005-07-11 00:48 DerIdiot New Issue
2005-08-22 11:11 bbaab Note Added: 0000664
2005-08-22 11:43 pelican Note Added: 0000665
2005-08-22 16:02 exp Note Added: 0000668
2005-08-22 19:43 Rar Note Added: 0000669
2005-08-23 08:27 pelican Note Added: 0000672
2006-01-16 16:40 pelican Status new => assigned
2006-01-16 16:40 pelican Assigned To => pelican
2007-09-02 17:07 DerIdiot Assigned To pelican => DerIdiot
2007-09-02 17:07 DerIdiot Status assigned => resolved
2007-09-02 17:07 DerIdiot Resolution open => fixed