From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QB7FNqC922Xj0gAAqHPOHw:P1 (envelope-from ) for ; Sun, 25 Feb 2024 23:22:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QB7FNqC922Xj0gAAqHPOHw (envelope-from ) for ; Sun, 25 Feb 2024 23:22:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=retrospec.tv header.s=fm3 header.b="f g7e3pa"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="q /ZZZp3"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708899744; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xgkmLKpgn7/k0ahWc0o5IB60L21ipg3m7GXMeGrY4xw=; b=kegWcmo+FD2dZicEVL0AtIlttXFJLG9uH2bXrfTd+STkqi8bbDz+vjxP6Xhc62Us3bXyBO t9Pb/hABGaao3e+vrxesNBhDK8buBKGnFsCg5zNKmVz5PGMMKlZt0Kbac+H+j0yFLwFr1t Tc+9mHTwhihgMDIYx7fG6/lE02nhJit233NLbUA0BWFxjwDC29p6GJrB5gQc8LxVxs5788 OrQiGQWgFYZTK8psXi+vzHsVtFPxMXYQak4CFNd5vhkkM8R1lR9yRma2xOtihL152ziRX1 Fha/JzUyuFknR6cmD+CQtWEqjiBIo03nTBCTD9TLH36+fitGnNqSKNckU4MeYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=retrospec.tv header.s=fm3 header.b="f g7e3pa"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="q /ZZZp3"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708899744; a=rsa-sha256; cv=none; b=Oe6QmqVYTNNwJqOf7boK1kP6+mu3TJatjeLbtEC2FeGCsqQ/pGzn3FVJR87/XaZF93PWuX coR0lt3LMHBdIy6wZrakdhXTVWga19TZfatWUbe1d1qulI6Lda1e6ErAjNoucSF9gomMtR wnvr1b+EyMAdO+qhDgNvrPyfNay0NSjxtQOiQiINSH7YgntvBp5F+aaEyzN3c/dOIRACgG F+QygO3yS7NZmPu/RsYXl+AI0xWh3W0Oi4T55QMI6CQL9DU7gYxuKTCWezbJlkUyNuoJdj LYDXqpZzXXq8wb23h4BYbeulsUncylkOoZEIKt8wlbIxO9heokVh+lCPLqgNUA== 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 6B7511F1B2 for ; Sun, 25 Feb 2024 23:22:24 +0100 (CET) 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 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -0.87 X-Spam-Score: -0.87 X-Migadu-Queue-Id: 6B7511F1B2 X-TUID: V+UhnqTetW+Q * 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") -- 2.41.0