]> git.sesse.net Git - vlc/blobdiff - modules/services_discovery/daap.c
Add/Change x264 options. Patch by Dennis van Amerongen
[vlc] / modules / services_discovery / daap.c
index 2e1f433ca336f825c8d9f11de6b1cd374b50fa9e..87361650c55289552d32075d63d10cf74aad706e 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2004 the VideoLAN team
  * $Id$
  *
- * Authors: Clément Stenac <zorglub@videolan.org>
+ * Authors: Clément Stenac <zorglub@videolan.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@
 #include <vlc/vlc.h>
 #include <vlc/intf.h>
 
-#include "network.h"
+#include "vlc_url.h"
 
 #include <vlc/input.h>
 
@@ -604,10 +604,10 @@ static void ProcessHost( services_discovery_t *p_sd, dhost_t *p_host )
                                                    p_host->p_songs[i].id );
         p_item = playlist_ItemNew( p_sd, psz_buff,
                                          p_host->p_songs[i].itemname );
-        vlc_input_item_AddInfo( &p_item->input, _("Meta-information"),
-                                _("Artist"), p_host->p_songs[i].songartist );
-        vlc_input_item_AddInfo( &p_item->input, _("Meta-information"),
-                                _("Album"), p_host->p_songs[i].songalbum );
+        vlc_input_item_AddInfo( &p_item->input, _(VLC_META_INFO_CAT),
+                                _(VLC_META_ARTIST), p_host->p_songs[i].songartist );
+        vlc_input_item_AddInfo( &p_item->input, _(VLC_META_INFO_CAT),
+                                _(VLC_META_COLLECTION), p_host->p_songs[i].songalbum );
 
         playlist_NodeAddItem( p_playlist, p_item, VIEW_CATEGORY,
                               p_host->p_node, PLAYLIST_APPEND, PLAYLIST_END );