tgstation/-tg-station — pull request #3728 by VistaPOWA (2014-05-17 19:29:31+00:00)
Title: Fixes the bar being square & boring.

jk, it's actually a feature! Merge after the 7th.
Adds the jukebox to the Bar. The music player is actually an embedded Windows Media Player instance that resides somewhere between the Rules and the Info button on the interface, it's a 1x1 px pane, so you can't exactly see it. The jukebox, which takes a JSON-formatted playlist from the server (which, I hope we'll have the help of MrStonedOne to set up) and plays the MP3 file from it, is situated in the bar. At the moment, any client that resides in the Bar's area has the currently playing track load on their WMP instance. Emagging the jukebox results in less than wanted songs being played (/vg/s song repository includes HONK remixes, terribad rap and MAGIC MISSILE BEES micspam material).

The update also includes a hook system, which we (still) lack. The hook system is based on D2K5's, which is, according to N3X15s comments, is better than the default Bay one. The jukebox relies on hooks - when the Jukebox's area is entered, it is sent a signal based area hooks.

About the entire files getting rewritten: I suspect what's causing it, probably line endings, but my Git settings are correct and I did checkout the files with the fixed line endings and added my modifications to them. If you do know what's causing it, tell me on coderbus.

Supplementary video: https://www.youtube.com/watch?v=lgEGsdf1lXE