Dynamic DNS – Replacing dyndns with Bind

Written by max on July 8, 2013

Description

Now that dyndns is starting to make you either a. pay money, or b. login every month, you would like to run your own Dynamic DNS services. I implement a secure dynds-compatible server in Perl CGI, hosted by Apache.

This assumes you have your own functioning server with a fixed IP that is running DNS service for at least one domain using the Bind DNS server. My personal setup is VirtualMin running on Ubuntu, so adjust accordingly if you’re

Continue Reading



ch0wned – Keeping your own Perl library and cpan in your home directory

Written by max on April 8, 2011

ch0wned. adj. This is the state when you are a Linux user and don’t have root access.

Intro

This tutorial is for people wanting to install perl modules using CPAN who do not have root access or wish to keep a network-central module repository that is separated from the local install.

Downloads

lib::local module on CPAN

Installing

Unpackage lib::local

tar xvfz local-lib-1.008004.tar.gz

Choose a library directory

I use a value of $HOME which installs the modules into $HOME/lib/perl5

Install lib::local into the above spot

cd lib-local-1.008004
perl

Continue Reading



iTunes – Fixing ID3 tags in MP3’s – Take two

Written by max on May 3, 2009

Overview

In these last three posts [1] [2] [3] I tackled fixing my existing MP3’s to make them more iTunes friendly. I did it with three Perl scripts using two different ID3 libraries : Audio::TabLib which is a Perl wrapper to KDE’s TagLib, and MP3::Tag.

I’ve since given up on MP3::Tag. Although updated recently, it still does not support ID3v2 2.4, which, unfortunately is the default in iTunes versions 7 and 8. So I’ve combined all

Continue Reading



iTunes – Copying ID3 Tags in your MP3s from ID3v1 to ID3v2 in Perl

Written by max on May 2, 2009

Update

I’ve consolidated this script into a new one. GO HERE : http://warped.org/blog/2009/05/03/itunes-fixing-id3-tags-in-mp3s-take-two/

Overview

MP3’s have been around almost 15 years now. In the beginning there was a slot in the top of the MP3 file where you could hold the Artist, Album Name, Title, Track Number, etc. This is called the ID3 tag, and is part of every MP3 file. Fast forward some years and the ID3 standard has changed a number of times from

Continue Reading



iTunes – Setting the Compilation Flag on MP3’s using Perl

Written by max on May 2, 2009

Update

I’ve consolidated this script into a new one. GO HERE : http://warped.org/blog/2009/05/03/itunes-fixing-id3-tags-in-mp3s-take-two/

Overview

If you have an album that’s a compilation or DJ mix, then Cover Flow gets confused and does not group all the tracks together into an album because there is a different “Artist” for each track.

iTunes gets around this by setting it’s own custom flag in the ID3 tag : the TCMP frame in ID3v2 to be specific.

The Script

The following script uses MP3::Tag to set the TCMP flag on

Continue Reading



ITunes – Embedding Folder.jpg into your MP3s for Cover Flow

Written by max on April 29, 2009

Update

I’ve consolidated this script into a new one. GO HERE : http://warped.org/blog/2009/05/03/itunes-fixing-id3-tags-in-mp3s-take-two/

Overview

Let’s say that you have a well organized MP3 collection that you previously used with something like nAMP / Apache::MP3 that already has album art in each directory. Or better yet, you have a friend who does!

You may have collected album art for every album that you have, but good old Itunes will not recognize that. It will only find album art based on the

Continue Reading