Il 12/01/2024 17:24, Max Nikulin ha scritto:
On 12/01/2024 21:36, Valerio Vanni wrote:

Tried, it works on DVB play.

dbus-send --print-reply --dest=org.mpris.kaffeine /Player org.freedesktop.MediaPlayer.Stop

The question is if this action can be a replacement for killing kaffeine before unloading the dvb kernel module.

I'll try. It could make the script simpler.
If I launch kaffeine without --lastchannel, it should work. That way I'd have to open tv interface by hand when I start kaffeine.

What is baloo's tags.so doing with /dev/dvb devices accordingly to lsof report? I still had a hope that there is a workarond against its annoying behavior.

This is a file descriptors list of kioslave process, with a plain launch:

lrwx------ 1 valerio valerio 64 12 gen 20.53 0 -> /dev/pts/1
lrwx------ 1 valerio valerio 64 12 gen 20.53 1 -> /dev/pts/1
lrwx------ 1 valerio valerio 64 12 gen 20.53 19 -> '/memfd:pulseaudio (deleted)'
lrwx------ 1 valerio valerio 64 12 gen 20.53 2 -> /dev/pts/1
lr-x------ 1 valerio valerio 64 12 gen 20.53 25 -> /run/user/1000/dvbpipe.m2t l-wx------ 1 valerio valerio 64 12 gen 20.53 26 -> /run/user/1000/dvbpipe.m2t
lrwx------ 1 valerio valerio 64 12 gen 20.53 3 -> 'anon_inode:[eventfd]'
lr-x------ 1 valerio valerio 64 12 gen 20.53 31 -> anon_inode:inotify
lrwx------ 1 valerio valerio 64 12 gen 20.53 4 -> 'socket:[10323613]'

And this is one with a --lastchannel launch:

lr-x------ 1 valerio valerio 64 12 gen 20.52 0 -> 'pipe:[9256505]'
lrwx------ 1 valerio valerio 64 12 gen 20.52 1 -> 'socket:[71658]'
lrwx------ 1 valerio valerio 64 12 gen 20.52 19 -> '/memfd:pulseaudio (deleted)'
lrwx------ 1 valerio valerio 64 12 gen 20.52 2 -> 'socket:[71658]'
lr-x------ 1 valerio valerio 64 12 gen 20.52 25 -> /run/user/1000/dvbpipe.m2t l-wx------ 1 valerio valerio 64 12 gen 20.52 26 -> /run/user/1000/dvbpipe.m2t
lrwx------ 1 valerio valerio 64 12 gen 20.52 3 -> 'anon_inode:[eventfd]'
lr-x------ 1 valerio valerio 64 12 gen 20.52 31 -> anon_inode:inotify
lrwx------ 1 valerio valerio 64 12 gen 20.52 34 -> /dev/dvb/adapter0/frontend0
lr-x------ 1 valerio valerio 64 12 gen 20.52 36 -> 'pipe:[9253331]'
l-wx------ 1 valerio valerio 64 12 gen 20.52 37 -> 'pipe:[9253331]'
lrwx------ 1 valerio valerio 64 12 gen 20.52 4 -> 'socket:[9247546]'
lr-x------ 1 valerio valerio 64 12 gen 20.52 48 -> anon_inode:inotify
lrwx------ 1 valerio valerio 64 12 gen 20.52 54 -> '/memfd:pulseaudio (deleted)'

But perhaps it says nothing new.

Reply via email to