libera/#maemo-leste/ Sunday, 2023-04-30

Wizzuparno11: I get about 24h of battery life without any OC patches btw13:40
Wizzupwith modem on etc13:40
WizzupI think when ts actually idles it will save a lot more too13:40
Wizzuparno11: so for now, we can maybe have an init script that loads nokia-modem after ofono or something?14:02
arno11Wizzup: (for the battery life) cool. yes we can even do better with TS stuff14:28
arno11nokia modem must be loaded after all other modules14:29
arno11to avoid random bugs and errors14:30
Wizzupwell, I think we can have the init script run after ofono14:31
Wizzupthat should be fine14:31
arno11ok cool14:31
arno11Wizzup: do you have troubles with audio ringstone ?14:34
arno11or playing music ?14:35
WizzupI haven't checked, but I will14:35
WizzupI doubt that the same asound state works14:35
Wizzupthis is why we need UCM14:35
Wizzupbut I haven't checked it yet14:35
Wizzupback in a ibt14:35
arno11because default 48000hz cause troubles14:35
arno11using always same asound works fine14:36
arno11but i recommand to use default 44100hz in daemon.conf14:37
arno11Wizzup: sicelo: i successfully removed the 15 sec incoming call bug. It is not 100% functional ATM because i need to add a new "disconnected" state to hangup incoming calls properly.16:16
arno11Anyway cmtspeech was using wrong ofono properties.16:17
uvosso what do we need mafw for exactly16:51
uvosie what dose it bring to the table the usual desktop linux media frameworks dont?16:51
freemangordonlike which one?16:58
uvoswell all of them, so what would you gain when switching from for instance qtmultimedia with mp-ris to mafw?17:01
uvosfor instance17:01
freemangordonintegration with mce, for example17:01
freemangordondaemon17:02
freemangordonlighter footprint17:02
freemangordoniirc, libplayback integration17:03
uvos1. what integraton? pause on blank? we need to add mp-ris support anyhow so that the desktop applications behave, same gos for libplayback17:03
uvos2. not really a benefit17:03
uvos3. citation needed it just uses gstreamer as a backend no?17:04
freemangordonlibplayback is not what its name implies17:04
freemangordonhttps://github.com/maemo-leste/libplayback17:05
uvoslibplayback is a client API that allows an application to declare its playback state17:05
freemangordonmhm17:05
uvossounds exactly like mpris17:05
uvosand mpris is universally supported on desktop applications17:05
uvosrealy 100%17:05
freemangordonfeel free to install KDE then17:05
uvoshow is mpris kde?17:05
freemangordonfor example17:05
uvosits not even initated by them17:05
freemangordonand you'll have DE on your mobile17:06
freemangordonthis conversation is really useless17:06
freemangordonbecause someone does not like/does not know some API does not make that API bad17:06
uvosim not saying its bad17:07
freemangordonanyway, libplayback is integrated with th eother parts of leste17:07
freemangordonif we are to keep what we know works good on mobile, I don;t see why shall we reinvent the wheel17:07
uvosbut your expending signifcant effort draging a api into the present, that duplicates a widly used available api that we need to implement anyhow because its widely used17:07
uvosso i question this17:08
freemangordonI( understand that17:08
freemangordonbut I am not convinced taking desktop applications and puting them on mobile is a good idea17:08
freemangordonnot to say none of them are integrated with OS/DE in the way maemo components are17:09
uvoseven if you ignore any "desktop" application (i highly object to this), the problem is also that our colleagues @plamo and probubly also phosh are developing mobile focused applications that do use thes apis17:10
freemangordonI know you have little idea what I am talking about having almost none experience with fremantle as user, unfortunately I have no idea how to explain such UX17:10
uvosthe "ux" has nothing to do with the api used to accive the effect17:10
freemangordonit has lots of17:10
uvosimo the "ux" will be mutch worse if the apis used are only implemented by a tiny subset of the avialble applications17:11
freemangordonI don;t need 10 media players17:11
freemangordonnor 10 phone apps17:11
freemangordonI need one that works well17:11
freemangordonBTW, OMP is a QT FOSS rewrite of the stock Nokia MP, that was written in GTK17:12
freemangordonso MAFW must be good enough to allow that17:12
freemangordonalso, there is MP destop widget, which is built upon the fact that MAFW gives daemopn17:13
uvoswell on fremantle they where more or less forced to go trough contortions to use nokias apis for anything to work17:13
freemangordonno17:13
freemangordonthere was QtMultimedia back then17:13
uvossure but it dosent itegrate with os at all17:13
freemangordonqyoutube uses it, for example17:13
uvosbecause the os bits are only implemented on the nokia api side..17:14
freemangordonwhat bits exactly?17:14
freemangordonalso, how is the situation any better now?17:14
uvoswell i would expect stuff to duck/pause for notifactions, maybe song title on the lockscreen, def things like universal media widges on h-h17:15
freemangordonright17:15
uvosie the stuff mpris is used for on desktop17:15
uvosand plamo etc17:15
buZzi would like 'x unread sms' 'x missed calls' on lockscreen17:15
freemangordonbuZz: umm, we have that17:16
uvosno we dont17:16
buZzoh? havent ever seen any17:16
freemangordonyes, we do17:16
uvosno sphone is not called "rtcom"17:16
uvosso it dosent work17:16
freemangordonwell, that does not mean we *do not* have it17:16
buZzah yeah its the 'sphone wont get features we want' argument?17:16
freemangordonright, it does not work17:16
uvossince its hardcoded to only show when its from "rtcom"17:16
uvosbuZz: its not really sphones fault17:16
buZzbut?17:17
uvossee above17:17
freemangordonno, it is hardcoded to read the DB with sql queries17:17
freemangordonanyway17:17
buZzthat doesnt tell me why it cant read the information from the db17:17
buZzis the information in the db?17:17
freemangordonno17:17
buZzcan we put it in? :)17:17
freemangordonbecause nobody puts it there17:17
freemangordon\sure17:18
freemangordon*sure17:18
buZzbut why arent we, then?17:18
freemangordonbecause Wizzup seems to be overloaded lately17:18
buZzis the rtcom-db-not-filled also the cause for unable to add numbers from 'recent' in contacts?17:18
freemangordonyes17:18
buZzah, sounds important then :)17:18
freemangordonwell...17:18
freemangordonwe had that discussion couple of times already17:19
freemangordonno need to repeat once again17:19
freemangordonwe know what/where has to be done17:19
freemangordonit is just that nobody did it already17:20
buZzalright :)17:21
freemangordonuvos: so, in your QtMultimedia example, who will lower the volume in case of notification or stop playback in case of a phone call?17:22
freemangordonshall we teach QtMultimedia on that?17:23
uvosfreemangordon: so we would just have someone (maybe mce, maybe some pa plugin) stop or lower all mpris clients when required18:21
uvoscentrally18:21
uvosthen everybody should follow, incl random media players and browsers etc18:21
uvosto enforce just lowering of the volume (as opposed to stoping playback) we should also affect the pa streams18:22
uvosso that works for games and so on too18:22
uvosyou can alos have pa stop accepting writes on the soccet (on d4 we currently do this when in call mode)18:23
uvoshow this affects applications is a bit uneven and i dont know if dothing this is a good plan long term18:23
uvossome applications use non-blocking writes and pause themselves when they cant write to pa18:23
uvosotheres use blocking writes and hang untill pa unblocks the stream18:24
uvosthe latter is a bit undesirable ofc18:24
freemangordonok, but IIUC that would require way more effort that just porting 50 LOC from gst 0.1 to gst 1.018:39
freemangordonand yet, we are tied to and API, not mafw, but MPRIS18:40
freemangordonwhich we have no idea how it works on mobile and what downsides it has18:40
freemangordons/and API/another API/18:40

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!