Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kgn/eyetunes
This is a git-svn fork of the EyeTunes project with support for iTunes 10.
https://github.com/kgn/eyetunes
Last synced: 9 days ago
JSON representation
This is a git-svn fork of the EyeTunes project with support for iTunes 10.
- Host: GitHub
- URL: https://github.com/kgn/eyetunes
- Owner: kgn
- License: mit
- Created: 2010-12-06T07:38:34.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-11-29T18:48:16.000Z (almost 12 years ago)
- Last Synced: 2024-10-31T14:51:03.349Z (16 days ago)
- Language: Objective-C
- Homepage: http://code.google.com/p/eyetunes/
- Size: 712 KB
- Stars: 34
- Watchers: 7
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: license
Awesome Lists containing this project
README
EyeTunes framework
======EyeTunes.framework is a Cocoa Framework that abstracts away all the ugly Carbon Apple Events magic and allows you to directly control iTunes from any Cocoa Application.
This is a fork of the original [EyeTunes](http://www.liquidx.net/eyetunes/) project with support for iTunes 10 and other updates.
Features
------* AppStore compliant.
* Get all references to iTunes playlists, tracks and album art.
* Add playlists, update playlists and delete tracks.
* Set any writable fields that iTunes exposes such as Track name, artwork and much more.
* Control iTunes and select playlists and tracks by using either track filenames or database ids.
* Search the iTunes library just like the search box does.
* Extract persistent ID and fetch tracks using such ids.
* Launch and quit iTunes.Example
------To grab an NSImage from the current playing track (say you're implementing some new album art viewier), you can use this simple snippet:
#import
- (NSImage *)getArtworkOfPlayingSong{
EyeTunes *eyetunes = [EyeTunes sharedInstance];
ETTrack *currentTrack = [eyetunes currentTrack];
if(currentTrack){
NSArray *artwork = [currentTrack artwork];
if([artwork count]){
return [artwork objectAtIndex:0];
}
}
return nil;
}