【发布时间】:2017-07-19 20:32:47
【问题描述】:
我想知道是否有任何方法可以访问我的 iTunes 数据(歌曲信息)并修改数据(创建新的(智能)播放列表,将歌曲添加到播放列表,将 cmets 添加到歌曲) iOS 应用?
我基本上是在考虑创建一个可以以自定义方式自动排序和组织我的歌曲的应用程序。
提前致谢!
【问题讨论】:
标签: ios itunes itunes-sdk
我想知道是否有任何方法可以访问我的 iTunes 数据(歌曲信息)并修改数据(创建新的(智能)播放列表,将歌曲添加到播放列表,将 cmets 添加到歌曲) iOS 应用?
我基本上是在考虑创建一个可以以自定义方式自动排序和组织我的歌曲的应用程序。
提前致谢!
【问题讨论】:
标签: ios itunes itunes-sdk
在 c# 中是这样的:
// initialize Itunes connection
iTunesApp itunes = new iTunesLib.iTunesApp();
private void Form1_Load(object sender, EventArgs e)
{
// get main library playlist
ITLibraryPlaylist mainLibrary = itunes.LibraryPlaylist;
// Gets a list of all playlists and adds them to the combo box
foreach (ITPlaylist pl in itunes.LibrarySource.Playlists)
{
comboBox1.Items.Add(pl.Name);
}
// Gets the tracks within the mainlibrary
GetTracks((ITPlaylist)mainLibrary);
// Sets the datagridview1 data source to the data table.
dataGridView1.DataSource = dataTable1;
}
了解您想要使用的 iOS 应用程序或编程语言会很有帮助。
【讨论】: