fent / node-m3u8stream

Concatenates segments from a m3u8/dash-mpd playlist into a consumable stream.
MIT License
217 stars 54 forks source link

Protect windows-based developers from themselves #67

Closed manolan1 closed 4 years ago

manolan1 commented 4 years ago

If you haven't selected a git line ending preference on windows, line endings will be converted to \r\n. There's really no reason for this any more, but it is so!

The 'm3u8 playlist with ranges' test will fail because main.mp4 is converted.

While the better solution is probably for developers to switch their line-ending settings some of us don't always remember when we switch machines :/

Introducing a .gitattributes file resolves this issue.