Archive for category Apple

in case of emergency: spoof your MAC address

 

 

There have been several occasions in the past years that I had to quickly change the MAC address of my computer in order to get proper network connectivity. May it be a corporate network that does not allow me to use my notebook in a guest wifi because the original MAC address is “known” or any other possible reasons you can come up with…

Now this is relatively easy on Mac OS X – you can do it with just one line on the shell. But now there’s an App for that. It’s called Spoof:

img

“I made this because changing your MAC address in OS X is harder than it should be. The Wi-Fi card needs to be manually disassociated from any connected networks in order for the change to apply correctly – super annoying! Doing this manually each time is tedious and lame.

Instead, just run spoof and change your MAC address in one command. Now for Linux, too!”

Source: https://github.com/feross/spoof

No Comments

Do you need an alternative shell for your terminal?

“Commands have been a big part of computing ever since the 1970’s.  Their power comes from their simplicity.  Just type a word or two to do what you want.  The time has come to bring this power together with the usability and convenience of modern interfaces.”

“Xiki is open and flexible.  It’s open source, and brings together tools, languages, shells, and text editors, rather than competing with them.  Open formats and languages are the best thing for the tech ecosystem.  HTML and JSON made the web what it is today.  And the web arguably made everything else. 

Xiki strives to be the simplest possible way (and ways) to create interactive interfaces.  This means a text in and text out interface.  Since everything is text, almost nothing is against the rules when you’re creating an interface in Xiki.  Xiki stands for “expanding wiki”, and is inspired by the wiki philosophy of fully editable text, with simple syntaxes (like “>” for a heading, and “-” for a bullet).  Xiki extends wiki ideas to user interface in general.”

Source: https://www.kickstarter.com/projects/xiki/xiki-the-command-revolution

No Comments

using the RaspberryPi to make all SONOS speakers support Apple Airplay

Airplay allows you to conveniently play music and videos over the air from your iOS or Mac OS X devices on remote speakers.

Since we just recently “migrated” almost all audio equipment in the house to SONOS multi-room audio we were missing a bit the convenience of just pushing a button on the iPad or iPhones to stream audio from those devices inside the household.

To retrofit the Airplay functionality there are two options I know of:

1: Get Airplay compatible hardware and connect it to a SONOS Input.

airportexpress_2012_back-285111You have to get Airplay hardware (like the Airport Express/Extreme,…) and attach it physically to one of the inputs of your SONOS Set-Up.  Typically you will need a SONOS Play:5 which has an analog input jack.

PLAY5_back

2: Set-Up a RaspberryPi with NodeJS + AirSonos as a software-only solution

You will need a stock RaspberryPi online in your home network. Of course this can run on virtually any other device or hardware that can run NodeJS. For the Pi setting it up is a fairly straight-forward process:

You start with a vanilla Raspbian Image. Update everything with:

sudo apt-get update

sudo apt-get upgrade

Then install NodeJS according to this short tutorial. To set-up the AirSonos software you will need to install additional avahi software. Especially this was needed for my install:

sudo apt-get install git-all libavahi-compat-libdnssd-dev

You then need to get the AirSonos software:

sudo npm install airsonos -g

After some minutes of wait time and hard work by the Pi you will be able to start AirSonos.

sudo airsonos

And it’ll come up with an enumeration of all active rooms.

Screen Shot 2014-06-25 at 11.38.47

And on all your devices it’ll show up like this:

IMG_1046

and

Screen Shot 2014-06-25 at 12.38.27

 

Source: https://github.com/stephen/airsonos

2 Comments

Xcode Cheat Sheet

While I am using Xcode a lot lately I quickly got used to one or two keyboard shortcuts that come in handy once every while. This cheat sheet aims at bringing you a lot of shortcuts that are pretty hard to remember if you’re not using them all the time (at least for me).

xcode-cheat-sheet-teaser-small

Source 1: http://www.git-tower.com/blog/xcode-cheat-sheet/

No Comments

full text transcripts of the Apple World Wide Developer Conference (wwdc)

Since I’ve become sort of an iOS developer lately I had my fair share of WWDC recordings to get started with this whole CocoaTouch and Objective-C development stuff.

Now a tool that is pretty handy is a this website that offers a full-text transcript search of all WWDC recordings. Awesome!

Bildschirmfoto 2013-11-02 um 00.54.36

Source 1: http://asciiwwdc.com/
Source 2: http://miataru.com/ios

No Comments

Miataru for iOS is available in the iOS AppStore

After roughly 1,5 months of learning Javascript and Objective-C the iOS application and the publicly available Miataru service launched this week.

If you want to interface with the publicly available instance of the miataru server you can use the URL: http://service.miataru.com. This URL also is pre-configured with the iOS client that got recently available in the AppStore.

featurerette-1

appstorebadge_small

Source 1: Miataru for iOS
Source 2: iOS AppStore

No Comments

working around MacOS X bugs: multiple “open with” context menu entries

Obviously it’s impossible for Apple to fix that quite annoying bug in their operating system that leads to double/tripple/… program entries in the “Open with…” menu. Everytime an application is updated it adds a new entry but does not remove the old one.

This makes your open-width menu look like this:

Bildschirmfoto 2013-05-12 um 18.11.38To fix this you need to run a simple command in your terminal.app:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user;killall Finder

This simple command will kill the double/tripple/… entries and restarts your finder.app to make the change visible. Your “Open with…” menu should now only show singular entries per application:

Bildschirmfoto 2013-05-12 um 18.14.11

No Comments

configuring the nano editor to my needs…

Configuring your favourite Editor on OSX (or Linux, or anywhere else) is important – since nano is my editor of choice I wanted to use it’s syntax highlighting capabilities. Easy as pie as it turned out:

I started with a .nanorc file from this guy and modified it to recognize some of my frequent file-types (like .cs files).

You can download my nanorc.tar – just extract it and put it into your user home directory.

Source 1: http://talk.maemo.org/showthread.php?t=68421
Source 2: http://www.nano-editor.org/dist/v2.2/nano.html#Nanorc-Files
Source 3: nanorc.tar

No Comments

Photosynth now mobile…

It’s been some months years since the once Microsoft Research Project got public and Microsoft started offering it’s great Photosynth service to the public.

I’ve been using the Microsoft panoramic and Photosynth tools for years now and I tend to say that they are the best tools one can get to create fast, easy and high-quality panoramic images.

There is photosynth.net to store all those panoramic pictures like this one from 2008:

The photosynth technology itself contains several other interesting technologies like SeaDragon which allows high quality image zooming on current internet connection speeds.

This awesome technology is as of now available on the iPhone (3GS and upwards) and it’s better than all the other panoramic tools I’ve used on a phone.

the process of taking the images

after the pictures are taken additional stitching is needed

after the stitching completed a fairly impressive panoramic images is the result

Source 1: Photosynth articles from the past
Source 2: Photosynth in Wikipedia
Source 3: Photosynth on iPhone App Store

No Comments

Achievement Unlocked: Scaring the hell out of people

Oh boy, it seems that Apple just screwed up big time when it comes to data privacy. Obviously everytime someone attaches an iOS device like the iPhone to a PC or Mac and it does a backup run this backup includes the location data of that iPhone of the last several months. Impressive logging on the one hand and a shame that they did not talk about that in public upfront on the other hand.

There’s a great tool available on GitHub which uses OpenStreetMap to visualize the logged data – it creates a quite impressive graphical representation of where I was the last 6 months…

Source 1: http://petewarden.github.com/iPhoneTracker/

No Comments

Shairport – someone reversed an AirPort Express

Low Latency Network Audio was a dream for the past years (see an article of 2005 and 2008) and with AirPlay it’s finally there.

I am using the Apple AirPlay technology for several years now… after it got implemented into iOS it’s just fantastic to have the option to have whatever sound source I want to playing loud and clear in any room I want to…

Okay it’s not quite as sophisticated as the sonos solution regarding the control of multiple music sources in multiple rooms but it get’s the job done in an apartment.

So back to the topic: Apple integrated the AirPlay technology into their wireless base station “AirPort Express”. Basically AirPlay is a piece of software which receives an encrypted audio stream over the network and outputs the stream to the SPDIF or audio jack.

Back in 2005 there already was an emulator of this protocol called “Fairport” but Apple decided to encrypt the AirPlay traffic. This led to the problem that the encryption key was unkown because it’s baked into the AirPort Express firmware. And this is where the good news start:

“My girlfriend moved house, and her Airport Express no longer made it with her wireless access point. I figured it’d be easy to find an ApEx emulator – there are several open source apps out there to play to them. However, I was disappointed to find that Apple used a public-key crypto scheme, and there’s a private key hiding inside the ApEx. So I took it apart (I still have scars from opening the glued case!), dumped the ROM, and reverse engineered the keys out of it.”

So to keep things short: Someone got an AirPort Express, dumped the firmware, extracted the AirPlay encryption keys and wrote an emulator of the AirPlay protocol which uses the key. Voilá!

ShairPort is available in source code on the site of the guy and obviously it’s unsure if Apple will react by changing the encryption key in the future. But for the time being it works as advertised:

I took one of my computers and followed the instructions to update perl, install Macports and then run ShairPort. So when ShairPort is run it looks not as appealing as expected:

Notably  it uses IPv6 to communicate between iTunes and ShairPort… Oh I almost forgot to show how it looks in iTunes:

On another side note: It works on Linux, Windows and Mac OS X 🙂

Source 1: Apple AirPlay
Source 2: Sonos
Source 3: Apple AirPort Express
Source 4: ShairPort

No Comments

I am a space ship captain. Not.

