that is the PR that allows notiifications to be posted to users timelines. can you have a look and examine how we're doing on icons for that event?
MRiddickW joined the channel
Mr_Monkey
_lucifer: I'll have a look at 1342 first and we can discuss youtube stuff afterwards id it works for you?
ruaok: I'll open a separate PR to add support for the notification events
ruaok
Mr_Monkey: +1
BrainzGit
[listenbrainz-server] MonkeyDo opened pull request #1359 (master…monkey-notification-timeline-event-ui): Add support for 'notification' events on timeline UI https://github.com/metabrainz/listenbrainz-serv...
Mr_Monkey
I still have to add some tests, but ^
_lucifer: Available when you are :)
So, does PR 1342 mean that we won't have specific playlist_created events anymore?
MBBE-39: Remove invalid characters from existing annotations
_lucifer
Mr_Monkey: Hi!
Mr_Monkey
Yo !
_lucifer
I saw our youtube player implementation, it seems to me all we need to do is change a network on that front.
Mr_Monkey
For the search you mean?
_lucifer
yes
Mr_Monkey
Yes, with some extra new bits to ensure the user has a token (like we do in SpotifyPlayer)
_lucifer
we need to replace the `loadPlaylist` with a call to data api and pass that to the player and should be done.
yes agreed.
but we don't need to change anything in the UI?
Mr_Monkey
Not for the youtube player itself, no
_lucifer
understood.
moving on, what UI changes do you think we need to for other players?
in context of "Discuss potential UI changes with Monkey in order to reduce the UI work that needs to be done by potential GSoC students."
Mr_Monkey
We need to rework the existing page where we connect to Spotify, is the short story. Instead of being a specific "connect to spotify" page we're going to want to allow various music services
I did say I was going to make some mockups for that, and I haven't done that yet
_lucifer
ah yes that makes sense. I had forgotten we need to change the UI for that page as well :p
Mr_Monkey
Yeah, and it's going to need a good refactor.
I'll get some mockups done which we can then use as a starting point to talk about
At hte moment I have a few ideas in my head, but nothing on paper
_lucifer
yeah right, I'll try to get the player part working this week and take care of connecting at start of next week.
cool thanks!
*connecting music services
Mr_Monkey
I'll amend the document too. I wrote "This screen should also allow users to disable playback for each music service independently.", but I'm not convinced we want to do that on this page.
_lucifer
makes sense
Mr_Monkey
I quite like the screenshot at the end of the "fron-end" subsection in the document, but I'm not sure we'll be able to both explain the various uses we make (e.g. for spotify record listens vs play music) and player preferences without it getting confusing.
So i'll work on a specific "connect to music services" page and we can see about the player preferences another day
_lucifer
yeah, its already complicated to handle as a developer. it could be a nightmare for users if put together.
different pages sound good to me.
shivam-kapila
Can the "add musuc services doc" be shared with me? I side by side work on the dashboard redesign and if there are some changes to BP I will keep those in mind
Mr_Monkey
No changes to BP in all of that
I mean no visual changes, just some implementation changes in the youtubeplayer
shivam-kapila
Cool thanks for the info
_lucifer
ruaok: regarding https://stats.metabrainz.org/d/000000079/alerts... , the queue's size seems to follow a regular pattern. it exceeds the limit to issue an alert once everyday. would it make sense and be possible to either increase the limit at which the alert occurs or if the queue size remains above the current limit for a period of time?
c1e0 joined the channel
ruaok
zas manages those alerts, but I agree.
_lucifer
unrealted but also i have a couple of doubts regarding consul and services on lemmy.
ruaok, _lucifer : I bump the alert threshold to 25k
ruaok
zas thanks.
_lucifer: yeah, I have no idea what causes that.
_lucifer
thanks zas!
ruaok, i am checking the logs of spark reader and comparing it with timescale writer to see if i find something. will let you know if i find something.
CAA-127: Cover Art Archive redirects don't work for uploads newer than Edit #78344687
ruaok
alastairp: metric names of `listenbrainz:mbid-mapping-writer` vs `listenbrainz-mbid-mapping-writer`. Not sure I understand your argument for not exactly using container names. our container names are nicely separated in the namespace....
alastairp
ruaok: it's mostly a question of how we store the data in redis and how we retrieve all stats in the internal endpoint
we're going to want to say "give me a list of all listenbrainz stats"
so if we store a key in redis `listenbrainz-mbid-mapping-writer = whatever`, we need a way of knowing that this is a listenbrainz key (without manually iterating through all keys and doing string matching)
ruaok
ah, for the redis keyspace... whatever. that doesn't bother me since we won't be interacting with it. I only care that we really get the metric names right.
alastairp
ok sure, this is an implementation detail. keys can be listed in the json exactly as they are in the container name
ruaok
what do you think of my suggestion of appending some further qualifier, like "module" or "component".
because one container may want to report stats in two separate areas.
alastairp
I think I had this in the initial version and we removed it because we thought it was too complex ;)
do you think `key: listenbrainz-mbid-mapping-writer:foo` and value: 4, or `key: listenbrainz-mbid-mapping-writer`, `foo:value: 4`
alastairp: I find that I can think better in context of the gist we've been bantering about. can you update that with this question/suggestion?
alastairp
yep, will do
regarding host name, there's no env variable with this set in the startup scripts, but we set the docker container hostname to the service that it's living on. any preferences to `socket.gethostname()` or passing it in as an env variable?
ruaok
zas would be best to answer this, methinks.
alastairp
👍
ruaok
my personal pref would be to use gethostname, rather than passing in more info.
bitmap
yvanzo: there's no redirect performed (it's returning a 404 from our own database), so doesn't appear to be the IA
and these IDs aren't in the cover_art table...
yvanzo
ok then there is also an issue with errors logging.
adhi001 has quit
sumedh joined the channel
bitmap
uhh ok so they are in the cover_art table (on floyd), but not in pink. there appears to be some serious replication lag. looking into it
temporarily disabling postgres-pink in consul
there's no indication of why the lag is occuring in floyd or pink logs, unfortunately
ShivamAwasthi joined the channel
I restarted pink and it's slowly recovering, but so far can't find why it stopped
Some major OpenSSL vulnerabilities announced today, CVE-2021-3449 is pretty bad by the sounds of it (remote DoS). All OpenSSL 1.1.1 versions are affected. If you are vulnerable you will want to upgrade ASAP.