Pull request 123 added an arch check for videophash.py
On arm64, it expects the arch type arm64, but distributions know arm64 as aarch64.
Running namer directly results in a Unsupport architecture error aarch64
Adding the dict link 'aarch64': 'arm64' runs, but videohashes-arm64-linux fails to produce output, thus an error is raised
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap
self._bootstrap_inner()
File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
> File "/home/andy/.local/lib/python3.11/site-packages/namer/watchdog.py", line 137, in __processing_thread
handle(command)
File "/home/andy/.local/lib/python3.11/site-packages/namer/watchdog.py", line 54, in handle
process_file(command)
File "/home/andy/.local/lib/python3.11/site-packages/namer/namer.py", line 176, in process_file
phash = VideoPerceptualHash().get_stash_phash(command.target_movie_file) if command.config.search_phash else None
File "/home/andy/.local/lib/python3.11/site-packages/namer/videophash.py", line 91, in get_stash_phash
return self._get_stash_phash(file, stat.st_size, stat.st_mtime)
File "/home/andy/.local/lib/python3.11/site-packages/namer/videophash.py", line 96, in _get_stash_phash
return self.__execute_stash_phash(file)
File "/home/andy/.local/lib/python3.11/site-packages/namer/videophash.py", line 134, in __execute_stash_phash
data = json.loads(stdout, object_hook=lambda d: SimpleNamespace(**d))
File "/usr/lib/python3.11/json/__init__.py", line 359, in loads
return cls(**kw).decode(s)
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Running videohashes-arm64-linux manually with a link to a video file generates the error
ffmpeg/ffprobe executables not found
Scanning through the compiled code for videohashes-arm64-linux shows several matches for arm64, but none for aarch64.
I assume it's looking for an arm64 ffmpeg, and cannot find an aarch64 ffmpeg.
Not sure if this is an upstream error from https://github.com/peolic/videohashes or where the videohashes executable comes from
Pull request 123 added an arch check for videophash.py
On arm64, it expects the arch type arm64, but distributions know arm64 as aarch64.
Running namer directly results in a Unsupport architecture error aarch64
Adding the dict link
'aarch64': 'arm64'runs, but videohashes-arm64-linux fails to produce output, thus an error is raisedRunning videohashes-arm64-linux manually with a link to a video file generates the error
ffmpeg/ffprobe executables not foundScanning through the compiled code for videohashes-arm64-linux shows several matches for arm64, but none for aarch64.
I assume it's looking for an arm64 ffmpeg, and cannot find an aarch64 ffmpeg.
Not sure if this is an upstream error from https://github.com/peolic/videohashes or where the videohashes executable comes from