iTunes Library

RSS for tag

Retrieve the properties of the media in an iTunes library.

iTunes Library Documentation

Posts under iTunes Library tag

19 Posts
Sort by:
Post not yet marked as solved
1 Replies
377 Views
Hello friends, we recently ran into some problems will full dump of EPF feed dated 20211007. I'm wondering if anyone has any suggestions or solutions for these. itunes/collection file The collection file seems to have "lost" its column types? The collection_id column has changed from BIGINT in previous file, to VARCHAR(1000) in latest. Similarly the media_type_id was INTEGER and is also now VARCHAR(1000), and several datetime fields changed to varchar. And even the longer varchar columns for 4000 chars became 1000 chars. For reference the file header is now reporting the following: #export_date collection_id name title_version search_terms parental_advisory_id artist_display_name view_url artwork_url original_release_date itunes_release_date label_studio content_provider_name copyright p_line media_type_id is_compilation collection_type_id #primaryKey:collection_id #dbTypes:BIGINT VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) INTEGER VARCHAR(1000) #exportMode:FULL Comparing with the previous full dump 20210722 #export_date collection_id name title_version search_terms parental_advisory_id artist_display_name view_url artwork_url original_release_date itunes_release_date label_studio content_provider_name copyright p_line media_type_id is_compilation collection_type_id #primaryKey:collection_id #dbTypes:BIGINT BIGINT VARCHAR(1000) VARCHAR(1000) VARCHAR(3000) INTEGER VARCHAR(1000) VARCHAR(1000) VARCHAR(1000) DATETIME DATETIME VARCHAR(1000) VARCHAR(1000) VARCHAR(4000) VARCHAR(4000) INTEGER BOOLEAN INTEGER #exportMode:FULL itunes/artist_collection file This file the columns are still unchanged, so it's a different error. In this case the file contents are not consistent wit the primaryKey constraint in the file. eg. It's reported the pkey is the tuple (artist_id,collection_id,role_id). However, when importing from EPFimporter tool it gives many errors with the latest data because there are duplicate rows. For example the first error I see is for the following entries (which I extracted manually). The problem is the rows are identical except for the "is_primary_artist" value. export_date artist_id collection_id is_primary_artist role_id 1633587189 36270 1461423948 1 1 1633587189 36270 1461423948 0 1 The first error I think I can handle by forcing the column type to be same as before. But the second the data itself has problems so I'm not sure what to do for it. Judging by some of the older posts on this forum I'm not sure there will be any reply, but thanks for looking all the same.
Posted
by
Post not yet marked as solved
0 Replies
204 Views
Hi, A few mouth ago, I was working on a project that uses the ITLibrary API and the ITLibPlaylist class to load the music playlists in a tree and get the tracks when a playlist is selected. Now I'd like to work again on this project but as soon as I try to load the playlists, I have a memory bug. But I also try to load my playlists and its tracks in a fresh new project and it is working so something in my view has a bug : Maybe a problem with the links between the UI and the data... Any idea ? Thx.
Posted
by
Post not yet marked as solved
0 Replies
214 Views
Hello, I would like to change the iTunes logo back to the orange version from 2013. Is this possible? I hate changes and Apple keeps changing my logos. Thank you so much for your help!
Posted
by
Post not yet marked as solved
2 Replies
737 Views
I’d appreciate some help in diagnosing a crash in MPMediaLibrary that occurs on some iOS 15.1.x user devices. So far this issue can't be reproduced with test devices that range from iOS10 to iOS15.2, whether via Xcode 12.4 or TestFlight. The app needs access to the device’s microphone and audio files which are selected via the MPMediaPickerController. The usual usage description keys (namely NSMicrophoneUsageDescription, NSAppleMusicUsageDescription and kTCCServiceMediaLibrary) are specified in the info.plist. The crash relates to library access and involves the iTunesCloud binary. The crash occurs when the app starts, probably for the first time after installation (not the best way to greet new users). Here is a sample crash report: iOS15_1_Crash_MPMediaLibrary_authorizationStatus_anon.txt Here is a typical traceback: Thread 0 Crashed: 0  libsystem_kernel.dylib           0x00000001b8964504 mach_msg_trap + 8 1  libsystem_kernel.dylib           0x00000001b8964b9c mach_msg + 76 (mach_msg.c:119) 2  libdispatch.dylib                0x000000018165227c _dispatch_mach_send_and_wait_for_reply + 520 (mach.c:815) 3  libdispatch.dylib                0x000000018165262c dispatch_mach_send_with_result_and_wait_for_reply + 56 (mach.c:2019) 4  libxpc.dylib                     0x00000001f2576b9c xpc_connection_send_message_with_reply_sync + 240 (connection.c:974) 5  TCC                              0x00000001e961c0c0 tccd_send_message + 940 (TCC.c:490) 6  TCC                              0x00000001e9621e08 __TCCAccessRequest_block_invoke.213 + 876 (TCC.c:591) 7  libdispatch.dylib                0x0000000181637660 _dispatch_client_callout + 20 (object.m:560) 8  libdispatch.dylib                0x00000001816468b4 _dispatch_lane_barrier_sync_invoke_and_complete + 56 (queue.c:1016) 9  libsystem_trace.dylib            0x000000019c147668 _os_activity_initiate_impl + 64 (activity.c:131) 10 TCC                              0x00000001e961d4e0 TCCAccessRequest + 476 (TCC.c:1019) 11 TCC                              0x00000001e961c73c TCCAccessPreflight + 300 (TCC.c:1651) 12 iTunesCloud                      0x0000000198d58160 -[ICCloudServiceStatusMonitor authorizationStatusForScopes:] + 60 (ICCloudServiceStatusMonitor.m:689) 13 MediaPlayer                      0x000000018a8c8ee4 +[MPMediaLibrary authorizationStatus] + 64 (MPMediaLibrary.m:778) 16 MyAppppp                         0x00000001003e9880 AppDelegate.application(_:willFinishLaunchingWithOptions:) + 32 (AppDelegate.swift:23) 17 MyAppppp                         0x00000001003e9880 @objc AppDelegate.application(_:willFinishLaunchingWithOptions:) + 136 (<compiler-generated>:20) The app startup logic is basically: func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { let audioSession = AVAudioSession.sharedInstance() if audioSession.recordPermission == .undetermined { audioSession.requestRecordPermission { // Permission initialized } } if MPMediaLibrary.authorizationStatus() == .notDetermined // Sometimes crashes in iOS15.1 on user devices { MPMediaLibrary.requestAuthorization { // Permission initialized } } if MPMediaLibrary.authorizationStatus() == .authorized { // The following code sometimes crashes in iOS15.1 on user devices without the enclosing ".authorized” check let predicate = MPMediaPropertyPredicate(value: defaultSongId, forProperty: MPMediaItemPropertyPersistentID) let query = MPMediaQuery() } return true } Questions: What exactly is the iTunesCloud binary doing? Is additional configuration needed? Why does the crash happen only on some iOS 15.1 user devices? Is it too early in the app lifecycle to call MPMediaLibrary.authorizationStatus? Post-crash workaround: Are users able to grant access to the library via the device’s global privacy settings? Thanks!
Posted
by
Post not yet marked as solved
0 Replies
207 Views
Hi We are developing a video and story editing app. Currently, we are exploring the opportunities for Music and would like to integrate iTunes Music into our app. Instories app has the feature when users can listen to the 30-secs track preview from iTunes, select the start point of the track and add it to their videos by clicking the Done button. The videos with iTunes tracks can further be saved into the camera roll or shared on social media. Additionally, we've come across the Story beat app and noticed that they also have iTunes Music integrated into the app with the same functionality as the Instories app has ( see the image below). Please, let us know if implementing such a feature aligns with the App Store Review Guidelines for Apple Music or it contradicts the guides. We'd appreciate your feedback. Thanks.
Posted
by
Post not yet marked as solved
0 Replies
324 Views
Not sure if anyone can answer this, but hopefully an Apple developer sees this topic. The new Enterprise Partner Feed EPF full dump folders are missing some files. eg. https://feeds.itunes.apple.com/feeds/epf/v5/20220101/itunes20220101/ is missing the song.tbz file which is usually ~10GB. The new folder https://feeds.itunes.apple.com/feeds/epf/v5/20220108/itunes20220108/ does have a song.tbz file, but is missing the collection.tbz and also collection_song.tbz files.
Posted
by
Post not yet marked as solved
0 Replies
172 Views
We want to start DSP(Digital Service Provider) like https://www.tunecore.com (in which a user can upload audio,image and videos files to create music albums or music video products) and also want to upload all files to your service(itunes). So Please provide the specific documentation where we could understand the all process. Please guide us. Thanks.
Posted
by
Post not yet marked as solved
0 Replies
167 Views
How do iPhones store mp3 music files? I'm trying to code an iTunes replacement for Linux. I've gotten the PC side player working, managed to mount iPhone file system but don't understand where I need to save the mp3 files to on the phone.
Posted
by
Post not yet marked as solved
0 Replies
188 Views
I am trying to drag and drop .IPA file to iTunes devices tab but it does nothing. What should i do? (I am working on windows so i can't use xcode)
Posted
by
Post not yet marked as solved
0 Replies
135 Views
Hey Team, What is the iTunes Store API request frequency per second? I have a list of song names, which I would like to fetch from API and display as a list. Is there any limitation on how many requests must I send to the endpoint?
Posted
by
Post not yet marked as solved
0 Replies
154 Views
I ran into a problem with Catalina (and later) and the new Muisc.app while using the ITLibrary framework. The ITLibrary.mediaFolderLocation and ITLibrary.musicFolderLocation methods no longer return the correct values. In fact, the fields in UserDefaults have not been updated on my system since moving from iTunes to Music because the library pointed to by “iTunes-media-folder-url“ points to an old iTunes library within the com.apple.AMPLibraryAgent suiteName. After doing some digging and performing a dump of all UserDefaults and comparing them before and after manually switching my Music Library by option+Clicking the Music.app icon, there are no changes between the two dumps with respect to the Music.app. This leads me to believe the Music.app is not storing it's information in UserDefaults like iTunes used to. Has anyone else run into this problem? Is there somewhere else one can look into the system to find what the last selected Music library was? I'm looking for a reliable workaround to know the location of the currently selected Music library.
Posted
by
Post not yet marked as solved
1 Replies
301 Views
Hi guys, i couldn't reach verifyReceipt API during 17min and I got 200+ error logs at that time. Now it was cleared, but i wonder what caused the issue. Could you check this? My server is located at South Korea. URL : https://buy.itunes.apple.com/verifyReceipt Response : 502 Bad Gateway occurrence time(KST) : 2022.04.12 22:37:50 ~ 22:54:03 occurrence time(UTC+0) : 2022.04.12 13:37:50 ~ 13:54:03 Thanks.
Posted
by
Post not yet marked as solved
0 Replies
149 Views
Hi all Can anybody let me know how I can get chart data from iTunes? I enrolled in developer programs for that but just noticed that it only provides Apple Music API. Is there any way that I can check iTunes chart data? It seems there is iTunes API but it is only for 'search'.
Posted
by
Post not yet marked as solved
0 Replies
139 Views
I was using the iTunes RSS feed to read out the game charts: https://rss.itunes.apple.com/api/v1/us/ios-apps/top-paid/games/25/explicit.json But this url doesn't work anymore. It seems that Apple has changed it to this v2 API: https://rss.applemarketingtools.com/api/v2/us/apps/top-paid/25/apps.json Is there any possibility to read out the iOS App Store Games Charts (paid and free) via RSS?
Posted
by
Post not yet marked as solved
0 Replies
96 Views
Not really sure if this post belongs here, but it pertains to the iTunesLibrary Framework. While looking through the iTunesLibrary framework, I came across the subject constant. However, I do not know how to set this within the Music app. Is this a legacy feature of iTunes before Apple switched to Music with Catalina? I looked through the preferences for Music and I do not see where to turn this feature on, nor is it available as a display column in Music while viewing songs as a list. I have been managing my music by appending (Clean) for a non-explicit version of a song with explicit lyrics, or (Explicit) if a non-explicit version is not available. It would be nice to not have to do this if this feature can be turned on in the Music app.
Posted
by
Post not yet marked as solved
3 Replies
303 Views
Hello, I'm trying to install an iOS app (.ipa file) on my phone (iPhone 11 - iOS 15.5) using iTunes for PC (with Windows 10). I've connected the phone to the PC and was able to transfer the file to the phone (I can see it in File Sharing section with FileManager Documents app) but not to install it. The app is visible in the i-phone however it has cloud download icon on it and when I click it it says "The developer of this app needs to update it to work with this version of ios". it has only two options "keep" and "delete". Any help to install it would be highly appriciated. Thank you!
Posted
by
Post not yet marked as solved
0 Replies
120 Views
My application got rejected and I've got this reply from Apple: "Your app uses auto-renewing subscriptions, but it is not an appropriate use of the service. Specifically, your app still offered its digital content as auto-renewable subscription, however they have an expiration date (date they will no longer be available)." Then I tried to remove them and added them to the Consumable type. But some of the items in the auto-renewable subscription are 'In Review' status. Is there any way to remove/delete the subscription items that status is 'In Review'.
Posted
by