All pastes #831739 Raw Edit

Untitled

public text v1 · immutable
#831739 ·published 2007-12-25 09:25 UTC
rendered paste body
alex@top4ek /mnt/Data/Music/Nightwish/1997 Angels Fall First/1997 - Angels Fall First $ ./f2t
++ '[' '' == '' ']'
++ shellDir='/mnt/Data/Music/Nightwish/1997 Angels Fall First/1997 - Angels Fall First'
++ cd '/mnt/Data/Music/Nightwish/1997 Angels Fall First/1997 - Angels Fall First'
++ find
++ read dir
++ '[' -f . ']'
++ read dir
++ '[' -f ./f2t ']'
+++ dirname ./f2t
++ dirName=.
+++ dirname ./f2t
++ cd .
+++ echo ./f2t
+++ sed -ne 's!^.*\/!!p'
++ tsFile=f2t
+++ echo ./f2t
+++ sed -ne 's!^.*\.!!p'
+++ tr '[:upper:]' '[:lower:]'
++ ext=/f2t
+++ echo f2t
+++ sed -e 's!\.[^.]*$!!'
++ base=f2t
++ '[' /f2t = ape ']'
++ '[' /f2t = bin ']'
++ '[' /f2t = wav ']'
++ cd '/mnt/Data/Music/Nightwish/1997 Angels Fall First/1997 - Angels Fall First'
++ read dir
++ '[' -f './Nightwish - Angels Fall First.ape' ']'
+++ dirname './Nightwish - Angels Fall First.ape'
++ dirName=.
+++ dirname './Nightwish - Angels Fall First.ape'
++ cd .
+++ echo './Nightwish - Angels Fall First.ape'
+++ sed -ne 's!^.*\/!!p'
++ tsFile='Nightwish - Angels Fall First.ape'
+++ echo './Nightwish - Angels Fall First.ape'
+++ sed -ne 's!^.*\.!!p'
+++ tr '[:upper:]' '[:lower:]'
++ ext=ape
+++ echo 'Nightwish - Angels Fall First.ape'
+++ sed -e 's!\.[^.]*$!!'
++ base='Nightwish - Angels Fall First'
++ '[' ape = ape ']'
++ mac 'Nightwish - Angels Fall First.ape' 'Nightwish - Angels Fall First.wav' -d
--- Monkey's Audio Console Front End (v 3.99) (c) Matthew T. Ashland ---
Decompressing...
Progress: 100.0% (0.0 seconds remaining, 212.4 seconds total)
Success...
++ flac 'Nightwish - Angels Fall First.wav'

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

