资 源 简 介
scrOBJc
scrOBJc is an easy to use library for scrobbling. Currently the scrobbling system of Last.FM and Libre.FM are supported.
The idea was to create a cocoa framework with following goals:
Easy to use
``//initialize a new trackscrOBJcTrack*` newTrack = [[scrOBJcTrack alloc] init];
/*submit the "now playing" and tell the framework that the track is started to play
(will count for us the played time - use pausePlaying if the sound is paused)*/
[[track currentPlaying] startPlaying];
```
```
//configure the track with key-value coding
[track setValue:@"Band name" forKey:@"artist"];
...
```
```
[track submit];//will add the informations to the queue and submit the queue if needed
[track release];//delete the track
```
Mu