From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EKAuME0KUWUo2gAAauVa8A:P1 (envelope-from ) for ; Sun, 12 Nov 2023 18:24:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EKAuME0KUWUo2gAAauVa8A (envelope-from ) for ; Sun, 12 Nov 2023 18:24:29 +0100 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 5DF7316C31 for ; Sun, 12 Nov 2023 18:24:29 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=retrospec.tv header.s=fm2 header.b=yeGgbo+X; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=CXBNl3Hk; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699809869; a=rsa-sha256; cv=none; b=M+htOuLN8K8PJ099HSdEy9vmaYJCqDx/jCQFV05BJCvhhkrRCdncx37hEeRW8jxCzY45An 7vqOtGju5bEI3cHkYgsq1krh/ZefjHK8JpWRrpplzUXrTQZwH42771S1w743Viu056TbMz me45ZjJC5eydqRppGdwbQ2fTNVlfWtKDoqFMIUSO5t6o7rtXnhZTuwgMDXj+xD4QgOViT5 Ztr2ub/BOeRFIZEFBRFCKTQan3/B8p9YRHlkN51jdFQsSJ7XfAqSgacbqLatjyFtZ3qw4m xR0PZG6eObVq4pH4bZUlExqUQklnvwVV/EKcnZVFEmQzkySC8yfy15khJrqxZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699809869; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=lpC2WYjE52cimsd1JaK9uchr2qsgKW2LR7iccLKlFQk=; b=TObT+pWvnw5MOpvgYJLIGT62HB6+X8Nq4ryw3cWdft7UpsX+5nlEk0yqq2V48Z0Ud/qES+ y/Th0gOAeIvbbmCZBYUk3tGP7MMrTAJXr5dO6UZCReV2APll9ccnvWI0b7WGrNt6AWcpuK TuoIeXdcjkAxCUFnIH4qui0FubEiU3lAwwcyeual3uJfrlBQfM8I/3mZE/4BBy4tPAK0rr rvnqFwAVG7HTQy6Zx0hvzG9FTm4ppWSPexaZy1BJzGaIf/Atk6MWC4diC7B8WPbG8cvLfT atSZTUEzM8w4MhT9yIioHD2pu8sRONA+kDjquHXfpYJbq73yJ3Spq8/dZS9Ndw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=retrospec.tv header.s=fm2 header.b=yeGgbo+X; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=CXBNl3Hk; dmarc=none; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2EC9-0000ET-FJ; Sun, 12 Nov 2023 12:24:25 -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 1r2EC6-0000E0-U9 for guix-patches@gnu.org; Sun, 12 Nov 2023 12:24:22 -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 1r2EC6-0000zk-MT for guix-patches@gnu.org; Sun, 12 Nov 2023 12:24:22 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r2ECl-00040n-M4 for guix-patches@gnu.org; Sun, 12 Nov 2023 12:25:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v2 4/4] gnu: Add jellyfin-mpv-shim. Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Nov 2023 17:25: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.169980988415369 (code B ref 67120); Sun, 12 Nov 2023 17:25:03 +0000 Received: (at 67120) by debbugs.gnu.org; 12 Nov 2023 17:24:44 +0000 Received: from localhost ([127.0.0.1]:56917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2ECR-0003zj-N0 for submit@debbugs.gnu.org; Sun, 12 Nov 2023 12:24:44 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2ECN-0003yz-FX for 67120@debbugs.gnu.org; Sun, 12 Nov 2023 12:24:40 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4AF9C5C0379; Sun, 12 Nov 2023 12:23:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 12 Nov 2023 12:23:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1699809833; x=1699896233; bh=lpC2WYjE52cimsd1JaK9uchr2qsgKW2LR7i ccLKlFQk=; b=yeGgbo+XpXbBA0sez2xbnuY2YWW4z6cbwAQ93Kg66MRU7mocdtE jLuDjnxu4/WSqLlOuhh1ZaWWNeVKNAXz7DUWGC/i3IyX5oOsVCmiHdzp0wJY6Bs7 YBekVhXw85vmb8L9RdJ3uLWnBuECq5xPq+qLAKUYKQQz54ZL7mJu5cScWqEeVbHE tgrVUg80lHFDUCI6JO4gF+UO/czaDsM4C8d/9nPBau58daeXrBDFsoaWNfAh8YEx S6QAX0KgF15qt/gPJ0DV35Euj2ZinJbChsvlCJv0IdDHib7v4g86/ypM3zBIsNNC rWwOSCeoTBOTS48yWEPyc+GOoqrJSpbiuQw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1699809833; x=1699896233; bh=lpC2WYjE52cimsd1JaK9uchr2qsgKW2LR7i ccLKlFQk=; b=CXBNl3HkoYgSKJRaZ9I1MoPAfDiV3zUF1LGpAOjlwfAsVXaKKGw 2xNHfnMDqh4rD2ekVFgRYURSGkE2JhnFiNaJ75IziO8uxOR2AqsDKoRsM7Hh5J4j ouDjCxkLEkihEHbUvxfSI5A8xrvFsfeFLJbuoMjymyxJdYonH8MkoVQGmOcEVjW3 mLniK1NaIKBO9GV2WRYL4ZddGYQTlPotTnXh9dYKlucrxL+tioWLlkPjQ33T2+D4 PUwGD1uXD3xD/AbOTv1QqPSWvyMaIQHgoQOC43vNHb0MCtHX0CqcYASJudli6haB Ri4bKWDm8VbsqKl/cihNEWVfM+iK0Pku2kQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvkedguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdeimdenucfjughrpefhvf evufffkffojghfgggtgfesthekredtredtjeenucfhrhhomhepkfgrnhcugfhurhgvuceo ihgrnhesrhgvthhrohhsphgvtgdrthhvqeenucggtffrrghtthgvrhhnpeejvdffffehve elvddtffelkefhgffhjeelhfeigfejkeelvefggfevtedtteevueenucffohhmrghinhep ghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepihgrnhesrhgvthhrohhsphgvtgdrthhv X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 12 Nov 2023 12:23:52 -0500 (EST) From: Ian Eure Date: Sun, 12 Nov 2023 09:23:34 -0800 Message-ID: <0fde32714a9364466cf2ea7bfeee7dec6257bc48.1699809635.git.ian@retrospec.tv> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -1.20 X-Migadu-Queue-Id: 5DF7316C31 X-Migadu-Spam-Score: -1.20 X-TUID: GGf0F+hjA9NL * gnu/packages/video.scm (jellyfin-mpv-shim): New variable. Change-Id: I7c4aa48c96ab09b427d6f80f290f95f671ce41fd --- gnu/packages/video.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 68581301a2..66468e3dba 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -66,6 +66,7 @@ ;;; Copyright © 2023 Ott Joon ;;; Copyright © 2023 Dominik Delgado Steuter ;;; Copyright © 2023 Saku Laesvuori +;;; Copyright © 2023 Ian Eure ;;; ;;; This file is part of GNU Guix. ;;; @@ -2406,6 +2407,46 @@ (define-public smplayer the last played position, etc.") (license license:gpl2+))) +(define-public jellyfin-mpv-shim + (let ((desktop-base "jellyfin_mpv_shim/integration/") + (package-id "com.github.iwalton3.jellyfin-mpv-shim")) + (package + (name "python-jellyfin-mpv-shim") + (version "2.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jellyfin-mpv-shim" version)) + (sha256 + (base32 "1cy2sfv84k5nw8bqy4aa7v0hdawp7gk5s7wq850xizqk0sz7cipp")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ;Disabled because they seem to boot the UI + #:phases #~(modify-phases %standard-phases + (delete 'sanity-check) ;This also seems to boot the UI + (add-after 'install 'install-desktop-file + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (apps (string-append out "/share/applications"))) + (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