Nightwish - Angels Fall First.wav: wrote 387699563 bytes, ratio=0,708
++ rm -f 'Nightwish - Angels Fall First.ape' 'Nightwish - Angels Fall First.wav'
++ '[' ape = bin ']'
++ '[' ape = wav ']'
++ cd '/mnt/Data/Music/Nightwish/1997 Angels Fall First/1997 - Angels Fall First'
++ read dir
++ '[' -f './Nightwish - Angels Fall First.cue' ']'
+++ dirname './Nightwish - Angels Fall First.cue'
++ dirName=.
+++ dirname './Nightwish - Angels Fall First.cue'
++ cd .
+++ echo './Nightwish - Angels Fall First.cue'
+++ sed -ne 's!^.*\/!!p'
++ tsFile='Nightwish - Angels Fall First.cue'
+++ echo './Nightwish - Angels Fall First.cue'
+++ sed -ne 's!^.*\.!!p'
+++ tr '[:upper:]' '[:lower:]'
++ ext=cue
+++ sed -e 's!\.[^.]*$!!'
+++ echo 'Nightwish - Angels Fall First.cue'
++ base='Nightwish - Angels Fall First'
++ '[' cue = ape ']'
++ '[' cue = bin ']'
++ '[' cue = wav ']'
++ cd '/mnt/Data/Music/Nightwish/1997 Angels Fall First/1997 - Angels Fall First'
++ read dir
++ find
++ read dir
++ '[' -f . ']'
++ read dir
++ '[' -f './Nightwish - Angels Fall First.flac' ']'
+++ dirname './Nightwish - Angels Fall First.flac'
++ cd .
+++ echo './Nightwish - Angels Fall First.flac'
+++ sed -ne 's!^.*\/!!p'
++ tsFile='Nightwish - Angels Fall First.flac'
+++ sed -ne 's!^.*\.!!p'
+++ tr '[:upper:]' '[:lower:]'
+++ echo './Nightwish - Angels Fall First.flac'
++ ext=flac
+++ echo './Nightwish - Angels Fall First.flac'
+++ sed -e 's!\.[^.]*$!!'
++ base='./Nightwish - Angels Fall First'
++ '[' flac = cue ']'
++ cd '/mnt/Data/Music/Nightwish/1997 Angels Fall First/1997 - Angels Fall First'
++ read dir
++ '[' -f ./f2t ']'
+++ dirname ./f2t
++ cd .
+++ echo ./f2t
+++ sed -ne 's!^.*\/!!p'
++ tsFile=f2t
+++ echo ./f2t
+++ sed -ne 's!^.*\.!!p'
+++ tr '[:upper:]' '[:lower:]'
++ ext=/f2t
+++ echo ./f2t
+++ sed -e 's!\.[^.]*$!!'
++ base=
++ '[' /f2t = cue ']'
++ cd '/mnt/Data/Music/Nightwish/1997 Angels Fall First/1997 - Angels Fall First'
++ read dir
++ '[' -f './Nightwish - Angels Fall First.cue' ']'
+++ dirname './Nightwish - Angels Fall First.cue'
++ cd .
+++ echo './Nightwish - Angels Fall First.cue'
+++ sed -ne 's!^.*\/!!p'
++ tsFile='Nightwish - Angels Fall First.cue'
+++ sed -ne 's!^.*\.!!p'
+++ tr '[:upper:]' '[:lower:]'
+++ echo './Nightwish - Angels Fall First.cue'
++ ext=cue
+++ echo './Nightwish - Angels Fall First.cue'
+++ sed -e 's!\.[^.]*$!!'
++ base='./Nightwish - Angels Fall First'
++ '[' cue = cue ']'
+++ ls
+++ grep .flac
++ pathtoflac='Nightwish - Angels Fall First.flac'
++ mv 'Nightwish - Angels Fall First.flac' tmp.flac
++ mv 'Nightwish - Angels Fall First.cue' tmp.cue
++ shnsplit -o wav tmp.flac -f tmp.cue -t %n-%t
shnsplit: error: need exactly one file to process
shnsplit:
shnsplit: type 'shnsplit -h' for help
+++ cueprint tmp.cue --disc-template %N
++ numTracks=12
++ ((  numTracks > 0  ))
+++ cueprint tmp.cue -n 12 --track-template %p
++ perfomer=Nightwish
+++ cueprint tmp.cue -n 12 --track-template %t
++ title='Lappi IV - Eti�inen'
+++ cueprint tmp.cue --disc-template %T
++ album='Angels Fall First'
++ ((  2 == 2  ))
++ flac --replay-gain --force-raw-format --channels=2 --sample-rate=44100 --bps=16 --sign=signed --endian=little --best '12-Lappi IV - Eti�inen.wav'

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file 12-Lappi IV - Eti�inen.wav: Нет такого файла или каталога
++ splitname='12-Lappi IV - Eti�inen.flac'
++ rm -f '12-Lappi IV - Eti�inen.wav'
++ cueprint -n 12 -t 'ARRANGER=%A\nCOMPOSER=%C\nGENRE=%G\nMESSAGE=%M\nTRACKNUMBER=%n\nARTIST=%p\nTITLE=%t\nALBUM=%T\n' tmp.cue
++ egrep -v '=$'
++ metaflac '12-Lappi IV - Eti�inen.flac' --import-tags-from=-
12-Lappi IV - Eti�inen.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
++ let numTracks-=1
++ ((  numTracks > 0  ))
+++ cueprint tmp.cue -n 11 --track-template %p
++ perfomer=Nightwish
+++ cueprint tmp.cue -n 11 --track-template %t
++ title='Lappi III - This Moment Is Eternity'
+++ cueprint tmp.cue --disc-template %T
++ album='Angels Fall First'
++ ((  2 == 2  ))
++ flac --replay-gain --force-raw-format --channels=2 --sample-rate=44100 --bps=16 --sign=signed --endian=little --best '11-Lappi III - This Moment Is Eternity.wav'

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file 11-Lappi III - This Moment Is Eternity.wav: Нет такого файла или каталога
++ splitname='11-Lappi III - This Moment Is Eternity.flac'
++ rm -f '11-Lappi III - This Moment Is Eternity.wav'
++ cueprint -n 11 -t 'ARRANGER=%A\nCOMPOSER=%C\nGENRE=%G\nMESSAGE=%M\nTRACKNUMBER=%n\nARTIST=%p\nTITLE=%t\nALBUM=%T\n' tmp.cue
++ egrep -v '=$'
++ metaflac '11-Lappi III - This Moment Is Eternity.flac' --import-tags-from=-
11-Lappi III - This Moment Is Eternity.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
++ let numTracks-=1
++ ((  numTracks > 0  ))
+++ cueprint tmp.cue -n 10 --track-template %p
++ perfomer=Nightwish
+++ cueprint tmp.cue -n 10 --track-template %t
++ title='Lappi II - Witchdrums'
+++ cueprint tmp.cue --disc-template %T
++ album='Angels Fall First'
++ ((  2 == 2  ))
++ flac --replay-gain --force-raw-format --channels=2 --sample-rate=44100 --bps=16 --sign=signed --endian=little --best '10-Lappi II - Witchdrums.wav'

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file 10-Lappi II - Witchdrums.wav: Нет такого файла или каталога
++ splitname='10-Lappi II - Witchdrums.flac'
++ rm -f '10-Lappi II - Witchdrums.wav'
++ cueprint -n 10 -t 'ARRANGER=%A\nCOMPOSER=%C\nGENRE=%G\nMESSAGE=%M\nTRACKNUMBER=%n\nARTIST=%p\nTITLE=%t\nALBUM=%T\n' tmp.cue
++ egrep -v '=$'
++ metaflac '10-Lappi II - Witchdrums.flac' --import-tags-from=-
10-Lappi II - Witchdrums.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
++ let numTracks-=1
++ ((  numTracks > 0  ))
+++ cueprint tmp.cue -n 9 --track-template %p
++ perfomer=Nightwish
+++ cueprint tmp.cue -n 9 --track-template %t
++ title='Lappi I - Er�maaj�rvi'
+++ cueprint tmp.cue --disc-template %T
++ album='Angels Fall First'
++ ((  1 == 2  ))
++ flac --replay-gain --force-raw-format --channels=2 --sample-rate=44100 --bps=16 --sign=signed --endian=little --best '09-Lappi I - Er�maaj�rvi.wav'

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file 09-Lappi I - Er�maaj�rvi.wav: Нет такого файла или каталога
++ splitname='09-Lappi I - Er�maaj�rvi.flac'
++ rm -f '09-Lappi I - Er�maaj�rvi.wav'
++ cueprint -n 9 -t 'ARRANGER=%A\nCOMPOSER=%C\nGENRE=%G\nMESSAGE=%M\nTRACKNUMBER=%n\nARTIST=%p\nTITLE=%t\nALBUM=%T\n' tmp.cue
++ metaflac '09-Lappi I - Er�maaj�rvi.flac' --import-tags-from=-
09-Lappi I - Er�maaj�rvi.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
++ egrep -v '=$'
++ let numTracks-=1
++ ((  numTracks > 0  ))
+++ cueprint tmp.cue -n 8 --track-template %p
++ perfomer=Nightwish
+++ cueprint tmp.cue -n 8 --track-template %t
++ title='Know Why the Nightingale Sings'
+++ cueprint tmp.cue --disc-template %T
++ album='Angels Fall First'
++ ((  1 == 2  ))
++ flac --replay-gain --force-raw-format --channels=2 --sample-rate=44100 --bps=16 --sign=signed --endian=little --best '08-Know Why the Nightingale Sings.wav'

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file 08-Know Why the Nightingale Sings.wav: Нет такого файла или каталога
++ splitname='08-Know Why the Nightingale Sings.flac'
++ rm -f '08-Know Why the Nightingale Sings.wav'
++ cueprint -n 8 -t 'ARRANGER=%A\nCOMPOSER=%C\nGENRE=%G\nMESSAGE=%M\nTRACKNUMBER=%n\nARTIST=%p\nTITLE=%t\nALBUM=%T\n' tmp.cue
++ egrep -v '=$'
++ metaflac '08-Know Why the Nightingale Sings.flac' --import-tags-from=-
08-Know Why the Nightingale Sings.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
++ let numTracks-=1
++ ((  numTracks > 0  ))
+++ cueprint tmp.cue -n 7 --track-template %p
++ perfomer=Nightwish
+++ cueprint tmp.cue -n 7 --track-template %t
++ title='Nymphomaniac Fantasia'
+++ cueprint tmp.cue --disc-template %T
++ album='Angels Fall First'
++ ((  1 == 2  ))
++ flac --replay-gain --force-raw-format --channels=2 --sample-rate=44100 --bps=16 --sign=signed --endian=little --best '07-Nymphomaniac Fantasia.wav'

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file 07-Nymphomaniac Fantasia.wav: Нет такого файла или каталога
++ splitname='07-Nymphomaniac Fantasia.flac'
++ rm -f '07-Nymphomaniac Fantasia.wav'
++ cueprint -n 7 -t 'ARRANGER=%A\nCOMPOSER=%C\nGENRE=%G\nMESSAGE=%M\nTRACKNUMBER=%n\nARTIST=%p\nTITLE=%t\nALBUM=%T\n' tmp.cue
++ egrep -v '=$'
++ metaflac '07-Nymphomaniac Fantasia.flac' --import-tags-from=-
07-Nymphomaniac Fantasia.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
++ let numTracks-=1
++ ((  numTracks > 0  ))
+++ cueprint tmp.cue -n 6 --track-template %p
++ perfomer=Nightwish
+++ cueprint tmp.cue -n 6 --track-template %t
++ title=Tutankhamen
+++ cueprint tmp.cue --disc-template %T
++ album='Angels Fall First'
++ ((  1 == 2  ))
++ flac --replay-gain --force-raw-format --channels=2 --sample-rate=44100 --bps=16 --sign=signed --endian=little --best 06-Tutankhamen.wav

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file 06-Tutankhamen.wav: Нет такого файла или каталога
++ splitname=06-Tutankhamen.flac
++ rm -f 06-Tutankhamen.wav
++ cueprint -n 6 -t 'ARRANGER=%A\nCOMPOSER=%C\nGENRE=%G\nMESSAGE=%M\nTRACKNUMBER=%n\nARTIST=%p\nTITLE=%t\nALBUM=%T\n' tmp.cue
++ egrep -v '=$'
++ metaflac 06-Tutankhamen.flac --import-tags-from=-
06-Tutankhamen.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
++ let numTracks-=1
++ ((  numTracks > 0  ))
+++ cueprint tmp.cue -n 5 --track-template %p
++ perfomer=Nightwish
+++ cueprint tmp.cue -n 5 --track-template %t
++ title='Angels Fall First'
+++ cueprint tmp.cue --disc-template %T
++ album='Angels Fall First'
++ ((  1 == 2  ))
++ flac --replay-gain --force-raw-format --channels=2 --sample-rate=44100 --bps=16 --sign=signed --endian=little --best '05-Angels Fall First.wav'

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file 05-Angels Fall First.wav: Нет такого файла или каталога
++ splitname='05-Angels Fall First.flac'
++ rm -f '05-Angels Fall First.wav'
++ egrep -v '=$'
++ metaflac '05-Angels Fall First.flac' --import-tags-from=-
05-Angels Fall First.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
++ cueprint -n 5 -t 'ARRANGER=%A\nCOMPOSER=%C\nGENRE=%G\nMESSAGE=%M\nTRACKNUMBER=%n\nARTIST=%p\nTITLE=%t\nALBUM=%T\n' tmp.cue
++ let numTracks-=1
++ ((  numTracks > 0  ))
+++ cueprint tmp.cue -n 4 --track-template %p
++ perfomer=Nightwish
+++ cueprint tmp.cue -n 4 --track-template %t
++ title='Astral Romance'
+++ cueprint tmp.cue --disc-template %T
++ album='Angels Fall First'
++ ((  1 == 2  ))
++ flac --replay-gain --force-raw-format --channels=2 --sample-rate=44100 --bps=16 --sign=signed --endian=little --best '04-Astral Romance.wav'

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file 04-Astral Romance.wav: Нет такого файла или каталога
++ splitname='04-Astral Romance.flac'
++ rm -f '04-Astral Romance.wav'
++ cueprint -n 4 -t 'ARRANGER=%A\nCOMPOSER=%C\nGENRE=%G\nMESSAGE=%M\nTRACKNUMBER=%n\nARTIST=%p\nTITLE=%t\nALBUM=%T\n' tmp.cue
++ egrep -v '=$'
++ metaflac '04-Astral Romance.flac' --import-tags-from=-
04-Astral Romance.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
++ let numTracks-=1
++ ((  numTracks > 0  ))
+++ cueprint tmp.cue -n 3 --track-template %p
++ perfomer=Nightwish
+++ cueprint tmp.cue -n 3 --track-template %t
++ title='The Carpenter'
+++ cueprint tmp.cue --disc-template %T
++ album='Angels Fall First'
++ ((  1 == 2  ))
++ flac --replay-gain --force-raw-format --channels=2 --sample-rate=44100 --bps=16 --sign=signed --endian=little --best '03-The Carpenter.wav'

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file 03-The Carpenter.wav: Нет такого файла или каталога
++ splitname='03-The Carpenter.flac'
++ rm -f '03-The Carpenter.wav'
++ cueprint -n 3 -t 'ARRANGER=%A\nCOMPOSER=%C\nGENRE=%G\nMESSAGE=%M\nTRACKNUMBER=%n\nARTIST=%p\nTITLE=%t\nALBUM=%T\n' tmp.cue
++ metaflac '03-The Carpenter.flac' --import-tags-from=-
03-The Carpenter.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
++ egrep -v '=$'
++ let numTracks-=1
++ ((  numTracks > 0  ))
+++ cueprint tmp.cue -n 2 --track-template %p
++ perfomer=Nightwish
+++ cueprint tmp.cue -n 2 --track-template %t
++ title='Beauty and the Beast'
+++ cueprint tmp.cue --disc-template %T
++ album='Angels Fall First'
++ ((  1 == 2  ))
++ flac --replay-gain --force-raw-format --channels=2 --sample-rate=44100 --bps=16 --sign=signed --endian=little --best '02-Beauty and the Beast.wav'

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file 02-Beauty and the Beast.wav: Нет такого файла или каталога
++ splitname='02-Beauty and the Beast.flac'
++ rm -f '02-Beauty and the Beast.wav'
++ cueprint -n 2 -t 'ARRANGER=%A\nCOMPOSER=%C\nGENRE=%G\nMESSAGE=%M\nTRACKNUMBER=%n\nARTIST=%p\nTITLE=%t\nALBUM=%T\n' tmp.cue
++ egrep -v '=$'
++ metaflac '02-Beauty and the Beast.flac' --import-tags-from=-
02-Beauty and the Beast.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
++ let numTracks-=1
++ ((  numTracks > 0  ))
+++ cueprint tmp.cue -n 1 --track-template %p
++ perfomer=Nightwish
+++ cueprint tmp.cue -n 1 --track-template %t
++ title=Elvenpath
+++ cueprint tmp.cue --disc-template %T
++ album='Angels Fall First'
++ ((  1 == 2  ))
++ flac --replay-gain --force-raw-format --channels=2 --sample-rate=44100 --bps=16 --sign=signed --endian=little --best 01-Elvenpath.wav

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

