Package: cuefix
CueFixCueFix is simple command-line tool to fix CUE files which are popular in lossless audio / albums.CueFix provides the following functionalities:automatically detect encoding of CUE file: GB2312, GBK, GB18030, UTF-8, UTF-8 BOM, and SHIFT-JISconvert encoding of CUE file: support GB2312, UTF-8, UTF-8 BOM, etc.convert newline format of CUE file: support Windows CRLF and Unix LFscan the directory and fix not matched audio file in CUE filebackup the original CUE file so that users can revert the CUE file backinteractive with users to verify fixed CUE filesPlease feel free to fork and contribute to the project if you like.InstallationPrerequisitesThe following dependencies are necessary:Python 3.6 or aboveOption 1: Install via pipThe official release ofcuefixis distributed on PyPI. Note that you should use the Python 3 version ofpip:$pip3installcuefixOption 2: Download from Github or git cloneThis is the recommended way for developers.$gitclonegit://github.com/yinyanghu/cuefixRun./setup.py installto installcuefixto your user path.UpgradingIf you installcuefixusingpip, you could upgrade it via$pip3install--upgradecuefixGetting Started$ cuefix -h
usage: cuefix [-h] [--version] [-v] [-y] [-i] [--dryrun] [-e {utf-8-sig,utf-8,gb2312}] [-n {unix,windows}]
              [--no-encoding] [--no-newline] [--no-backup]
              filepath

Fix a CUE file in a directory: convert encoding, convert newline character, fix not matched audio file.

positional arguments:
  filepath              file path to the input cue file

optional arguments:
  -h, --help            show this help message and exit
  --version             print the version of cuefix and exit
  -v, --verbose         enable verbose output

dry-run options:
  -y, --yes             disable interactive mode and yes to all prompts
  -i, --info            display metainfo of the input cue file only
  --dryrun              dry-run and print out fixed cue file

fix options:
  -e {utf-8-sig,utf-8,gb2312}, --encoding {utf-8-sig,utf-8,gb2312}
                        encoding which cue file will be converted to, default is UTF-8 BOM (utf-8-sig)
  -n {unix,windows}, --newline {unix,windows}
                        newline format which cue file will be converted to, default is Unix
  --no-encoding         converting encoding will be skipped
  --no-newline          converting newline will be skipped

backup options:
  --no-backup           no backup for the input cue file, USE WITH CAUTION!You can recursively runcuefixto fix all CUE file in a directory:$find<directory>-typef-name"*.cue"-execcuefix-v{}\;CUE Formats Supported by Popular Media PlayersMedia PlayersFoobar 2000Windows (version 1.5.5)DeaDBeeFLinux (version 1.8.4)AndroidWindows (unstable, nightly build)macOS (unstable, nightly build)VOXmacOS (version 3.3.17)iOSSynology Audio StationSynology DSM (version 6.2.3)Audio Station (version 6.5.5-3374)EncodingPlease use the following encoding name incuefix:UTF-8:utf-8UTF-8 BOM:utf-8-sigGB 2312:gb2312PlatformUTF-8UTF-8 BOMGB 2312Foobar 2000Windows:x::heavy_check_mark::heavy_check_mark:DeaDBeeFLinux / Android:heavy_check_mark::heavy_check_mark::heavy_check_mark:VOXmacOS / iOS:heavy_check_mark::heavy_check_mark::x:Synology Audio StationNAS / Linux:heavy_check_mark::heavy_check_mark::x:Note: DeaDBeeF on Linux could support CUE file in encoding GB 2312 by enablingChinese CP 936 detection and recordingin the settings.
However, DeaDBeeF on macOS still cannot support GB 2312 even if we enable the setting.
DeadDBeeF on Android has not been tested yet.Note: VOX on iOS has not been tested yet.NewlinePlatformUnix (LF)Windows (CRLF)Foobar 2000Windows:heavy_check_mark::heavy_check_mark:DeaDBeeFLinux / Android:heavy_check_mark::heavy_check_mark:VOXmacOS / iOS:heavy_check_mark::heavy_check_mark:Synology Audio StationNAS / Linux:heavy_check_mark::heavy_check_mark:LicenseGNU General Public License v3.0