Welcome Guest ( Log In | Register )

> getplaylist fails with iTunes v9
jdh
post 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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Serge
post 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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
jdh
post Mar 21 2010, 09:11 PM
Post #3


Newbie
*

Group: Members
Posts: 7
Joined: 20-February 10
Member No.: 842



QUOTE(Serge @ Mar 10 2010, 10:49 AM) *

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) sad.gif

Jdh
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members: