From patchwork Sat Feb 17 17:20:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 60457 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 69E6D27BBEE; Sat, 17 Feb 2024 17:22:22 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AC12227BBE2 for ; Sat, 17 Feb 2024 17:22:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbONl-0007H5-If; Sat, 17 Feb 2024 12:21:45 -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 1rbONk-0007GY-7o for guix-patches@gnu.org; Sat, 17 Feb 2024 12:21:44 -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 1rbONk-00008z-04 for guix-patches@gnu.org; Sat, 17 Feb 2024 12:21:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbOO3-0006Kp-V6 for guix-patches@gnu.org; Sat, 17 Feb 2024 12:22:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v3 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:22: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.170819049424286 (code B ref 67120); Sat, 17 Feb 2024 17:22:03 +0000 Received: (at 67120) by debbugs.gnu.org; 17 Feb 2024 17:21:34 +0000 Received: from localhost ([127.0.0.1]:33733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbONZ-0006Je-Bw for submit@debbugs.gnu.org; Sat, 17 Feb 2024 12:21:33 -0500 Received: from wfhigh7-smtp.messagingengine.com ([64.147.123.158]:41507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbONS-0006Ia-Jf for 67120@debbugs.gnu.org; Sat, 17 Feb 2024 12:21:27 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id D7EB81800079; Sat, 17 Feb 2024 12:21:00 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 17 Feb 2024 12:21:01 -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=1708190460; x= 1708276860; bh=kLHWfdfSAdO7jwenh/JLq8DEpX5/+SB88XbRVBUDE04=; b=u ModQ7KPQyH87dwk7qgNA1IwnmzPrQKtGYen0vNDPDrpF7CiFHfkMDuU4t/7nJTzG u8RznZLtkeS9gnm+mnmw8u4oGyOwwkUeIocSY6uMb0On/pSFnBnZFpY3dC9+b9Eg 6SZPMJURjdUi92mUmg/wTFrRrxgfReXAfZpKv33b+tajFR1FMlQKUWwBTWnxVyss ZJmJiDptgW6n45ABMfmtGh/heLHRxyPk0onER8NVAMxLCORoC+BsjCj9wskAqyYg wGQOwSpoRFm1sFyfVS1aGu5jHLCd500i/hhrxNyqB2+2ibn2hN+7cF66Lc9GuKUj nHG1Uj1EUgB8iINnnlyVw== 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=1708190460; x= 1708276860; bh=kLHWfdfSAdO7jwenh/JLq8DEpX5/+SB88XbRVBUDE04=; b=j 4K9y6jKw0qDci7jwUCmpzGg0aRI3weexqs5gTrbUXU80nJ7WjwvoejtrWND62Yjb 10lpkzN8pDMmhtHhgOzsIErF8ImPy8su+EKeBa/9N7oipxYVI5bhrgigaZuTizLj CetnZc1GSooPuKHlAz/NNx0gKuiHf+GS34vz7ftu/4ONRB6tSRArb/hTQclhXby+ s7FUxliR2eA0trHcyKCX8D+YVCRt59iHyfXd6+5dDlH0ktABr/W4ldq46Olemw1g P49mES5zZdLsO8Gsse4aIu9mIluE19my+SHG3V3XdRfviK7hDDMOjJCJm03H5tUs OlGoqePYmaPFOA2F9F0Jg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeggddutddtucetufdoteggodetrfdotf 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:20:59 -0500 (EST) From: Ian Eure Date: Sat, 17 Feb 2024 09:20:45 -0800 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/video.scm (jellyfin-mpv-shim): New variable. Change-Id: Ie030dee36b1c2afc796f082fdebf909cbddd59da --- gnu/packages/video.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 894543d3cc..c752198d1e 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2751,6 +2751,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 "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")