From patchwork Sun Feb 25 22:20:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 61126 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 1EDD227BBEA; Sun, 25 Feb 2024 22:22:19 +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,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 AA32F27BBE2 for ; Sun, 25 Feb 2024 22:22:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reMsQ-0001AU-1Y; Sun, 25 Feb 2024 17:21:42 -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 1reMsM-00018b-1D for guix-patches@gnu.org; Sun, 25 Feb 2024 17:21:38 -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 1reMsL-0006hV-PS; Sun, 25 Feb 2024 17:21:37 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1reMsj-0006k4-IQ; Sun, 25 Feb 2024 17:22:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v6 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: Sun, 25 Feb 2024 22:22:01 +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.170889967725730 (code B ref 67120); Sun, 25 Feb 2024 22:22:01 +0000 Received: (at 67120) by debbugs.gnu.org; 25 Feb 2024 22:21:17 +0000 Received: from localhost ([127.0.0.1]:54841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reMs1-0006gt-27 for submit@debbugs.gnu.org; Sun, 25 Feb 2024 17:21:17 -0500 Received: from wfout8-smtp.messagingengine.com ([64.147.123.151]:58049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reMrz-0006gE-2D for 67120@debbugs.gnu.org; Sun, 25 Feb 2024 17:21:15 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.west.internal (Postfix) with ESMTP id 4D4F71C00091; Sun, 25 Feb 2024 17:20:44 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 25 Feb 2024 17:20:44 -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=1708899643; x= 1708986043; bh=MzG2CCZn0TNBbafubnVeacrcCiRbCXB0kylGK/14oP4=; b=D +GGsThsFAIGlqvMEY0NnjIHmUacu/ekdiYahvwymsy09jop2f6PWl2DeWNgKMNNo P0CzYUNRCHCVpmV6dM0lmXCe6uKqNhNkP1qP9HNyfmxrFhlIG5XqnCLH5LkjxohW TztwOZHl8X/Z/Zx6mVgMrZDJgGUyEJLwbE6LoRWrYX2H6kmDhsk3AJxlVNcRPP2K JoU7mn4o8QPKlfq6Dme5kv/i9KsdWZe6RzI0bo2hSAMWNG6tFmGfp2jFdGZkZoKL DkL72izi/4FZD4GA3zHIz/yQlzJvOBB2RoYkvOV+zyyaqDg5p9souD1wJDV0PMoI XOTqlx3Zpvt4RKiUCFx5Q== 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=1708899643; x= 1708986043; bh=MzG2CCZn0TNBbafubnVeacrcCiRbCXB0kylGK/14oP4=; b=S ONN4v9fxqYeuw+1ObA4XhiRjHJYu1H0vpaOsB0kOxdE9PS+vutTUoKYaxehjtt6S FF5rz4aDb6rSY5Hqj0BNYh6pr+RtEIyRCPEil/gISb2TcntUusyanZMyPgPEsq1g yaZyNNYtytpggGu8fJHx/PIKamkfyDfqRiODXHMlCm7O4CF+Xb+vChfIVa9bBt3B t4WgWrdaw8DsaCaR1YGACb6+HEWJVcJnY813VDti2eZxDDBNGMICDKgUgR+BPWvX Rm0WC1sUlbefdhrzKZXjQPzHXCOdHoMSkDcLJ4HKtRMnHdnIzYudRg0fWC4EsGDb o3iQQmesc0TzKdmkmXpRw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgedtgdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggt rdhtvheqnecuggftrfgrthhtvghrnhepvdeugeduveefgeehvddthefgjeevvddvtefghe egtdfgueeitdehgfduffevjeeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehirghnsehrvg htrhhoshhpvggtrdhtvh X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Feb 2024 17:20:43 -0500 (EST) From: Ian Eure Date: Sun, 25 Feb 2024 14:20:30 -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-mpv-jsonipc): New variable. Change-Id: Iec7679213d9b9e8e5cbf01a30838e27e71704e54 --- gnu/packages/python-xyz.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a051f5a8db..b6001416a6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25808,6 +25808,23 @@ (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 control MPV using JSON IPC") + (description "python-mpv-jsonipc implements an interface similar to +python-mpv, but it uses the JSON IPC protocol instead of the C API.") + (license license:asl2.0))) + (define-public python-parso (package (name "python-parso") From patchwork Sun Feb 25 22:20:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 61125 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 5506827BBE9; Sun, 25 Feb 2024 22:22: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,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 80E0E27BBE2 for ; Sun, 25 Feb 2024 22:22:16 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reMsP-0001A7-Ih; Sun, 25 Feb 2024 17:21:41 -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 1reMsO-00019S-96 for guix-patches@gnu.org; Sun, 25 Feb 2024 17:21:40 -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 1reMsO-0006iA-0z; Sun, 25 Feb 2024 17:21:40 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1reMsk-0006kK-EC; Sun, 25 Feb 2024 17:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v6 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: Sun, 25 Feb 2024 22:22: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.170889968525788 (code B ref 67120); Sun, 25 Feb 2024 22:22:02 +0000 Received: (at 67120) by debbugs.gnu.org; 25 Feb 2024 22:21:25 +0000 Received: from localhost ([127.0.0.1]:54863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reMs8-0006hp-Ud for submit@debbugs.gnu.org; Sun, 25 Feb 2024 17:21:25 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:56873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reMs0-0006gS-UQ for 67120@debbugs.gnu.org; Sun, 25 Feb 2024 17:21:17 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 2DFAA3200A1F; Sun, 25 Feb 2024 17:20:46 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 25 Feb 2024 17:20:46 -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=1708899645; x= 1708986045; bh=ruhPMYR0nlVlINcs1rxqC0bGVB0BfJNdQkwLNINOGBs=; b=R xyTMeyGY/0yJge5OXU06to/QaFAxl2Io70Np1fsaaJSTMRfHIVQpekqOtgmHAd0S oVGBMoDfAZASBsh4yPL/IjF9tQvo5HgWlUWZqHscwSR0ZbNHcC5QwA1ZF5H0E7xg HADqUmvihWXnzxtkVNE75aawEV6I87djD5VgE8vHTGkXD32j47oXA89l0zyJ0J1A wZw7FuqWKuGuqmemldVe63OZ7jsAlskr5YRuyoa3Wd4i0iJUCqsDENquXKozSlWI G/vS77mbPmcUX4cXSRYhjVsndH03nk2OLPxI1jexObeTQSicNMYX7Odj5L9XY/Ft /LI2x9GCrQyG4atUpHEOg== 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=1708899645; x= 1708986045; bh=ruhPMYR0nlVlINcs1rxqC0bGVB0BfJNdQkwLNINOGBs=; b=D 9f3uLpysM0Q/UuT3CEvswYoN6llhrzPvQPQhenQ1prSTV/eIuugVP6SEgyptksRv d5KURI7G93ZBzcu3zvAKrgI9hVlA3mgoglrspxuavgOqlFaQmsCNgDoOGtDhBSRe bBcrze+8qVqXEDWqVbs+RaoP1MRkgtWJZCQzjLqZTsBlxptimIUbVra9ekFNeOH7 TpyP34dNkAKkymeaHqBr7hNRgQDDIC3lSUxgGo1G2+wCiK6begxkoC9r4UYnqJCH cdWOj/p6p9jpjKVcK3q42gtP1xtNcrcjmsArwyl0latZBGa/oJzEFwHsgE63fDNk N8tlUHxFjlOkja242gX+Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgedtgdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggt rdhtvheqnecuggftrfgrthhtvghrnhepvdeugeduveefgeehvddthefgjeevvddvtefghe egtdfgueeitdehgfduffevjeeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehirghnsehrvg htrhhoshhpvggtrdhtvh X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Feb 2024 17:20:45 -0500 (EST) From: Ian Eure Date: Sun, 25 Feb 2024 14:20:31 -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 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b6001416a6..1ed1f0e135 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25825,6 +25825,26 @@ (define-public python-mpv-jsonipc python-mpv, but it uses the JSON IPC protocol instead of the C API.") (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-jellyfin-apiclient allows use of the Jellyfin API +from Python. It was extracted from the Jellyfin Kodi plugin so other users +may use the Jellyfin API more easily.") + (license license:gpl3))) + (define-public python-parso (package (name "python-parso") From patchwork Sun Feb 25 22:20:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 61124 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 E3E6727BBEA; Sun, 25 Feb 2024 22:22:12 +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,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 2F42B27BBE2 for ; Sun, 25 Feb 2024 22:22:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reMsR-0001B6-QG; Sun, 25 Feb 2024 17:21:43 -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 1reMsQ-0001An-ME for guix-patches@gnu.org; Sun, 25 Feb 2024 17:21:42 -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 1reMsQ-0006jB-DM; Sun, 25 Feb 2024 17:21:42 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1reMsk-0006kV-TB; Sun, 25 Feb 2024 17:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v6 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: Sun, 25 Feb 2024 22:22: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.170889968625795 (code B ref 67120); Sun, 25 Feb 2024 22:22:02 +0000 Received: (at 67120) by debbugs.gnu.org; 25 Feb 2024 22:21:26 +0000 Received: from localhost ([127.0.0.1]:54865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reMs9-0006ht-N2 for submit@debbugs.gnu.org; Sun, 25 Feb 2024 17:21:25 -0500 Received: from wfhigh8-smtp.messagingengine.com ([64.147.123.159]:35313) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reMs2-0006gW-OA for 67120@debbugs.gnu.org; Sun, 25 Feb 2024 17:21:19 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id 069531800084; Sun, 25 Feb 2024 17:20:47 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 25 Feb 2024 17:20: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=1708899647; x= 1708986047; bh=i3+alINHCUEpw/hY9dVJBD4kP8+Qw+rW6+EUlfVLOow=; b=l gyshe+Q2MZus6x1nefSC4RzTC6YXCcAWDxl3ua2HEVxGYvGHlZPYyQjS0TVffWxW OnI59GCKHLaNNZC3BBUV31QGOVQhmV3oQyFCfhjbFoIhndLp39u40PqY9/3SOXYc X8gpW8IJHXsyKKWoGgGBE8NbWpAZKa01b3hCLDIwWGdWKzXd9sNWUxdDcwwfowzl Syc4AY1H0igl9R9OZS0Hqz6zmORJG5CFC+KauETCQYW82K4ldqXSFAmQ/8qHNjil we7/gDc+H6n9Tl2ackU6BQfaFBMNca2kzp42pQtOXoclibw0lR/03ljDZUsy8zt0 OB2O5yRZUx88ph51IbGpw== 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=1708899647; x= 1708986047; bh=i3+alINHCUEpw/hY9dVJBD4kP8+Qw+rW6+EUlfVLOow=; b=p ygEsHo5ozxdf19PzwwfFux/51ctCuKaDbZNQZpkFXR7o+eax+MuU3DCkBG92REW6 UDwma/N13n9Lx7bCmS9ASh3E86oV33J15U9rYMBKRATDScS0YQKATviR6weVVTls Sr31gdbPkGb63YnnmLeYe/S7mQaq4LoPZ+bOyvnHHWSWvcqllApPwNi4lBZ9ZzQv UrcSmo5+79wzCjrGT3APjcvyhXjSlVfiEVWFL4xvbK4ySezB5oQtK+6EcnxdL+Vc /gg0CfALUeRy2yuFr2kpndH1Wm6utnrKG4ogSOp3ERJym1My5Zs7FRbZLTN64FQ6 98JymHcpXytjib4tx2EUg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgedtgdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggt rdhtvheqnecuggftrfgrthhtvghrnhepvdeugeduveefgeehvddthefgjeevvddvtefghe egtdfgueeitdehgfduffevjeeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucev lhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehirghnsehrvg htrhhoshhpvggtrdhtvh X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Feb 2024 17:20:46 -0500 (EST) From: Ian Eure Date: Sun, 25 Feb 2024 14:20:32 -0800 Message-ID: <15207e8eede378884440bdd136a9d900226f0817.1708899540.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 | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1ed1f0e135..36442f0870 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31728,6 +31728,42 @@ (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 + ;; The test suite requires user interaction, there are no automated + ;; tests. + #:tests? #false + #:phases #~(modify-phases %standard-phases + (add-before 'sanity-check 'use-dummy-backend + (lambda _ + ;; Without setting this, pystray tries to connect to + ;; X11 on import. + (setenv "PYSTRAY_BACKEND" "dummy")))))) + (native-inputs (list python-sphinx)) + (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. + +It allows specifying an icon, a title and a callback for when the icon is +activated. The icon and title can be changed after the icon has been created, +and the visibility of the icon can be toggled.") + (license license:lgpl3))) + (define-public python-bitstring (package (name "python-bitstring") From patchwork Sun Feb 25 22:20:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 61127 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 60EB327BBEA; Sun, 25 Feb 2024 22:22:25 +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,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 5363427BBE2 for ; Sun, 25 Feb 2024 22:22:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reMsQ-0001Af-91; Sun, 25 Feb 2024 17:21:42 -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 1reMsM-00018s-Mp for guix-patches@gnu.org; Sun, 25 Feb 2024 17:21:38 -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 1reMsM-0006hn-F5 for guix-patches@gnu.org; Sun, 25 Feb 2024 17:21:38 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1reMsl-0006ke-Bv for guix-patches@gnu.org; Sun, 25 Feb 2024 17:22:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v6 4/5] gnu: Add jellyfin-mpv-shim. Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Feb 2024 22: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.170889968625803 (code B ref 67120); Sun, 25 Feb 2024 22:22:03 +0000 Received: (at 67120) by debbugs.gnu.org; 25 Feb 2024 22:21:26 +0000 Received: from localhost ([127.0.0.1]:54867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reMsA-0006i0-20 for submit@debbugs.gnu.org; Sun, 25 Feb 2024 17:21:26 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:54093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reMs4-0006gc-I7 for 67120@debbugs.gnu.org; Sun, 25 Feb 2024 17:21:21 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id CF9673200A20; Sun, 25 Feb 2024 17:20:49 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 25 Feb 2024 17:20: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=1708899649; x= 1708986049; bh=xgkmLKpgn7/k0ahWc0o5IB60L21ipg3m7GXMeGrY4xw=; b=f g7e3paBJqnzAs5T1Rjz2C66Y/h9/NJSeXsUBM1xNouFsruWKdqm8baJbQOeU4hjF ATVOfc9VReY8kCWBLVj/tsjG7Fv3RzVLpPS/7dL+qugLtJDCxvz+8ofkEFRgWEpM G6lh4yqriREcPwyCy+ZdPbDmHIUNwu0VmL8Zx4sCdTkiMKbTROcn4ccpDryd2gSg Aw462SwSD7Wqegm2bnwDokMNdeitNJBgSNSPq0ygovYIeQEK27dhcge/q43j1gjr Wy1WZNL7XSb1yEGAq3LvAGrzJhyQaStTlutvpEx2Us/VqfizJKU/14kRJ+09Z5LH cKVnkGbw+HeAFEpvirVjg== 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=1708899649; x= 1708986049; bh=xgkmLKpgn7/k0ahWc0o5IB60L21ipg3m7GXMeGrY4xw=; b=q /ZZZp3vg0lus83T21zlK7PS8vt/2rObj4OFhfpxZBe0VB7VvGoEYC2dsW+isD41n T17JqkxfAt8rFcCHKOH4WFqAMtbDGqonsfcqW/HK0zTL48G1ghq4ia/zYSd/hwhQ FbiQSDLGHJ5gAv/I3+X23aS+e+66gQuPeUwhHX40k3oxG3jhPuywuRhA96VMVxBK xUE6kyEm9uDvoVW4u1nN98p84pCQwNdddZeC04JDIiqtaBm4oW3nvJHEu9RocbDb 7/vTO7Ghwr1/ZLcpdpnBrbxUVmcDKPa3dVt31Cmh7KQrM/qgxROlKnuMLnwEmv7C KzgLS0WdL886uLFA7DbfQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgedtgdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggt rdhtvheqnecuggftrfgrthhtvghrnhepvdeugeduveefgeehvddthefgjeevvddvtefghe egtdfgueeitdehgfduffevjeeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehirghnsehrvg htrhhoshhpvggtrdhtvh X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Feb 2024 17:20:48 -0500 (EST) From: Ian Eure Date: Sun, 25 Feb 2024 14:20:33 -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 | 75 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 894543d3cc..efb016298b 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -162,6 +162,7 @@ (define-module (gnu packages video) #:use-module (gnu packages man) #:use-module (gnu packages markup) #:use-module (gnu packages maths) + #:use-module (gnu packages messaging) #:use-module (gnu packages music) #:use-module (gnu packages mp3) #:use-module (gnu packages multiprecision) @@ -2751,6 +2752,80 @@ (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 + ;; There's no test suite, but the code is ill-behaved and tries to open + ;; network connections at module import time, which makes `python + ;; setup.py test' fail. + #:tests? #f + #:phases #~(modify-phases %standard-phases + ;; sanity-check loads console_scripts endpoints, which + ;; launches the program, which makes the build hang. + ;; disable it. + (delete 'sanity-check) + (add-after 'unpack 'disable-updates + (lambda _ + (substitute* "jellyfin_mpv_shim/conf.py" + (("check_updates: bool = True") + "check_updates: bool = False") + (("notify_updates: bool = True") + "notify_updates: bool = False")))) + (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)))))) + (inputs (list `(,python "tk") + python-jellyfin-apiclient + python-jinja2 + python-mpv + python-mpv-jsonipc + python-pypresence + 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 "Jellyfin MPV Shim is a cross-platform cast client for +Jellyfin. It has support for all your advanced media files without +transcoding, as well as tons of features which set it apart from other +multimedia clients.") + (license (list + ;; jellyfin-mpv-shim + license:gpl3 + + ;; jellyfin-mpv-shim, and Anime4K, FSRCNNX, NVIDIA Image + ;; Scaling, AMD FidelityFX Super Resolution, AMD + ;; FidelityFX Contrast Adaptive Sharpening shaders. + license:expat + + ;; Static Grain shader. + license:public-domain + + ;; KrigBilatera, SSimDownscaler, and NNEDI3 shaders. + license:lgpl3+)))) + (define-public gallery-dl (package (name "gallery-dl") From patchwork Sun Feb 25 22:20:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Eure X-Patchwork-Id: 61123 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 B459B27BBEA; Sun, 25 Feb 2024 22:21:53 +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,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 0FFC327BBE9 for ; Sun, 25 Feb 2024 22:21:51 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reMsO-00019c-KJ; Sun, 25 Feb 2024 17:21:40 -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 1reMsN-000190-5s for guix-patches@gnu.org; Sun, 25 Feb 2024 17:21:39 -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 1reMsM-0006i2-UZ for guix-patches@gnu.org; Sun, 25 Feb 2024 17:21:38 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1reMsl-0006kn-Rf for guix-patches@gnu.org; Sun, 25 Feb 2024 17:22:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v6 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: Sun, 25 Feb 2024 22: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 , ( , 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.170889968725824 (code B ref 67120); Sun, 25 Feb 2024 22:22:03 +0000 Received: (at 67120) by debbugs.gnu.org; 25 Feb 2024 22:21:27 +0000 Received: from localhost ([127.0.0.1]:54869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reMsA-0006iD-Ns for submit@debbugs.gnu.org; Sun, 25 Feb 2024 17:21:27 -0500 Received: from wfhigh8-smtp.messagingengine.com ([64.147.123.159]:35343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reMs6-0006gu-Du for 67120@debbugs.gnu.org; Sun, 25 Feb 2024 17:21:23 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.west.internal (Postfix) with ESMTP id ACB8F180008A; Sun, 25 Feb 2024 17:20:51 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 25 Feb 2024 17:20: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=1708899651; x= 1708986051; bh=0rrwSIXkZ4O52b0bA/2i83lZkpcqn77g5Aj3GCuT4cQ=; b=G d/QFWPBR3wluKc20+fjtmoylUH16j8wOtKYsQNqXL0DQ20sgZfnuxmQNiQoxJ/Vq SNG+uGHSx2e0cSs6i+BJ6p2rEpdWtGp3Eej3uCWJCCb2sMplhVh/5Kkk40sLme8K olqcKdJabgOA1wHwfTSJ4jOqmz68QD2iiZt8YpM5ha5adT88wzN9uI74z6hIMFgR QCI19XjNo9sRe2OQzdXqj/4qOCO+KLe+Ylc2dcXLuNbWsmTe+fkwiI/aIzOMmVVT TYm195DrBCF7+4l6NbcCAv0gSXGlWzEHFJ911r1A8OAyOL5ZBU9cTuj5ZevZMJHf dIU0IVblajeszZpITma/A== 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=1708899651; x= 1708986051; bh=0rrwSIXkZ4O52b0bA/2i83lZkpcqn77g5Aj3GCuT4cQ=; b=E Fj8R23Cmrk47wts/TDiex1dyoBjU5NihJ2yrUhNeZ98dZWGM+rGlzVj5pdLkqNSh sESPFrdGPbL6PQdzXGDA2qEFI6njL2XcYjP50iIbYrL1LJdMDXddEU5M7OcrD5P+ pzyA2NCbQ4/mH4guOone/PInVz7Gge9grniOt2Fojym+CbWrj+AaoEwzAgsJYe/3 v0LnMGv587EpsrBtFXUeCrHsCBGTx+lca6TnS8lGVGEAMGHzP1DlzCbw6C80sT96 FrKC07qK4/Q009EqtQuio77VmFL9CgwV4QrZNFQAcwF53uwkLXziUpcOFhhOdFR1 0k3e/t8EM7/nhgC7oLYgQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgedtgdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggt rdhtvheqnecuggftrfgrthhtvghrnhepheffgefggeetgffhieeuudekudefueegueeute dtkeduledukedttdekvdegffejnecuffhomhgrihhnpehkohguihdrthhvpdhjvghllhih fhhinhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehirghnsehrvghtrhhoshhpvggtrdhtvh X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Feb 2024 17:20:50 -0500 (EST) From: Ian Eure Date: Sun, 25 Feb 2024 14:20:34 -0800 Message-ID: <6cb1e94800f6f8d57b574794549af0c693b89534.1708899540.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 | 19 +++++++++++++++++ gnu/home/services/media.scm | 42 +++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 671cdab6f8..f4d64f9df7 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -46103,6 +46103,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. @@ -46135,6 +46137,23 @@ 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 + +The service only starts if @code{jellyfin-mpv-shim} has been configured with a remote server and credentials. This must be done manually, by launching @code{jellyfin-mpv-shim}. After configuring the server, the service will start automatically when you log in. + +@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..a7fcf75b06 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,43 @@ (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) + (srfi srfi-98))) + (start #~(lambda _ + ;; Only start if a server has been configured. + (if (file-exists? + (string-append + (get-environment-variable "XDG_CONFIG_HOME") + "/jellyfin-mpv-shim/cred.json")) + (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)))) + #f))) + (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.")))