ERROR: can't open input file 01-Elvenpath.wav: Нет такого файла или каталога
++ splitname=01-Elvenpath.flac
++ rm -f 01-Elvenpath.wav
++ cueprint -n 1 -t 'ARRANGER=%A\nCOMPOSER=%C\nGENRE=%G\nMESSAGE=%M\nTRACKNUMBER=%n\nARTIST=%p\nTITLE=%t\nALBUM=%T\n' tmp.cue
++ egrep -v '=$'
++ metaflac 01-Elvenpath.flac --import-tags-from=-
01-Elvenpath.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
++ let numTracks-=1
++ ((  numTracks > 0  ))
++ rm -f tmp.cue tmp.flac
++ cd '/mnt/Data/Music/Nightwish/1997 Angels Fall First/1997 - Angels Fall First'
++ read dir
---------------------------------------------------------------------------------------------------------------------
cat Nightwish\ -\ Angels\ Fall\ First.cue
REM GENRE "Gothic Rock"
REM DATE 1997
REM DISCID 9C0C1F0C
REM COMMENT "ExactAudioCopy v0.95b4"
PERFORMER "Nightwish"
TITLE "Angels Fall First"
FILE "Nightwish - Angels Fall First.ape" WAVE
  TRACK 01 AUDIO
    TITLE "Elvenpath"
    PERFORMER "Nightwish"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Beauty and the Beast"
    PERFORMER "Nightwish"
    INDEX 00 04:37:73
    INDEX 01 04:40:07
  TRACK 03 AUDIO
    TITLE "The Carpenter"
    PERFORMER "Nightwish"
    INDEX 00 11:02:54
    INDEX 01 11:04:27
  TRACK 04 AUDIO
    TITLE "Astral Romance"
    PERFORMER "Nightwish"
    INDEX 00 17:00:27
    INDEX 01 17:02:10
  TRACK 05 AUDIO
    TITLE "Angels Fall First"
    PERFORMER "Nightwish"
    INDEX 00 22:13:03
    INDEX 01 22:15:05
  TRACK 06 AUDIO
    TITLE "Tutankhamen"
    PERFORMER "Nightwish"
    INDEX 01 27:49:42
  TRACK 07 AUDIO
    TITLE "Nymphomaniac Fantasia"
    PERFORMER "Nightwish"
    INDEX 00 33:19:20
    INDEX 01 33:21:15
  TRACK 08 AUDIO
    TITLE "Know Why the Nightingale Sings"
    PERFORMER "Nightwish"
    INDEX 00 38:06:27
    INDEX 01 38:08:30
  TRACK 09 AUDIO
    TITLE "Lappi I - Er�maaj�rvi"
    PERFORMER "Nightwish"
    INDEX 00 42:21:48
    INDEX 01 42:22:60
  TRACK 10 AUDIO
    TITLE "Lappi II - Witchdrums"
    PERFORMER "Nightwish"
    INDEX 01 44:38:00
  TRACK 11 AUDIO
    TITLE "Lappi III - This Moment Is Eternity"
    PERFORMER "Nightwish"
    INDEX 01 45:56:47
  TRACK 12 AUDIO
    TITLE "Lappi IV - Eti�inen"
    PERFORMER "Nightwish"
    INDEX 01 49:09:00