Related to submitting listens - Flaky asks "There is one thing I need to sort out though: recordings with no timestamps. Should those be added on MBz where possible or not submitted _at all_?"
2022-12-08 34218, 2022
aerozol
"if someone's submitting a single recording that's fine, but it's more about when there's releases that have recordings with no timestamps (messes with calculations)"
2022-12-08 34233, 2022
aerozol
lucifer: thoughts? ^
2022-12-08 34253, 2022
smach has quit
2022-12-08 34259, 2022
wargreen has quit
2022-12-08 34252, 2022
wargreen joined the channel
2022-12-08 34220, 2022
saumon has quit
2022-12-08 34206, 2022
lucifer
aerozol: do you/Flaky mean with no duration in MB?
2022-12-08 34218, 2022
saumon joined the channel
2022-12-08 34227, 2022
aerozol
lucifer: I've asked, but presumably in mb since you can just load any mb release to submit (e.g. a vinyl release, no need for the music files)
2022-12-08 34202, 2022
lucifer
right. so the user has to choose the time which should be submitted with the listen. and when you are submitting a release you probably dont want to specify timings of each recording manually.
2022-12-08 34235, 2022
lucifer
rather specify a start time of the listen of the release and fill in timestamps for tracks from MB.
2022-12-08 34203, 2022
lucifer
*timestamps for tracks using duration data from MB
2022-12-08 34241, 2022
d4rk joined the channel
2022-12-08 34214, 2022
d4rk-ph0enix has quit
2022-12-08 34258, 2022
jivte joined the channel
2022-12-08 34252, 2022
jivte
aerosol: The image I sent was of a chat application which I worked on so I was telling if we can implement his UI like replacing chat name with playlist name, add users with add tracks and to show errors if a particular track is not found and that croos button to remove a track from playlist
2022-12-08 34209, 2022
jivte
monkey: Hey is there an api to confirm a track is present or not and an api to search tracks using a single character or word like in spotify :)
2022-12-08 34235, 2022
reosarevok
aerozol: he did send a fair amount, but that's still less than we get in one day :/
2022-12-08 34247, 2022
reosarevok
(so it's not really sustainable to do it all by hand)
2022-12-08 34254, 2022
jivte has quit
2022-12-08 34228, 2022
jivte joined the channel
2022-12-08 34245, 2022
jivte has quit
2022-12-08 34243, 2022
aerozol
jivte: The look and feel needs to match what’s currently in LB - what monkey shared is probably a good place to start from. You can combine it with your chat design if you want, but we need a mockup with this functionality to sign off
2022-12-08 34244, 2022
aerozol
So your next step is to submit a mockup, can be pencil and paper or digital, with what you wanna do :)
2022-12-08 34236, 2022
aerozol
Here’s a screenshot of the functions Flaky’s plugin has, we might not need all of them but it all looks good to me
Hi jivte, indeed I was just suggesting the playlist page's add-a-track component as a potential starting point for this new submit-a-listen component, not suggesting to improve the playlist page. The mockup we need is for the submit a listen component that is going to go on the user's listens page
2022-12-08 34212, 2022
jivte
okk okk I understood I am currently working on the mockup design of submit-a-listen component after completing I will share with you
yvanzo: can you run docker stats in a terminal side by side and try to monitor (not sure writing it to a file would work) which container is using how much memory?
2022-12-08 34249, 2022
lucifer
just a hunch that the culprit might not be the db but rather the indexer.
2022-12-08 34241, 2022
alastairp
lucifer: go for it
2022-12-08 34248, 2022
lucifer
👍 thanks
2022-12-08 34221, 2022
jivte
lucifer: like could u clarify on timestamps as I am not aware of it :(
2022-12-08 34228, 2022
aerozol
jivte: have a look at the screenshot I sent of flaky's plugin - need to be able to say when it was submitted, and an option to paste in a whole album would be ideal. A common use case will be someone listening to a whole album and wanting to submit it. On their ipod or on vinyl or whatever
You'll see that screenshot has two options - 'now', which sets the time stamp to the users current time, and then adds all the listens in order of time after that
2022-12-08 34213, 2022
lucifer
this listened_at time, track name, artist name are the three bare minimum things needed to submit a listen to LB.
2022-12-08 34256, 2022
aerozol
And the second option, 'past listen', which let's you set a time and date for the tracks your submitting
2022-12-08 34254, 2022
jasje has quit
2022-12-08 34231, 2022
yvanzo
lucifer: right before it crashes, db uses up to 4.x GB and indexer up to 8.x GB
2022-12-08 34257, 2022
jasje joined the channel
2022-12-08 34213, 2022
lucifer
yvanzo: makes sense. let me push a quick patch to test something.
2022-12-08 34221, 2022
yvanzo
(using 25000 for query_batch_size)
2022-12-08 34251, 2022
lucifer
which branch are you testing this on currently?
2022-12-08 34204, 2022
yvanzo
raiseload but rebased on master
2022-12-08 34213, 2022
yvanzo
it should probably be rebased anyway
2022-12-08 34223, 2022
yvanzo
Can test master instead
2022-12-08 34235, 2022
yvanzo
Have not seen any difference with the WIP raiseload patch anyway
2022-12-08 34224, 2022
yvanzo
note that search (Solr) stays stable with ~1.4 GB
2022-12-08 34228, 2022
yvanzo
(its logs show some activity though)
2022-12-08 34244, 2022
jivte
lucifer: aerozol : like should we take these timestamps from user or like find a inner way to show it
As they said above, I think the Picard plugin does it well: two radio options: "now" and "past listen". Next to past listen you can put that date-time select component.
2022-12-08 34202, 2022
monkey
(It'll need to be disabled when the "now" radio option is selected)
2022-12-08 34203, 2022
aerozol
jivte: no rush! For the time thing is would be good to look at flakys plugin and submit a listen so you know what we mean
2022-12-08 34220, 2022
aerozol
The are also last.fm submitters that you can look up and try out
2022-12-08 34233, 2022
aerozol
*time being
2022-12-08 34250, 2022
jivte
aeroazol
2022-12-08 34230, 2022
jivte
aerozol: like I don't know how to use picard plugin