Questions tagged [mpmediaquery]

A media query specifies a set of media items (instances of MPMediaItem) from the iPod library by way of a filter and a grouping type. Filter and grouping type are both optional; an unqualified query matches the entire library.

A media query specifies a set of media items (instances of MPMediaItem) from the iPod library by way of a filter and a grouping type. Filter and grouping type are both optional; an unqualified query matches the entire library.

170 questions
-1
votes
1 answer

Select a random item from User's Music Library (iOS) (Swift)

How to select a random song/album/playlist from the user's library? Also, how to select all the songs from a particular artist/genre at random? I have tried MPMediaQuery, but am somehow not able to achieve what I want. All I get is all the…
Shyam
  • 561
  • 5
  • 22
-1
votes
1 answer

How can i filter songs using persistent id

ì have an iPhone application in which i should filter the songs by genre or album, filter the albums by artist etc. But i have a doubt about how to filter items. I read in apple's documentation that for example to get songs for a specific album you…
rokridi
  • 1,565
  • 2
  • 11
  • 20
-2
votes
1 answer

How to efficently use mediaquery in flutter?

I'm developing flutter project, I'm using android studio emulator that size of 5.46 inches display. I use mediaquery for responsive design, but it doesn't work. can someone help me, how to efficiently use mediaquery in flutter
-2
votes
1 answer

iTunes directory media item returned in unknown format

I wrote the following function that reads through the list of media items in my iTunes directory and returns the music files. I need to return the "song titles" but when I run it the items returned are in an unknown format. I am pretty sure I need…
Sophman
  • 85
  • 2
  • 17
1 2 3
11
12