that login flow should work with 'www.last.fm' replaced by 'listenbrainz.org'
note that this requires a desktop client that lets you change the domain to use for last.fm api in its configuration, since listenbrainz.org does not accept last.fm api requests over http and (obviously) doesn't have a tls cert that claims to be 'www.last.fm', so dns substitution will not work.
kepstin: thanks for the reply! I'll try out those end-points. I knew I'd have issues with TLS, so I simply patched the source code in-place so that it points to ListenBrainz instead of Last.fm.
What I'm trying to connect is Supysonic, which has a configuration web UI that allows linking to a Last.fm account.
> oh, i see. only the desktop auth flow is implemented,
Does that mean I can't connect a web app?
vibhoo_24 has quit
rozlav has quit
jivte joined the channel
jivte
monkey: Hey if u have time today can u review my pr's
bcz the work for playlist is complete only need ur help to improve it further :)
monkey
Sorry, I'm away from computer today. Might have time late next week
jivte
cool no problem :)
jivte has quit
mayhem
LB Android team. We had a user leave a comment and rate the app 3 stars with this review: "Crasht leider auf meinem Gerät (Samsung M21). Freue mich darauf, wenn das ding dann läuft, besonders der lokale Musikplayer ist eine gute Idee."
Crashes on my devices (samsun m21). Looking forward to when its running because the local music player is a great idea."
your excitements seems to be doing well!
alastairp
avalos: hi, right. we don't actually have oauth for submitting listens to LB yet. where did you see that only the desktop auth flow is implemented?
MusicBrainz should support both desktop and web flow, for submitting to LB we have a random user token that a user can copy/paste from their profile
oh sorry - I'm reading back further, I think you're talking about our implementation of the last.fm auth flow in LB, is that right?
I'll double check the guidelines that you linked to
Maxr1998_ joined the channel
Maxr1998 has quit
notlake joined the channel
notlake has quit
vibhoo_24 joined the channel
Lotheric_ is now known as Lotheric
vibhoo_24 has quit
yvanzo
mayhem: Do you want (or not) to have another look at Weblate ToS before I submit them the suggested changes?
(the big grey section is a basic artist without any incs)
vibhoo_24 has quit
alastairp
reosarevok: cool, is that json-schema?
rishav_a2z has quit
vlipper joined the channel
vlipper has quit
jivte has quit
rozlav joined the channel
vibhoo_24 joined the channel
vibhoo_24 has quit
hi bitmap, can you ping me when you're up? I want to create a new database in the cluster
Freso: hi there, were you able to get some admin docs for the ircbot/chatlogs site written?
zas: hi, when specifying the port that a new service listens on, should I select an unused port in constants.sh and use the `PORT_LIST` variable to substitute it in place (e.g. in services.sh)? I see many places in our config files where ports are explicitly written, or aren't listed in PORT_LIST
zas
alastairp: yes, it would be better, the idea behind PORT_LIST was to avoid potential conflicts
new server "mingus" is now up and running, it will be used to host discourse (and to test upgrades)
alastairp
OK, I'll use it! thanks
(port_list, not mingus)
Mingus Mingus Mingus Mingus Mingus <- good album
reosarevok
alastairp: it's openapis slightly weird version of it
I think "nullable" is not standard
jasje has quit
alastairp
reosarevok: once again they have something slightly different to everyone else, huh? :)
reosarevok: is the json-schema useful in other places though? Do we have one?
(did we have one before now)
reosarevok
Apparently version 3.1 of openapi should be compatible but is still not widely supported
And we did not have one, but it hopefully will be useful
alastairp
yeah
I did some experiments with monkey ages back about autogenerating typescript classes from jsonschema, for example. I can believe that'll be useful for some people
s/classes/types/
hi zas, if you have time can you please look at 2 PRs I have open on docker-server-configs? one to delete old AB code, one to add brainzbot to docker infra
thanks yvanzo for the AB approval
bitmap
alastairp: hey, I'll document how to update the configuration for you
bitmap: which is current master? (how can I tell?)
I see your examples use floyd
bitmap
yeah, right now it's floyd
there is a postgres function that can tell you for sure
alastairp
bitmap: `createdb: error: database creation failed: ERROR: source database "template1" is being accessed by other users`
bitmap
oh, right
I think that should be template0
alastairp
can we use temeplate0?
right, let me try that one
bitmap
maybe it won't let you connect using template0
alastairp
it allowed me to make it with template0
bitmap
I think there's also a database named 'postgres' you can connect to
oh, good
alastairp
(I was using `createdb`, not connecting with psql
)
bitmap
the pg function I referenced earlier is `select pg_is_in_recovery();` which will only return true on standbys
the cluster information is also stored in repmgr
sudo -u postgres repmgr -f /etc/repmgr.conf cluster show
alastairp
you need to run this on the primary, correct?
bitmap
you can can the repmgr command from either
can run*
alastairp
is that inside the postgres container, or just locally?
bitmap
inside the container, yeah
alastairp
I see it, thansk
I opened a PR to add details to docker-postgres-cluster
bitmap
something I forgot to mention in the doc: if you want to connect to this database through the standby, you have to update the same configuration files inside the standby container too
alastairp
ah, got it. Any preference for which one to use? In this case we have the ircbot writing (so it needs to be the primary?) and the web interface reads (so it could be either?), but the admin of the web interface can write (so it needs to be the primary?)