So finally after years and years of hope and nerdy ideas I am able to hold a tablet device in my own hands and it’s not only as good as Picards tablet was back in that great “Star Trek: Next Generation” series, it’s better.

IMG_0964

Of course I had to import that particular iPad from the U.S. (thanks Alex!) – actually it was the first time I imported something that expensive. Beside some fun with the shipping company everything went fine. Since Apple just announced to delay the launch of the iPad in Europe for a month it’s nice to have a gadget just a few weeks after it was available in the U.S.

No Comments

One step closer to digital nirvana…

Thanks to a podcast I found a great software for my iPhone and iPod touch. It’s a small tool which does cost less than 3 Euro and it’s served by a server tool which runs on Windows and Mac OS X.

It’s called Air Video and it’s frikin’ awesome! ™

What you do is you install the server software and point it to all your directories / drives that might contain video material. You then take your iPhone and install the client app. If you configured the server to be available over the internet you can now connect from anywhere you want using a pass-pin (which is generated) and a password (which is set by you). And by “from anywhere” they mean “anywhere”. WLAN or 3g didn’t make any difference in my test. You start the client, point to a video file and most of the time you are asked if you a) want to directly play is (if the file is ipod-compatible) or b) if you want to live-convert it and play it (when the file isn’t compatible and needs to be re-encoded live for you) or c) if you want to add the file to a conversion queue which will off-line convert the video for you.

In terms of “finding your video” it does look like this:

Air Video

Simple, eh? Taping a video will bring up this screen:

IMG_0388

As I said – Play directoy, Play with Live Conversion and Offline-Conversion-Queue…

It did work with EVERY Video I tried. When I tried Full-HD Movies my serving PC wasn’t able to handle the load but everyhing in SD worked great which is perfect for me.

onwindows

Therefore I can highly recommend this tool – it really does work better than anything I’ve seen before.

Source: http://www.inmethod.com/air-video/index.html

No Comments

LUA is not only for WoW

It’s also suitable for anyone who wants to develop iPhone Applications.

hello-lua

“I started investigating how I might wire up — and then write native iPhone apps from — a scripting language. Lua was on my radar already. It’s compact, expressive, fast enough, and was designed to be embedded. Took only about 20 minutes to get the Lua interpreter running on the iPhone. The real work was to bridge Lua and all the Objective-C/CocoaTouch classes. The bridge had to work in two directions: it would need to be able to create CocoaTouch objects and also be able to respond to callbacks as part of the familiar delegate/protocol model.”

Source: Announcing iPhone WAX

No Comments

iTunes 9 is Windows 7 compatible

Hey it’s great to see that Apple thinks some of the ideas of the new Windows 7 UI (like the new Task Bar). With iTunes 9 you get things like this:

jumplist

1 Comment

Up-Grayed

Last week I upgraded my iPod touch to an iPhone… well actually I got a new iPhone 3GS aside the iPod.

IMG_7392

It’s a fast device – even noticeably faster than the 2nd gen iPod Touch. It’s got almost the same battery life like the touch for me and it was a plug-and-play experience to use it the first time.

What I wasn’t expecting is that the smooth experience suddenly came to a stop when I tried to plug the iPhone into my car – just where the iPod touch did the job for about 5 months (including that the touch got charged by the car along the way).

With the iPhone I got two error messages simultaneously:

IMG_0010

“Charging not supported by this accessory”

IMG_0009

“This accessory is not supported by iPhone”

Damn you Apple! What’s the problem? There’s a standard USB port which powered 2,5 inch hard disk drives previously and the iPhone just states that it cannot be charged with this accessory (e.g. the car).

On the other hand everything else just works as it was working with the iPod. I can browse my music library on the iDrive I can listen to music – everything works, beside those two error messages and the not-charging iPhone. Thank you Apple B-) Maybe I need to up-grayed my car too?

2 Comments

farewell Songbird

sonb

After not less than 3 and a half hour Songbird finished with importing the iTunes library I am using for about 6 years.

The first impression is: Cool, it’s got plugins!

The second impression is: Booh, it wants to restart (while stopping the music) to install!

It’s not faster than iTunes. And this is a sad thing, because the only thing I hoped it would be was faster. It’s not – the UI it’s as fast and responsive as iTunes’ UI – at best. With just a few clicks the whole songbird window went into sleep mode and the well known beachball came into the play.

Even worse: for some strange reason Songbird consumes considerably more CPU time while just sitting there and playing an MP3 than iTunes does:

songbirdcpu

18,7% CPU load used by songbird just by playing an mp3 (no filtering, no visualisation, no nothing)

itunescpu

2,3% CPU load for iTunes while doing exactly the same. Even the same mp3 was played.

iTunes even takes less memory… oh dear: A long way to go for the Songbird team.

No Comments

The Samsung UE46B6000 + Apple Mac Mini + Plex

