[listenbrainz-android] 14dependabot[bot] opened pull request #287 (03dev…dependabot/gradle/dev/com.airbnb.android-lottie-6.2.0): Bump com.airbnb.android:lottie from 6.1.0 to 6.2.0 https://github.com/metabrainz/listenbrainz-androi…
2023-11-22 32623, 2023
BrainzGit
[listenbrainz-android] 14dependabot[bot] opened pull request #288 (03dev…dependabot/gradle/dev/androidx.browser-browser-1.7.0): Bump androidx.browser:browser from 1.6.0 to 1.7.0 https://github.com/metabrainz/listenbrainz-androi…
2023-11-22 32627, 2023
BrainzGit
[listenbrainz-android] 14dependabot[bot] opened pull request #289 (03dev…dependabot/gradle/dev/androidx.lifecycle-lifecycle-runtime-compose-2.7.0-rc01): Bump androidx.lifecycle:lifecycle-runtime-compose from 2.7.0-beta01 to 2.7.0-rc01 https://github.com/metabrainz/listenbrainz-androi…
2023-11-22 32641, 2023
BrainzGit
[listenbrainz-android] 14dependabot[bot] opened pull request #290 (03dev…dependabot/gradle/dev/com.airbnb.android-lottie-compose-6.2.0): Bump com.airbnb.android:lottie-compose from 6.1.0 to 6.2.0 https://github.com/metabrainz/listenbrainz-androi…
2023-11-22 32645, 2023
BrainzGit
[listenbrainz-android] 14dependabot[bot] opened pull request #291 (03dev…dependabot/gradle/dev/com.android.tools.build-gradle-8.1.4): Bump com.android.tools.build:gradle from 8.1.3 to 8.1.4 https://github.com/metabrainz/listenbrainz-androi…
2023-11-22 32623, 2023
texke has quit
2023-11-22 32659, 2023
texke joined the channel
2023-11-22 32604, 2023
lusciouslover joined the channel
2023-11-22 32631, 2023
lusciouslover has quit
2023-11-22 32600, 2023
lusciouslover joined the channel
2023-11-22 32633, 2023
mayhem
mooin!
2023-11-22 32612, 2023
mayhem
lucifer: I didn't add that team to coreteam. too lazy to keep doing that, so I just made you Org Owner. go do it yourself. 😛
2023-11-22 32658, 2023
RetroPunk joined the channel
2023-11-22 32609, 2023
RetroPunk has quit
2023-11-22 32631, 2023
opal has quit
2023-11-22 32609, 2023
opal joined the channel
2023-11-22 32602, 2023
lusciouslover has quit
2023-11-22 32609, 2023
ApeKattQuest joined the channel
2023-11-22 32642, 2023
davic has quit
2023-11-22 32625, 2023
davic joined the channel
2023-11-22 32654, 2023
ApeKattQuest
I'm still annoyed the Android app doesn't have a reference to Lt Commander Data
2023-11-22 32601, 2023
Sophist-UK has quit
2023-11-22 32627, 2023
Sophist-UK joined the channel
2023-11-22 32652, 2023
}8] has quit
2023-11-22 32618, 2023
}8] joined the channel
2023-11-22 32659, 2023
Maxr1998_ has quit
2023-11-22 32616, 2023
Maxr1998 joined the channel
2023-11-22 32635, 2023
d4rk-ph0enix joined the channel
2023-11-22 32601, 2023
d4rkie has quit
2023-11-22 32623, 2023
mayhem
ApeKattQuest: that would be a good Easter egg
2023-11-22 32640, 2023
lucifer
thanks mayhem!
2023-11-22 32657, 2023
lucifer
atj: do you happen to have the logs from the uwsgi errors the other day?
there was some sort of screen with moving images saying it can be used for these things i alreadyknew of. and thne asking ofr permissions wich i thikn i got right and after that it wantd to play music from where i don't know.
2023-11-22 32602, 2023
ApeKattQuest
but when I tried using my music app (musicolet) it didn't seem to notice it
2023-11-22 32606, 2023
ApeKattQuest
🤷
2023-11-22 32637, 2023
atj
so...you liked it then
2023-11-22 32654, 2023
ApeKattQuest
i don't really get it
2023-11-22 32604, 2023
ApeKattQuest
:)
2023-11-22 32641, 2023
ApeKattQuest
will it notice bandcamp app?
2023-11-22 32606, 2023
ApeKattQuest
how can I make it understand musicolet? it plays and the song playing does show up in the notification part
2023-11-22 32610, 2023
ApeKattQuest
place on the phone
2023-11-22 32639, 2023
ApeKattQuest
and cna it run witouth having a banner where it wants to play whatever from.. i gues some music folder it scanned
2023-11-22 32604, 2023
ApeKattQuest
I had the mp3 I use for ringtone, lol
2023-11-22 32622, 2023
ApeKattQuest
it wants to work as a player (wich is fine) but i have my own player with my own set-up that i have fixed for this. i don't want it to fetch like, folders in various places that are things like music from games or apps or ringtones or what :D
2023-11-22 32649, 2023
ApeKattQuest
having a "ignore this folder" would be good
2023-11-22 32616, 2023
ApeKattQuest
even a bit where when yo ustart it it will ask you, "where do you keep music?" and thne you can tell it wich folder(s) to look at
2023-11-22 32631, 2023
ApeKattQuest
whne you start it *first time
2023-11-22 32647, 2023
ApeKattQuest
does the player have a "shuffle on album" feature? it needs that (one reason i used musicolet really, since apparently no other app did that)
2023-11-22 32657, 2023
ApeKattQuest
idk if musicolet does it properly either. its hella complex :D
2023-11-22 32629, 2023
ApeKattQuest
there should be a "listen to music from other apps in the background mode. and also you should tell it which apps to listen to. so it doesn't like, notice an alarm app or think some other random app is playing some music
2023-11-22 32654, 2023
ApeKattQuest
i'd like it to only pay attention to bandcamp app and musicolet. probably not youtube
2023-11-22 32628, 2023
ApeKattQuest
well that was my first impression. I'll try actually going into it later :D
2023-11-22 32638, 2023
akshaaatt
ApeKattQuest: did you get to the part where you gave notification access to the app?
2023-11-22 32654, 2023
akshaaatt
You can check by going to the settings page from the gear on the top bar
2023-11-22 32623, 2023
akshaaatt
It has a section for Listening apps. You can check that list and confirm whether your apps are recognised properly
2023-11-22 32643, 2023
akshaaatt
As for the music player.. that needs a revamp and your points are valid and should be fixed when we do that
2023-11-22 32640, 2023
ApeKattQuest
alright! I'll test that next time I try the app!
2023-11-22 32641, 2023
zcross joined the channel
2023-11-22 32600, 2023
zcross
hi , i was wondering where can i see the issues on which i can submit prs for ?
2023-11-22 32617, 2023
ApeKattQuest
lookinto musicolet (I think it's open source?) it's very customisable
"runit/systemd/systemv sees that consul-template has died so it restarts the consul-template process. This is evident from the following line of the log"
2023-11-22 32657, 2023
atj
"2023/11/22 15:43:41 [DEBUG] (logging) enabling syslog on LOCAL0"
2023-11-22 32608, 2023
atj
maybe if you're lucifer it's evident :P
2023-11-22 32629, 2023
lucifer
atj: the line just after the log makes it evident to me.
2023-11-22 32610, 2023
lucifer
but yes it might be that i am mistaken about it. i have been able to reproduce my hunch locally though.
it's probably sine unix signal nonsense due to SIGCHLD not being handled correctly
2023-11-22 32620, 2023
lucifer
since this is local, there's no runit to restart consul-template again but that happens in prod and then the rest of the explanation in the comment follows.
2023-11-22 32626, 2023
atj
s/sine/some/
2023-11-22 32633, 2023
lucifer
oh i see, makes sense.
2023-11-22 32653, 2023
lucifer
i was trying to read consul-template code as well but no success so far. go uhhhh
2023-11-22 32606, 2023
lucifer
atj: is it possible to ask consul-template to run a command to reload the child process instead of sending a signal?
2023-11-22 32616, 2023
atj
do you know what version of consul-template we're using?
>In the future it could be made configurable if needed.
2023-11-22 32659, 2023
lucifer
yeah we need that or find a way to make uWSGI workers ignore SIGHUP
2023-11-22 32602, 2023
lucifer
it seems that uWSGI internally also sends SIGHUP to its workers to gracefully shutdown so this needs to be fixed in consul-template itself
2023-11-22 32603, 2023
lucifer
for the time being, i think --die-on-term is good enough because that's what is happening anyway with all these complex consul-template/uwsgi interactions.
2023-11-22 32643, 2023
bitmap
nice find lucifer (I am glad MBS ditched consul-template...)
2023-11-22 32602, 2023
atj
consul and consul-template aren't exactly my favourite pieces of software
I was experimenting with an ansible role for deploying openresty on a completely separate server and somehow managed to take down CB due to consul-template DDoSing consul
2023-11-22 32656, 2023
reosarevok
Nah, not this time
2023-11-22 32609, 2023
bitmap
when MBS used it it kept writing blank DBDefs.pm files, crashing the server, and also had the same issue with processes not dying -- probably the same as the uwsgi one
2023-11-22 32639, 2023
bitmap
short of writing a wrapper around uwsgi I guess --die-on-term works (just not ideal since it may briefly cause 502s)
2023-11-22 32654, 2023
lucifer
it still causes 502s because consul sends SIGHUPs to all child workers at once overriding the graceful reloads of uWSGI
2023-11-22 32639, 2023
bitmap
yeah
2023-11-22 32649, 2023
bitmap
removing consul-template is the only ideal solution tbh
2023-11-22 32610, 2023
reosarevok
bitmap: something like this inside run_in_transaction?