Skip to content

Estimate the duration in seconds of the remote MP3 file without full download(python version)

License

Notifications You must be signed in to change notification settings

yihong0618/remote_mp3_duration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remote_mp3_duration

Estimate the duration in seconds of the remote MP3 file without full download(python version)

From

this repo is from https://github.com/FactorialComplexity/mp3-duration-estimate, I made it to python version.

Use

pip install git+https://github.com/yihong0618/remote_mp3_duration.git
or
pip install remote_mp3_duration
from mp3_duration import get_mp3_duration
print(get_mp3_duration("$mp3_url"))

or cli

# will print the duration of this mp3
mp3_duration https://chrt.fm/track/6AGABB/r.typlog.com/eyJzIjozNTIsImUiOjcxODY5LCJ0IjoxfQ.Ogqkth3_259fCin-j60aIYSXVUk/pythonhunter/8302654647_51408.mp3

Appreciation

  • Thank you, that's enough. Just enjoy it.

About

Estimate the duration in seconds of the remote MP3 file without full download(python version)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages