From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4L4vCdkMUGRfOwAASxT56A (envelope-from ) for ; Mon, 01 May 2023 21:02:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GI0aCdkMUGRNWAEA9RJhRA (envelope-from ) for ; Mon, 01 May 2023 21: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 85794B367 for ; Mon, 1 May 2023 21: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 1ptYmJ-0008TK-Hj; Mon, 01 May 2023 15:01:40 -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 1ptYmG-0008So-JO for emacs-orgmode@gnu.org; Mon, 01 May 2023 15:01:36 -0400 Received: from [39.171.215.100] (helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptYmE-0004Y2-LN for emacs-orgmode@gnu.org; Mon, 01 May 2023 15:01:36 -0400 Received: by Mac-mini.local (Postfix, from userid 501) id CCC418AAA5FC; Tue, 2 May 2023 03:01:26 +0800 (CST) References: <87354hs9pz.fsf@localhost> <87mt2oqyup.fsf@localhost> <877cts8emr.fsf@localhost> <35881.2693202466$1682946783@news.gmane.org> User-agent: mu4e 1.10.3; emacs 30.0.50 From: "Christopher M. Miles" To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [SOLUTION] a temporary workaround solution using another language like "python" Date: Tue, 02 May 2023 03:01:00 +0800 In-reply-to: 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 39.171.215.100 (deferred) Received-SPF: softfail client-ip=39.171.215.100; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 58 X-Spam_score: 5.8 X-Spam_bar: +++++ X-Spam_report: (5.8 / 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, RCVD_IN_PBL=3.335, 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: reject 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682967768; a=rsa-sha256; cv=none; b=pKX/yA85I9X2fkbGad4rfTfbjGKfFshWPFD+jW5jIGVNYSlEKrqpB6xuwFNsV6/kvmLyzD EKPWTC5ZSIcjQ/DfC6+opbaqXGe+FbMUdvdxrNc5ztodA0utSIjkct784SyTaER5xHBkvK USRCzPJSFfJ21aG1w7vVdwnCqpOS1pAXo3k0WlhSuIv61vsIl8hfasmS/4Lfhdo9yn9KzY eMbAaF3OiOZf0f4Aj1P97nw4woxkTkzGZdK+YfoLEVBMO3zec0ciTVjWJoG33SBjk74Wt7 foI8TBZWuSPCW1MmMdHEX0Vmq7wf25VzzQIV3OgZAL1nI89nWkrw14B0/iHafA== 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=1682967768; 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=jYuuOwBzmGLnoiVL3WFPeOCs43XnUHc6eJag2SJ9cLk=; b=Bprf5IgfQe/IVRJwRoIQnQAa+iv+Z+eMs40fLzKS05qAxaJ/wtvgfNfC9hpCMBIlhYTBPm a6kAhZKLdjrNvYnVCzmWbCCWlr3WQ5Ebg6KXSswI2bUQng3t0wzQlryiOzhSlnUY96mkSO BnctvLbW1Oic/Juer+XozumTJL3ruFkVoSBb5mX69Z3MmGwTDAhQiRE8dYlvB8z1JTkFwC +kmI9yZQqNkUH9RS+U5b/m8EqSsdeo5kilT9lCSq6KIMiiEI7NiANVPbuWyKhODtEDOArQ x/dsYTcSPkTlOaoQHwfX2GUjicTt3KLB+cpMSnY9w6QGaJElj4eIQcyoPIoZpQ== X-Migadu-Scanner: scn1.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-Migadu-Spam-Score: 0.89 X-Spam-Score: 0.89 X-Migadu-Queue-Id: 85794B367 X-TUID: Ku9oaZtfDjQc --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Max Nikulin writes: > On 01/05/2023 20:08, Christopher M. Miles wrote: >> I use another language "python" to replace "sh" to play video now. It su= ccesses. >> :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))} >> 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 confus= ing. I check out ob-screen, it indeed can be used in my situation, thanks for su= ggestion. =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----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmRQDIMACgkQG13xyVro msNIqAf+Nr18tPKZAAUbKR4xHV9jBVcFkoJeZN5vQvcxGnjt8EUu8xepD2w4yC6d kKTJoeeTBtTtjk39j7uTbFR2Xyr+/saLLymXmMvImM+td4q775435J7kCugLol+L 9doRbjx8G+j0Peweb/DAN34nVP/enY8Up7S0IVuLARdU4VhMKXkx53jo3fHYY5OH ZF6JcuqQwDaeuY3hUU23uyMxHop4H/vXAEdwIH3Ujuixf3nlTx33SQX5+kxW61UB SfQefOBZbfTeiePTCouQceCcDJ37ST1/lRMY/9RoPVUFJruCVa75ZIngXaABBE+z VJLNF9K7hLLTls9LBYkX+oXlntdWEQ== =7D8e -----END PGP SIGNATURE----- --=-=-=--