From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 6MmuHGvAT2QwUwAASxT56A (envelope-from ) for ; Mon, 01 May 2023 15:36:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qHWiHGvAT2TXdQEAauVa8A (envelope-from ) for ; Mon, 01 May 2023 15:36:43 +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 3CCCD28235 for ; Mon, 1 May 2023 15:36:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptThJ-0004Oh-Rl; Mon, 01 May 2023 09:36:09 -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 1ptThI-0004Mc-44 for emacs-orgmode@gnu.org; Mon, 01 May 2023 09:36:08 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptThG-00079X-Qt for emacs-orgmode@gnu.org; Mon, 01 May 2023 09:36:07 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1ptThE-0003WA-GB for emacs-orgmode@gnu.org; Mon, 01 May 2023 15:36:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [SOLUTION] a temporary workaround solution using another language like "python" Date: Mon, 1 May 2023 20:35:59 +0700 Message-ID: References: <87354hs9pz.fsf@localhost> <87mt2oqyup.fsf@localhost> <877cts8emr.fsf@localhost> <35881.2693202466$1682946783@news.gmane.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-US In-Reply-To: <35881.2693202466$1682946783@news.gmane.org> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-1.422, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-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: , 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=1682948203; a=rsa-sha256; cv=none; b=cFYPN568Wwvme0O+BBIVooPtrKrujC66uOll64GiqGCwRJR+BTsXxkZ82SKehqG/9UiF3y 9IdDe316EcrrDuzDah0bI9wwDXSzEN09WjEYmx0bD03NkJC755a0OYBq9E9d9FZnjJhhTE cKaiIeJkiXhZeH1VaQa56mzMCO8ztOwV/Ck1nfpqV7h2NiGJFI5X7Rhal1F3Y2kji6yK3F Ect/toPfc5nd/ZUW5MPFjKYfHOUJl8s8AqU6zlSwYeFm49X1jRTyp1RgSBZH5RdJHH68o+ SG2GXZo4ffjOLWUwIKL/TD43x+WOMEhAqXT8sHjfB8+FVWagJ+jwD89mixbViQ== 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=1682948203; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=4/a50JSpIoV/TK51Swfx2gON4CvDRkVRAqtqq6fNEY0=; b=A5g5Nju3NE+TwvXWmWrBVo7ch9FeZT+kZAi/VHvx83HchpuZpQJEilxDzgDGBPPdIcSDM+ 8uzTy0WCWAT+YMacKy7HBe+TLykJXFcYmXVcXLN0QW/FVRrt5Z8j/g3VHvoQkc8y6B7STU R1QFpMFZ7XYzoiQO6CEGB3YNmCCqdIWOkj4/5O/Th/y4mgIRjDn95NmySt1pMhkg3ngVHF /2IF+adjAEceUhE5zAK/O/MP/N/6KfY7wivuiMdu7LnpK+3XzdaGA0TeXjX9VmRp13GT31 YRWkwvwftoevEDeYU3Rw8HNkN5Ly853Uav8V4D2uAgZg6Cbx9GpYzYz8kFpZYQ== 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: 2.49 X-Spam-Score: 2.49 X-Migadu-Queue-Id: 3CCCD28235 X-TUID: 08qlU/glUHxW 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.