ZivaVatra/flac2all

Fails if filename contains "hyphen

Closed this issue · 3 comments

$ flac2all mp3 ~/Music/flac/downloads/redtopia/Eagles\ -\ On\ The\ Border\ \[1974\]\ \[FLAC\]\ \{7E-1004-2\,\ 243\ 005\}/ -n -l '-replaygain-accurate:V 0' -o ~/Music/mp3/eagles

Flac2all python script, v3 . Copyright 2006-2015 Ziva-Vatra.com.
Licensed under the GPLv3 .
Project website: https://github.com/ZivaVatra/flac2all

    
/bin/sh: line 0: type: opusenc: not found
There are 17 files, of which 10 are convertable FLAC files
We are running 8 simultaneous transcodes
converting file #1 to mp3
converting file #2 to mp3
converting file #4 to mp3
converting file #6 to mp3
converting file #5 to mp3
converting file #7 to mp3
 converting file #8 to mp3

02 - You Never Cry Like A Lover.flac: ERROR initializing decoder
                                      init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

02 - You Never Cry Like A Lover.flac: ERROR initializing decoder
                                      init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

10 - The Best Of My Love.flac: ERROR initializing decoder
                               init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

10 - The Best Of My Love.flac: ERROR initializing decoder
                               init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

07 - Ol' 55.flac: ERROR initializing decoder
                  init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

07 - Ol' 55.flac: ERROR initializing decoder
                  init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

06 - James Dean.flac: ERROR initializing decoder
                      init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

06 - James Dean.flac: ERROR initializing decoder
                      init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

03 - Midnight Flyer.flac: ERROR initializing decoder
                          init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

03 - Midnight Flyer.flac: ERROR initializing decoder
                          init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist or is not readable.

04 - My Man.flac: ERROR initializing decoder
                  init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

04 - My Man.flac: ERROR initializing decoder
                  init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.
Warning: unsupported audio format
Can't init infile '-'

01 - Already Gone.flac: ERROR initializing decoder
                        init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

01 - Already Gone.flac: ERROR initializing decoder
                        init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.
Warning: unsupported audio format
Can't init infile '-'
Warning: unsupported audio format
Can't init infile '-'
Warning: unsupported audio format
Can't init infile '-'
Warning: unsupported audio format
Can't init infile '-'
Warning: unsupported audio format
Can't init infile '-'
Warning: unsupported audio format
Can't init infile '-'
converting file #11 to mp3
converting file #12 to mp3
converting file #13 to mp3

05 - On The Border.flac: ERROR initializing decoder
                         init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

05 - On The Border.flac: ERROR initializing decoder
                         init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

09 - Good Day In Hell.flac: ERROR initializing decoder
                            init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

09 - Good Day In Hell.flac: ERROR initializing decoder
                            init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

08 - Is It True.flac: ERROR initializing decoder
                      init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.

08 - Is It True.flac: ERROR initializing decoder
                      init status = FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE

An error occurred opening the input file; it is likely that it does not exist
or is not readable.
Warning: unsupported audio format
Can't init infile '-'
Warning: unsupported audio format
Can't init infile '-'
Warning: unsupported audio format
Can't init infile '-'

Sounds like a regression, I will attempt to reproduce.

Just to ask, was this tested against the latest checked out version 3 from this git repo?

Unable to replicate. Closing ticket. Please reopen if problem persists with latest master branch.