Package Details: dir2ogg 0.13-1

Git Clone URL: (read-only, click to copy)
Package Base: dir2ogg
Description: Converts mp3, m4a, wma, and wav files into ogg-vorbis format
Upstream URL:
Keywords: audio convert ogg tool
Licenses: GPL2
Submitter: jetm
Maintainer: jetm
Last Packager: jetm
Votes: 9
Popularity: 0.31
First Submitted: 2015-08-15 15:22
Last Updated: 2019-09-07 02:27

Latest Comments

jetm commented on 2017-04-17 19:07

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

je-vv commented on 2017-04-15 21:02

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)

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 "" for more details...

That should move the AUR package to "-2" release, :-)


Upstream issue filed:

Upstream PR provided: