'attributes:
data:
eid             episode id
gid             group id
lid             mylist id
state           state
size            size
ed2k            ed2k
md5             md5
sha1            sha1
crc32           crc32
dublang         dub language
sublang         sub language
quality         quality
source          source
audiocodec      audio codec
audiobitrate    audio bitrate
videocodec      video codec
videobitrate    video bitrate
resolution      video resolution
filetype        file type (extension)
length          length in seconds
description     description
filename        anidb file name
gname           group name
gshortname      group short name
epno            number of episode
epname          ep english name
epromaji        ep romaji name
epkanji         ep kanji name
totaleps        anime total episodes
lastep          last episode nr (highest, not special)
year            year
type            type
romaji          romaji name
kanji           kanji name
name            english name
othername       other name
shortnames      short name list
synonyms        synonym list
categories      category list
relatedaids     related aid list
producernames   producer name list
producerids     producer id list'

def __init__(self, cmd, restag, rescode, resstr, datalines):

    Response.__init__(self, cmd, restag, rescode, resstr, datalines)
    self.codestr = u'FILE'
    self.codehead = ()
    self.coderep = ()
    fmask = cmd.parameters[u'fmask']
    amask = cmd.parameters[u'amask']
    codeListF = self.maper.getFileCodesF(fmask)
    codeListA = self.maper.getFileCodesA(amask)
    self.codetail = tuple((([u'fid'] + codeListF) + codeListA))
