bonjour: change server item type to directory
authorThomas Guillem <thomas@gllm.fr>
Wed, 13 Apr 2016 17:39:28 +0000 (19:39 +0200)
committerThomas Guillem <thomas@gllm.fr>
Thu, 14 Apr 2016 09:15:44 +0000 (11:15 +0200)
An item becomes a node once it's opened by the playlist.

modules/services_discovery/bonjour.m

index f9dd45c..673f71d 100644 (file)
@@ -197,7 +197,7 @@ struct services_discovery_sys_t
         input_item_t *p_input_item = input_item_NewWithTypeExt([uri UTF8String],
                                                                [aNetService.name UTF8String],
                                                                0, NULL, 0, -1,
         input_item_t *p_input_item = input_item_NewWithTypeExt([uri UTF8String],
                                                                [aNetService.name UTF8String],
                                                                0, NULL, 0, -1,
-                                                               ITEM_TYPE_NODE, true );
+                                                               ITEM_TYPE_DIRECTORY, true );
 
         if (p_input_item != NULL) {
             services_discovery_AddItem(self.p_sd, p_input_item, NULL);
 
         if (p_input_item != NULL) {
             services_discovery_AddItem(self.p_sd, p_input_item, NULL);