2
* Copyright (C) 2002 Jorn Baayen <jorn@nl.linux.org>
3
* Copyright (C) 2003,2004 Colin Walters <walters@redhat.com>
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
* Playlist XML tags and attributes
25
#ifndef __RB_PLAYLIST_XML_H
26
#define __RB_PLAYLIST_XML_H
28
#include <libxml/tree.h>
30
#define RB_PLAYLIST_XML_VERSION "1.0"
32
#define RB_PLAYLIST_PLAYLIST (xmlChar *) "playlist"
34
/* common attributes for all playlists */
35
#define RB_PLAYLIST_TYPE (xmlChar *) "type"
36
#define RB_PLAYLIST_NAME (xmlChar *) "name"
38
/* values for the 'type' attribute */
39
#define RB_PLAYLIST_AUTOMATIC (xmlChar *) "automatic"
40
#define RB_PLAYLIST_STATIC (xmlChar *) "static"
42
/* attributes for static playlists */
43
#define RB_PLAYLIST_LOCATION (xmlChar *) "location"
45
/* attributes for auto playlists */
46
#define RB_PLAYLIST_LIMIT_COUNT (xmlChar *) "limit-count"
47
#define RB_PLAYLIST_LIMIT_SIZE (xmlChar *) "limit-size"
48
#define RB_PLAYLIST_LIMIT_TIME (xmlChar *) "limit-time"
49
#define RB_PLAYLIST_SORT_KEY (xmlChar *) "sort-key"
50
#define RB_PLAYLIST_SORT_DIRECTION (xmlChar *) "sort-direction"
51
#define RB_PLAYLIST_LIMIT (xmlChar *) "limit"
53
#endif /* __RB_PLAYLIST_XML_H */