So it’s been some days with the new Mediacenter Setup. And all I can say is: Oh boy that is some serious cool setup. I wouldn’t want to chance anything beside adding a new Sound System (>5.1 FTW!).

The Display itself is thinner than thought:

IMG_5394

I strongly recommend the Mac + Plex + Full HD display setup. Even if you don’t get any HD content from your cable provider you can live-stream or download HD content through the different provider plugins inside Plex. The plugin infrastructure with the built-in “App Store” is just great.

Since Plex is a XBMC based Mediacenter software you have tons of information scrapers regarding series and movies. So you’re eventually huge collection gets indexed and presented in a way you would not get from any other Mediacenter. You get pictures, movie posters, descriptions and many more just by automatic indexing your collection.

IMG_5404_2

MST3k FTW!

Needless to say that HD content is something different. I only had some HD content on normal computer displays in the last years – having it now huge and sharp is different – better.

BTW: It’s on the floor right now because my wife couldn’t decide until now which tv-stand would suffice…

Source 1: http://av.samsung.de/produkte/detail2_main.aspx?guid=b6c1306c-f57d-4ce7-a944-56cc7346ed2e
Source 2: http://www.apple.com/macmini/
Source 3: http://plexapp.com/

8 Comments

Finder Icon Pillows

Finally after more than 10 weeks of waiting the ordered Apple MacOS X Finder Pillows arrived at our door.

Gorgeous!

IMG_4355

Source: http://www.throwboy.com/

No Comments

clicking to fast

IMG_0001

gnaaaaa 100 requests per hour…

No Comments

how OS X is going to make everyone stupid

Okay – the title of this article is a bit, well… too much. It’s not going to make everyone stupid. What OS X is doing: It creates stereotypes. Like this one: Everyone with a Mac seems to automagically think he or she is a design-web-hip-artist of some sort.

There are great artists that do great things with a Mac – don’t get me wrong. As a matter of fact many great artist have switched and stayed on the white-sometimes-black (for an extra charge) side of the apple.

What I want to say is that: Making “doing things” look simple doesn’t always cut it. Of course you can get it done in seconds on a Mac – but “the real stuff” takes as long and as much of knowledge as on every other platform. You just have to know things – that you’re not told. Things that are hidden from you for the sake of usability. Things every nerdy-Macintosh-Fanboy just knows and which every other normal guy does not know.

The cause I am writing about this is a site of a very very great band called “Amplifico”. I visited their site and found that they are offering their EP for free download. I clicked on the link. Nothing happened. Maybe you can guess why nothing happened:

amplifico

It can look as simple as it does on a Mac to make a website. But in fact it isn’t. Thank god for OS X! It’s wonders of usability and the feel every application has are the things I really like about it. I don’t like about it that so many things think they are something they are not just by using it. I don’t like that so many misinterpretations of the User Interface are possible – giving people the sense of “having everything in control” when they actually don’t.

1 Comment

How to create an m4b iTunes compatible audiobook from a cd

Let’s say you’re like me: You got several audiobooks on CD over the years and you even ripped several of these to listen to them in your MP3 player/car.

So what I have is a number of audiobooks ripped as mp3s on my harddisk looking something like this:

crnan1

If you only have the CD what you would like to do is rip the whole CD as ONE large m4a AAC encoded audiofile. We need it to be an m4a because we later want to inject chapter marks. If you have this big AAC file just skip the next few steps. But if you got those several small mp3 files – one for each chapter you want to merge them together and reencode them as m4a AAC.

There is a great free tool to merge these mp3 files together. It’s called (who would have thought) Merge MP3 and is available completely for free. It’ll create one big mp3 file out of your several small ones.

mergemp3nan

After you got that huge mp3 file you want to convert it into a m4a file with AAC encoding. I recommend using iTunes.

itunesconvertnan

When you got that one huge m4a file you want to load it into a tool called Chapter Master. It’s not free and will set you back $15 but it’s worth as I did not find anything else that was a) that cheap b) that comfortable c) working.

chaptermasternan

Load the m4a file into Chapter Master, add the chapters in the right order and at the right time. Eventually you want to add an album art picture. Click save and you’re done.

The resulting file is a m4b file recognized by iTunes as an audiobook with chapters.

Source 1: http://www.shchuka.com/software/mergemp3
Source 2: http://www.rightword.com.au/products/chaptermaster/download.asp

1 Comment

iMac downgraded to 486

Hmm… maybe something in the current Menu Meters version is wrong:

80486

No Comments

HandBrake is now a full blown video converter…

Turns out that a new snapshot (unofficial) version of my favourite DVD to iPod Converter is available. With the new version came new features like the one that allows me now to convert almost anything to wonderful iPod compatible movie files.

handbrake093

“HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded DVD to MPEG-4 converter, available for MacOS X, Linux and Windows.”

I tried anything in my library, including some matroska movie files. Just everything worked – amazing!

