View Issue Details

IDProjectCategoryView StatusLast Update
0003221AniDB HTTP APIBug Reportpublic2018-07-14 10:23
ReporterZeroQI Assigned ToOmmina  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionduplicate 
Summary0003221: HTTP API character list non-primary seiyuu first at times
DescriptionHi, HTTP API list for multiple seiyuus the primary seiyuu either first or second, no consistency in both the web gui and the http api, have listed below an exemple of each in the same serie.

Steps To ReproduceHTTP API link: http://api.anidb.net:9001/httpapi?request=anime&client=hama&clientver=1&protover=1&aid=11934

Exemple 1
- Kana (primary: no, singing voice, listed first on web and http API)
- https://anidb.net/perl-bin/animedb.pl?show=character&charid=82392 voiced by: Miyamoto Yume (primary: yes), ,
```
<character id="82392" type="main character in" update="2016-09-22">
<name>Kasumi Mahiru</name>
<gender>female</gender>
<charactertype id="1">Character</charactertype>
<picture>187474.jpg</picture>
<seiyuu id="45522" picture="185529.jpg">Kana</seiyuu>
<seiyuu id="4432" picture="200731.jpg">Miyamoto Yume</seiyuu>
```

Exemple 2:
- voiced by: Asai Ayaka (primary: yes), Rie (primary: no, singing voice, listed second on web and http API)
- https://anidb.net/perl-bin/animedb.pl?show=character&charid=80811
```
<character id="80811" type="main character in" update="2016-04-07">
<rating votes="1">6.20</rating>
<name>Sakuraba Rola</name>
<gender>female</gender>
<charactertype id="1">Character</charactertype>
<picture>185358.jpg</picture>
<seiyuu id="38232" picture="140073.jpg">Asai Ayaka</seiyuu>
<seiyuu id="45521" picture="185524.jpg">Rie</seiyuu>
```
Additional InformationHere are the two complementary ways to fix it:
- always list primary seiyuu first, no change in fields needed, just a sort, the easiest to implement, i would be delighted with that to fix my bug report https://github.com/ZeroQI/Hama.bundle/issues/225
- add 'primary' and 'comment' fields to improve the HTTP API, the entry would look like: <seiyuu id="4432" picture="185524.jpg" primary ="no" comment="singing voice">Rie</seiyuu>
Tagsseiyuu

Relationships

duplicate of 0003213 resolvedOmmina Missing seiyuu role. 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-07-14 08:14 ZeroQI New Issue
2018-07-14 08:14 ZeroQI Status new => assigned
2018-07-14 08:14 ZeroQI Assigned To => Ommina
2018-07-14 08:14 ZeroQI Tag Attached: seiyuu
2018-07-14 09:26 DerIdiot Assigned To Ommina =>
2018-07-14 09:26 DerIdiot Status assigned => new
2018-07-14 10:23 Ommina Relationship added has duplicate 0003213
2018-07-14 10:23 Ommina Assigned To => Ommina
2018-07-14 10:23 Ommina Status new => closed
2018-07-14 10:23 Ommina Resolution open => duplicate
2018-07-14 10:23 Ommina Relationship replaced duplicate of 0003213