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_?"
"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)"
lucifer: thoughts? ^
smach has quit
wargreen has quit
wargreen joined the channel
saumon has quit
lucifer
aerozol: do you/Flaky mean with no duration in MB?
saumon joined the channel
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)
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.
rather specify a start time of the listen of the release and fill in timestamps for tracks from MB.
*timestamps for tracks using duration data from MB
d4rk joined the channel
d4rk-ph0enix has quit
jivte joined the channel
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
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 :)
reosarevok
aerozol: he did send a fair amount, but that's still less than we get in one day :/
(so it's not really sustainable to do it all by hand)
jivte has quit
jivte joined the channel
jivte has quit
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
So your next step is to submit a mockup, can be pencil and paper or digital, with what you wanna do :)
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
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?
just a hunch that the culprit might not be the db but rather the indexer.
alastairp
lucifer: go for it
lucifer
👍 thanks
jivte
lucifer: like could u clarify on timestamps as I am not aware of it :(
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
lucifer
this listened_at time, track name, artist name are the three bare minimum things needed to submit a listen to LB.
aerozol
And the second option, 'past listen', which let's you set a time and date for the tracks your submitting
jasje has quit
yvanzo
lucifer: right before it crashes, db uses up to 4.x GB and indexer up to 8.x GB
jasje joined the channel
lucifer
yvanzo: makes sense. let me push a quick patch to test something.
yvanzo
(using 25000 for query_batch_size)
lucifer
which branch are you testing this on currently?
yvanzo
raiseload but rebased on master
it should probably be rebased anyway
Can test master instead
Have not seen any difference with the WIP raiseload patch anyway
note that search (Solr) stays stable with ~1.4 GB
(its logs show some activity though)
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.
(It'll need to be disabled when the "now" radio option is selected)
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
The are also last.fm submitters that you can look up and try out
*time being
jivte
aeroazol
aerozol: like I don't know how to use picard plugin