? contrib/feeds/audio_feeds_xspf_player.info
? contrib/feeds/audio_feeds_xspf_player.module
Index: contrib/feeds/audio_feeds.admin.inc
===================================================================
RCS file: contrib/feeds/audio_feeds.admin.inc
diff -N contrib/feeds/audio_feeds.admin.inc
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ contrib/feeds/audio_feeds.admin.inc	17 Oct 2009 00:27:50 -0000
@@ -0,0 +1,17 @@
+<?php
+// $Id$
+
+/**
+ * Settings form.
+ */
+function audio_feeds_admin() {
+  $form['audio_feeds_feed_links'] = array(
+    '#type' => 'checkboxes',
+    '#title' => t('Display feed links'),
+    '#options' => array('m3u' => t('M3U'), 'pls' => t('PLS'), 'xspf' => t('XSPF')),
+    '#default_value' => variable_get('audio_feeds_feed_links', array('m3u', 'pls', 'xspf')),
+    '#description' => t('If audio feeds are enabled on some content types, only those links that are checked here will be displayed. Keep in mind that this is only a display option and that clever users might still be able to find the paths of feeds that are not displayed.'),
+  );
+
+  return system_settings_form($form);
+}
Index: contrib/feeds/audio_feeds.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/audio/contrib/feeds/audio_feeds.module,v
retrieving revision 1.7
diff -u -F^function -r1.7 audio_feeds.module
--- contrib/feeds/audio_feeds.module	14 Sep 2009 04:40:57 -0000	1.7
+++ contrib/feeds/audio_feeds.module	17 Oct 2009 00:27:50 -0000
@@ -48,7 +48,7 @@ function audio_feeds_link($type, $node =
 
   if (variable_get('audio_feeds_attach_'. $node->type, 0)) {
     // Add audio playlist feed links.
-    $feed_links = variable_get('audio_feeds_feed_links', array('m3u', 'pls', 'xspf', 'popup'));
+    $feed_links = variable_get('audio_feeds_feed_links', array('m3u', 'pls', 'xspf'));
     foreach ($feed_links as $key => $type) {
       switch ((string)$type) {
         case 'm3u':
@@ -112,6 +112,14 @@ function audio_feeds_menu() {
     'file' => 'audio_feeds.feeds.inc',
     'type' => MENU_CALLBACK,
   );
+  $items['admin/settings/audio/feeds'] = array(
+    'title' => 'Feeds',
+    'page callback' => 'drupal_get_form',
+    'page arguments' => array('audio_feeds_admin'),
+    'access arguments' => array('administer audio'),
+    'file' => 'audio_feeds.admin.inc',
+    'type' => MENU_LOCAL_TASK,
+  );
 
   return $items;
 }