Source: http://handbrake.fr/?article=snapshot

No Comments

We got us an iPod Touch…

After the last update and the fact that I am locked into iTunes (using it for more than 5 years…having rated almost 70% of my huge library…) I decided to buy an iPod at the beginning of this year. Sadly there was only the big and heavy iPod classic that looked promising since the touch was way to expensive.

I thought about things like: Would I need my whole library or would it suffice to have 8/16/32 GB of it? Do I want to have additional applications or just a music player?

After the last update several things came together to a conclusion:

  • There’s not a 160 GB iPod anymore. Since my library is almost that I wouldn’t be able to put my library on a 120 GB classic.
  • The touch is cheaper now
  • mostly I am listening to podcasts, which I do need to by in sync all the time, that means: remaining playtime sync and syncing without manual work

Since my wife doesn’t like the look of the new nano we decided to get the 16 GB Touch.

ipodtouch

It was delivered today and I am hugely impressed with it so far. It’s what I wanted and the way I wanted it. The feature of having my podcasts and audiobooks start/stop positions synced is just fantastic (listening to the first 20 minutes on the go and the rest at home is now possible because the position where I stopped listening on the iPod is synced to the iTunes).

Did I mention that we took the engraving option?

ipodtouchback
Yo Ho!

2 Comments

I finally got my low latency network audio solution

In May 2005 I wrote about a wish I had for years:

“As usual I’ve got a very strange wish what nobody else seems to have on this planet. I have several computers of different platforms. And on one of this machines there are speakers attached…I want to have the possibility to output from any of the machines to the speakers. And please loss-less and low latency!”

It took more than 3 years to fulfill this particular wish. But now it’s done. In 2005 I mentioned the Airfoil software that could run on MacOS X and forward sound from almost every application to an AirTunes compatible device. As it turns out Rogue Amoeba did their homework and created a free “Airfoil Speakers” application which can be used on Windows and MacOS X.

So the things are simple: Start the speaker application on a machine that is in the same network/subnet as the Airfoil master. The virtual speaker is then displayed on the master machine and you can assign a sound source from that machine to the speaker. Hmm… Simple Setup sample: One machine is in my kitchen (Windows XP machine) and one machine is on my desk – an iMac. In the kitchen only the speaker application is started and the iMac instantly “sees” the speaker. One click and the sound output of my desk machine is forwarded through the network to the kitchen… Easy and cool. One can think of any other combination of Speaker/Master application – even multiple speakers can be powered by one master…oh joy!

So here is what the master looks like:

airfoil

and this is what it looks like on a client (speaker):

airfoil2

Source 1: nerd wish of 2005
Source 2: http://rogueamoeba.com/airfoil/

No Comments

Fixing the bad bad mouse acceleration in Mac OS X

I finally found a fix for the unspeakable mouse acceleration problem I have with MacOS X. It’s just a fact that Apple seems to have no idea how to do the mouse handling. Some people say it’s the mouse acceleration curve that apple got wrong:

“As wonderful as Mac OS X is, it has a grave defect that can have an immediate adverse impact on the computer’s usability: the way it translates mouse motion into pointer movement. For many users, moving the mouse feels unnatural because of the peculiar way that Mac OS X performs that translation. In industry parlance, the translation is called the “mouse acceleration curve.” What is a mouse acceleration curve, and how is its implementation problematic under Mac OS X?”

It’s a problem I can live with but I am not happy. With Panther and Tiger I had a solution called MacMiceCommand. But with Leopard this solution stopped working and until I found this:

“This is a GUI version of Richard Bentley’s MouseFix. (i)MouseFix is a very simple program that will allow you to regain control of the mouse acceleration in Mac OS X. Both this web page and the program copies large parts from MouseFix because he says: “feel free to take the code and wrap a nice interface round it. Be nice and make it free for everyone to use though :-)””

Source 1: mouse acceleration explained
Source 2: http://www.lavacat.com/iMouseFix/

No Comments

Widelands – an opensource Settlers II clone

Logo

Widelands-Screen

From the wiki about section:

“In Widelands, you are the regent of a small tribe. You start out with nothing but your headquarters, a kind of castle in which all your resources are stored. In the course of the game, you will build an ever growing settlement. Every member of your tribe will do his or her part to produce more resources – wood, food, iron, gold and more – to further this growth. But you are not alone in the world, and you will meet other tribes sooner or later. Some of them may be friendly and trade with you. However, if you want to rule the world, you will have to train soldiers and fight.

Widelands offers a unique style of play. For example, a system of roads plays the central role of your economy: all the goods that are harvested and processed by the tribe must be transported from one building to the next. This is done by carriers, and those carriers always walk along the roads. It is your job to lay out the roads as efficiently as possible.

