From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AIcbFxLy0GWbjAAAqHPOHw:P1 (envelope-from ) for ; Sat, 17 Feb 2024 18:51:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id AIcbFxLy0GWbjAAAqHPOHw (envelope-from ) for ; Sat, 17 Feb 2024 18:51:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=retrospec.tv header.s=fm3 header.b="L xnv2FD"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="R aqfW2f"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708192274; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nI70V9HVFhUmBiWaZsd/Ag6Q19WhG7GI9pW2qJm5l70=; b=DIc11kkX3WokUw8aLhpRD82YQjGvzK+Z/GGgtt0vSltmaw+G309Hd/r2zBt0k4mSlz3s+R afUP8UjzTiD9E06udKlh6cBSb9PAub4f8d4X3kuRohAv94HNXlDPo5nlp180qvYmBk8TFS N6vN6IFkb1VMYMjH4w4V8MRvsT7kDDZTyXkSARUhU98FQtqgsIlsk0qDo6Nf/lXUozri3Q bRJSBuLtVscX+jAvi4raTrtKNUwccKVJH1q4FbwHXkzbDsGs4+U4M7y8WXsLB1YQahh7Io 5RtJ2a9qLbGsH+YcwfrtFNsgIvZNNymUGrUHz2R8xjjniqLXNRwdB0lnjTU/NA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=retrospec.tv header.s=fm3 header.b="L xnv2FD"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="R aqfW2f"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708192274; a=rsa-sha256; cv=none; b=VAq0LULdl4zaIEOOkWXa2mQSYPguQQbv6zORNwAMOEnwz4quPoXDa+mbFnSMBTGwVY8Wi4 6IRJybqMYffzLBJ522ZU7BvODEgHr6ur1lGDezJvzSr5y47zb7os+3XaC35pAGhAYtN8Nb 4ccChp9XL5In7yhKULKSUEaHkXX9r1otrHYKWJH9dLr43piJ3exr/sfbD57qeA3o4pB22Z jsu6zISXG+sxZax11rfigYkU/+4mCTbyLA84xGU4zg02Oqn89n3jldNXfOXaVj+T45wzv5 Lo+jt33huJ26OafrJV9yMCUZrKlg82xFLuZp+DX0tV1ymejT491ky/LLQ5xYYQ== 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 2FC4E1D81E for ; Sat, 17 Feb 2024 18:51:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbOpw-000809-KQ; Sat, 17 Feb 2024 12:50:52 -0500 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 1rbOpp-0007xI-8m for guix-patches@gnu.org; Sat, 17 Feb 2024 12:50:45 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbOpp-0005A3-0p for guix-patches@gnu.org; Sat, 17 Feb 2024 12:50:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbOq7-00077S-TL for guix-patches@gnu.org; Sat, 17 Feb 2024 12:51:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v4 4/4] gnu: Add jellyfin-mpv-shim. Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Feb 2024 17:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67120 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67120@debbugs.gnu.org Cc: Ian Eure Received: via spool by 67120-submit@debbugs.gnu.org id=B67120.170819222427292 (code B ref 67120); Sat, 17 Feb 2024 17:51:03 +0000 Received: (at 67120) by debbugs.gnu.org; 17 Feb 2024 17:50:24 +0000 Received: from localhost ([127.0.0.1]:33790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbOpT-000767-Bw for submit@debbugs.gnu.org; Sat, 17 Feb 2024 12:50:23 -0500 Received: from wfout6-smtp.messagingengine.com ([64.147.123.149]:48963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbOpM-000752-GH for 67120@debbugs.gnu.org; Sat, 17 Feb 2024 12:50:17 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.west.internal (Postfix) with ESMTP id 5907E1C00073; Sat, 17 Feb 2024 12:49:50 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sat, 17 Feb 2024 12:49:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1708192189; x= 1708278589; bh=nI70V9HVFhUmBiWaZsd/Ag6Q19WhG7GI9pW2qJm5l70=; b=L xnv2FDpeY2R+8LAlDxIppMP4eNUbaK1z3sFUaE1j8BNWZhEUG5wY/NY18pR1GJog 1pAkbpCqFcXbvSwfl1UnRzgQWg73PNuj1cI8117Y77tvnytGrc2ojv6aUcsoke/o wghrfHA8oG7pw/COtYBL41CtjqCvCE63O+F2942hInZswcpC9CtqANHdM2uTPGiq 8G56AumpU2VifW9jaXcsFoUqB/Sgn0/P2lkpqCONjJYaUgT+LUI5MME+j2GNeX9Z yhRgHN1s2sAHS4YUSYRI7muHW5TthefegM9BOZQ9fz333OJuAk8u+IuDzdHAf+I5 pPDuAm/y/0xOMka9sDXfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1708192189; x= 1708278589; bh=nI70V9HVFhUmBiWaZsd/Ag6Q19WhG7GI9pW2qJm5l70=; b=R aqfW2fYos032rpJn5dJAXNqTpg9Rafu406enUtA/g5pgq1ref2G23WMp+HQ59tXx bZ0AL5NCVB3wRRBClZ18O+okCVeZwK2OQ13HJFluutLTIMS0QSk/xLuYhq34kQ6V tLIb5+5R52wTZxjauwSTkxWIEQkh1BnmXs6v/rPfudb1FtLHjzaHvu/7TsTbIY0X 5AI2/kSlHIYj5z/+xXagrXZNzdfYSf7TLXvNS/PHF0uR3tG4uaBpm9dFBzNpophw BBN94CAJhwFHxsA9FcjaKb5GccWBgGHWV0ydHJZh/U8qYx0dVDa773qEL2lAHCyX 3mO7QLJPYqAacBqSSPr1g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeggddutdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggt rdhtvheqnecuggftrfgrthhtvghrnhepvdeugeduveefgeehvddthefgjeevvddvtefghe egtdfgueeitdehgfduffevjeeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehirghnsehrvg htrhhoshhpvggtrdhtvh X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 17 Feb 2024 12:49:49 -0500 (EST) From: Ian Eure Date: Sat, 17 Feb 2024 09:49:38 -0800 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -1.08 X-Spam-Score: -1.08 X-Migadu-Queue-Id: 2FC4E1D81E X-TUID: Lo3daoy3e1nq * gnu/packages/video.scm (jellyfin-mpv-shim): New variable. Change-Id: Ie030dee36b1c2afc796f082fdebf909cbddd59da --- gnu/packages/video.scm | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 894543d3cc..442500e24d 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2751,6 +2751,50 @@ (define-public smplayer the last played position, etc.") (license license:gpl2+))) +(define-public jellyfin-mpv-shim + (package + (name "jellyfin-mpv-shim") + (version "2.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jellyfin-mpv-shim" version)) + (sha256 + (base32 "1cy2sfv84k5nw8bqy4aa7v0hdawp7gk5s7wq850xizqk0sz7cipp")))) + (build-system python-build-system) + (arguments + (list + #:tests? #f ;There are no tests, but this tries to run the GUI. + #:phases #~(modify-phases %standard-phases + (delete 'sanity-check) ;This tries to run the GUI. + (add-after 'install 'install-desktop-file + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (apps (string-append out "/share/applications")) + (desktop-base "jellyfin_mpv_shim/integration/") + (package-id + "com.github.iwalton3.jellyfin-mpv-shim")) + (for-each (lambda (size) + (install-file (format #f + "~ajellyfin-~a.png" + desktop-base size) apps)) + '(256 128 64 48 32 16)) + (install-file (string-append desktop-base package-id + ".appdata.xml") apps) + (install-file (string-append desktop-base package-id + ".desktop") apps) #t)))))) + (native-inputs (list xorg-server-for-tests)) + (propagated-inputs (list `(,python "tk") + python-jellyfin-apiclient + python-mpv + python-mpv-jsonipc + python-pystray + python-requests)) + (home-page "https://github.com/jellyfin/jellyfin-mpv-shim") + (synopsis "Cast media from Jellyfin Mobile and Web apps to MPV") + (description "Cast media from Jellyfin Mobile and Web apps to MPV.") + (license license:gpl2))) + (define-public gallery-dl (package (name "gallery-dl") -- 2.41.0