Playing Sounds from the iPod Library

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
donw
Posts: 4
Joined: Fri Dec 10, 2010 6:12 am

Playing Sounds from the iPod Library

Post by donw » Fri Dec 10, 2010 6:23 am

I'm new to LiveCode and iOS development. I'm really excited about being able to have a common code base between the desktop and mobile platforms.

Is it possible to play songs from the iOS iPod library using LiveCode?

I'm not looking for a Song Selector UI. I'd like to programmatically select songs and information from the iPod Library. On OS X, everything I'm looking for is contained within the file ~/Music/iTunes/iTunes Music Library.xml. Is there an equivalent file under iOS and is that file accessible from within LiveCode?
Success is getting what you want, happiness is wanting what you get.

donw
Posts: 4
Joined: Fri Dec 10, 2010 6:12 am

Re: Playing Sounds from the iPod Library

Post by donw » Mon Dec 13, 2010 5:20 am

From what I can determine, before iOS 4, Apple forbid accessing the iPod music library. Under iOS 4, there is a Media Query API that reads the iPod Library and a Media Picker API that lets the user choose a song.

http://developer.apple.com/library/ios/ ... ccess.html

If LiveCode doesn't specifically support Apple's APIs, I can't see how one would use the iPod Music Library. Someone please correct me if my information is incorrect.
Success is getting what you want, happiness is wanting what you get.

donw
Posts: 4
Joined: Fri Dec 10, 2010 6:12 am

Re: Playing Sounds from the iPod Library

Post by donw » Tue Apr 26, 2011 2:59 am

I thought I'd bump my own post to see if there's any chance that the iPod Library Media Query will be added to LiveCode?
Success is getting what you want, happiness is wanting what you get.

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Playing Sounds from the iPod Library

Post by Klaus » Tue Apr 26, 2011 11:43 am

Hi don

this not (yet) possible, but there are enhancement requests for this.
So I am sure this will be in one of the next releases.


Best

Klaus

donw
Posts: 4
Joined: Fri Dec 10, 2010 6:12 am

Re: Playing Sounds from the iPod Library

Post by donw » Thu Jun 23, 2011 9:05 pm

If there isn't LiveCode specific support for the Media Query API, would using the Externals SDK be possible to bridge to the iOS Media Query API?

RunRev Website: /developers/documentation/externals-sdk/

I'm sure I could hack together the small amount of code needed, especially with the examples.
Success is getting what you want, happiness is wanting what you get.

Post Reply