I haven't published it yet as it is part of my latest MB project which I've been working on. Let me try to convert it into a python function this evening.
2023-05-16 13619, 2023
mayhem
❤️
2023-05-16 13609, 2023
kellnerd
Hmm, looking at the above examples I'm not quite sure how to decide which script should be regarded as guff and which should be kept...
2023-05-16 13609, 2023
kellnerd
Do we want to keep latin / the first / the most frequent script or even return two alternative cleanup results?
2023-05-16 13647, 2023
kellnerd
e.g. "Dan No Ura" or "壇ノ浦の戦" or ["Dan No Ura", "壇ノ浦の戦"]
2023-05-16 13659, 2023
mayhem
keep latin is the first thing I would try.
2023-05-16 13631, 2023
kellnerd
👍
2023-05-16 13635, 2023
mayhem
two results would work too.
2023-05-16 13603, 2023
mayhem
huh, best band name today `(not a band name, just fyi)`
2023-05-16 13608, 2023
mayhem
not-band-name?
2023-05-16 13641, 2023
rishav_a2z joined the channel
2023-05-16 13655, 2023
jivte_ has quit
2023-05-16 13623, 2023
jivte_ joined the channel
2023-05-16 13644, 2023
rozlav has quit
2023-05-16 13642, 2023
rozlav joined the channel
2023-05-16 13650, 2023
mayhem
akshaaatt: there is a LB app feedback mail in support@ for you.
2023-05-16 13653, 2023
akshaaatt
Please forward it to me mayhem .
2023-05-16 13613, 2023
mayhem
done
2023-05-16 13638, 2023
akshaaatt
Great feedback! Sending local listens from BP to LB is in the pipeline currently.
2023-05-16 13656, 2023
akshaaatt
We should get to it soon enough
2023-05-16 13607, 2023
mayhem
can you please reply and cc support@?
2023-05-16 13615, 2023
akshaaatt
Sure thing!
2023-05-16 13628, 2023
mayhem
is there support or could there be support for knowing what spotify is playing?
2023-05-16 13638, 2023
mayhem
there is a now listening API for android, yes?
2023-05-16 13628, 2023
kellnerd
mayhem: Unfortunately python's re module does not support unicode properties, the feature which I used in JS :/
unidecode does a pretty good job of converting things back to ascii.
2023-05-16 13659, 2023
akshaaatt
We do have that API available, mayhem! We use it in the app currently to show what is Now Playing in the listens page
2023-05-16 13610, 2023
mayhem
the problem with this approach is that we have a diff type problem of analyzing the results.
2023-05-16 13619, 2023
akshaaatt
Even when you play a song on web, the app syncs automatically
2023-05-16 13631, 2023
akshaaatt
Monkey tested that a few days back
2023-05-16 13651, 2023
mayhem
does it submit the now listening to LB? or is it only kept inside the app?
2023-05-16 13609, 2023
akshaaatt
Not yet, mayhem. It’s only inside the app currently.
2023-05-16 13634, 2023
mayhem
is that on the roadmap? it could solve the problem of spotify's laggy reporting of listens.
2023-05-16 13641, 2023
akshaaatt
Yussss
2023-05-16 13644, 2023
akshaaatt
On it
2023-05-16 13648, 2023
mayhem
sweeeeit!
2023-05-16 13655, 2023
monkey
Certainly helpful for the playing now listen
2023-05-16 13655, 2023
kellnerd
Heh, I just realized that python-regex was already installed as a dependency on my OS, so I will definitely try to use that :)
2023-05-16 13607, 2023
mayhem
kellnerd: yay!
2023-05-16 13615, 2023
kellnerd
Yay! s/import re/import regex as re/ and it works
2023-05-16 13625, 2023
mayhem
nice.
2023-05-16 13637, 2023
mayhem
I wonder if that is as performant as the existing re lib.
2023-05-16 13651, 2023
mayhem
could you try running my large datasets using both?
2023-05-16 13655, 2023
mayhem
happy to share the file with you.
2023-05-16 13611, 2023
mayhem
akshaaatt: lucifer : there is a chance I'll be arriving in Delhi the afternoon of 25 Nov. Shall we have a mini meet up in India and invite other contributors as well?
2023-05-16 13629, 2023
lucifer
sounds awesome to me! :D
2023-05-16 13643, 2023
mayhem
keep the weekend free for now.
2023-05-16 13650, 2023
akshaaatt
Awesome! ⚡️⚡️⚡️
2023-05-16 13658, 2023
akshaaatt
What’s the occasion, mayhem?
2023-05-16 13601, 2023
mayhem
chhavi and samj are getting married in jaipur the days before the weekend.
2023-05-16 13610, 2023
akshaaatt
Damn
2023-05-16 13619, 2023
mayhem
so, I can fly to Delhi Saturday morning.
2023-05-16 13633, 2023
mayhem is stupidly excited to be invited to an indian wedding.
2023-05-16 13638, 2023
lucifer
ohh noice! 🎉🎉
2023-05-16 13647, 2023
jivte_ has quit
2023-05-16 13615, 2023
mayhem
param: you too! Nov 25th/26th MeB meeting up Delhi?
2023-05-16 13615, 2023
akshaaatt
mayhem: you’re surely gonna enjoy the big fat weddings in India
2023-05-16 13622, 2023
mayhem
:D
2023-05-16 13638, 2023
akshaaatt
They spend like they own the world when marrying
2023-05-16 13640, 2023
mayhem
I've heard. can't wait to experience the food. and I hope there are bollywood dancers. :D
2023-05-16 13625, 2023
jivte_ joined the channel
2023-05-16 13625, 2023
monotux has quit
2023-05-16 13647, 2023
jasje
akshaaatt: BP submissions work already
2023-05-16 13608, 2023
jasje
can you check the date when that mail was recieved?
2023-05-16 13616, 2023
mayhem
today
2023-05-16 13623, 2023
akshaaatt
Did we release that already, jasje?
2023-05-16 13627, 2023
mayhem
just a short while ago.
2023-05-16 13655, 2023
akshaaatt
I thought it was merged just a few days ago and we are yet to do a release of it
2023-05-16 13657, 2023
jasje
akshaaatt: did that before redesigning listen service
2023-05-16 13604, 2023
jasje
no no
2023-05-16 13617, 2023
jasje
is something f*cked again lol?
2023-05-16 13643, 2023
jasje
I was sending local submissions last month no way it don work
2023-05-16 13604, 2023
akshaaatt
Let me confirm once
2023-05-16 13613, 2023
jasje
yeah it works
2023-05-16 13628, 2023
jasje
the user might not have filled their LB token
2023-05-16 13637, 2023
jasje
put these questions:
2023-05-16 13645, 2023
akshaaatt
jasje: I think it is wrong of you to barge into a conversation without having context.
2023-05-16 13656, 2023
akshaaatt
This is different
2023-05-16 13610, 2023
akshaaatt
Calm down, I’ll share the email with you
2023-05-16 13622, 2023
akshaaatt
Dm me your email
2023-05-16 13637, 2023
jasje
akshaaatt: sorry mb
2023-05-16 13608, 2023
jasje
i was replying just to this line btw:
2023-05-16 13622, 2023
jasje
<akshaaatt> Great feedback! Sending local listens from BP to LB is in the pipeline currently.
2023-05-16 13629, 2023
akshaaatt
Yeah I get that but the context is different. I don’t treat BP and the spotify listens separately in my head even though we deal with them separately in the app currently
Now you can either test the performance of "regex" yourself or send me the file :)
2023-05-16 13618, 2023
kellnerd
Currently only stripping foreign scripts, if the performance is good I can look into separating different scripts
2023-05-16 13639, 2023
mayhem
cool! will test now.
2023-05-16 13630, 2023
jasje
akshaaatt: oh i see
2023-05-16 13636, 2023
akshaaatt
Yus
2023-05-16 13600, 2023
jasje
now i need to search android go
2023-05-16 13605, 2023
akshaaatt
XD
2023-05-16 13639, 2023
jasje
phil says that pano scrobbler works
2023-05-16 13654, 2023
jasje
is there another way?
2023-05-16 13603, 2023
monkey
I also use pano scrobbler
2023-05-16 13611, 2023
monkey
(in case you need testing/info)
2023-05-16 13640, 2023
reosarevok
yvanzo: PR updated
2023-05-16 13654, 2023
jasje
monkey: LB Android doesn't work for you?
2023-05-16 13607, 2023
akshaaatt
He didn’t say he uses android go
2023-05-16 13615, 2023
akshaaatt
Talking about monkey
2023-05-16 13620, 2023
jasje
i mean the submission
2023-05-16 13604, 2023
jasje
monkey: android version?
2023-05-16 13630, 2023
mayhem
from 22s to 57s for 4M rows, kellnerd.
2023-05-16 13632, 2023
akshaaatt
More so, we should send spotify listens atleast because we do get that callback easily on the app
2023-05-16 13642, 2023
jasje
akshaaatt: i remember he did say sometime back that app isnt working i think'
2023-05-16 13658, 2023
monkey
For me I think last time I tried local listens (not listened with the android app but with bandcamp app) weren't submitted. Not sure if that's what you're talking about
2023-05-16 13603, 2023
mayhem
I think I might make use of both libs in this case. (use regexp only to do the script matching)
2023-05-16 13602, 2023
akshaaatt
monkey, if you have a moment, could you please hop on to the LB app and send a screenshot of your screen when you click on the button present jn the Listens screen?
2023-05-16 13611, 2023
jasje
monkey: yes thats what i meant
2023-05-16 13624, 2023
akshaaatt
I just wanna confirm whether it’s a device issue or implementation issue?
2023-05-16 13606, 2023
bitmap
reosarevok: yvanzo: json dumps are up and running since a few hours ago
2023-05-16 13624, 2023
reosarevok
Thanks!
2023-05-16 13631, 2023
mayhem
shaved 11 seconds using both libs
2023-05-16 13602, 2023
monkey
Listens screen shows my most recent listens (plus as "now playing", my ringtone from this morning that plays through spotify)