Subversion Repositories mdb

Rev

Rev 29 | Rev 50 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29 Rev 32
Line 57... Line 57...
57
typedef struct
57
typedef struct
58
{
58
{
59
	int id;					/* The uniqie id of the music file */
59
	int id;					/* The uniqie id of the music file */
60
	int played;				/* TRUE = File was already played. This is used only when playing randomly. */
60
	int played;				/* TRUE = File was already played. This is used only when playing randomly. */
61
	char path[512];			/* The full path to the music file */
61
	char path[512];			/* The full path to the music file */
-
 
62
	int fType;				/* The file type of "path" */
62
	char title[256];		/* The title of the song */
63
	char title[256];		/* The title of the song */
63
	char artist[256];		/* The artist of the song */
64
	char artist[256];		/* The artist of the song */
64
	char album[256];		/* The name of the album */
65
	char album[256];		/* The name of the album */
65
	char genre[256];		/* The genre the song belongs to */
66
	char genre[256];		/* The genre the song belongs to */
66
	char cover[512];		/* A path to an optional cover picture */
67
	char cover[512];		/* A path to an optional cover picture */
Line 81... Line 82...
81
int playlistToQueue(int uid, int del);
82
int playlistToQueue(int uid, int del);
82
int QueueToPlaylist(int s1, char *user, char *playlist);
83
int QueueToPlaylist(int s1, char *user, char *playlist);
83
int readQueue();
84
int readQueue();
84
int scanQueue(int fd);
85
int scanQueue(int fd);
85
void freeQueue();
86
void freeQueue();
-
 
87
int check_command(int s1);
86
 
88
 
87
#endif
89
#endif