- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在尝试 iTunes SDK 和 Cython。 DLL 入口点似乎可以工作,但使用任何“真正的 Python” 都会导致 iTunes 崩溃。
以下代码可以正常编译,并且 iTunes 可以成功加载插件 dll。
cimport libc.stdio as stdio
cdef extern from "iTunesAPI/iTunesAPI.h":
ctypedef int OSType
ctypedef int OSStatus
ctypedef struct PluginMessageInfo:
pass
int unimpErr
cdef public OSStatus iTunesPluginMain( OSType message,
PluginMessageInfo* messageInfo,
void* refCon ):
cdef stdio.FILE* fl = stdio.fopen('C:/itunes_cyplugin_feedback.txt', 'wb')
return unimpErr
但是添加 Python 表达式会导致 iTunes 崩溃,例如:
# ...
cdef public OSStatus iTunesPluginMain( OSType message,
PluginMessageInfo* messageInfo,
void* refCon ):
object()
return unimpErr
您知道为什么这会导致崩溃吗?
操作系统:Windows 7 x64
iTunes:10.5 x86
编译器:gcc 4.6.2 (MinGW)
编辑[2012/02/12]
新的见解给了我gdb session ,您可以在下面找到它。我希望现在有人可以告诉我如何解决它。 :)
C:\Program Files (x86)\iTunes>gdb iTunes.exe
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from c:\program files (x86)\itunes\iTunes.exe...(no debugging symbols found)...done.
(gdb) b write
No symbol table is loaded. Use the "file" command.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (write) pending.
(gdb) r
Starting program: c:\program files (x86)\itunes\iTunes.exe
[New Thread 4588.0xa20]
[New Thread 4588.0x1214]
[New Thread 4588.0x12f4]
[New Thread 4588.0x274]
[New Thread 4588.0x1070]
[New Thread 4588.0xf40]
[New Thread 4588.0xfb0]
[New Thread 4588.0x12b0]
[New Thread 4588.0xb48]
[New Thread 4588.0x58c]
[New Thread 4588.0xc7c]
[New Thread 4588.0x1048]
[New Thread 4588.0x8ac]
[New Thread 4588.0x10dc]
[New Thread 4588.0x190]
[New Thread 4588.0x128]
[New Thread 4588.0xfbc]
[New Thread 4588.0xc2c]
[New Thread 4588.0x1154]
[New Thread 4588.0x234]
[New Thread 4588.0xa70]
[New Thread 4588.0x1144]
[New Thread 4588.0xa48]
[New Thread 4588.0xbe8]
warning: ASL checking for logging parameters in environment variable "iTunes.exe.log"
warning: ASL checking for logging parameters in environment variable "asl.log"
BFD: C:\Windows\SysWOW64\WMVCORE.DLL: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .reloc
Program received signal SIGSEGV, Segmentation fault.
0x1e0650bc in python27!PyObject_Call () from C:\Windows\SysWOW64\python27.dll
(gdb)
(gdb) bt all
No symbol "all" in current context.
(gdb) bt
#0 0x1e0650bc in python27!PyObject_Call () from C:\Windows\SysWOW64\python27.dll
#1 0x02eb12ae in iTunesPluginMain (__pyx_v_message=1768843636, __pyx_v_messageInfo=0x16e6b0, __pyx_v_refCon=0x0)
at pytunes.c:465
#2 0x68a4d627 in iTunes!getPhaseStreamLibraryVersion () from c:\program files (x86)\itunes\iTunes.dll
#3 0x696e6974 in iTunesMainEntryPoint@24 () from c:\program files (x86)\itunes\iTunes.dll
#4 0x00000000 in ?? ()
(gdb)
这是 Visual Studio 2008 告诉我的:
Unhandled exception at 0x1e0650bc in iTunes.exe: 0xC0000005
Segmentation fault when reading at 0x00000004.
<小时/>
编辑[2012/02/13]
以下是 iTunes 崩溃后 (gdb) 线程 apply all bt
的输出。
(gdb) thread apply all bt
Thread 24 (thread 4340.0x4e0):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e6c in ntdll!ZwWriteVirtualMemory () from C:\Windows\system32\ntdll.dll
#2 0x7504179c in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#3 0x0000067c in ?? ()
#4 0x00000000 in ?? ()
Thread 23 (thread 4340.0x17a0):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76178f8f in UnregisterPowerSettingNotification () from C:\Windows\system32\user32.dll
#2 0x59bd3485 in iTunesMobileDevice!AFCConnectionGetStatus ()
from C:\Program Files\Common Files\Apple\Mobile Device Support\iTunesMobileDevice.dll
#3 0x06fef87c in ?? ()
#4 0x00000000 in ?? ()
Thread 22 (thread 4340.0x10c4):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e7c in ntdll!ZwYieldExecution () from C:\Windows\system32\ntdll.dll
#2 0x76e4067b in ntdll!RtlLargeIntegerShiftLeft () from C:\Windows\system32\ntdll.dll
#3 0x76511174 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dll
#4 0x76e6b3f5 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#5 0x76e6b3c8 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#6 0x00000000 in ?? ()
Thread 21 (thread 4340.0x14ec):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e6c in ntdll!ZwWriteVirtualMemory () from C:\Windows\system32\ntdll.dll
#2 0x7504179c in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#3 0x0000063c in ?? ()
#4 0x00000001 in ?? ()
#5 0x06edf8c0 in ?? ()
#6 0x73ae556e in CreatePropertySheetPageA ()
from C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_421189da2b7fabfc\co
mctl32.dll
#7 0x7650f003 in WaitForSingleObjectEx () from C:\Windows\system32\kernel32.dll
#8 0x765d6172 in ole32!CoRevokeClassObject () from C:\Windows\system32\ole32.dll
#9 0x765dc80b in ole32!CoIsOle1Class () from C:\Windows\system32\ole32.dll
#10 0x76511174 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dll
#11 0x76e6b3f5 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#12 0x76e6b3c8 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#13 0x00000000 in ?? ()
Thread 20 (thread 4340.0x1628):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e6c in ntdll!ZwWriteVirtualMemory () from C:\Windows\system32\ntdll.dll
#2 0x7504179c in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#3 0x00000650 in ?? ()
#4 0x00000001 in ?? ()
#5 0x00000000 in ?? ()
Thread 19 (thread 4340.0xf04):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e6c in ntdll!ZwWriteVirtualMemory () from C:\Windows\system32\ntdll.dll
#2 0x7504179c in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#3 0x000005c0 in ?? ()
#4 0x00000001 in ?? ()
#5 0x00000000 in ?? ()
Thread 18 (thread 4340.0x3c4):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e4c in ntdll!ZwWriteRequestData () from C:\Windows\system32\ntdll.dll
#2 0x75046872 in KERNELBASE!GetProcessId () from C:\Windows\system32\KernelBase.dll
#3 0x00000001 in ?? ()
#4 0x068af914 in ?? ()
#5 0x00000001 in ?? ()
#6 0x00000000 in ?? ()
Thread 17 (thread 4340.0x880):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e4c in ntdll!ZwWriteRequestData () from C:\Windows\system32\ntdll.dll
#2 0x75046872 in KERNELBASE!GetProcessId () from C:\Windows\system32\KernelBase.dll
#3 0x00000001 in ?? ()
#4 0x0665f758 in ?? ()
#5 0x00000001 in ?? ()
#6 0x00000001 in ?? ()
#7 0x00000000 in ?? ()
Thread 16 (thread 4340.0x165c):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e4c in ntdll!ZwWriteRequestData () from C:\Windows\system32\ntdll.dll
#2 0x75046872 in KERNELBASE!GetProcessId () from C:\Windows\system32\KernelBase.dll
#3 0x00000001 in ?? ()
#4 0x05e2f5a8 in ?? ()
#5 0x00000001 in ?? ()
#6 0x00000000 in ?? ()
Thread 14 (thread 4340.0xb6c):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e6c in ntdll!ZwWriteVirtualMemory () from C:\Windows\system32\ntdll.dll
#2 0x7504179c in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#3 0x00000580 in ?? ()
#4 0x00000001 in ?? ()
#5 0x063cfe08 in ?? ()
#6 0x737f53a6 in ?? ()
#7 0x5cea92e4 in ?? ()
#8 0x00000580 in ?? ()
#9 0x0000001e in ?? ()
#10 0x00000024 in ?? ()
#11 0x00000001 in ?? ()
#12 0x00000000 in ?? ()
Thread 13 (thread 4340.0xc74):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e6c in ntdll!ZwWriteVirtualMemory () from C:\Windows\system32\ntdll.dll
#2 0x7504179c in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#3 0x00000548 in ?? ()
#4 0x00000001 in ?? ()
#5 0x00000000 in ?? ()
Thread 12 (thread 4340.0x778):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e7c in ntdll!ZwYieldExecution () from C:\Windows\system32\ntdll.dll
#2 0x76e4067b in ntdll!RtlLargeIntegerShiftLeft () from C:\Windows\system32\ntdll.dll
#3 0x76511174 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dll
#4 0x76e6b3f5 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#5 0x76e6b3c8 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#6 0x00000000 in ?? ()
Thread 10 (thread 4340.0x1620):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e54c1c in ntdll!ZwDeleteValueKey () from C:\Windows\system32\ntdll.dll
#2 0x75041876 in SleepEx () from C:\Windows\system32\KernelBase.dll
#3 0x00000000 in ?? ()
Thread 9 (thread 4340.0x10cc):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e7c in ntdll!ZwYieldExecution () from C:\Windows\system32\ntdll.dll
#2 0x76e4067b in ntdll!RtlLargeIntegerShiftLeft () from C:\Windows\system32\ntdll.dll
#3 0x76511174 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dll
#4 0x76e6b3f5 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#5 0x76e6b3c8 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#6 0x00000000 in ?? ()
Thread 8 (thread 4340.0xac4):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e7c in ntdll!ZwYieldExecution () from C:\Windows\system32\ntdll.dll
#2 0x76e4067b in ntdll!RtlLargeIntegerShiftLeft () from C:\Windows\system32\ntdll.dll
#3 0x76511174 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dll
#4 0x76e6b3f5 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#5 0x76e6b3c8 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#6 0x00000000 in ?? ()
Thread 7 (thread 4340.0xe08):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e4c in ntdll!ZwWriteRequestData () from C:\Windows\system32\ntdll.dll
#2 0x75046872 in KERNELBASE!GetProcessId () from C:\Windows\system32\KernelBase.dll
#3 0x00000001 in ?? ()
#4 0x057df9f0 in ?? ()
#5 0x00000001 in ?? ()
#6 0x00000000 in ?? ()
Thread 6 (thread 4340.0x7fc):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e7c in ntdll!ZwYieldExecution () from C:\Windows\system32\ntdll.dll
#2 0x76e4067b in ntdll!RtlLargeIntegerShiftLeft () from C:\Windows\system32\ntdll.dll
#3 0x76511174 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dll
#4 0x76e6b3f5 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#5 0x76e6b3c8 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#6 0x00000000 in ?? ()
Thread 5 (thread 4340.0x61c):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e4c in ntdll!ZwWriteRequestData () from C:\Windows\system32\ntdll.dll
#2 0x76e3ef27 in ntdll!RtlIsValidIndexHandle () from C:\Windows\system32\ntdll.dll
#3 0x76511174 in KERNEL32!AcquireSRWLockExclusive () from C:\Windows\system32\kernel32.dll
#4 0x76e6b3f5 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#5 0x76e6b3c8 in ntdll!RtlInsertElementGenericTableAvl () from C:\Windows\system32\ntdll.dll
#6 0x00000000 in ?? ()
Thread 4 (thread 4340.0x1794):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e4c in ntdll!ZwWriteRequestData () from C:\Windows\system32\ntdll.dll
#2 0x75046872 in KERNELBASE!GetProcessId () from C:\Windows\system32\KernelBase.dll
#3 0x00000002 in ?? ()
#4 0x04e8f9e8 in ?? ()
#5 0x00000001 in ?? ()
#6 0x00000000 in ?? ()
Thread 2 (thread 4340.0x51c):
#0 0x76e564f4 in ntdll!LdrFindResourceEx_U () from C:\Windows\system32\ntdll.dll
#1 0x76e55e6c in ntdll!ZwWriteVirtualMemory () from C:\Windows\system32\ntdll.dll
#2 0x7504179c in WaitForSingleObjectEx () from C:\Windows\system32\KernelBase.dll
#3 0x00000218 in ?? ()
#4 0x00000000 in ?? ()
Thread 1 (thread 4340.0x17b4):
#0 0x1e0650bc in python27!PyObject_Call () from C:\Windows\system32\python27.dll
#1 0x69781232 in iTunesPluginMain (__pyx_v_message=1768843636, __pyx_v_msgInfo=0x13e680, __pyx_v_refCon=0x0)
at pytunes.c:467
#2 0x5bc1d217 in iTunes!getPhaseStreamLibraryVersion () from C:\Program Files\iTunes\iTunes.dll
#3 0x696e6974 in ?? ()
#4 0x0013e680 in ?? ()
#5 0x00000000 in ?? ()
(gdb)
<小时/>
编辑[2012/02/13]
我刚刚有了这个想法为什么不在 C 中尝试一下?,所以我就这么做了。而且它也不起作用,iTunes 仍然崩溃。也许我应该将问题重命名为“如何将 Python 嵌入到 iTunes 中?” ..
编辑:纯C实现现在不会导致iTunes崩溃,但我不知道上次我做错了什么。
#include "iTunesAPI/iTunesAPI.h"
#include <Python.h>
__declspec(dllexport) OSStatus iTunesPluginMain(OSType message,
PluginMessageInfo* msgInfo,
void* refCon) {
Py_Initialize();
PyObject* op = Py_BuildValue("i", 123);
Py_Finalize();
return unimpErr;
}
最佳答案
看到回溯后,我没有看到任何其他 python 调用。然后我的脑海中出现了一个想法:由于您正在尝试使用 Cython (Python) 制作 itunes 插件 (C),因此 Python 解释器可能未初始化。您需要创建一个中间 C 文件来引导 python 解释器并在实际使用之前初始化 cython 模块:
在main.c中:
#include <Python.h>
#include "../iTunesAPI/iTunesAPI.h"
#include "pytunes.c"
__declspec(dllexport) OSStatus iTunesPluginMain( OSType message,
PluginMessageInfo* msgInfo,
void* refCon ) {
Py_Initialize();
PyEval_InitThreads();
initpytunes();
return PyTunes_main(message, msgInfo, refCon);
}
在你的 pytunes.pyx 中:
cdef extern from "../iTunesAPI/iTunesAPI.h":
ctypedef int OSType
ctypedef int OSStatus
ctypedef struct PluginMessageInfo:
pass
int unimpErr
cdef public int PyTunes_main( OSType message,
PluginMessageInfo* msgInfo,
void* refCon ):
object()
return 0
现在,在调用 cython/c 函数之前,Python 解释器和 cython 扩展都将被安全初始化:)
关于python - iTunes 共享库中 PyObject_Call() 的段错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9114214/
作为桌面开发人员,这对我来说是新的。 如果我能弄清楚这是如何完成的,它可能与我正在做的一些研究有关,特别是如何将厚桌面应用程序迁移到 Web 实现。 我能找到更多面向形式和轻量级的图形,但重量级的 3
我发现我可以搜索这样的歌曲术语: https://itunes.apple.com/search?media=music&entity=musicTrack&attribute=songTerm&te
我最近发布了一个 iPhone 应用程序,但我没有看到任何方法可以像在 Google Play 中一样检查应用程序统计信息。 你能告诉我怎么做吗? 最佳答案 您可以从 iTunes Connect 开
我刚刚发布了一款 iPhone 应用程序并正在更新其支持网站。我使用 iTunes Link Maker 创建了如下所示的链接。有一次,它打开了 iTunes,其余时间都没有。我尝试关闭 iTunes
我们想编写一个 Windows/OS X 应用程序,将播客评级信息从 iPod 和 iTunes 发送回服务器。两个问题: 是否有关于评分数据如何存储在 iTunes 中的文档, 如果用户将 iTun
如何获取可用的 iTunes 播客的 RSS 提要 URL?我想要一个列出 iTunes 上所有播客的提要。这可能吗? 谢谢。 最佳答案 现在有几种选择: iTunes RSS Feed Genera
我已经在 Apple iTunes 上更新了新版本的 iOS 应用程序。今天早上获得批准后,我发布了版本。已经超过 5 小时了,我仍然无法在 iTunes 上看到更新版本。当我打开 URL 时它仍然显
我正在使用 iTunes Store web service search API 获取歌曲信息. 我遇到的唯一问题是艺术品的分辨率极低(只有 60x60px 或 100x100px 可用)。 art
打算使用iTunes Search API来获取与应用程序相关的信息-http://www.apple.com/itunes/affiliates/resources/documentation/it
我很喜欢使用 iTunes Store,但我很好奇它是基于什么开发的(PHP 和 MySQL、Something Custom?)。 最佳答案 WebObjects 。如今它随 XCode 一起提供,
这与这样的帖子有关:iTunes API: get 100x100 px icon of an App 但是,由于接受答案中描述的方法似乎在某些情况下却被打破了,但仍然是一致的,所以我要问是否有已知的
有没有办法以编程方式与 iTunes 交互以添加新的播放列表或智能 View ? 例如,假设我从网站下载了 10 个新的 mp3 文件,有没有办法以编程方式将这个 mp3 列表添加到名为“New Al
使用 iTunes Link Maker 时一个人会得到一个 http-Link,这非常好,因为它也适用于非 iOS 设备。 但是当我在网页上使用它时,重定向到应用程序的确切时间是什么时候? Safa
有没有办法从 3rd 方应用程序以编程方式将 mp3 添加到我的 iTunes 库? 最佳答案 iTunes 有一个文件夹,您可以在其中放置文件,以便自动将其添加到库中。 C:\Users\Your
我已经搜索了如何在文件系统更改时在 iOS5 中接收回调。我从 Apple 的网站上找到了以下示例,但它仅在删除/创建文件时通知给定的委托(delegate)。 DirectoryWatcher cl
在 Cocoa 应用程序中,我正在寻找一种从 iTunes 检索专辑插图的解决方案,而不需要 iTunes 本身在后台启动和运行。 通常也是唯一的解决方案,Scripting Bridge,以及固有的
嗨,我的应用程序有指向 iTunes 音乐专辑的链接 像这样 http://itunes.apple.com/us/album/better-than-a-hallelujah/id366013643
我有自己的 iTunes Connect 帐户和 Apple 开发者许可证。 现在我加入了现有的开发人员团队,并希望能够将他们的构建上传到 iTunes Connect。 我通过 developer.
到目前为止我已经尝试过了,但仍然很不走运,我的应用程序没有安装到某些设备上。 这是步骤。 添加了 3 台设备的 UDID(2 X iPhone 5、iPad 4)。 修改后的开发配置文件(使用 * A
我正在尝试从 iTunes 搜索 API 获取播客剧集列表。我可以调用 API 并根据搜索词取回所有播客专辑: https://itunes.apple.com/search?media=podcas
我是一名优秀的程序员,十分优秀!