• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What is MPConcreteMediaPlaylist..?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is MPConcreteMediaPlaylist..?


  • Subject: Re: What is MPConcreteMediaPlaylist..?
  • From: Hamish Allan <email@hidden>
  • Date: Fri, 26 Nov 2010 09:24:44 +0000

MPConcreteMediaPlaylist objects presumably *are* MPMediaPlaylist objects (look up "polymorphism").

You don't get an array back from -[MPMediaQuery playlistsQuery], so your description of what you're doing is missing detail. Unless you copy and post code, it's difficult for us to tell whether what you think you're doing is what you're really doing, i.e. not really possible for tell what the problem is.

H

Please excuse the brevity -- sent from my iPad

On 26 Nov 2010, at 04:43, sachindra <email@hidden> wrote:

Hi,

 I was expecting the array to return MPMediaPlaylist objects; later while using the method
valueForProperty:MPMediaPlaylistPropertyName on the returned object, my application crashed.
please help me out finding the possible cause of the crash.

thanks,
sachindra

On 26-Nov-2010, at 5:29 AM, Hamish Allan wrote:

On 25 November 2010 13:50, sachindra <email@hidden> wrote:

I developed an application that fetches all the media information from iPod
library.
The code was working fine for all the versions before iOS4.2. However, when
i call [MPMediaQuery playlistsQuery] in iPad with OS 4.2.
it returns an object of class MPConcreteMediaPlaylist, is this a bug, or I
am missing something ..?
arrayOfAllPlaylists(
   "<MPConcreteMediaPlaylist: 0x184b60>",
   "<MPConcreteMediaPlaylist: 0x180be0>",
   "<MPConcreteMediaPlaylist: 0x185120>"
)

Looks reasonable to me. What were you expecting to be returned?

H

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >What is MPConcreteMediaPlaylist..? (From: sachindra <email@hidden>)
 >Re: What is MPConcreteMediaPlaylist..? (From: Hamish Allan <email@hidden>)

  • Prev by Date: rarely p--)
  • Next by Date: Demo code for RemoteIO + AVAssetReader
  • Previous by thread: Re: What is MPConcreteMediaPlaylist..?
  • Next by thread: What is MPConcreteMediaPlaylist..?
  • Index(es):
    • Date
    • Thread