get-iplayer / get_iplayer

A utility for downloading TV and radio programmes from BBC iPlayer and BBC Sounds
https://github.com/get-iplayer/get_iplayer/wiki
GNU General Public License v3.0
2.12k stars 230 forks source link

Identification of ffmpeg nightly builds #330

Closed midas02 closed 7 years ago

midas02 commented 7 years ago

Some users will/might be running nightly builds of ffmpeg, identified with a version number nx.y.z. This change will help the code to identify those builds correctly and make the detection more robust.

dinkypumpkin commented 7 years ago

Thanks for the PR. Unfortunately, I cannot merge it. The whole of point of that bit of code is to identify only release builds so that appropriate warnings can be given later based on media stream format. There is no guaranteed way to know when a nightly or other custom build was made, or what capabilities it has, or how it relates to a given release. I merely assume that people using nightlies or other custom builds know what they are doing and show a message as a reminder. On a more practical level, your regex would not identify many or most nightly builds.