From patchwork Sat Feb 17 19:02:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 60467 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 7E32C27BBEC; Sat, 17 Feb 2024 19:04:26 +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 7EE1A27BBE2 for ; Sat, 17 Feb 2024 19:04:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbPyZ-0002xM-N4; Sat, 17 Feb 2024 14:03:51 -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 1rbPyX-0002vy-RS for guix-patches@gnu.org; Sat, 17 Feb 2024 14:03:49 -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 1rbPyV-0000ii-6t; Sat, 17 Feb 2024 14:03:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbPyk-0000Xa-DP; Sat, 17 Feb 2024 14:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v5 1/5] gnu: Add python-mpv-jsonipc. Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sat, 17 Feb 2024 19:04:02 +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 , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 67120-submit@debbugs.gnu.org id=B67120.17081965961982 (code B ref 67120); Sat, 17 Feb 2024 19:04:02 +0000 Received: (at 67120) by debbugs.gnu.org; 17 Feb 2024 19:03:16 +0000 Received: from localhost ([127.0.0.1]:33876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPxz-0000Vs-Om for submit@debbugs.gnu.org; Sat, 17 Feb 2024 14:03:16 -0500 Received: from fout2-smtp.messagingengine.com ([103.168.172.145]:47333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPxx-0000VM-3B for 67120@debbugs.gnu.org; Sat, 17 Feb 2024 14:03:13 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id E555213800C0; Sat, 17 Feb 2024 14:02:47 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 17 Feb 2024 14:02:47 -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=1708196567; x= 1708282967; bh=dqRY5TCtIF2XjxOA7VMTq4q3uQF8PvW7K84XVf6+qAY=; b=A i2kCH8r9jTTUBbqdM41WkhUbPGZlu2tzb1TRkC5J/zGiw4F2u+XehGl4IdEb7Mcy 24urQphhshP+IP9nBThP6mgxmMenYO5/k72qQZrKKFAn+VPNKwCm6F4dk+0NXnE1 lP71CmpwkH0mWjdhpOR+isSlEir8M13WQGcbVjdKONze8u4wSRs8FZ6OTq/8gyr0 quU+BMlAiJwGTjsgASNbNXao2FZDsDaF1F4AChuSPU5fwljMCvJkjVWVkdgrf+e2 38Fl3F0+T/UbH9giNTAT6rchqfQO1bOH+/vDkLPwBpg9bwuXL1ePOmE+3FC711Lq bSnz0kHVEX0quTiPuNRww== 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=1708196567; x= 1708282967; bh=dqRY5TCtIF2XjxOA7VMTq4q3uQF8PvW7K84XVf6+qAY=; b=i dtXqxydO/IJARXiEl8Isq24jAm4RjHgHhFrJVvvByDYafPsjDcaAvChrcJ0CPcuK oRQlomBqSaR8wkTZx7+tukPTuvYEQrC3Tsp4rh7tOwtXeG2zNfprb47eP3mf10cL WIh/T0eD0OgsWXUta12S9j/rWHV8a3BIIEOTadEowNrsF5VuyvjACN2u88c5kb8l VNneyXf52Edmkph1RIuIE6i+QFHCuTOEAjxNyvBZPh7emUtsBQvjv8zpB8pUbojm LYBkmrTohXfWpFGdztIUuHAhptfGB7SP9Qa6ZLlBo28Nm5dc3P5yPDQLU4bxTnwv PPAuDoVJxJWhj26vp1PXg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeggdduvddtucetufdoteggodetrfdotf 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 14:02:47 -0500 (EST) From: Ian Eure Date: Sat, 17 Feb 2024 11:02:36 -0800 Message-ID: <56949ff18e802e94168f2619672691c3d0e90740.1708196460.git.ian@retrospec.tv> 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/python-xyz.scm (python-mpv-jsonipc): New variable. Change-Id: Iec7679213d9b9e8e5cbf01a30838e27e71704e54 --- gnu/packages/python-xyz.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2dd8a12af5..ed80ee1d5e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25808,6 +25808,22 @@ (define-public online-judge-tools submitting it.") (license license:expat))) +(define-public python-mpv-jsonipc + (package + (name "python-mpv-jsonipc") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-mpv-jsonipc" version)) + (sha256 + (base32 "0ymdwrx544a6gn6wm9dixpgzbfrbpxvcj5ys7m41cgb4lvpvx691")))) + (build-system pyproject-build-system) + (home-page "https://github.com/iwalton3/python-mpv-jsonipc") + (synopsis "Python API to MPV using JSON IPC") + (description "Python API to MPV using JSON IPC") + (license license:asl2.0))) + (define-public python-parso (package (name "python-parso") From patchwork Sat Feb 17 19:02:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 60468 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 659F027BBE2; Sat, 17 Feb 2024 19:04:27 +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 A97F327BBEA for ; Sat, 17 Feb 2024 19:04:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbPyZ-0002xK-HM; Sat, 17 Feb 2024 14:03:51 -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 1rbPyX-0002vz-Ri for guix-patches@gnu.org; Sat, 17 Feb 2024 14:03:49 -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 1rbPyU-0000id-3w; Sat, 17 Feb 2024 14:03:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbPyl-0000Xo-Cu; Sat, 17 Feb 2024 14:04:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v5 2/5] gnu: Add python-jellyfin-apiclient. Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sat, 17 Feb 2024 19:04: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 , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 67120-submit@debbugs.gnu.org id=B67120.17081966012011 (code B ref 67120); Sat, 17 Feb 2024 19:04:03 +0000 Received: (at 67120) by debbugs.gnu.org; 17 Feb 2024 19:03:21 +0000 Received: from localhost ([127.0.0.1]:33886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPy4-0000WL-FF for submit@debbugs.gnu.org; Sat, 17 Feb 2024 14:03:21 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:56929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPxy-0000VN-Aj for 67120@debbugs.gnu.org; Sat, 17 Feb 2024 14:03:15 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id C66B35C0055; Sat, 17 Feb 2024 14:02:48 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 17 Feb 2024 14:02:48 -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=1708196568; x= 1708282968; bh=tx9GyTKf8MPHSF5ryQGMZo6m1+A7TNDSkeDfi5jc1Z0=; b=B VGF6cb0el5ykp0ecoD3X0al4LI7PtGG9U9kvB10tHeE1dN5LCTnGFTorsvzs6dMR 85GhVxeeV4WsuCP8YsigGsJX9lpxGPU13rM0y7CiRX7zLuMoSY6C0kfEK1ItAkOG /a1YZj4CZ10iRJ+tLGclKGO2YnwJ3L7nxQztXNADsrxVo+0x4sWWNCDGqmbSKntc l5Cq4H7PB1vuDAvAz7bfe1r66zSx7yfiOiw5q60CkxVH8lUFF/bK53o1hQUMjBdE cm/0d+5Cr17bmhHuZTbm7MoplJRvnL0YtHwT7S4ri3kXXHdT4YCUORWCe77cmDfH Xb5I/YiZtn83PQ76IPkAQ== 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=1708196568; x= 1708282968; bh=tx9GyTKf8MPHSF5ryQGMZo6m1+A7TNDSkeDfi5jc1Z0=; b=N AaUY9VlMtWHkfV7vy3Na9JIzVxYRc43L8YDNppV0ESVCJHJq+nEO0FL9nqe431ef S2b0tW8G980U36ItmioZWIcqRG+lH+ZNzJTD6cap4uYafI18CUZQ+tukiviycwrB RNRNEJep1tULjVTk5+LkmV+hCJ/vPzrzoLesa8ymRCdkTH7R+R6xeAid5RIc7lrr OJndeE1ifs2Q4Emq4E+lithL8h4iZEFdYQhbZuzaMeLuaH0NB4IqHOg5lsZLpta5 5VdJE+vDg57NMnLEYJH6RBO4yDERThGI1Zagz6mpMfRP+WsGviUWrd9clckbDadp fU+5iiedixTuVZj1wx7vA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeggdduvddtucetufdoteggodetrfdotf 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 14:02:48 -0500 (EST) From: Ian Eure Date: Sat, 17 Feb 2024 11:02:37 -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/python-xyz.scm (python-jellyfin-apiclient): New variable. Change-Id: If84546b14d380a3a10af63d4f41711125298487a --- gnu/packages/python-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ed80ee1d5e..ba01a008bf 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25824,6 +25824,24 @@ (define-public python-mpv-jsonipc (description "Python API to MPV using JSON IPC") (license license:asl2.0))) +(define-public python-jellyfin-apiclient + (package + (name "python-jellyfin-apiclient") + (version "1.9.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jellyfin-apiclient-python" version)) + (sha256 + (base32 "0r67cp9nizvn3cbslgi30zpd3mw4a6zal0ygik3jv5lni1xdkk5w")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-certifi python-requests python-urllib3 + python-websocket-client)) + (home-page "https://github.com/jellyfin/jellyfin-apiclient-python") + (synopsis "Python API client for Jellyfin") + (description "Python API client for Jellyfin") + (license license:gpl3))) + (define-public python-parso (package (name "python-parso") From patchwork Sat Feb 17 19:02:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 60466 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 8C9AA27BBE2; Sat, 17 Feb 2024 19:04:17 +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 98BCF27BBEC for ; Sat, 17 Feb 2024 19:04:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbPyb-0002y0-4K; Sat, 17 Feb 2024 14:03:53 -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 1rbPyX-0002vw-Qu for guix-patches@gnu.org; Sat, 17 Feb 2024 14:03:49 -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 1rbPyS-0000iG-W1; Sat, 17 Feb 2024 14:03:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbPyl-0000Xy-RE; Sat, 17 Feb 2024 14:04:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v5 3/5] gnu: Add python-pystray. Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sat, 17 Feb 2024 19:04: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 , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 67120-submit@debbugs.gnu.org id=B67120.17081966012018 (code B ref 67120); Sat, 17 Feb 2024 19:04:03 +0000 Received: (at 67120) by debbugs.gnu.org; 17 Feb 2024 19:03:21 +0000 Received: from localhost ([127.0.0.1]:33888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPy5-0000WN-A7 for submit@debbugs.gnu.org; Sat, 17 Feb 2024 14:03:21 -0500 Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]:43173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPxz-0000VP-3D for 67120@debbugs.gnu.org; Sat, 17 Feb 2024 14:03:15 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfhigh.nyi.internal (Postfix) with ESMTP id D9CF011400B6; Sat, 17 Feb 2024 14:02:49 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 17 Feb 2024 14:02:49 -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=1708196569; x= 1708282969; bh=duyJod8cTgKMU46M9nUUAHK/mAcEkIoX2vEHn9pRFGk=; b=a c65krAE1pwNybpy7W/8IrE4ipjcGHxdVhdpWH+iVxB7h35w1d4bmLqJVNynS9td3 sD9j3seEOEechozDXWRziPNJddsPDa5Ax2vfPNrT+xLgiIORTdGxlyAT8JgUpYs4 GOIuqjnTRPotIkHYTingz3kkQ/AUrn9OXG7789af1TfiH05lgAZAJWkkBTudl3Sr AYMhU+LG9+pTizmdkaAyoiNMR2zM9xRpAfrVMwqGWjohUhw4bOHp8CvHnLQdr7kH AzAApvBHgVnE7/jvNEm1E3PeNdoU5ocZ/eWiYzY7SCSYU+xbABEPnz9NGMCF/lt9 D+Ym+nlUkJYBzUHJJloPA== 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=1708196569; x= 1708282969; bh=duyJod8cTgKMU46M9nUUAHK/mAcEkIoX2vEHn9pRFGk=; b=i C663WXvZxsXsfFlbcpp42HJ93cBAV/qOrx8DEvx72OwMCVy5GzG6VwOFYvB/OX8m 0XEaeUQbGDOmUG4Tda6prhYma8SXbWva8prvD4zx3MqXM0+sZ/k7lAKKn/ZNLuFq 4ZRyFPOHamffGjMbDT+MLQPpjqVo9y0W6eAMFYdylb/rNIBDnW271lNdZvjmUoIu gHOoI3N7wo7zST9NrQiBVMEu12dxTK3oSG+3gk/GUlNL96X+CpyD/0w4k9E/pSZi Z1ErgzVn4xCJzWnSEiPT6/sG3tgWqXAGZ1UpfV4mnjdmDBzDZekGLvV2+i2yYzWW Kz9if9+74Ix1iQmgM6drQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeggdduvddtucetufdoteggodetrfdotf 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 14:02:49 -0500 (EST) From: Ian Eure Date: Sat, 17 Feb 2024 11:02:38 -0800 Message-ID: <3471315968e7106e0bac45533ac8b324785745b2.1708196460.git.ian@retrospec.tv> 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/python-xyz.scm (python-pystray): New variable. Change-Id: If10777c9ec91b549b9937b4825565223786a75cb --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ba01a008bf..05c29049b8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31694,6 +31694,32 @@ (define-public python-qdarkstyle Qt applications.") (license license:expat))) +(define-public python-pystray + (package + (name "python-pystray") + (version "0.19.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moses-palmer/pystray") + (commit "1907f8681d6d421517c63d94f425f9cdd74d0034"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vj6c8s7rbc7xc4bi5brx5629ls1ri9prcw9290v85hagilmp609")))) + (build-system python-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (delete 'check) + (delete 'sanity-check)))) + (native-inputs (list python-sphinx xorg-server-for-tests)) + (propagated-inputs (list python-pillow python-six python-xlib)) + (home-page "https://github.com/moses-palmer/pystray") + (synopsis "Create a system tray icon") + (description "This library allows you to create a system tray icon.") + (license license:lgpl3))) + (define-public python-bitstring (package (name "python-bitstring") From patchwork Sat Feb 17 19:02:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 60465 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 3314727BBEE; Sat, 17 Feb 2024 19:04:13 +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 DA7DF27BBEA for ; Sat, 17 Feb 2024 19:04:06 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbPyX-0002vs-NM; Sat, 17 Feb 2024 14:03:49 -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 1rbPyS-0002tH-PE for guix-patches@gnu.org; Sat, 17 Feb 2024 14:03: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 1rbPyS-0000iR-HE for guix-patches@gnu.org; Sat, 17 Feb 2024 14:03:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbPym-0000Y8-Ca for guix-patches@gnu.org; Sat, 17 Feb 2024 14:04:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v5 4/5] 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 19:04:04 +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.17081966022025 (code B ref 67120); Sat, 17 Feb 2024 19:04:04 +0000 Received: (at 67120) by debbugs.gnu.org; 17 Feb 2024 19:03:22 +0000 Received: from localhost ([127.0.0.1]:33890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPy5-0000WV-QB for submit@debbugs.gnu.org; Sat, 17 Feb 2024 14:03:22 -0500 Received: from fout2-smtp.messagingengine.com ([103.168.172.145]:56209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPy0-0000VS-JM for 67120@debbugs.gnu.org; Sat, 17 Feb 2024 14:03:17 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id 6C24613800C2; Sat, 17 Feb 2024 14:02:51 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 17 Feb 2024 14:02:51 -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=1708196571; x= 1708282971; bh=nI70V9HVFhUmBiWaZsd/Ag6Q19WhG7GI9pW2qJm5l70=; b=B XGtceVnJD0Ei04Rf0Qero142phSpmQIDem4ihlwPyeyJz61lrfARvR/bAARJOs35 9PneqFTerYU8aBxrEMzlNFSRV7YU0QX1NGpKKUu17TXoIdc2yJpqvVavq5x+sjZs QQJukkohf0BBTpHcr0f4ZJ8Kdl790+X2jo7+9S1lh6K/8F/XRu4kfciStL5jjlh8 X80HiAuyZ3EEWfAz3NBFduiAJM9yl+Y6UPb7pVMrH6cJdS4dFJRiN7mxlh20M+0Q zEnowNWjVAiQQr5FHi5jR+yUn22GoQKjf9LUnqlYNxFvIUV7igaPlNJwtlVqDEV2 3i51hpX3NtALPxVlgjsSA== 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=1708196571; x= 1708282971; bh=nI70V9HVFhUmBiWaZsd/Ag6Q19WhG7GI9pW2qJm5l70=; b=e JeiHH1zTRKHLQnbI6i2wcG0Mqf7HYU3S6CpRC3FAGaXejQo3spW+djXLJtos8Tog Z78OUUp1VHGw13usgw7OAZOEAVZb8Y763cJZ9dads11oykDm4r0jXKa67pW/Mho4 cW+jj0Og8IU5QHzaGjv6TFYkM/jKsfXiaY6bkwxCAvrpTsAD2NyueJIMQoUX4ehq eIxesPDKslJXoPreK54IdSq8x/yh1i98fMIA0hoK6bYlR3SZBJ8Jh0LpbRg//iwb 8Id9UhhT9doTnWIKlMkUWFhlRfBmKr1GTGmjd7p2rFtqI8egR+/1/zXIiZr/dxtg UdYLmCZwT8KhAS58k9N0g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeggdduvddtucetufdoteggodetrfdotf 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 14:02:50 -0500 (EST) From: Ian Eure Date: Sat, 17 Feb 2024 11:02:39 -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 | 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") From patchwork Sat Feb 17 19:02:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 60464 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 5E42827BBE9; Sat, 17 Feb 2024 19:04:09 +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=unavailable 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 C044627BBE2 for ; Sat, 17 Feb 2024 19:04:04 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbPyW-0002tz-4S; Sat, 17 Feb 2024 14:03:48 -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 1rbPyT-0002tP-3e for guix-patches@gnu.org; Sat, 17 Feb 2024 14:03: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 1rbPyS-0000iW-Ru for guix-patches@gnu.org; Sat, 17 Feb 2024 14:03:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbPym-0000YG-Rs for guix-patches@gnu.org; Sat, 17 Feb 2024 14:04:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v5 5/5] gnu: Add home-jellyfin-mpv-shim-service-type. Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Sat, 17 Feb 2024 19:04:04 +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 , ( , Andrew Tropin , Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-Xcc: ( , Andrew Tropin , Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 67120-submit@debbugs.gnu.org id=B67120.17081966022032 (code B ref 67120); Sat, 17 Feb 2024 19:04:04 +0000 Received: (at 67120) by debbugs.gnu.org; 17 Feb 2024 19:03:22 +0000 Received: from localhost ([127.0.0.1]:33892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPy6-0000Wc-7q for submit@debbugs.gnu.org; Sat, 17 Feb 2024 14:03:22 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:52155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbPy1-0000VU-PF for 67120@debbugs.gnu.org; Sat, 17 Feb 2024 14:03:18 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 981B85C005B; Sat, 17 Feb 2024 14:02:52 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 17 Feb 2024 14:02:52 -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=1708196572; x= 1708282972; bh=s0PR3ZU1C8nvhw56ja2ksQ/H0K0BZWytw3rzfqwWb64=; b=C ejOlcjU2SUFIwNEe6+cPXptJfUKIe3k+VChTLBEq0XXc8oPwA3ofnjGYxMOWiVKB /HfZT+WBLOM9HvlHjz/sDqq6cDS4i2VjOOV71CEKIN049bdl8E58OUDYLBZRKkle z5824Eq6sgCLhjPeqZpx4usB5dN4ho5gjyaKHzLASncZf4viP/+EApHvpBLgHAx+ hrrikwzBCb6g9hitL+C9JLe6zGHyghSi9nd9ck622huH2Cg+pM2ZcVBkNKIhm4M7 v1XcFHp3r1Y30RKf3suYH+4uFwtFjxoIGmClrC4tk903I911HPnaNy8w196ebANi xTOI2gN1aQfL/vmWnZNlQ== 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=1708196572; x= 1708282972; bh=s0PR3ZU1C8nvhw56ja2ksQ/H0K0BZWytw3rzfqwWb64=; b=D IeUHoJe91Im9geT9w1IgnPucmJfNv5rtvqt4KG5n66Moae7OC9gej6bEd6bacJvR nuGpwI6JUhmsjo8kfmCN3vr9HI1U+g4gJ8o5mpdVo7ilxOFbofm/QE2a2RyaZv18 8bOtkNmuvuT6va73y3huccwW2dG66CNtnm8/MZR3PSInFmLuzlTEjVCwnZLhL7fU muSunNkIXWPqI6e6/kEBYq1do+IVxZSnGQY2gFuJwoWq6tlF3Mow068nZ0itffVJ nEwPzyHim1xJDWmZ9ofY/kOAKXGg/SfBS0V0VBbxGkCwDBL0pX2Qn3emTx+ulFkg hRxIRPLw83crArkEVBRFQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeggdduvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggt rdhtvheqnecuggftrfgrthhtvghrnhepheffgefggeetgffhieeuudekudefueegueeute dtkeduledukedttdekvdegffejnecuffhomhgrihhnpehkohguihdrthhvpdhjvghllhih fhhinhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehirghnsehrvghtrhhoshhpvggtrdhtvh X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 17 Feb 2024 14:02:51 -0500 (EST) From: Ian Eure Date: Sat, 17 Feb 2024 11:02:40 -0800 Message-ID: <2c4777a3d17760fbef2b570d377812e437920525.1708196460.git.ian@retrospec.tv> 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/home/services/media.scm (home-jellyfin-mpv-shim-service-type): New variable. * doc/guix.texi (Jellyfin Services): New section. * doc/guix.texi (Kodi Services): Add subheading. Change-Id: I037ab0602214fdaa1b032be51ff98ecf6b7ee16c --- doc/guix.texi | 17 +++++++++++++++++ gnu/home/services/media.scm | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 04119a5955..58981f96d5 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -46042,6 +46042,8 @@ Media Home Services @subsection Media Home Services @cindex kodi +@subsubheading Kodi Services + The @uref{https://kodi.tv, Kodi media center} can be run as a daemon on a media server. With the @code{(gnu home services kodi)} service, you can configure Kodi to run upon login. @@ -46074,6 +46076,21 @@ Media Home Services @end table @end deftp +@cindex jellyfin +@subsubheading Jellyfin Services + +The @code{home-jellyfin-mpv-shim-service-type} in the @code{(gnu home services media)} module runs a cast client for the @uref{https://jellyfin.org/, Jellyfin} media system. + +To enable, add this to your home services: + +@lisp +(service home-jellyfin-mpv-shim-service-type #f) +@end lisp + +@defvar home-jellyfin-mpv-shim-service-type +The type of the Jellyfin MPV Shim service. +@end defvar + @node Networking Home Services @subsection Networking Home Services diff --git a/gnu/home/services/media.scm b/gnu/home/services/media.scm index c6454dfe15..219bb97487 100644 --- a/gnu/home/services/media.scm +++ b/gnu/home/services/media.scm @@ -19,8 +19,10 @@ (define-module (gnu home services media) #:use-module (srfi srfi-26) #:use-module (gnu home services) + #:use-module (gnu home services desktop) #:use-module (gnu home services shepherd) #:use-module (gnu packages kodi) + #:use-module (gnu packages video) #:use-module (gnu services configuration) #:use-module (gnu services shepherd) #:use-module (guix records) @@ -66,3 +68,36 @@ (define home-kodi-service-type (description "Install and configure the Kodi media center so that it runs as a Shepherd service."))) + +(define (jellyfin-mpv-shim-shepherd-service _ignore) + (list (shepherd-service + (documentation "Jellyfin MPV Shim.") + (provision '(jellyfin-mpv-shim jellyfin-client)) + + ;; Depend on 'x11-display', which sets 'DISPLAY' if an X11 server is + ;; available, and fails to start otherwise. + (requirement '(x11-display)) + + (modules '((srfi srfi-1) + (srfi srfi-26))) + (start #~(lambda _ + (fork+exec-command + (list #$(file-append jellyfin-mpv-shim "/bin/jellyfin-mpv-shim")) + + ;; Inherit the 'DISPLAY' variable set by 'x11-display'. + #:environment-variables + (cons (string-append "DISPLAY=" (getenv "DISPLAY")) + (remove (cut string-prefix? "DISPLAY=" <>) + (default-environment-variables)))))) + (stop #~(make-kill-destructor))))) + +(define-public home-jellyfin-mpv-shim-service-type + (service-type + (name 'home-jellyfin-mpv-shim) + (extensions (list (service-extension home-shepherd-service-type + jellyfin-mpv-shim-shepherd-service) + ;; Ensure 'home-x11-service-type' is instantiated so we + ;; can depend on the Shepherd 'x11-display' service. + (service-extension home-x11-service-type + (const #t)))) + (description "Run Jellyfin MPV Shim.")))