2020年12月31日星期四

How to play file at a specific time

I want to play a file at a specific duration like play it at 1:00 or at 500 milliseconds using the media player module in python

    import vlc      song = vlc.MediaPlayer('song.mp3')      song.play()  

now with song.play() i can play the file but only at the beginning so is there any way to start it at a specific duration?

https://stackoverflow.com/questions/65526804/how-to-play-file-at-a-specific-time January 01, 2021 at 09:54AM

没有评论:

发表评论