Bonjour
Je suis confronté a un petit problème dont je ne trouve pas la solution,
Quand j’ouvre le terminal et tape playerctl play , mon media player effectue la lecture , jusque la tout est normal, la ou ça pose problème c’est dans mon script python , apres la commande subprocess.call(‹ playerctl play ›, shell=True)
Dans le terminal playerctl m’affiche no player found.
J’ai cherché assez bien et testé popen, run, pipe
Rien ne fonctionne.
Quelqu’un aurait il une explication a ce problème ?