Page 1 of 1

Synonym list is ommited in response message

Posted: Tue Jul 24, 2007 12:29 pm
by yurko savelenko
Hello!

While testing the anidb-part of my client I discovered some dissapointing phenomenon, namely, the synonym and "other name list", which I would very like to use in the drop-down lists in my program, are ommited each time I send an ANIME command!

Conditions are as follows:

encoding: utf8,
requested fields: episodes, normal ep count, str year, str type, str romaji name, str kanji name, str english name, str other name, str synonym list, str producer name list (via acode)

When requesting only these fields, it is unlikely that the messages must be truncated, still, the two fields in red are always empty.

Here is a picture (of a testing program), which gets as input an aid and returns info on the corresponding anime:

Image

http://tracker.anidb.info/view.php?id=711

Posted: Tue Jul 24, 2007 1:04 pm
by epoximator
use http://wiki.anidb.info/w/UDP_API_DEV to suggest changes or http://tracker.anidb.info/ to report bugs

Posted: Tue Jul 24, 2007 2:25 pm
by yurko savelenko
I will report this as a bug. As for now, I assume this is an unknown issue, judging by your reaction. However, how could this be not noticed before? I just do what the documentation states, but maybe there are some undocumented usages of acode?

Posted: Wed Jul 25, 2007 8:31 am
by exp
There have been a couple of changes to the way how anime and episode titles are stored internally, lately. Something may well have been broken on the way.
Another issue is that the new storage structure isn't that easily mapped onto the old ANIME syntax. We'll have to see how to best resolve that.

BYe!
EXP

Posted: Wed Jul 25, 2007 10:29 am
by yurko savelenko
I thought something like that happened. I do not know anything about the internal storage of anime data, but (as a user of UDP API and client developer) I would propose the following values:

for "other" (bit 23): a list of official titles in languages other than Japanese and English

for synonym list (bit 25): a list of other titles (not official, according to how it's meant to be).

The list of "other" should bu truncated first, because, generally, by far not every anime is officially released in a country for which synonym title exists.

I will also post this as a feature request on the tracker.

Posted: Wed Jul 25, 2007 10:57 am
by epoximator
i've already suggested something here http://wiki.anidb.info/w/UDP_API_DEV#ANIME

i don't think it's much point in returning all languages

Posted: Wed Jul 25, 2007 11:07 am
by yurko savelenko
Yes, that would be great too.
We can continue this conversation at the tracker, where I added a feature request.

Posted: Sun Sep 02, 2007 8:04 pm
by yurko savelenko
Great! I see that UDP protocol has been fixed. To my great delight my test program now correctly shows all the synonyms. However, although my feature request has been set to "resolved" the synonyms are returned in the "old" way, without the proposed "lang" tag usage. Not that I don't like it, but for the clarity: I understand correctly and that proposed change will not be made yet and protocol version will not change until than?

Posted: Mon Sep 03, 2007 6:18 am
by epoximator
"lang" wasn't really a part of that request, i noticed the note now. it'll be implemented sooner or later anyhow