~ubuntu-branches/ubuntu/trusty/mpd/trusty

« back to all changes in this revision

Viewing changes to src/ls.c

  • Committer: Bazaar Package Importer
  • Author(s): Angel Abad
  • Date: 2011-02-02 12:26:30 UTC
  • mfrom: (1.5.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110202122630-bdyx8w4k94doz4fs
Tags: 0.16.1-1ubuntu1
* Merge from debian unstable. Remaining changes:
  - debian/control:
    + Don't build-depend on libmikmod2-dev (Debian bug #510675).
    + Move avahi-daemon from Suggests field to Recommends field.
  - debian/mpd.init.d:
    + Read mpd user from mpd.conf.
  - debian/control, debian/rules:
    + Add libmp3lame-dev to the build dependencies and enable lame.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2003-2009 The Music Player Daemon Project
 
2
 * Copyright (C) 2003-2010 The Music Player Daemon Project
3
3
 * http://www.musicpd.org
4
4
 *
5
5
 * This program is free software; you can redistribute it and/or modify
17
17
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
18
 */
19
19
 
 
20
#include "config.h"
20
21
#include "ls.h"
21
22
#include "uri.h"
22
23
#include "client.h"
23
 
#include "config.h"
24
24
 
25
25
#include <assert.h>
26
26
#include <string.h>
32
32
  * connected by IPC socket.
33
33
  */
34
34
static const char *remoteUrlPrefixes[] = {
35
 
#ifdef HAVE_CURL
 
35
#ifdef ENABLE_CURL
36
36
        "http://",
37
37
#endif
38
 
#ifdef ENABLE_LASTFM
39
 
        "lastfm://",
40
 
#endif
41
38
#ifdef ENABLE_MMS
42
39
        "mms://",
43
40
        "mmsh://",
44
41
        "mmst://",
45
42
        "mmsu://",
46
43
#endif
 
44
#ifdef HAVE_FFMPEG
 
45
        "gopher://",
 
46
        "rtp://",
 
47
        "rtsp://",
 
48
        "rtmp://",
 
49
        "rtmpt://",
 
50
        "rtmps://",
 
51
#endif
47
52
        NULL
48
53
};
49
54