Cuesheet Processor (CueProc)
Reply #82 –
Thanks For responding, Nyaochi,
I'm sure you know best and I am just going to look like an idiot, but would it be easier to change in cuesheet.py here?
# Assign begin
if i == 1 and pregap and cs[i].indexes.has_key(0):
track.begin = cs[i].indexes[0]
elif cs[i].indexes.has_key(1):
track.begin = cs[i].indexes[1]
# Assign end
if i != len(cs) - 1:
if cs[i].filename == cs[i+1].filename:
if delgap and cs[i+1].indexes.has_key(0):
track.end = cs[i+1].indexes[0]
else:
track.end = cs[i+1].indexes[1]
Also how does CueProc handles times so I know how to adjust?
Thanks for any help you can provide.
Stuart.
[quote name='nyaochi' date='Jun 21 2008, 02:23' post='572315']
[quote name='stuarticus' post='571537' date='Jun 17 2008, 21:14']
What i would like to do is instead of having exact cuts, I would like to add 1 sec to the start and end of each mp3, to create a slight overlap which will mean if the gap is quite narrow then nothing is cut off. Does anyone know how to do this?
[/quote]
It's impossible to achieve this by modifying cuesheets. This should be dealt with by modifying the CueProc source code. In cueproc.py, the following line generates the command-line for extracting an audio stream of a track:
# Obtain the command-line for extracting the source audio.
incmdln = inobj.get_cmdln_track(track, outobj.is_utf8)