getplaylist fails with iTunes v9 |
getplaylist fails with iTunes v9 |
jdh |
Feb 20 2010, 01:50 AM
Post
#1
|
Newbie Group: Members Posts: 7 Joined: 20-February 10 Member No.: 842 |
Hi,
I'm using AMIP SDK v1.4, but am unable to get a playlist when using iTunes v9. Even the supplied getplaylist example fails in: int code = ac_get_pl(); LeaveCriticalSection(&cs_list); if (code != AC_ERR_NOERROR) { printf("Failed to get playlist: %d\n", code); It reports: Failed to get playlist: 3 When using WinAmp or foobar2000 then getplaylist works just fine! Just wondering if I'm doing something wrong or if it simply does not work with iTunes v9. Thanks, Jdh |
Serge |
Mar 10 2010, 02:49 PM
Post
#2
|
AMIP Developer Group: Root Admin Posts: 935 Joined: 12-March 06 Member No.: 1 |
In case your playlist is large, it can timeout. Try increasing the timeouts.
|
jdh |
Mar 21 2010, 09:11 PM
Post
#3
|
Newbie Group: Members Posts: 7 Joined: 20-February 10 Member No.: 842 |
In case your playlist is large, it can timeout. Try increasing the timeouts. Thanks Serge, Yes the playlist is indeed lager, about 3700 songs. But even increasing the timeout to 1800000, i.e. 30 minutes, gives the same error 3, aka AC_ERR_CONNECTIONFAILED. I've changed the timeout on both ac_init_client and ac_init_client! I just have not found a way to make getplaylist work (on larger playlists) Jdh |