Windows 8: Enable/Disable Hibernate via PowerShell

If you newly installed Windows 8.1 and you would like to disable Hibernate, you figured out by now that you can’t simply do powercfg /h off like you used to be able to in Windows 7, you get this error message:

Here’s an easy way to do it, by not changing anything permission related (UAC etc.) on your system.
Continue reading…

Update jPlayer track/listeners on a webpage with jsonp

With version 2.4, IceCast is shipping their own xml2json template. IceCast 2.4 doesn’t yet deal with the CORS issue so if you want to parse the metadata/listener count etc. client-side, you will still need to output JSONP. IceCast 2.4.1 has fixed this.

I recently found myself working on a small web-radio project for some friends, and I stumbled upon some interesting technical “challenges” (to say so).

I wanted a HTML5 Web-Radio Player (I used the excellent jPlayer project, which supports html5’s <audio>in a wide range of browsers, but also has a fall-back to Adobe Flash for older browsers), but I also wanted the current playing track and a listener count on it. I modified a default jPlayer skin to show up the elements I needed, but I was still left with the issue of actually getting the data from the icecast server to my webpage (player).
Continue reading…

Equalizer APO Config GUI

This piece of software will not be updated anymore, as it has outlived it’s usefulness. However, you’re free to use it in it’s current state.
If you would like a GUI that is actually developed, give Peace GUI a try.
Alternatively, user jiiteepee of diyaudio forums has also developed a few GUIs much more complex than the one you can find on this page.

Just having upgraded recently to Windows 8, I found that my on-board sound-card has lost its driver’s Equalizer function, and being the owner of some shitty speakers, I really wanted to change how they sounded.

So by Googling around, I found this amazing piece of software: Equalizer APO.
Continue reading…

DirectX/OpenGL Mumble Overlay Holder

As many people have unfortunately stumbled upon this issue – Mumble‘s Overlay only works with OpenGL and DirectX9 and ONLY with 32bit (x86) executables. Running on anything else (DirectX11 and/or 64bit .exe) causes the overlay to not display over these games.

This can be seen, for example, in World of Warcraft – when run with DirectX 11 and the 64bit binary.
Continue reading…

OSCam Startup Script for Ubuntu and other linux distros (systemd compatible)

Updated on 14.05.2017

Create a file called /etc/init.d/oscam with the following contents:

This assumes that you have the oscam binary located in /usr/local/bin/oscam. Remember you have to create this file as the root user.

To “enable” the script and the starting up of oscam on reboot, use the following commands on Ubuntu/Debian:

systemd compatibility

The script will also work on systemd systems (like Ubuntu 16.04 and so on).

To force systemd to detect the service, you have to do:

To enable the system to start at boot:

crontab checks

Furthermore, for a simple crontab script to check if oscam has crashed and didn’t restart by itself, let’s create a file and call it /usr/local/bin/oscamchk:

And let’s make this run every minute:
Once the crontab editor has started, add the following line: