ad-on-is / lidarr-deemix

38 stars 2 forks source link

Can't search with MusicBrainz ID #16

Closed ColonelPanic-42 closed 4 months ago

ColonelPanic-42 commented 4 months ago

Searching by a MusicBrains ID (e.g. lidarr:57b03dc8-029f-4f9c-8f61-939181ac6fee) causes an exception in the proxy and no results are returned.

image

[11:07:06.207][172.17.0.1:43630] client connect
[11:07:06.314][172.17.0.1:43630] server connect api.lidarr.audio:443 (172.67.223.53:443)
[11:07:06.696][172.17.0.1:43630] server connect 127.0.0.1:7171
172.17.0.1:43630: GET http://127.0.0.1:7171/api/v0.4/artist/57b03dc8-029f-4f9… HTTP/2.0
      << HTTP/1.1 500 Internal Server Error 122b
==> /root/nohup_server.txt <==
2024/05/14 09:07PM 50 pid=21 hostname=fd51926ecc20 reqId=req-80 req={"method":"GET","url":"/api/v0.4/artist/57b03dc8-029f-4f9c-8f61-939181ac6fee","hostname":"127.0.0.1:7171","remoteAddress":"127.0.0.1","remotePort":47736} res={"statusCode":500} err={"type":"TypeError","message":"Cannot read properties of undefined (reading 'toLowerCase')","stack":"TypeError: Cannot read properties of undefined (reading 'toLowerCase')\n    at normalize (file:///app/dist/helpers.js:14:25)\n    at file:///app/dist/deemix.js:279:87\n    at Array.find (<anonymous>)\n    at getAritstByName (file:///app/dist/deemix.js:279:28)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async getArtist (file:///app/dist/deemix.js:283:20)\n    at async doApi (file:///app/dist/index.js:89:22)\n    at async Object.<anonymous> (file:///app/dist/index.js:122:30)"} msg=Cannot read properties of undefined (reading 'toLowerCase')