mpmediaquery Questions
5
I am trying to play MPMedaiItem in MPMusicPlayerController in iOS.
In my case , i have a UITableView that show songs from playlist.
When i tap cell on UITableView , i want to play that song with MP...
Yuu asked 9/1, 2013 at 6:9
1
I am a new Flutter learner. I am trying to write both mobile and web application using the same code base. I am wondering to know where should I use MediaQuery.of(context).size and where LayouBuild...
Rockwell asked 25/8, 2022 at 4:54
1
I'm trying to play an album, using the following code…
let predicate = MPMediaPropertyPredicate(value: "1459938538", forProperty: MPMediaItemPropertyAlbumPersistentID)
let iCloudPredicate...
Whooper asked 20/6, 2019 at 15:23
0
Say I have an iOS music library with this playlist structure:
A Folder
|
---> A Playlist
|
---> Song A
I run the following code:
import MediaPlayer
let playlists = MPMediaQuery.playlists(...
Quadrangular asked 8/11, 2018 at 21:58
4
Solved
How can I search the iPod Library in the same manner as the iOS Music application? I want to make general queries that return results for each Artists, Albums, and Songs. For instance, if I search ...
Laddy asked 12/11, 2012 at 22:40
4
Solved
I want to get programmatically queue currently played in native Music App. I can use MPMusicPlayerController to get currently playing item but I want to get not only the item but whole playing queu...
Sightless asked 10/4, 2012 at 16:23
6
Solved
That's my Question =)
MPMediaQuery *artistQuery = [MPMediaQuery artistsQuery];
NSArray *songsByArtist = [artistQuery collections];
How can I get the number of albums of each artists of the MPMed...
Hola asked 15/5, 2012 at 8:33
1
I want to run some tests on my iOS application and I would like to find a way to test in the simulator a MPMediaQuery so I can get a MPMediaItemCollection with mock data.
Any library or mock data I...
Jonjona asked 4/5, 2014 at 19:39
3
Solved
Hello i am trying to retrieve Artist with MPMediaQuery in iOS with following code.
In My ViewDidLenter code hereoad
MPMediaQuery *query = [MPMediaQuery artistsQuery];
self.arrayOfArtist = [query ...
Hypabyssal asked 28/1, 2013 at 18:33
4
Solved
I'm looping through all the songs from an iPhone's music library using the following code:
NSArray * songs = [[NSArray alloc] initWithArray:[[MPMediaQuery songsQuery] collections]];
for (MPMedia...
Latoyia asked 18/1, 2011 at 15:8
2
Solved
I want to display a UITableView with only the songs that are currently on the device.
If I query all items I (obviously) get all items, including the once that I purchased but not have downloaded....
Kalikalian asked 18/10, 2013 at 13:3
2
I need to get out the 25 most Played Songs out from my iPod Library with my iPhone app. i am using a MPMediaQuery.
One solutions would be to loop through all tracks and them comparing by MPMediaIt...
Raisin asked 27/9, 2011 at 14:38
2
The following block of code results in the error message:
2013-09-13 15:27:08.449 Mobile[746:5603] {MediaLibrary} Rolling back transaction.
MPMediaQuery *mediaQuery = [MPMediaQuery songsQuery];
N...
Clamworm asked 13/9, 2013 at 19:31
2
Solved
I need to obtain a list of the N most recently played songs from an iOS device, in order.
The only way I can imagine doing it, at the moment, is by getting all the songs through an MPMediaQuery an...
Bagnio asked 1/2, 2013 at 17:20
1
Solved
I am using the Apple Media Player Framework in my application. To fetch items I am using the MPMediaQuery as described in their documents. Which works well, but when using the predefined query to r...
Mcmillin asked 6/11, 2012 at 18:39
1
Solved
When I view my purchased music in iTunes songs that are explicit are shown with a red explicit box next to them in the list of songs. I.e. the explicit tag you see when purchasing the song is passe...
Majuscule asked 3/11, 2012 at 10:16
2
Solved
I'm developing an iPhone application that uses the iPod library to play some songs. I load the songs with the code below. The problem is, when running this code right after the device has been sync...
Coachandfour asked 26/8, 2010 at 19:2
2
Solved
I have my application displaying a MPMediaPickerController. I would like to save the MediaItem and start it playing again on startup. I think this is doable using the MPMediaQuery. It seems, I shou...
Inextensible asked 17/11, 2009 at 0:11
1
© 2022 - 2024 — McMap. All rights reserved.