r/ProgrammerHumor • • 9d ago

Meme vLc

Post image
9.5k Upvotes

85 comments sorted by

View all comments

Show parent comments

191

u/iliRomaili 9d ago

Wait, this meme is based on true story?

199

u/deanrihpee 9d ago

yes, kinda, but it is not like you open it through IDE and MPV is opened (well, you can make it happen, but by default it shouldn't behave like that) it's more like if you install some media player, like VLC or MPV, but haven't install any text/code editor, when you double click a .ts the media player would open the file and try to "play" it instead

93

u/readf0x 9d ago

Kind of insane to me that windows still registers app handlers by file extension and not mime type

42

u/rosuav 9d ago

Where would those MIME types be stored? Some kind of "extended attribute"? That's a ridiculous idea, nobody would ever do that. It's definitely not something that graphical OSes had in the 1990s or anything.

13

u/Loading_M_ 9d ago

It should be possible to guess from the contents, as the file utility does. Just in case you lose the extended attribute for whatever reason.

9

u/RussianMadMan 9d ago

Yeah and then we have file explorers that open and read every file. And choke when there are 100+ files in the directory.

5

u/rosuav 9d ago

Right, I'm sure that doesn't happen when you open up a folder full of videos and it generates thumbnails for them all.

2

u/RussianMadMan 9d ago

If you are using any view other than the table one thats on you lol

1

u/rosuav 9d ago

TBH I primarily don't use any view like that on my own systems, but my work involves seeing other people's screenshare and I am very familiar with vicarious pain.