Monday, 9 July 2018

iOS MPMediaItem: Options as set in iTunes

When loading MPMediaItems via the MPMediaLibrary (MediaPlayer Framework), I'm looking for a way to access the start, stop, and volume properties as they can be set in iTunes via right click on a song => Get Info => Options.

These properties are not properties of MPMediaItem, and I'm not (yet?) able to access them via AVAsset either.

When playing the MPMediaItem using the MPMusicPlayerController applicationMusicPlayer, it does play the track from the set start point. However I need to use AVAudioPlayer and would therefore like to find a way to fetch these settings programmatically.

Any help or hints would be much appreciated!



from iOS MPMediaItem: Options as set in iTunes

No comments:

Post a Comment