The bash script is run by Linux Manjaro 5.11.22-2 user crontab.
it launch the symbolic link which is linking to /usr/local/bin/qbittorrent
so app is launched by that cronjob, its details:
$ /usr/local/bin/qbittorrent -v
qBittorrent v4.4.0alpha1
Inside app click some complete torrent, click Files tab, doubleclick some video file, it opens MPV player, but the sound is not played, in VLC it played (when i set it as default instead of MPV). VLC is using alsa.id = “ALC222 Analog” device. As said already in the past, when i open .mp3 from qbittorrent (it was earlier version 4.3.1-1 community), then the Audacity said:
ALSA error: snd_pcm_open failed: Device or resource busy.
UPDATE: this was fixed by switching audio device in Audacious settings to ALSA, though when i tried to switch to PulseAudio, player says “pa_context_connect() Failed: Connection refused” and then “snd_mixer_find_selem failed.”
Audio is not the only problem, when qbittorrent opens an file explorer (by clicking some payload folder to explore it), then it does no open new tab in already open Dolphin file manager, but opens new Dolphin file manager window with different styling than the Dolphin i already have opened (even the version of both is the same), but this weird Doplhin (or Thunar…) window which cause that SOME video files launched form it does not play audio (when tried in Normal dolphin session launched from XFCE 4.16, audio was played).
This is not a recent issue, happens for months and across various qbittorrent releases, may not be qbt issue, i do not know. What to do to find the cause please?
pulseaudio details here
STEPS TO REPRODUCE:
in qbittorrent, right click some torrent and “Open destination folder”, browse to some media file and play it.