Another refreshing aspect of the game is the way you command your tribe. There is no need to tell every single one of your subjects what to do – that would be impossible, because there can be thousands of them! Instead, all you’ve got to do is order them to build a building somewhere, and the builders will come. Similarly, whenever you want to attack an enemy, just place an order to attack one of their barracks, and your soldiers will march to fight. You’re really a ruler: You delegate in times of war and in times of peace!

Widelands offers single-player mode with different campaigns; the campaigns all tell storys of tribes or Empires and their struggle in the Widelands universe! However, settling really starts when you unite with friends over the Internet or LAN to build up new empires together – or to crush each other in the dusts of war. Widelands also offers an Artifical Intelligence to challenge you.

In the end, Widelands will be extensible, so that you can create your own type of tribe with their own sets of buildings. You can create new worlds to play in, and you could even create new types of worlds (who says you can’t build a settlement on the moon?). ”

Source: http://xoops.widelands.org/

No Comments

getting the iTunes library to move or programmatically access the library without iTunes

I am using iTunes as my main music player software for about 5 years now. In that time I had to move and restore my growing iTunes library more than 10 times. It can become quite a job to get it done properly so I came across this great howto article to help you and me out in the future:

“I see some discussion about fixing busted iTunes libraries, either when moving one on the same computer or migrating to a new one. Here’s what I have found works for me. Bonus: no slow AppleScripts or payments (donations cheerfully accepted and squandered).

First, what I have discovered about how iTunes manages music collections. There are two files it uses, one that is binary (ie, machine readable for faster performance on searching, sorting, add/edit/delete operations) and one that has the same information but in a human readable format (for a certain subset of humans who can read XML natively). The XML file is written from the binary file as a backup (check the dates to confirm).”

But that isn’t were it needs to stop. I had to do some more things with my iTunes library lately – like extracting all that ratings and exporting them into a new music player software I liked to test. I therefore wrote myself a little tool in C# that does the job of reading in the whole iTunes library and giving you programmatically access to that library. It only needs to have read access to the Mediathek.xml file iTunes stores in it’s music folder and you from there on can work your way through the bazillions of music tracks you may or may not have in your library. It even does the find-and-replace job a bit easier than the solution mentioned in the article above.

I release the code under the CC-Attribution-NonCommercial-ShareAlike 3.0 license and here is your download:

ReadiTunesMediathek.zip (11,82 KB)

This code is a simple example of how to use the XmlTextReader in C# and how to traverse through them. It should be easy to understand and easy to change. I would love to hear from you when and if it helped you.

xmltextreader

Source 1: iTunes library, fixing a broken one or moving one
Source 2: ReadiTunesMediathek.zip (11,82 KB)

No Comments

How to use the intertubes to display music videos along your ordinary music

If you got a Mac (and that’s the platform it’s only running on) and if you’re using iTunes to listen to your music you probably want to give this Dashboard Widget a try – it automatically searches the music video which supposedly belongs to the music you’re currently listening to and plays it in a small window on the dashboard:

“YouTube has stacks and stacks of music videos on their website. I have written a little dashboard widget called iTube. iTube gets the artist and title of the song you are playing in iTunes. It then performs a search on youtube and plays the first hit in the widget window. Once installed iTube works by itself in the background, so start a song up iTunes then look at your dashboard and with a little luck you’ll be watching what you are listening to.”

itube

Source: http://philipandrews.org/blog/itube/

No Comments

Xbox Media Center for OSX renames itself to PLEX

It’s not as many of those fance company-blogs like gizmodo have written: not the Xbox Media Center project (which makes XBMC for Windows, Linux, Xbox 1 and OSX) renamed itself – infact only the fork of OSXBMC renamed itself to PLEX.

“The one name that stuck was Plex. I like it because it evokes “cineplex” and the suffix means “comprising a number of parts” which the application certain does. In mathematics, you use the suffix to mean “ten to the power of the number” (e.g. oneplex = 10).

Because there are no four-letter domain names left (seriously, try to find one!) we decided to square the plex, so to speak. Think of either plex^2 or plex squared (the beta logo below tries to connote the word “plex” inside a square that might represent a TV screen). The domain names are plex2.com, plexsquared.com, and plexsquare.com for good measure. They are not active yet.

In the coming days, we’ll be working on the rebranding process, including the application packaging, logo, web domains, etc. In the longer term, we have some exciting things in the skin department as well. Stay tuned, and thanks for all your support; we really are lucky to have such an great community.”

Along with the new name comes a new logo:

plex2

Source: http://www.osxbmc.com/
Source 2: http://www.plex2.com

No Comments

hear and chat about the MacWorld San Francisco with the bits-und-so crew

Next tuesday it’s once again MacWorld-time – Apple will kick off it’s developer conference with a keynote and the guys of bits-und-so are going to meet and live-stream their comments and thoughts.

See you tuesday about 1730 local german time…

Source: http://www.bitsundso.de/live/

No Comments

How to turn the display of an iMac off

You don’t even need to have an extra tool installed! Just use this handy keyboard shortcut:

CTRL + Shift + Eject

and voilá.

No Comments

publish your iTunes library on your network without actually using iTunes on the client

There’s a new version of Dot.Tunes out which is now available for free. That’s good news and if you ever wanted to access your iTunes Library and you were not in Bonjour range…try this great tool!

Bild 1

“DOT.TUNES is not some lightweight iTunes utility. It’s a fully developed web server application that supports MP3, AAC, AIFF, WAV, MPEG, MP4, and MOV files, allowing you to share your iTunes library contents with your friends in other cities, your classmates across the dorm or the coworkers scattered throughout the building. DOT.TUNES contains a custom web server designed specifically to serve the audio tracks from your iTunes at lightning fast speeds. Through seamless integration with your iTunes base, DOT.TUNES easily handles large libraries without missing a beat.”

I tried it and it’s working quite well – especially if you consider that there’s a bunch of plugins available.(which you have to pay for)

Source: http://www.dottunes.net

No Comments

have serious fun with…free 2D physics sandbox tools

The standard nerd knows: physics is fun. Even better: When you play with gravity and friction and water an what-not in a sandbox. Now there are several tools available that allow you to do just that: Play with physics.

The first tool is called “phun” and is Windows and Linux only. It’s a small tool that allows you to draw circles, boxes, springs,… and when you finished: press the “play” button to start the simulation. You can interact all the time with the objects and the simulation by draging and manipulating everything.

phun 

There’s even a video available of phun in action:

It’s serious fun…that phun tool… yeah I had to write that, you know?!

The second tool I want to write about is called “Chipmunk” and is available for OS X only. To be fair: this is not a real drawing tool like phun – it’s more or less a game physics engine that cames with several samples in sourcecode that you can play with if you can… You need XCode and some Objective C knowledge.

tower

So now go and play!

Source 1: http://www.acc.umu.se/~emilk/index.html
Source 2: http://wiki.slembcke.net/main/published/Chipmunk

No Comments

when a little mac grows up …

…it starts to show off:

littlemac

I really don’t know why it would display that much used memory…but it does and it even displays it in different positions… sometimes it’s physical memory, sometimes virtual… weird.

No Comments

Hell froze over! German Apple fansite now powered by Windows and .NET

It’s been a long time since my last blog entry – but here it is:

One of my favourite “we’re-just-a-bunch-of-fanboys”-site is mactechnews.de. These guys are always on the line when it comes to Apple and their beloved hard- and software but something strange happened a few days ago: they relaunched their website which is now a from-the-scratch rewrite with all new Ajax and what-not. The point is though: They did not only rewrite it, they did make a choice.

mtndotnet

Now mactechnews.de is based completely on Microsoft .NET and ASP.NET 2.0 powered by Windows Server 2003 machines…

Source: http://www.mactechnews.de/news/index.html?id=139708

No Comments

my girl got a new mobile phone…and we wanted to sync it with a mac

After about a week of “thinking about it” she bit the bullet and got herself a Nokia 5300. She wanted to have something that has some dedicated buttons for music playback control and she needed a new mobile phone. So the 5300 seemed the perfect match.

She wanted to sync her new phone with our Mac so we had to look for something that would allow that to happen. Apple iSync does not support the 5300 out of the box but there are several plugins available on the intertubes. One of them is free and does the job just like all the other ones that need to be bought. It’s called “iSync-Plugin 2.4” and is available here. Just grab it, drop it to the ~/Library folder and restart iSync. iSync should now recognize the phone…just like it did in our case:

Source: http://www.s60themes.co.uk/

No Comments

if I’ll ever need a multi-track audio tool again…

This post is more of a reminder for myself. 😉 I need to remember that obviously great multi-track audio application that just became available.

“Ardour is a digital audio workstation. You can use it to record, edit and mix multi-track audio. You can produce your own CDs, mix video soundtracks, or just experiment with new ideas about music and sound.

Ardour capabilities include: multichannel recording, non-destructive editing with unlimited undo/redo, full automation support, a powerful mixer, unlimited tracks/busses/plugins, timecode synchronization, and hardware control from surfaces like the Mackie Control Universal. If you’ve been looking for a tool similar to ProTools, Nuendo, Pyramix, or Sequoia, you might have found it.

Above all, Ardour strives to meet the needs of professional users. This means implementing all the “hard stuff” that other DAWs ( even some leading commercial apps ) handle incorrectly or not at all. Ardour has a completely flexible “anything to anywhere” routing system, and will allow as many physical I/O ports as your system allows. Ardour supports a wide range of audio-for-video features such as video-synced playback and pullup/pulldown sample rates. You will also find powerful features such as “persistent undo”, multi-language support, and destructive track punching modes that aren’t available on other platforms.”

Source: http://www.ardour.org/

No Comments

lazy leopard

