Add short song detection to music-transfer.py #34
Open
opened 1 year ago by nightfirecat
·
0 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
I'd like to be able to configure some song duration which would prevent songs shorter than that length (say, 15 seconds by default) from being transferred, as they're usually not real songs, or they're such short/random songs that they break up the flow of normal music listening.
This will require some way to parse song length from arbitrary audio file formats, possibly via
ffmpeg
orffprobe
, or by following whatever method is used by thefile
utility.