From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id Pcp+EOee0l9CDAAA0tVLHw (envelope-from ) for ; Thu, 10 Dec 2020 22:19:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2Du9C+ee0l+KXwAAbx9fmQ (envelope-from ) for ; Thu, 10 Dec 2020 22:19:19 +0000 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 9165E940366 for ; Thu, 10 Dec 2020 22:19:18 +0000 (UTC) Received: from localhost ([::1]:34548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knUHM-0003CW-HI for larch@yhetil.org; Thu, 10 Dec 2020 17:19:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knUGD-0003CC-6Z for emacs-orgmode@gnu.org; Thu, 10 Dec 2020 17:18:05 -0500 Received: from mout01.posteo.de ([185.67.36.65]:57951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knUG6-0002G3-Gw for emacs-orgmode@gnu.org; Thu, 10 Dec 2020 17:18:04 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7ABAE160061 for ; Thu, 10 Dec 2020 23:17:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607638673; bh=idi0gnxdmSm1ujabGUv/zvKvpPhtPQ7YFFxohmSHOVU=; h=From:To:Subject:Date:From; b=oyZZQoAXAmOTlPkXk8iBs/x+2cQQ/iyg7/Gcb4l7Gml04EJ2yhUA6u04+34ZwnNrm Yz6nvm+RB3T1mzfSVavTYNgATPaQfAEbz+XiW3UriMhMpWIfZMQM9py6bJAVLOqJrp 14vzeCNKs9BPXcULYdhWtjsrErgQabH//BHOkcbE0d4PUvHFFxvc6rTQCccYiQnyJr 2LkfFLmznJgLPGYXIL9OncxUO3GJnk0PEYNygRgbLxgm9iNJ9sHBURNvDAZR+yZzJk odS3un+9VQKc6BPdgTWd1bNTuCNgUzP1vGN+k3sMJ55oWE3H1UwNUcFPv0aL/TE8dL w2mzl1BvsRxTw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CsSwJ5yRGz6tmW for ; Thu, 10 Dec 2020 23:17:52 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: Accessing a DLNA server through an Org link Date: Thu, 10 Dec 2020 23:17:51 +0100 Message-ID: <87lfe5nw4w.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oyZZQoAX; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 9165E940366 X-Spam-Score: -1.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: mAdLoAnGFIY3 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, I'm storing in an Org document a list of links to all my media files (videos, music, and the like). This is a little trick that I came up with to access the multimedia content of my raspberry's dlna server (minidlna), using an Org link and the Javier L=C3=B3pez 'simple-dlna-browser' script (https://github.com/javier-lopez/learn/blob/master/sh/tools/simple-dlna-bro= wser). You need to install socat: #+begin_src emacs-lisp (org-link-set-parameters "dlna" :follow (lambda (file) (let ((command (concat "~/Scripts/./simple-dlna-browser.sh " "\"" file "\"" " | xargs vlc"))) (start-process-shell-command command nil command))) :face '(:foreground "green4" :weight bold :underline t)) #+end_src Tested on Arch Linux. As an external player I use vlc; `file' can simply be= the name of the file. For example, if we have gattaca.mp4 on our server, the link could= be: #+begin_src org [[dlna:gattaca]] #+end_src Well, it works reasonably well. But I wonder if anyone knows of any package or library to be able to do this (accessing a dlna server) in a more emacs/org-centric way ... Regards, Juan Manuel=20 --=-=-=--