so for now, we stay put and hope for the best that the US/California doesn't totally melt down.
good week, overall, really!
monkey: go!
monkey[m]
Hello everyone!
Last week i worked on the Libre.FM backend importer, specifically looking at the UI portions and replacing the now-empty manual imports page with a placeholder, awaiting the file importers being developed over the course of this GSOC
I looked into improving our error boundaries for thye ListenBrainz player after a suggestion by bitmap (thanks!), but there is more than meets the eye. I found one improvement but looking into it deeper.
I refactored some front-end tests from enzyme to testing-library (ongoing work)
And some PR reviewing to top it all off.
yvanzo: Your turn!
yvanzo[m]
Hi!
Got worse last week, skipped it too.
Fin, go kellnerd?
kellnerd[m]
Hey there!
Last week I had to fix Harmony's Tidal provider again because of a breaking API change.
The change wasn't announced AFAIK, so I had to hotfix this by temporarily losing cover art from Tidal.
Since the API query parameters have changed, I finally had to implement support for legacy URLs in Harmony's caching logic (in order to avoid breaking old permalinks).
Seems to work as expected and Tidal images are back, but I should do some more tests (and write unit tests) before releasing this.
And after more than two years, I've released a new version of my *Guess Unicode punctuation* userscript, which integrates new rules for Hebrew contributed by dvirtz.
Go Hemang Mishra!
HemangMishra[m] joined the channel
HemangMishra[m]
Hello!!
reosarevok[m]
Still on my list for today: suvid , m.amanullah7 , Gautam_coder , reosarevok , zas
HemangMishra[m]
This week, I mostly worked on implementing Listening Apps Selection Screen and opened a PR for the same.
Figured out most of the stuff already and kinda back on track
This time it looks more organized and I understand it better :)
Implemented the file upload part and background tasks part
I will make the new schema and test things
after that I will move on to zip file processing for spotify and then make functions that process files for other services as well
That's all for this week
Gautam_coder: next?
reosarevok[m]
Not sure they're active, I can go
Last week I worked on updating my PRs for extra genre data in the API, since now that we have a new search server those things are unblocked and just need to slowly arise from their sleep
Also worked on a couple small improvements, such as MBS-14065
auth will have latest docker major, most others will not afaik because defaults for metabrainz-ansible are pretty behind
yvanzo[m]
Thanks everyone!
julian45[m]
ok yeah --time was only renamed in docker engine 28 per the docs you linked and i think most MeB servers are pretty far behind that last i checked
reosarevok[m]
Hmm, I see. Some were warning, but I didn't think some might not work at all. I guess I should revert for now, and hope it's backwards-compatible for long enough that the servers get updated in the meantime :D
(and the new ones don't start rejecting it outright)
julian45[m]
yeah, i don't imagine it'd get removed outright till docker engine 29 or so, and latest is 28.2 or so
reosarevok[m]
Ok
Pushed a revert commit, let's see
zas[m] joined the channel
zas[m]
Sorry, I had an emergency to handle, nothing special this week anyway; usual stuff, system maintenance, upgrades & fixes, Picard, MB edits, user support.
reosarevok[m]
Ok, running the prod update again, now without breakages, hopefully :)
holycow23: did you configure the hdfs_connection properly?
holycow23[m]
I think I did
lucifer[m]
in particular, this set config.HDFS_CLUSTER_URI = "hdfs://127.0.0.1:9000"
just print that variable and confirm that is set to that value
holycow23[m]
yes it is set correctly
mamanullah7[m]
Hey lucifer: any update on my pr?
lucifer[m]
m.amanullah7: yes i reviewed the backend parts of it and one major change is needed. funkwhale has an api to create oauth apps, we should use that instead of harcoding the client id and client secret in the config. take a look at the section on the top of the page: https://docs.funkwhale.audio/swagger/#/
mamanullah7[m]
I've pushed the changes and ive integrated fw in bp! U can have a look rn its its priority is lowest but u can change its like other services to top and can test !! I tried to add songs in fw but failed and when i tried to play song I was getting error authentication required!!
lucifer[m]
i think rest everything should remain the same just instead of reading the client id/secret from config file, you have to call that api to get the data.
there are other smaller changes that i would like and also i am thinking if we should change the existing tables schema to simplify funkwhale implementation, reduce the specific code needed for it at least.
holycow23[m]
lucifer: updated the [gist](https://gist.github.com/granth23/95232d5ed5c0eff47ad4ab2bb14fc9bb) with the entire trace
lucifer[m]
as for frontend changes i will ask monkey to do that.
holycow23[m]
* entire trace which was visible
petitminion has quit
mamanullah7[m]
lucifer[m]: lucifer: I'll update this and let u know!
lucifer[m]: What u can change in schema like removing client id and secret?
lucifer[m]
m.amanullah7: i am thinking that access token and refresh token's could be stored in external service oauth table. the tokens for spotify/apple music etc. are stored there for example.
mamanullah7[m]
What about host url?
lucifer[m]
that would remain in the funkwhale servers table.
and the client id and client secret would also be added to that table.
so we still have a new table but I am trying to think if it can simplify our implementation.
i'll think more about it and we can see how to move forward on that.
mamanullah7[m]
lucifer[m]: lucifer: you're referring to external oauth table?
lucifer[m]
no the funkwhale servers table.
mamanullah7[m]
Okay!!
I'll move access token and refresh token I'm external oauth table and rest all will be in funkwhale servers
lucifer[m]
holycow23: okay i see, restart pyspark. run the setup commands again. and then import your stats and run it. i think you had imported it before running the setup so the outdated empty value got hardcoded there.
mamanullah7[m]
s/I'm/in/
lucifer[m]
m.amanullah7: you can't do that right now because then you would need to add a new column to store the funkwhale server id to which the token belongs.
holycow23[m]
lucifer[m]: So re run the shell and then the same commands right?
* commands right? cause I already did that and got the same
lucifer[m]
yes but ensure that the setup commands are run before any stats imports.
holycow23[m]
okay
lucifer[m]
m.amanullah7: i am thinking that we could change the `service` column in external oauth table to store that id.
so its a bigger change if we want to do that. so focus on the remaining parts of your project for now.
i'll discuss with mayhem and monkey this later and if we decide to do it, i'll migrate the existing services first and then you can make the relevant funkwhale changes.