Hey folks

,
I am building a music application and therefore I cache some data which I grab from the users iPod library first. I need to recreate the cache whenever the iPod library changes so I took a look at MPMediaLibrary.
Actually I found 2 interesting things:
lastModificationDate ->
Due to some googling, I know that this also gets called when the user creates a new playlist or such. Even worse, in my case it shows up the same date all the time.
Code:
NSLog(@"%@", [[MPMediaLibrary defaultMediaLibrary] lastModifiedDate]); // Always the same date
beginGeneratingLibraryChangeNotifications ->
The problem I have with this, is that after the notification is sent the MPMediaQuery is still the same. After around 5 seconds it changes. I dont want to let my users wait 5 seconds ... :/
Code:
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(_handle_MediaLibraryDidChangeNotification)
name:MPMediaLibraryDidChangeNotification
object:[MPMediaLibrary defaultMediaLibrary]];
[[MPMediaLibrary defaultMediaLibrary] beginGeneratingLibraryChangeNotifications];
All in all I am pretty frustrated now. Is there no way to check if the iPod library did change?