I have moved!

Thursday, March 31, 2011

Wednesday, November 21, 2007

ml_ipod + winamp + iphone sync = true

So ...

I was desperate for a solution to syncing music to my iPhone without the use of iTunes. After some "hacking" here's what I came up with in the end that worked.

As far as I know, it's the first and currently only solution to syncing music with your iPhone under MS Windows without using iTunes, and also the only wireless solution under MS Windows. Be warned, though, it's not for the faint hearted [edit note: the current revision is a lot easier than the first one I posted, so my mum could do it now].

You need:

Disable auto-lock in Settings - General on the iPhone (set to "Never") so that your wi-fi connection isn't disconnected during the process.

NOTE: The next step marked with square brackets involving PuTTY is no longer needed if you use abu's new patch, 3.02p02 from http://mlipod.sourceforge.net/index.php?page=patches, install this _after_ you have installed Winamp and ml_ipod 3.02 later in this guide

[SSH with PuTTY to your iphone. You need the IP address to the iPhone and it's easiest to be on the same Wi-Fi network as the computer when doing this. Mine used, yours wont. Login with root and your password (google for iPhone OpenSSH default password if you haven't set one) and cd to /private/var/root/Media. From there, make a symbolic link: "ln -s iTunes_Control iPod_Control".]

Install SftpDrive and set it up to connect to your iphone using the same login information as for PuTTY. I made it so my iPhone was on drive letter T: and set Directory: to /private/var/root/Media, then click Connect. My setup:

If you go to My Computer you should now have a T: with the directories DCIM, iTunes_Control and so on in the root.

Next install Winamp and ml_ipod (with patch mentioned earlier if you're going for that option). Fire up Winamp options - preferences - ipod support. For testing, I unchecked all checkboxes from these tabs: home, features and sync, you should do the same, but can leave in album art if you have installed the patch. Then go to the advanced tab and check "look for iPods on network and fixed drives".

After you hit OK, you should get a dialog that asks you which kind of iPod you have just connected. Choose iPod Classic (or iPhone if you've used the previously mentioned ml_ipod patch). If the dialog doesn't appear, try to restart Winamp.

Now, sync it as you usually do. It will take some time since the files get transfered over your Wi-Fi network. I got around 600 kB/s.

That's it! Fire up the player on your iPhone and play your newly synced tracks! I like Mos Def so he got the honor of being first.

You do everything at your own risk.

Good luck!


Edit: The main developer of ml_ipod, Abu, have been notified and will come up with an easier solution soon.

Edit2: If you're resyncing and the tracks don't show up in "iTunes" on the iPhone, try restarting the iPhone (hold the power button until the display shows "Slide to power off") and then turn it on again.

Edit3: ml_ipod 3.02p02 was just released. Syncing album art should work as well now.

Edit4: Added some more screenshots and cleaned it all up.

Friday, May 11, 2007

Last.fm to collaborate with Facebook?

My friend was trying to use the new Widget feature on Last.fm when he suddenly found a "Facebook sharing coming soon" image:

Complete screenshot here:

Interesting stuff!

Wednesday, April 18, 2007

Checking if a screen session is already running, keeping it alive

I'm somewhat new to screen and bash-scripting and was looking for how to keep one of my screen sessions alive even after a system reboot. I tried searching on Google, but had a hard time finding exactly what I wanted. This is what I ended up with using cron:

Made a check script:
foo=`screen -ls | grep -c autostart.screen`
if [ "$foo" -eq "0" ]; then
/usr/bin/screen -dmS autostart.screen /usr/bin/irssi -c freenode
I named it checkIrssi.sh and made it executable with:
chmod 755 checkIrssi.sh
Then I put up a cron using "crontab -e" to run the script every hour:
* */1 * * * ~/path/to/checkIrssi.sh
And badabing!

Tuesday, February 20, 2007

Should you defragment your Windows iPod?

I asked myself that question today and after some Googling, I concluded:

Most people agree that the extra stress and potential failure a defragmentation inflicts on your iPod's hard drive, is more harmful than the extra work your drive will have to do when playing back fragmented songs. Now, I'm a bit of a control freak and all though I'm in no actual control of how things are stored on the iPod, I tend to do a complete restore about every year, to clean up the iPod's database and transfer my entire music collection in a contiguous manner to the iPod's drive. Doing so will hopefully keep my iPod safe, longer lasting (battery wise) and fragmentation free.

Tuesday, March 28, 2006

My Google Results

I googled myself and found a lot of different hits from the squash club at my uni, through my musical preferences, me buying a mobile phone, my travelblog and a various of hits on computer projects I've been or still am a part of.

It freaked my out a bit, so I've started the process of removing my real name from stuff, and using my nick instead :)

Monday, January 17, 2005