-
Website
http://toxicsoftware.com/ -
Original page
http://toxicsoftware.com/heres_your_media_browser_right_here/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
schwa
20 comments · 2 points
-
Alexander Mikhalev
1 comment · 1 points
-
myxibrium
1 comment · 1 points
-
somegeekintn
1 comment · 1 points
-
Stewf
2 comments · 1 points
-
-
Popular Threads
-
ICE Amsterdam 09
3 weeks ago · 1 comment
-
ICE Amsterdam 09
The real problem is that Apple's browser only browses its own (semi) private data
Writing the browser itself is relatively trivial. Spotlight is a really simple API and providing a UI to it via Cocoa bindings wouldn't take too long at all - even with thumbnailing and other media previewing.
I think limiting a media browser to media that has been organised only by Apple's iApps is self limiting. I think it would be best to ignore the Apple Media browser (lets face it, the chances of Apple providing an API is pretty low) and create your own (feel free to release it as an Open Source component).
I think Dan's suggestion is good, especially when taken to the logical extreme of incorporating it into the standard file picker. Then you would have a file picker that is capable of:
1. Browsing particular subsets of the disk.
2. Browsing well-known collections (such as "iTunes Music).
3. Searching within any focused collection.
4. Displaying selectable items in a context-sensitive presentation, e.g. as a list of songs, or as a matrix of thumbnails.
The Windows standard file picker, at least, has a built-in thumbnail tiling view.
I also think you overstate by quite a bit the ease of throwing something like this together. If you can do it in an afternoon, then *please* do so and share it with the rest of us. This is the kind of thing that has a lot of tiny facets, each of which has to work perfectly in order to be a satisfactory generalized solution. Just getting the selectable, resizeable, tiling matrix bug free would probably take a fair bit of work, unless you have one lying around.
True. I probably understated the difficulty of it a bit. I already have a code to do a lot of what it would do (displaying thumbnails from spotlight) so it might be a bit easier for me.
But not solving the problem yourself because Apple already has a widget that they're sharing between there apps in the hopes they'll share it with 3rd parties isn't going to help much. I'd love Apple to prove me wrong and provide a hook for it - but hell they don't even provide APIs to create all the different buttons they have in the iApps.
I never considered that this would be a "global disk browser" (heck we have the Open dialog for that - and it has spotlight built-in). I believe something that works almost identically to Apple's browser but works with every application's media (instead of just the iApps) is easily accomplished.
For extra points you could use iTunes/iPhotos XML files - at least until Apple provides (if they ever do) spotlight metadata for this information.
And I dont believe every developer should write their own. Something like this should definitely be OpenSource and shared between developers.
See my posting here: /index.php/weblog/mod_spotlight_apple/
I've also worked on a hack for safari that allowed you to search spotlight natively in safari using a URL scheme of "x-spotlight".