Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3 Track time calculation #12

Open
Zorgodon opened this issue Jul 28, 2022 · 2 comments
Open

Python3 Track time calculation #12

Zorgodon opened this issue Jul 28, 2022 · 2 comments

Comments

@Zorgodon
Copy link

The new python 3 version doesn't work with any of my cuefiles, always erroring out with "Track time calculation resulted in a negative value" if at least one wav file is present. If there are no files there and I override the warning with -a, it successfully prints a toc file with 00:00:00 for all the track timings.

If I add print self._time after line 396

         # extract time from string
         val = [int(x) for x in arg.split(':')]
         self._time = tuple(val)

and compare the behaviour with the py2 version, I get only 2 or 3 lines of track times printed (and then the error), whereas the py2 version prints all the track times.

It seems that the issue isn't with your py3 port commit, but rather with the code that wasn't changed from the original.
The old version works flawlessly. Please could you look into it?

@Zorgodon
Copy link
Author

If I use flac files and have .flacs in my cue, both the old and new versions print "ERROR! -- Could not find the WAV file:". If I override the error with -a, I get "Error: file does not start with RIFF id"

@pimzand
Copy link

pimzand commented Jul 29, 2022

I'm sorry, you are replying to a comment I had deleted.
I was responding with another repository in my mind.
Please ignore the suggestion I made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants