How to get SAP announcements?

This forum is about all development around libVLC.
desp
Blank Cone
Blank Cone
Posts: 11
Joined: 20 May 2009 11:59

How to get SAP announcements?

Postby desp » 10 Dec 2009 12:03

Hi there,
i'm trying to get media list from sap with sth like this:

Code: Select all

libvlc_media_list_t *mediaList = libvlc_media_discoverer_media_list(disc); libvlc_media_list_lock(mediaList); int mCount = libvlc_media_list_count(mediaList, &ex); libvlc_media_t *media = libvlc_media_list_item_at_index(mediaList, 0, &ex); char *mrl = libvlc_media_get_mrl(media, &ex); libvlc_media_list_t *subs = libvlc_media_subitems(media, &ex); // <-- trying to get media's childs libvlc_media_list_lock(subs); int sCount = libvlc_media_list_count(subs, &ex); // <-- result is 0 allways :( libvlc_media_list_unlock(subs); /* ... trimmed ... */
There is no any problem if all items are not categorized from SAP (i mean they all are in root - same first level), but i can't get root item's childs (using libvlc_media_subitems()).. Any suggestions? :)

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 17 guests