Skip to content
This repository was archived by the owner on Nov 25, 2022. It is now read-only.
This repository was archived by the owner on Nov 25, 2022. It is now read-only.

Convertion fails if there is a '?' or '#' character in filename or path #96

@fossman

Description

@fossman

Whenever there is a hash sign ( # ) or question mark ( ? ) the conversion from flac to MP3 fails.

By looking at the log, it seems that when building the command to execute in the first step, SoundKonverter ignores the rest of the filename or path where it finds the '?' character. So, later, it cant find the file name.

Here is the start of the related log:

Identifier: file:///home/user/cds/MyRecordings/2015 - Might/01 - What’s the Frequency?.flac

/bin/flac -d "/home/user/cds/MyRecordings/2015 - Might/01 - What’s the Frequency" -o "/tmp/soundkonverter_temp_convert_521782835_0.wav"
	flac 1.3.3
	Copyright (C) 2000-2009  Josh Coalson, 2011-2016  Xiph.Org Foundation
	flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
	welcome to redistribute it under certain conditions.  Type `flac' for details.
	
	
	01 - What’s the Frequency: 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.
	Conversion failed. Exit code: 1

You will notice that the first command truncates the filename:

/bin/flac -d "/home/user/cds/MyRecordings/2015 - Might/01 - What’s the Frequency"

It should be:

/bin/flac -d "/home/user/cds/MyRecordings/2015 - Might/01 - What’s the Frequency?.flac"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions