View Revisions: Issue #3446

Summary 0003446: Song title missing from Episode Data for openings and endings
Revision 2020-06-02 23:24 by JoshGerdes
Description Currently, when making a request for the Data of a particular Anime using the HTTP API (as shown at https://wiki.anidb.net/HTTP_API_Definition#Data), the API returns information like the Main Title, Rating, and Episode Number.
For example, this is what is returned for the first opening of Tensei Shitara Slime Datta Ken/That Time I Got Reincarnated as a Slime (https://anidb.net/episode/208850) when calling with http://api.anidb.net:9001/httpapi?request=anime&client={str}&clientver={int}&protover=1&aid={int}

<episode id="208850" update="2018-10-02">
<epno type="3">C1</epno>
<length>2</length>
<airdate>2018-10-02</airdate>
<rating votes="4">7.36</rating>
<title xml:lang="en">Opening 1</title>
</episode>

However, at least for openings and endings, it would be useful to have a way to also know the Main Title of the song that is associated with that episode. In the above example, the AniDB page shows that the song title is "Nameless Story".
So it would be helpful if there was something like this returned instead:

<episode id="208850" update="2018-10-02">
<epno type="3">C1</epno>
<length>2</length>
<airdate>2018-10-02</airdate>
<rating votes="4">7.36</rating>
<title xml:lang="en">Opening 1</title>
<song>Nameless Story</song>
</episode>

The reason this change would be useful is because when displaying openings and endings, the typical name of the episode like "Opening 1", "Opening 2", etc is not necessarily that useful for distinguishing between all the other openings or endings, while the song name tends to be more unique. This way the caller would have the option to show something like "Opening 1 - Nameless Story" instead of just "Opening 1" as the episode title if desired. This would especially help with long running series like for example, One Piece (https://anidb.net/anime/69), which currently has 22 openings and 19 endings in AniDB (not including same song variants).
Revision 2020-06-02 23:24 by JoshGerdes
Description Currently, when making a request for the Data of a particular Anime using the HTTP API (as shown at https://wiki.anidb.net/HTTP_API_Definition#Data), the API returns information like the Main Title, Rating, and Episode Number.
For example, this is what is returned for the first opening of Tensei Shitara Slime Datta Ken/That Time I Got Reincarnated as a Slime (https://anidb.net/episode/208850]https://anidb.net/episode/208850) when calling with http://api.anidb.net:9001/httpapi?request=anime&client={str}&clientver={int}&protover=1&aid={int}

<episode id="208850" update="2018-10-02">
<epno type="3">C1</epno>
<length>2</length>
<airdate>2018-10-02</airdate>
<rating votes="4">7.36</rating>
<title xml:lang="en">Opening 1</title>
</episode>

However, at least for openings and endings, it would be useful to have a way to also know the Main Title of the song that is associated with that episode. In the above example, the AniDB page shows that the song title is "Nameless Story".
So it would be helpful if there was something like this returned instead:

<episode id="208850" update="2018-10-02">
<epno type="3">C1</epno>
<length>2</length>
<airdate>2018-10-02</airdate>
<rating votes="4">7.36</rating>
<title xml:lang="en">Opening 1</title>
<song>Nameless Story</song>
</episode>

The reason this change would be useful is because when displaying openings and endings, the typical name of the episode like "Opening 1", "Opening 2", etc is not necessarily that useful for distinguishing between all the other openings or endings, while the song name tends to be more unique. This way the caller would have the option to show something like "Opening 1 - Nameless Story" instead of just "Opening 1" as the episode title if desired. This would especially help with long running series like for example, One Piece (https://anidb.net/anime/69), which currently has 22 openings and 19 endings in AniDB (not including same song variants).
Revision 2020-06-02 23:23 by JoshGerdes
Description Currently, when making a request for the Data of a particular Anime using the HTTP API (as shown at https://wiki.anidb.net/HTTP_API_Definition#Data), the API returns information like the Main Title, Rating, and Episode Number.
For example, this is what is returned for the first opening of Tensei Shitara Slime Datta Ken/That Time I Got Reincarnated as a Slime ([url=https://anidb.net/episode/208850]https://anidb.net/episode/208850[/url]) when calling with http://api.anidb.net:9001/httpapi?request=anime&client={str}&clientver={int}&protover=1&aid={int}

<episode id="208850" update="2018-10-02">
<epno type="3">C1</epno>
<length>2</length>
<airdate>2018-10-02</airdate>
<rating votes="4">7.36</rating>
<title xml:lang="en">Opening 1</title>
</episode>

However, at least for openings and endings, it would be useful to have a way to also know the Main Title of the song that is associated with that episode. In the above example, the AniDB page shows that the song title is "Nameless Story".
So it would be helpful if there was something like this returned instead:

<episode id="208850" update="2018-10-02">
<epno type="3">C1</epno>
<length>2</length>
<airdate>2018-10-02</airdate>
<rating votes="4">7.36</rating>
<title xml:lang="en">Opening 1</title>
<song>Nameless Story</song>
</episode>

The reason this change would be useful is because when displaying openings and endings, the typical name of the episode like "Opening 1", "Opening 2", etc is not necessarily that useful for distinguishing between all the other openings or endings, while the song name tends to be more unique. This way the caller would have the option to show something like "Opening 1 - Nameless Story" instead of just "Opening 1" as the episode title if desired. This would especially help with long running series like for example, One Piece (https://anidb.net/anime/69), which currently has 22 openings and 19 endings in AniDB (not including same song variants).
Revision 2020-06-02 23:23 by JoshGerdes
Description Currently, when making a request for the Data of a particular Anime using the HTTP API (as shown at https://wiki.anidb.net/HTTP_API_Definition#Data), the API returns information like the Main Title, Rating, and Episode Number.
For example, this is what is returned for the first opening of Tensei Shitara Slime Datta Ken/That Time I Got Reincarnated as a Slime ([url=https://anidb.net/episode/208850]https://anidb.net/episode/208850[/url]) when calling with http://api.anidb.net:9001/httpapi?request=anime&client={str}&clientver={int}&protover=1&aid={int}
[code]<episode id="208850" update="2018-10-02">
<epno type="3">C1</epno>
<length>2</length>
<airdate>2018-10-02</airdate>
<rating votes="4">7.36</rating>
<title xml:lang="en">Opening 1</title>
</episode>[/code]

However, at least for openings and endings, it would be useful to have a way to also know the Main Title of the song that is associated with that episode. In the above example, the AniDB page shows that the song title is "Nameless Story".
So it would be helpful if there was something like this returned instead:
[code]<episode id="208850" update="2018-10-02">
<epno type="3">C1</epno>
<length>2</length>
<airdate>2018-10-02</airdate>
<rating votes="4">7.36</rating>
<title xml:lang="en">Opening 1</title>
<song>Nameless Story</song>
</episode>[/code]

The reason this change would be useful is because when displaying openings and endings, the typical name of the episode like "Opening 1", "Opening 2", etc is not necessarily that useful for distinguishing between all the other openings or endings, while the song name tends to be more unique. This way the caller would have the option to show something like "Opening 1 - Nameless Story" instead of just "Opening 1" as the episode title if desired. This would especially help with long running series like for example, One Piece (https://anidb.net/anime/69), which currently has 22 openings and 19 endings in AniDB (not including same song variants).