Package Details: dir2ogg 0.13-1

Git Clone URL: https://aur.archlinux.org/dir2ogg.git (read-only, click to copy)
Package Base: dir2ogg
Description: Converts mp3, m4a, wma, and wav files into ogg-vorbis format
Upstream URL: http://jak-linux.org/projects/dir2ogg
Keywords: audio convert ogg tool
Licenses: GPL2
Submitter: jetm
Maintainer: jetm
Last Packager: jetm
Votes: 10
Popularity: 0.000000
First Submitted: 2015-08-15 15:22 (UTC)
Last Updated: 2019-09-07 02:27 (UTC)

Latest Comments

jetm commented on 2017-04-17 19:07 (UTC)

@jevv: I have submitted this change. Let me know if it works. Thanks!

je-vv commented on 2017-04-15 21:02 (UTC) (edited on 2017-04-15 22:51 (UTC) by je-vv)

Please apply the following patch: +++++ % cat os_rename__to__shutil_move.patch diff -Naur dir2ogg-0.12-old/dir2ogg dir2ogg-0.12/dir2ogg --- dir2ogg-0.12-old/dir2ogg 2017-04-15 14:45:21.189456773 -0600 +++ dir2ogg-0.12/dir2ogg 2017-04-15 14:46:21.439371813 -0600 @@ -34,6 +34,7 @@ import locale import sys import os, os.path +import shutil import re import warnings from fnmatch import _cache, translate @@ -395,7 +396,7 @@ if self.decoder == 'mplayer': # Move the file for mplayer (which uses tempwav), so it works # for --preserve-wav. - os.rename(tempwav, self.songwav) + shutil.move(tempwav, self.songwav) if retcode != 0: return (False, None) else: +++++ It's necessary to prevent dir2ogg failing with: +++++ File "/usr/bin/dir2ogg", line 398, in decode os.rename(tempwav, self.songwav) OSError: [Errno 18] Invalid cross-device link +++++ That when the current directory FS doesn't match the final destination directory FS. See "http://pythoncentral.io/how-to-rename-move-a-file-in-python" for more details... That should move the AUR package to "-2" release, :-) BTW... Upstream issue filed: https://github.com/julian-klode/dir2ogg/issues/4 Upstream PR provided: https://github.com/julian-klode/dir2ogg/pull/5 Thanks!