From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gOpIC5nUT2QbAAAASxT56A (envelope-from ) for ; Mon, 01 May 2023 17:02:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UJotC5nUT2STSgEAauVa8A (envelope-from ) for ; Mon, 01 May 2023 17:02:49 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C64091533F for ; Mon, 1 May 2023 17:02:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptTKV-00075g-2S; Mon, 01 May 2023 09:12:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptTKT-00074v-4p for emacs-orgmode@gnu.org; Mon, 01 May 2023 09:12:33 -0400 Received: from [2409:8a28:6038:2b80:52d2:f5ff:fe16:c591] (helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptTKQ-0002YX-RX for emacs-orgmode@gnu.org; Mon, 01 May 2023 09:12:32 -0400 Received: by Mac-mini.local (Postfix, from userid 501) id 6D0118AA064F; Mon, 1 May 2023 21:12:23 +0800 (CST) References: <87354hs9pz.fsf@localhost> <87mt2oqyup.fsf@localhost> <877cts8emr.fsf@localhost> User-agent: mu4e 1.10.3; emacs 30.0.50 From: "Christopher M. Miles" To: Ihor Radchenko Cc: "Christopher M. Miles" , Org-mode , Matt Subject: [SOLUTION] a temporary workaround solution using another language like "python" Date: Mon, 01 May 2023 21:08:49 +0800 In-reply-to: <877cts8emr.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2409:8a28:6038:2b80:52d2:f5ff:fe16:c591 (deferred) Received-SPF: softfail client-ip=2409:8a28:6038:2b80:52d2:f5ff:fe16:c591; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 25 X-Spam_score: 2.5 X-Spam_bar: ++ X-Spam_report: (2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MSGID_MULTIPLE_AT=1, NML_ADSP_CUSTOM_MED=0.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: numbchild@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682953368; a=rsa-sha256; cv=none; b=kjw/k0F1fM4kTGiVMCmLa8TElUh42aoyswIPuQCZwvG84WbIWVjk1PlVW9weTBYwq7vb3m pbrORihi+jcZqXs9THbMzWo0epudxMVnL9e+Od6YVK4WeZi07JW8snofR6MAxFVSvNlJdR +tVjtCKyHDFTM0aJPt9hqEhV2eNv8dEVldw8m2xoSbELSJTGNOqW7JKRtrp6H/vibHev06 ZANEBV8xl0csZNgKa4O2EPjdC3l9JPcVwOP04MJXgGykVXacMgj+Gdw3H7EY7eZ8X6a1XP PZ1587yDbsUgk4MxAoXtBimZqVMFbsKxDrz5hl5r3U8y1kW7cKf6gM3voQ3Uww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682953368; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=IM9Jpu4aCnQLbgHRnObOuspnhl5TzG6Tlp168uvBdqE=; b=JIcTuthJJ7KR8Ovyej9KO6TxavJiDY2h2hwUrxFDCkEMnM4iUea7/rQjyIwEESDmD3rhw6 KRzVNrGaOGwLjPNpvK9mu++M+SWCWzUgherryylRnzrOEu7rFxtMQyRzlr9rpFzpmDCCYB F7Vz8KHitMKQW0srUpZX+YfycAPSe4rk/BRDxv9wiOz9aURtXU/oYmCpFWCPHd68JqrwoX gc4fjFvnVatWe5xk/zVsYvrsVBEaf8Ige2Uh458HJyU4ei1rpD24P6kYVlM6dtzC/y9gy7 A5+ZdLRhcUaPWsCxNqDaB8XtqCQ9VjuR4jBqBLMaUUO3UWVZWV3IAjV9PBTb5w== X-Migadu-Spam-Score: -4.01 X-Spam-Score: -4.01 X-Migadu-Queue-Id: C64091533F X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: eJjXif0067N8 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I use another language "python" to replace "sh" to play video now. It succe= sses. Here is my example: #+begin_src org ,* =E3=80=8A=E6=9E=95=E5=88=80=E6=AD=8C=E3=80=8B :PROPERTIES: :DATE: [2021-05-13 Thu 20:09] :Douban: https://movie.douban.com/subject/35350794/ :DIR: =E6=9E=95=E5=88=80=E6=AD=8C :EVAL: src_python{import os; video_file =3D "=E6=9E=95=E5=88=80=E6=AD= =8C/=E3=80=8A=E6=9E=95=E5=88=80=E6=AD=8C=E3=80=8BSE05 =E6=B1=9F=E6=B5=B7=E9= =98=94 =E6=AD=8C=E8=B0=A3=E5=93=BC=E5=94=B1.mp4"; os.system("mpv \"%s\" " %= (video_file))}=20 :END: #+end_src 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). So this python solution is a workaround. =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmRPurcACgkQG13xyVro msOeMQf/RsRD/WAZ9dMWqP/Dotcp3WmE92g6p+SXjzq5z1lmn7qgiip1lnzrjiSm 80aQdJpgycfVTuwt5RMhcESqzNJASLJrZe+sUN7cWDycpPSeg2x2RHZ3JaJ4FaWP Lxtfo02y8kDjYHlvSoNnw4AoPBJxvpr+rr0SHhB/oSDsiTNO+lp3iFpI/QR1R3pa MQYw4Cgn8WK5xEcYIIyLKUqiJvNCBYovxDlHkr6ivaQ4l9S02wLf72P2v9tj6YR0 xyOOsdTkLAc0fYmLgUuaNSN9LCfgVigeqPkiACU+lJ7ruCGZqza6UGNEf23jvOW0 C/oEx8/ZsLBF9fkktED2/lhg4WDLcw== =Mofi -----END PGP SIGNATURE----- --=-=-=--