ManHinnn0509 / mp3player.py

MP3 Player with Tkinter in Python
GNU General Public License v3.0
1 stars 0 forks source link

Delay when loop is enabled? #3

Closed ManHinnn0509 closed 2 years ago

ManHinnn0509 commented 2 years ago

There seems to be a delay problem when loop is enabled.

The time position isn't correct and there will be delay in lyrics display

Not sure how to reproduce this problem

ManHinnn0509 commented 2 years ago

This doesn't seems to happen in v1 I think this can be reproduced by looping and playing a song for 3 ~ 4 times

EDIT: This HAPPENS in v1 too But the reason is unknown Does it really related to the program? or related to the system?

https://stackoverflow.com/questions/28856267/tkinter-after-not-running-at-correct-speed

ManHinnn0509 commented 2 years ago

Update: This might can be solved by changing the .after() call time in MP3Player.__countPosition() But also requires code updating to time counting parts in TimeSlider