MP3 Player Song Duration and Length (pt4) - Python Tkinter GUI Tutorial #90

in #programming4 years ago

In this video we'll get the song duration and the total song length for our MP3 songs in our MP3 playlist!

Pygame makes getting the current position of a song (it's duration) pretty easy, but it doesn't have any mechanism to find out an mp3 files total length.

So we'll install something called Mutagen to get our MP3 song lengths, then we'll output both the song duration and length onto a status bar at the bottom of our mp3 player that updates as the song plays.

✅ Watch The tKinter Playlist
http://bit.ly/2UFLKgj

▶️ Get The Code
https://bit.ly/3fLFQ8p

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN

Coin Marketplace

STEEM 0.24
TRX 0.19
JST 0.035
BTC 92183.93
ETH 3313.90
USDT 1.00
SBD 3.75