emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SOLUTION] a temporary workaround solution using another language li


From: Max Nikulin
Subject: Re: [SOLUTION] a temporary workaround solution using another language like "python"
Date: Mon, 1 May 2023 20:35:59 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 01/05/2023 20:08, Christopher M. Miles wrote:

I use another language "python" to replace "sh" to play video now. It successes.

:EVAL:     src_python{import os; video_file = "枕刀歌/《枕刀歌》SE05 江海阔 歌谣哼唱.mp4"; os.system("mpv 
\"%s\" " %(video_file))}

It's not as convenient as shell command directly but at least it works.
Seems the sh inline source block can't be used to play video using "mpv"
(I also tested other video player commands like "mplayer", "iina" etc).

For interactive application you may try ob-screen. I find its name confusing.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]