ID3 tag REST API call issues in 5.0 Beta2 Build 3490

Post your Server Bug Report
archrival
Posts: 4
Joined: 20 Apr 2013, 21:39
Has thanked: 0
Been thanked: 4 times

ID3 tag REST API call issues in 5.0 Beta2 Build 3490

Unread post by archrival »

I have noticed issues with the ID3 based REST API calls. For example, getArtist in Madsonic will return something like this:

Code: Select all

<subsonic-response xmlns="http://madsonic.org/restapi" status="ok" version="1.10.1">
<artist id="816" name="Incubus" coverArt="ar-816" albumCount="17">
<album id="8304" name="If Not Now, When" artist="Incubus" artistId="816" coverArt="al-8304" songCount="11" duration="3004" created="2011-11-23T20:57:50"/>
<album id="8314" name="Monuments And Melodies" artist="Incubus" artistId="816" coverArt="al-8314" songCount="26" duration="6504" created="2011-11-17T07:09:30"/>
<album id="8310" name="Light Grenades" artist="Incubus" artistId="816" coverArt="al-8310" songCount="13" duration="2859" created="2011-11-17T07:09:29"/>
<album id="8309" name="Incubus-Anna-Molly" artist="Incubus" artistId="816" coverArt="al-8309" songCount="4" duration="942" created="2011-11-17T07:09:29"/>
<album id="8306" name="Alive At Red Rocks" artist="Incubus" artistId="816" coverArt="al-8306" songCount="5" duration="1316" created="2011-12-27T09:29:08"/>
<album id="8305" name="A Crow Left Of The Murder" artist="Incubus" artistId="816" coverArt="al-8305" songCount="14" duration="3515" created="2011-11-17T07:09:28"/>
<album id="8311" name="Live At Lollapalooza 2003" artist="Incubus" artistId="816" coverArt="al-8311" songCount="13" duration="3540" created="2011-11-17T07:09:29"/>
<album id="8319" name="When Incubus Attacks (Volume 2)" artist="Incubus" artistId="816" coverArt="al-8319" songCount="18" duration="4803" created="2011-11-17T07:09:30"/>
<album id="8316" name="Morning View Sessions" artist="Incubus" artistId="816" coverArt="al-8316" songCount="18" duration="4540" created="2011-11-17T07:09:30"/>
<album id="8315" name="Morning View" artist="Incubus" artistId="816" coverArt="al-8315" songCount="13" duration="3494" created="2011-11-17T07:09:30"/>
<album id="8318" name="When Incubus Attacks (Volume 1)" artist="Incubus" artistId="816" coverArt="al-8318" songCount="6" duration="1634" created="2011-11-17T07:09:30"/>
<album id="8308" name="Fungus Amongus" artist="Incubus" artistId="816" coverArt="al-8308" songCount="10" duration="2288" created="2011-11-17T07:09:28"/>
<album id="8312" name="Make Yourself" artist="Incubus" artistId="816" coverArt="al-8312" songCount="13" duration="2884" created="2011-11-17T07:09:29"/>
<album id="8313" name="Make Yourself (Tour Edition Bonus CD)" artist="Incubus" artistId="816" coverArt="al-8313" songCount="4" duration="860" created="2011-11-17T07:09:29"/>
<album id="8317" name="S.C.I.E.N.C.E" artist="Incubus" artistId="816" coverArt="al-8317" songCount="12" duration="3351" created="2011-11-17T07:09:30"/>
<album id="8307" name="Enjoy Incubus" artist="Incubus" artistId="816" coverArt="al-8307" songCount="6" duration="2315" created="2011-11-17T07:09:28"/>
</artist>
</subsonic-response>
While Subsonic 4.8 will return:

Code: Select all

