Package Details: mnamer 2.7.2-1

Git Clone URL: https://aur.archlinux.org/mnamer.git (read-only, click to copy)
Package Base: mnamer
Description: A media organization tool
Upstream URL: https://github.com/jkwill87/mnamer
Keywords: batch cli media metadata movie organizer python television
Licenses: MIT
Submitter: ragouel
Maintainer: c4tz
Last Packager: c4tz
Votes: 6
Popularity: 0.89
First Submitted: 2020-05-07 07:59 (UTC)
Last Updated: 2026-05-25 09:18 (UTC)

Latest Comments

c4tz commented on 2026-05-25 09:25 (UTC)

Thank you very much for the patch (and resolving #302 on Github), jkwill87! Sorry for the late response, I was on vacation for 3 weeks :)

I modified your diff a bit to include the latest 2.7.2 version, but left everything else untouched and it works flawlessly.

jkwill87 commented on 2026-05-10 18:48 (UTC)

Here's a git patch to update to mnamer 2.7.0 which should also remove the need for the PKGBUILD patch. If saved to f8bc260.patch can be applied using git am f8bc260.patch. Hopefully this makes your life easier. Thanks for maintaining this package :D

From f8bc260563103682f548f4f755258d02e5d83085 Mon Sep 17 00:00:00 2001
From: Jessy Williams <jessy@jessywilliams.com>
Date: Sun, 10 May 2026 18:27:45 +0000
Subject: [PATCH] update to 2.7.0, remove sessioncache patch

---
 PKGBUILD           | 15 +++++----------
 sessioncache.patch | 25 -------------------------
 2 files changed, 5 insertions(+), 35 deletions(-)
 delete mode 100644 sessioncache.patch

diff --git a/PKGBUILD b/PKGBUILD
index 7dfc5b7..195593d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
 # Maintainer: Jaro Zink <j dot zink at outlook dot com>
 # Contributor: Luis Martinez <luis dot martinez at disroot dot org>
 # Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
+# Contributor: Jessy Williams <jessy at jessywilliams dot com>

 pkgname=mnamer
-pkgver=2.6.0
+pkgver=2.7.0
 pkgrel=1
 pkgdesc='A media organization tool'
 arch=('any')
@@ -16,19 +17,13 @@ depends=(
   'python-guessit'
   'python-requests'
   'python-requests-cache'
-  'python-teletype'
-  'python-typing_extensions')
+  'python-teletype')
 makedepends=('python-build' 'python-setuptools-scm' 'python-wheel')
 source=(
   "${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
-  "sessioncache.patch")
+)
 sha256sums=(
-  'af30841941c89a0281481dfb034ba18f3ff9e5fd58a403d86473f26b5f2dc491'
-  '26b3cbbc09772974ff15795db9dd0a60260af1b25ab0c98597fd758c61ed2bc5')
-
-prepare() {
-  patch -d "${pkgname}-${pkgver}" -p1 -i ../sessioncache.patch
-}
+  '552454b99cfae97c5160e84fd2b7fa222a034c59f0bc7db455cb245412cb635b')

 build() {
   cd "${pkgname}-${pkgver}"
diff --git a/sessioncache.patch b/sessioncache.patch
deleted file mode 100644
index ebc93a3..0000000
--- a/sessioncache.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/mnamer/utils.py b/mnamer/utils.py
-index 84df787..a11d293 100644
---- a/mnamer/utils.py
-+++ b/mnamer/utils.py
-@@ -256,9 +256,9 @@ def request_json(
-         "like Gecko) Chrome/79.0.3945.88 Safari/537.36"
-     )
-
--    initial_cache_state = session._disabled  # yes, i'm a bad person
-+    initial_cache_state = session.settings.disabled  # yes, i'm a bad person
-     try:
--        session._disabled = not cache
-+        session.settings.disabled = not cache
-         response = session.request(
-             url=url,
-             params=parameters,
-@@ -273,7 +273,7 @@ def request_json(
-         content = None
-         status = 500
-     finally:
--        session._disabled = initial_cache_state
-+        session.settings.disabled = initial_cache_state
-     return status, (content or {})
-
-
--
2.54.0

IgnotusPeverell commented on 2023-03-28 02:24 (UTC)

error when making

error in mnamer setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
    appdirs>=1.4.*
           ~~~~~^
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: mnamer

lmartinez-mirror commented on 2022-07-08 18:05 (UTC)

I'm sorry, did you mean to post this to python-exceptiongroup's page? I don't see how this relates to mnamer.

hnacho commented on 2022-07-08 06:51 (UTC) (edited on 2022-07-08 06:51 (UTC) by hnacho)

On a clean installation of Manjaro GNOME 21.3.2 minimal.

=============================================================================================== test session starts ===============================================================================================
platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0
rootdir: /var/tmp/pamac-build-nacho/python-exceptiongroup/src/exceptiongroup-1.0.0rc8, configfile: pyproject.toml, testpaths: tests
plugins: socket-0.5.0
collected 0 items / 3 errors                                                                                                                                                                                      

===================================================================================================== ERRORS ======================================================================================================
______________________________________________________________________________________ ERROR collecting tests/test_catch.py _______________________________________________________________________________________
ImportError while importing test module '/var/tmp/pamac-build-nacho/python-exceptiongroup/src/exceptiongroup-1.0.0rc8/tests/test_catch.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_catch.py:3: in <module>
    from exceptiongroup import BaseExceptionGroup, ExceptionGroup, catch
E   ModuleNotFoundError: No module named 'exceptiongroup'
____________________________________________________________________________________ ERROR collecting tests/test_exceptions.py ____________________________________________________________________________________
ImportError while importing test module '/var/tmp/pamac-build-nacho/python-exceptiongroup/src/exceptiongroup-1.0.0rc8/tests/test_exceptions.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_exceptions.py:6: in <module>
    from exceptiongroup import BaseExceptionGroup, ExceptionGroup
E   ModuleNotFoundError: No module named 'exceptiongroup'
____________________________________________________________________________________ ERROR collecting tests/test_formatting.py ____________________________________________________________________________________
ImportError while importing test module '/var/tmp/pamac-build-nacho/python-exceptiongroup/src/exceptiongroup-1.0.0rc8/tests/test_formatting.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_formatting.py:3: in <module>
    from exceptiongroup import ExceptionGroup
E   ModuleNotFoundError: No module named 'exceptiongroup'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================================ 3 errors in 0.08s ================================================================================================

ragouel commented on 2021-01-16 00:36 (UTC)

Fixed.

hubnerd commented on 2021-01-06 10:40 (UTC)

Not working currently as requirements.txt requires guessit dep version as 3.1. Current version of guessit on aur is 3.2.

jkwill87 commented on 2021-01-06 07:04 (UTC)

mnmaer dev here.

This may be due to Arch's recent update from Python 3.8 to Python 3.9. Other AUR Python packages have reported similar breakages elsewhere on the internet. I suspect that you may some dependencies installed with Python 3.9 and other from the AUR using Python 3.8. If this is the case perhaps uninstalling and reinstalling the listed dependencies may sort out the issue? Sorry, I'm not the maintainer for this package and don't currently use Arch so I can't confirm whether this is the case.

hnacho commented on 2021-01-03 22:20 (UTC)

It's not working after last update. python-guessit seems to be the problem.

$ mnamer
Traceback (most recent call last):
  File "/usr/bin/mnamer", line 33, in <module>
    sys.exit(load_entry_point('mnamer==2.4.2', 'console_scripts', 'mnamer')())
  File "/usr/bin/mnamer", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: mnamer