diff src/streambrowser/streambrowser.c @ 2811:7977bdc02664

added GPL headers
author Calin Crisan ccrisan@gmail.com
date Sat, 12 Jul 2008 13:55:57 +0300
parents b1e4929e0990
children cc6f02424609
line wrap: on
line diff
--- a/src/streambrowser/streambrowser.c	Sat Jul 12 13:47:22 2008 +0300
+++ b/src/streambrowser/streambrowser.c	Sat Jul 12 13:55:57 2008 +0300
@@ -1,3 +1,21 @@
+/*
+ * Audacious Streambrowser Plugin
+ *
+ * Copyright (c) 2008 Calin Crisan <ccrisan@gmail.com>
+ *
+ * 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
+ * the Free Software Foundation; under version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses>.
+ */
+
 
 #include <stdlib.h>
 #include <gtk/gtk.h>
@@ -390,7 +408,7 @@
     }
     debug("stream playlist '%s' successfuly downloaded to '%s'\n", streaminfo->playlist_url, PLAYLIST_TEMP_FILE);
 
-   	aud_playlist_add(aud_playlist_get_active(), PLAYLIST_TEMP_FILE);
+   	aud_playlist_add_url(aud_playlist_get_active(), PLAYLIST_TEMP_FILE);
 }
 
 static void on_plugin_services_menu_item_click()