<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.9.0">
<artist id="855" name="Incubus" coverArt="ar-855" albumCount="16">
<album id="2199" name="A Crow Left Of The Murder" artist="Incubus" artistId="855" coverArt="al-2199" songCount="14" duration="3515" created="2011-11-17T06:09:28"/>
<album id="2200" name="Alive At Red Rocks" artist="Incubus" artistId="855" coverArt="al-2200" songCount="5" duration="1316" created="2011-12-27T08:29:08"/>
<album id="2204" name="Anna-Molly" artist="Incubus" artistId="855" coverArt="al-2204" songCount="4" duration="942" created="2011-11-17T06:09:29"/>
<album id="2201" name="Enjoy Incubus" artist="Incubus" artistId="855" coverArt="al-2201" songCount="6" duration="2315" created="2011-11-17T06:09:28"/>
<album id="2202" name="Fungus Amongus" artist="Incubus" artistId="855" coverArt="al-2202" songCount="10" duration="2288" created="2011-11-17T06:09:28"/>
<album id="2203" name="If Not Now, When?" artist="Incubus" artistId="855" coverArt="al-2203" songCount="11" duration="3004" created="2011-11-23T19:57:46"/>
<album id="2205" name="Light Grenades" artist="Incubus" artistId="855" coverArt="al-2205" songCount="13" duration="2859" created="2011-11-17T06:09:29"/>
<album id="2206" name="Live At Lollapalooza 2003" artist="Incubus" artistId="855" coverArt="al-2206" songCount="13" duration="3540" created="2011-11-17T06:09:29"/>
<album id="2207" name="Make Yourself" artist="Incubus" artistId="855" coverArt="al-2207" songCount="13" duration="2884" created="2011-11-17T06:09:29"/>
<album id="2208" name="Make Yourself (Tour Edition Bonus CD)" artist="Incubus" artistId="855" coverArt="al-2208" songCount="4" duration="860" created="2011-11-17T06:09:29"/>
<album id="2209" name="Monuments And Melodies" artist="Incubus" artistId="855" coverArt="al-2209" songCount="26" duration="6504" created="2011-11-17T06:09:30"/>
<album id="2210" name="Morning View" artist="Incubus" artistId="855" coverArt="al-2210" songCount="13" duration="3494" created="2011-11-17T06:09:30"/>
<album id="2211" name="Morning View Sessions" artist="Incubus" artistId="855" coverArt="al-2211" songCount="18" duration="4540" created="2011-11-17T06:09:30"/>
<album id="2212" name="S.C.I.E.N.C.E." artist="Incubus" artistId="855" coverArt="al-2212" songCount="12" duration="3351" created="2011-11-17T06:09:30"/>
<album id="2213" name="When Incubus Attacks (Volume 1)" artist="Incubus" artistId="855" coverArt="al-2213" songCount="6" duration="1634" created="2011-11-17T06:09:30"/>
<album id="2214" name="When Incubus Attacks (Volume 2)" artist="Incubus" artistId="855" coverArt="al-2214" songCount="18" duration="4803" created="2011-11-17T06:09:30"/>
</artist>
</subsonic-response>
Notice Madsonic has the name of one of the albums as "Incubus-Anna-Molly" while Subsonic has "Anna-Molly", Subsonic is correct. In addition, when trying to retrieve this album in Madsonic I get this:

Code: Select all

<subsonic-response xmlns="http://madsonic.org/restapi" status="ok" version="1.10.1">
  <album id="8309" name="Incubus-Anna-Molly" artist="Incubus" artistId="816" coverArt="al-8309" songCount="4" duration="942" created="2011-11-17T07:09:29">
  </album>
</subsonic-response>
While Subsonic returns:

Code: Select all

<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.9.0">
<album id="2204" name="Anna-Molly" artist="Incubus" artistId="855" coverArt="al-2204" songCount="4" duration="942" created="2011-11-17T06:09:29">
<song id="35459" parent="35460" title="Anna-Molly" album="Anna-Molly" artist="Incubus" isDir="false" coverArt="35460" created="2011-11-17T06:09:29" duration="227" bitRate="250" track="1" discNumber="1" year="2006" genre="Rock" size="7188775" suffix="mp3" contentType="audio/mpeg" isVideo="false" path="Incubus/Incubus-Anna-Molly/01-Incubus-Anna-Molly.mp3" albumId="2204" artistId="855" type="music"/>
<song id="35522" parent="35460" title="Anna-Molly (Live At Edgefest 2006)" album="Anna-Molly" artist="Incubus" isDir="false" coverArt="35460" created="2011-11-17T06:09:29" duration="233" bitRate="220" track="2" discNumber="1" year="2006" genre="Rock" size="6475052" suffix="mp3" contentType="audio/mpeg" isVideo="false" path="Incubus/Incubus-Anna-Molly/02-Incubus-Anna-Molly (Live At Edgefest 2006).mp3" albumId="2204" artistId="855" type="music"/>
<song id="35523" parent="35460" title="Drive (Live At Edgefest 2006)" album="Anna-Molly" artist="Incubus" isDir="false" coverArt="35460" created="2011-11-17T06:09:29" duration="245" bitRate="186" track="3" discNumber="1" year="2006" genre="Rock" size="5766394" suffix="mp3" contentType="audio/mpeg" isVideo="false" path="Incubus/Incubus-Anna-Molly/03-Incubus-Drive (Live At Edgefest 2006).mp3" albumId="2204" artistId="855" type="music"/>
<song id="35524" parent="35460" title="Love Hurts (Acoustic)" album="Anna-Molly" artist="Incubus" isDir="false" coverArt="35460" created="2011-11-17T06:09:29" duration="237" bitRate="197" track="4" discNumber="1" year="2006" genre="Rock" size="5913036" suffix="mp3" contentType="audio/mpeg" isVideo="false" path="Incubus/Incubus-Anna-Molly/04-Incubus-Love Hurts (Acoustic).mp3" albumId="2204" artistId="855" type="music"/>
</album>
</subsonic-response>
I have noticed that ID3 tags with -/, and a few more characters fail to retrieve any tracks or albums with the REST API.
These users thanked the author archrival for the post:
Madsonic
Rating: 7.69%
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: ID3 tag REST API call issues in 5.0 Beta2 Build 3490

Unread post by Madsonic »

i will check this out and thx for spoting this out!

best regards
Post Reply