Oh damn. So Apple said that Leopard – the next iteration of OS X – is coming in October instead of spring. I planned buying a macbook early this year but now I have to wait … Damn! I wanted to reorganize my hardware…

To make one thing clear: I do not buy a macbook because of OS X. I am buying it because it also runs Windows. Diversity is a good thing. I currently already own a PowerPC mac just because I wanted to see what all the fuss is about two years ago.

No Comments

Beyond the Red Line: Battlestar Galactica game

There’s a free fan made Battlestar Galactica game available…

“Beyond the Red Line is a stand-alone total conversion for the award-winning Freespace 2 released by Volition and Interplay for the PC. It is based on the popular new tv-show Battlestar Galactica. No, not the one from the 70s.”

It’s free and available for Windows, OS X and Linux.

Source: http://www.game-warden.com/bsg/

No Comments

great calc for OSX

If you need one, take a look at this one:

“A free, full-featured, graphically laid out, high-precision, scientific calculator for Mac OS X 10.4 and greater. Full source-code is included with the distribution.
Ideal if you need to enter large expressions or have accurate precision. “Data” drawers allow an easy way to generate statistical data, linear regression and gaussian elimination. The extensive support of complex numbers and hexadecimal numbers is also a significant benefit for anyone who has to work with this type of data.”

Source: http://home.swiftdsl.com.au/~mattg/

No Comments

Open Transport Tycoon Deluxe

You are a fan of SIM* games? You want something light to take on your travels and play from time to time? I got good news for you: Open Transport Tycoon Deluxe is available in it’s final version 0.5.

It’s running on Windows, Linux and MacOS and you will need the original Transport Tycoon Deluxe files because OpenTTD just reuses the graphics of the old version.

But when you got all that you get a very very great game that doesn’t need much resources and is insane fun.

Source: http://www.openttd.org/index.php

No Comments

speedup Mail.app (or at least try to)

“As everyone knows, it is possible to get quite a speed boost out of Mail.app by stripping all the bloat out of its Envelope index, an SQLite database Mail uses to store senders, recipients, subjects and so on.”

It can lead to a speedup of Mail.App. Despite the fact it decreased the Envelope Index for me it wasn’t really noticable… but your mileage may vary.

Source: hawkwings

No Comments

PC vs. Mac – the return of the clips

Uhh, seems someone took the time to create some clips that show the world the other way around as the well known Mac vs. PC clips did… Oh well as with all “point-of-view” things, just enjoy and start loving each other 😉

Oh and there’s plenty of them here.

Source: OurPicks

No Comments

burn iBook, burn!

That’s what I call a repair:

“A while ago, a 700 MHz iBook was given to me with an infamous video-problem. An iBook which boots, but gives no output, neither to it’s own display nor to a hooked up external monitor.”

Source: http://geektechnique.org/projectlab/726/diy-obsolete-ibook-logic-board-repair

No Comments

terminal.app corruption

hmm.. all of a sudden this happened:

It want away after a few screen ctrl+a’s but…WTF?

No Comments

WPF/E on a Mac

Oh that’s interesting. WPF/E is running on a Mac which leads to the new platform independent approach for Microsofts Windows Presentation Foundation technology…booyah!

You want to take a look on WPF/E by yourself? Well, go ahead.

Source 1: http://blogs.msdn.com/webnext/archive/2006/12/05/i-m-a-mac-and-i-run-wpf-e.aspx
Source 2: http://www.microsoft.com/downloads/details.aspx?FamilyId=A3E29817-F841-46FC-A1D2-CEDC1ED5C948&displaylang=en

No Comments

What Windows has really lacked

Hear, hear!


“What Windows has really lacked, besides pervasive and effective security controls, of course, is an emotional attachment with users. Unlike rival computing platforms such as Linux and the Mac, there aren’t fanatical groups of Windows enthusiasts roaming the Internet and striking down non-believers with unnecessary religious zeal and bias. In fact, if you think about it, the closest we have to that scenario in the Windows world are guys like me, and I couldn’t care less if you choose not to run Windows. Instead, Windows guys tend to be more pragmatic than Linux and Mac fanatics. First, we’re not fanatics, and while I can’t speak for the rest of the community, I completely understand why someone might want to run Mac OS X, and I’d never ridicule them for making that choice.”

Source: http://www.winsupersite.com/reviews/winvista_04.asp

2 Comments

Apple Store Voucher

Well…just in case you’re planning to buy something…like me:

Gutschein-Code: NA1VD3JHHD
Rabatt: 34 Euro
Gültig bis: 31.12.2006
Mindestbestellwert: 348 Euro

Gutschein-Code: IPM9ZXAV9Z
Rabatt: 81 Euro
Gültig bis: 31.12.2006
Mindestbestellwert: 812 Euro

Source: http://www.opensourcemac.de/2006/11/12/apple-store-gutscheine/

4 Comments