I get a whole lot of CORS errors in the console form the spotify SDK. That was the case before, and I thought it might have been linked to local dev, but I really don't know how to fix it.
I've been getting 404s from the spotify API for some reason...
2020-05-13 13457, 2020
mzfr joined the channel
2020-05-13 13425, 2020
mzfr has quit
2020-05-13 13443, 2020
mzfr joined the channel
2020-05-13 13438, 2020
Mr_Monkey
Another issue I just saw on the recent page with the spotify search regarding script in the metadata: the search `踊ろうぜ Yorushika` finds the right song, and so does `踊ろうぜ artist:ヨルシカ`, but `踊ろうぜ artist:Yorushika` returns no result (context: https://musicbrainz.org/recording/4c7178eb-ab83-4…)
2020-05-13 13438, 2020
Mr_Monkey
I'll open a ticket.
2020-05-13 13452, 2020
ruaok
I get `NetworkError when attempting to fetch resource` when trying to play tracks on beta? unlink and relink spotify?
2020-05-13 13421, 2020
reosarevok
Mr_Monkey: is that in MB? IF so I don't think artist: looks at aliases at all
2020-05-13 13428, 2020
reosarevok
It's meant to be specifically the main artist name
2020-05-13 13444, 2020
Mr_Monkey
No, sorry, on LB spotify search
2020-05-13 13445, 2020
reosarevok
Not saying that's ideal though, maybe it can be improved
2020-05-13 13453, 2020
reosarevok
Oh
2020-05-13 13455, 2020
Mr_Monkey
ruaok: Yeah, first step
2020-05-13 13410, 2020
ruaok
did that, no improvement
2020-05-13 13403, 2020
ruaok
ah, yes. said CORS errors.
2020-05-13 13416, 2020
Mr_Monkey
CORS errors don't prevent playback for me though, so most likely unrelated
2020-05-13 13436, 2020
Mr_Monkey
I did have to accept autoplaying media for lb.org in my browser's settings
2020-05-13 13406, 2020
ruaok
"Error: X-Resolve responded with status0" is one of the erors in the log
2020-05-13 13444, 2020
ruaok
rdswift: openpost works as expected, thanks!
2020-05-13 13404, 2020
ruaok
I just needed to have the openpost.html file locally, no good trying to launch that on a remote server
2020-05-13 13413, 2020
rdswift
Would it help if it just created the .html file, returning the file path, and you launch the file separately?
2020-05-13 13436, 2020
ruaok
not really. my setup is just awkward for what I am doing. I am logged into a google VM for this.
2020-05-13 13449, 2020
ruaok
because it has loads of ram and all my data in PG.
2020-05-13 13404, 2020
ruaok
I need to migrate this to a longer running VM over at azure.
2020-05-13 13416, 2020
ruaok
and then I'll just tunnel to the server to access postgres for the time being.
2020-05-13 13437, 2020
ruaok
which allows me to run the scripts locally, so that openpost should work.
2020-05-13 13458, 2020
rdswift
Okay. Just thinking that you (eventually) might want to generate the list on a server (triggered from an api call?) and then create the file locally and send a redirect to that file (which in turn redirects to the player). That might not make sense. Just thinking out loud.