Archive for the ‘Uncategorized’ Category

Multiple subtitle tracks 0

On showing two or more subtitle tracks: KMPlayer (Windows): Allows you to load multiple tracks loaded from external subtitle files, but does not seem to allow showing more than one of the tracks included in a DVD. On Windows, one can let the ffdshow filter display one track, and have the Media Player display another. [...]

Shairport on Synology NAS 7

Shairport simulates an Airport Express. A Synology NAS box can output through use of a USB audio adapter (I am using a TerraTec AureonDualUSB stick). Since a NAS tends to be running 24/7 anyway, using it as an AirPlay bridge is an obvious choice. Fair warning though: This is indeed not for the faint-hearted. It [...]

Perl 5.10.1 on Synology NAS 1

Synology’s NAS come with Perl 5.8, and optware does not have a 5.10 build either. To compile 5.10.1, here’s what I had to do: Make sure the optware lib directory is used, to avoid errors like “undefined reference to `floor’”: $ sh Configure -Dplibpth=/opt/powerpc-linux-gnuspe/lib /lib /usr/lib -de As a hack to avoid the “No error [...]

Cannot SYNOEARename 0

I’m recently seeing a strange behavior when renaming files on a Synology NAS box through am SMB mounted share on Ubuntu: Nautilus shows an error message, saying the file cannot be renamed, but after refreshing the folder, it turns out it has successfully been renamed. /var/log/messages says: May 7 16:36:15 smbd: modules/vfs_default.c:1230 Cannot SYNOEARename [Foo] [...]

AirPlay/AirTunes Code 0

AP4J-Player – Java client to send videos to AirPlay devices shairport – emulate an AirPort Express to receive audio, written in Perl and C. airstream-media-player – receive video on Windows. AirPlayer/AirFlick – Receive and send video, but Mac-specific. RaopX – stream music to an AirPort Express, Mac-specific, functions as a virtual output device. raop-play – [...]

Installing ddar on a Synology NAS 0

This is how I installed ddar on a Synology NAS. The source distribution of ddar installs just fine with gcc and make available from optware. The problem is the protobuf dependency. It can’t be installed via PyPI due to seemingly a variety of unfixed issues, and I failed to compile it on the NAS itself, [...]

Music Streaming Servers 0

SubSonic: Java; Mobile clients available. Ampache: PHP, requires MySQL database; Mobile clients available. Sockso; Java, no mobile clients.

Wireshark: capturing in monitor mode from rt2800usb chipset 0

Wireshark would not allow me tick the box for “Monitor mode” (it auto-disabled itself again), and “sudo iwconfig wlan0 mode Monitor” says “device busy”. However, using airmon-ng to enable monitor mode worked: sudo airmon-ng start wlan0 {channelnum} (the channel number might be optional) gives a second mon0 interface which allows capturing in monitor mode just [...]

Building Android projects using Python 0

I’ve hated Ant since the first time I laid eyes on it. So I’m glad I finally took the time to understand the Android build process in detail, and sat down to reproduce it in Python. A while ago, I wrote about how to build multiple versions of an Android app (like a free and [...]

Jailbreaking AppleTV 2 / iOS 4.2.1 0

I finally managed to make this work and install XBMC. Oh what a frustrating process that was. I must have run into every single one of the various problems people have reported. Error 21, Error 1600, Error 1602, no SSH after jailbreak, no network after jailbreak. Trying with both Seas0nPass and PwnageTool/tetheredboot. Endless restores and [...]