reosarevok, cc bitmap: If these details are the same for all edits, they should probably be documented in a single place if it isn’t the case already. Didn’t find it in WikiDocs. On the topic of edit system documentation, it is currently missing which edits can be auto-edits or not (See MBS-7509). I don’t know if these pages would be the right place to do so. Otherwise I’m fine with suppressing these pages but still keep the
hi there I was setting up listenbrainz.I have one question to ask...will the the call back url while setting up last.fm api account would be same which we used for OAuth?
2022-12-07 34129, 2022
vibhoo_24 has quit
2022-12-07 34148, 2022
vibhoo_24 joined the channel
2022-12-07 34118, 2022
Rishabh joined the channel
2022-12-07 34128, 2022
vibhoo_24
Hi there I was setting up..I have one question...while registering an app on spotify developer dashboard can we provide any app name and description to generate client id and client secret.
lucifer: does this also address if the canonical recording changes?
2022-12-07 34159, 2022
lucifer
alastairp: no. because all recordings canonical or not are present in the mb metadata cache table.
2022-12-07 34106, 2022
alastairp
got it
2022-12-07 34118, 2022
lucifer
there's also the issue that in some case canonical recordings are not stable.
2022-12-07 34123, 2022
alastairp
yeah, exactly
2022-12-07 34135, 2022
alastairp
so this is just if something which was in the msid mapping table is no longer in the metadata table
2022-12-07 34142, 2022
lucifer
right
2022-12-07 34117, 2022
alastairp
there's a small edge case where the new table is created but there might be bad mappings? as they happen in 2 separate transactions?
2022-12-07 34140, 2022
alastairp
however, as you mentioned in the PR, this just results in no data being shown, rather than an error?
2022-12-07 34105, 2022
lucifer
yes, these cases happen currently already as well.
2022-12-07 34112, 2022
jivte joined the channel
2022-12-07 34124, 2022
alastairp
great
2022-12-07 34141, 2022
lucifer
i am not sure what is the edge case you mention? can you explain?
2022-12-07 34140, 2022
alastairp
in version I of the metadata cache table, msid a maps to mbid a
2022-12-07 34110, 2022
alastairp
but then mbid a is deleted or merged, so it's no longer in MB, but it's still in the metadata cache table, so LB will show some value + data + link to MB
2022-12-07 34156, 2022
lucifer
ah ok, yes makes sense.
2022-12-07 34104, 2022
alastairp
when cache table is updated to v II, mbid a won't appear in it, but mapper has the data still, so it'll [continue to show a link? no longer show a link because it's not in the cache?]
2022-12-07 34120, 2022
alastairp
which might be the case for 30 seconds, before this query runs
2022-12-07 34135, 2022
lucifer
yes right. it won't error just not show the data.
2022-12-07 34143, 2022
alastairp
got it
2022-12-07 34154, 2022
alastairp
this looks fine, just one tiny recommendation to the docs
2022-12-07 34118, 2022
lucifer
great, thanks!
2022-12-07 34103, 2022
BrainzGit
[listenbrainz-server] 14amCap1712 merged pull request #2279 (03master…mapping-redirect-invalidate): Invalidate mbid_mapper matches for redirects and deleted recordings https://github.com/metabrainz/listenbrainz-server…
2022-12-07 34105, 2022
alastairp
I don't know how this query syntax works, update where not exists + subquery/join
2022-12-07 34110, 2022
alastairp
neat
2022-12-07 34107, 2022
alastairp
I guess I might have written it as WHERE id in (select id from cache left join .. where mapped_col IS NULL)
2022-12-07 34116, 2022
alastairp
because that's familiar with my understanding of the db
2022-12-07 34157, 2022
lucifer
its a format of anti-join. i had asked in the pg channel to clarify the syntax.
2022-12-07 34109, 2022
lucifer
yes thats another way but likely to be less efficient.
2022-12-07 34144, 2022
alastairp
yeah, I would expect that it'd be less efficienct. there's always that tradeoff between easy-to-read and too smart
2022-12-07 34155, 2022
alastairp
but the line always moves
2022-12-07 34102, 2022
lucifer
makes sense
2022-12-07 34125, 2022
alastairp
I used to work with someone who insisted that we didn't use list comprehensions in python because it was a "complicated syntax that not everyone might know"
2022-12-07 34139, 2022
alastairp
sure, perhaps n years ago that was true
2022-12-07 34126, 2022
lucifer
hehe lol. indeed
2022-12-07 34109, 2022
Rishabh joined the channel
2022-12-07 34145, 2022
Rishabh
as a android developer, can somebody. guide me how can i contribute
2022-12-07 34133, 2022
Rishabh has quit
2022-12-07 34145, 2022
jivte
monkey: Hey I would like to work on LB-1157 can u please tell whether I can work on it.
Always good to see interest :) It's not going to be an entry level task, as we don't currently know where we want this feature, or what it should look like, so there is a fair amount of design and UX work before implementation.
2022-12-07 34152, 2022
monkey
If you're comfortable with that I'm happy to discuss it with you
2022-12-07 34153, 2022
jivte
Yes I actually had interest in this issue and thought we can have it on the listens like the main listens page
2022-12-07 34106, 2022
monkey
I suppose that makes sense, that's also where I would look for it myself. Of course it would only show on a user's own listens page
2022-12-07 34139, 2022
monkey
The closest feature we currently have is the search dropdown to add tracks to a playlist. I'd suggest starting by creating a playlist to try that out.
2022-12-07 34134, 2022
jivte
can u please elaborate what starting task should I work on
2022-12-07 34147, 2022
monkey
We could possibly use the same search dropdown to search for a track, although I would love to see an additional feature (that could be added as a second phase) to be able to paste a track MBID or full MusicBrainz URL
2022-12-07 34121, 2022
monkey
I think first you should start making mockups of what the feature would look like on the page
2022-12-07 34140, 2022
jivte
like developing UI
2022-12-07 34120, 2022
jivte
One more thing I can do is make a proposal type for this feature and then u can suggest changes on this feature
2022-12-07 34135, 2022
monkey
The methods to call the API already exist in the codebase so that won't be much work at all. I think the main question is how to let users search for and select the right track.
2022-12-07 34124, 2022
monkey
On thing missing in the playlist thing is a way to confirm it's the right track. Just showing track name and artist sometimes isn't enough
2022-12-07 34158, 2022
monkey
Yes I think that's the way to go jivte since it's a pretty complex feature and we'll want more eyes on it than just mine.
2022-12-07 34142, 2022
monkey
We can get aerozol involved with the design, and we'll rope in mayhem and lucifer for the aspect of searching for the track (the API to hit to do the search)
2022-12-07 34105, 2022
monkey
And I'll help you integrate all that and find the relevant pieces of code in the codebasE.
2022-12-07 34113, 2022
jivte
so should I work on this feature or pick some other task for the time being as it involves some serious discussion I think
2022-12-07 34129, 2022
monkey
At the end, we'll have a separate component that we can finally include in the listens page
2022-12-07 34149, 2022
jivte
okk I understood what the workflow would we like
2022-12-07 34116, 2022
monkey
If you are interested in the task, you could totally get started with simple mockups and doodles about UI and UX
2022-12-07 34145, 2022
monkey
Try out the playlist page and see how you would improve upon it
2022-12-07 34135, 2022
jivte
ok sorry to bother you but jus not getting clarity what to start with playlist page you are asking
2022-12-07 34109, 2022
monkey
Regardless of the technical aspects of which API to hit and such, the bulk of the feature will be the same: a good way for non-technical users to search for and select a track (from MusicBrainz), a way to set a date & time for the listen and a way to display the selected track fro confirmation before submitting it.
2022-12-07 34109, 2022
monkey
Possible advanced uses: using MBIDs/MB URLs, submitting an entire album in one go.
It's not exactly what we want, but it's the closest thing we currently have and will give you an idea of how to improve the feature for use in the listens page
2022-12-07 34113, 2022
Rishabh joined the channel
2022-12-07 34128, 2022
jivte
okk understood we need to improve that playlist part from the current part
2022-12-07 34129, 2022
monkey
I guess it's just to give you an idea of the direction
2022-12-07 34102, 2022
monkey
We might end up using the new and improved component for the playlist page as well, if appropriate; I'm not certain yet how well that would work, and it mostly depends on what your feature would look like
2022-12-07 34118, 2022
monkey
Whether it would integrate well on the playlist page as well
2022-12-07 34106, 2022
jivte
I think will work on its UI and frontend and then inform you
2022-12-07 34101, 2022
monkey
Awesome :) Thanks for taking this on !
2022-12-07 34155, 2022
jivte
Thanks for being so patience and helping me out :)
do you remember that I was working on a PR that was on hold because I had exams? well jivte happens to be my junior and I was sharing it with him today. And he told me that he's also working on revamping the playlist page apparently
2022-12-07 34108, 2022
riksucks
I showed him around the components and the search bar I made
2022-12-07 34147, 2022
riksucks
Will you be okay with him working on the PR? I can chime in and help him when needed?
2022-12-07 34109, 2022
monkey
Of course !
2022-12-07 34112, 2022
riksucks
he also showed me a mockup he made, I think he will share it with you when he's online
I've been wishing for something like this. I've requested some pricing information -- maybe it is possible to have our own streaming interface. :)
2022-12-07 34134, 2022
monkey
riksucks: there is a user search endpoint, I suppose if the endpoint returns no results then it's not valid
2022-12-07 34130, 2022
monkey
Streaming from where mayhem ?
2022-12-07 34101, 2022
vibhoo_24
@lucifer I have completed the setup.
2022-12-07 34106, 2022
jivte has quit
2022-12-07 34142, 2022
lucifer
vibhoo_24: nice, try exploring the LB website on your local server and listenbrainz.org to get an understanding of what's it about. then you can try to find a ticket to work on from tickets.metabrainz.org.
2022-12-07 34114, 2022
lucifer
monkey: we can add an endpoint for exact check as well. maybe augument the search one to accept a param for exact or fuzzy match,
2022-12-07 34127, 2022
vibhoo_24
okay i'll do some exploration to get some idea.Also one more question...I am not very familiar with docker....should I learn it from some tutorial
2022-12-07 34148, 2022
monkey
Makes sense. Not sure if it makes sense in this case to call a separate endpoint over jsut comparing lowercased top search result with search query
2022-12-07 34158, 2022
jivte joined the channel
2022-12-07 34101, 2022
lucifer
vibhoo_24: probably. but completely upto you. you should only need to know very basics, the develop.sh and test.sh scripts usually work well enough.
2022-12-07 34110, 2022
vibhoo_24
okay when I'll need I'll learn on the go.For now I will try to explore LB website
2022-12-07 34153, 2022
aerozol
reosarevok: re. spam, soundandvision did mention he'd sent you a looot of emails/reports :p
2022-12-07 34108, 2022
aerozol
Welcome back monkey!!
2022-12-07 34120, 2022
monkey
Fanks !
2022-12-07 34116, 2022
vibhoo_24 has quit
2022-12-07 34135, 2022
aerozol
jivte: monkey: re. manually adding listeners, user flaky is almost done making a Picard plugin that does that. I think it would be useful to see how they do it and then we can align with anything there that we like