aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-06 12:41:29 +0100
committerMax Kellermann <max@duempel.org>2008-12-06 12:41:29 +0100
commit7ab9b9714f8710c4498c3296eed6e8a91eb67c65 (patch)
tree955a85bee2c11db89fb5f80cd9a8fcac85e2b75c
parent3cff7b547795bdeeea44dc54bc851e70bfc7b40f (diff)
downloadmpd-7ab9b9714f8710c4498c3296eed6e8a91eb67c65.tar.gz
mpd-7ab9b9714f8710c4498c3296eed6e8a91eb67c65.tar.xz
mpd-7ab9b9714f8710c4498c3296eed6e8a91eb67c65.zip
added missing copyright headers
-rwxr-xr-xlyrics/hd.sh20
-rwxr-xr-xlyrics/leoslyrics.py20
-rwxr-xr-xlyrics/lyricswiki.rb20
-rw-r--r--src/colors.h19
-rw-r--r--src/command.h19
-rw-r--r--src/conf.h19
-rw-r--r--src/lirc.c19
-rw-r--r--src/lirc.h19
-rw-r--r--src/list_window.h19
-rw-r--r--src/ncmpc.h19
-rw-r--r--src/options.h19
-rw-r--r--src/screen.h19
-rw-r--r--src/screen_play.h18
-rw-r--r--src/screen_utils.h19
-rw-r--r--src/strfsong.h19
-rw-r--r--src/support.h19
-rw-r--r--src/utils.h19
-rw-r--r--src/wreadln.h19
18 files changed, 338 insertions, 6 deletions
diff --git a/lyrics/hd.sh b/lyrics/hd.sh
index 4bcbce4bb..2480e5a2f 100755
--- a/lyrics/hd.sh
+++ b/lyrics/hd.sh
@@ -1,8 +1,24 @@
#!/bin/sh -e
#
-# Load lyrics from the user's home directory
+# (c) 2004-2008 The Music Player Daemon Project
+# http://www.musicpd.org/
+#
+# 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; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# Author: Max Kellermann <max@duempel.org>
+
+#
+# Load lyrics from the user's home directory
#
cat ~/.lyrics/"$1 - $2".txt 2>/dev/null
diff --git a/lyrics/leoslyrics.py b/lyrics/leoslyrics.py
index 1e8975910..5e4f8c832 100755
--- a/lyrics/leoslyrics.py
+++ b/lyrics/leoslyrics.py
@@ -1,8 +1,24 @@
#!/usr/bin/python
#
-# Load lyrics from leoslyrics.com
+# (c) 2004-2008 The Music Player Daemon Project
+# http://www.musicpd.org/
+#
+# 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; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# Author: Max Kellermann <max@duempel.org>
+
+#
+# Load lyrics from leoslyrics.com
#
from sys import argv, exit
diff --git a/lyrics/lyricswiki.rb b/lyrics/lyricswiki.rb
index 39aa4a5b7..148cd88db 100755
--- a/lyrics/lyricswiki.rb
+++ b/lyrics/lyricswiki.rb
@@ -1,8 +1,24 @@
#!/usr/bin/env ruby
#
-# Load lyrics from lyricswiki.org
+# (c) 2004-2008 The Music Player Daemon Project
+# http://www.musicpd.org/
+#
+# 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; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# Author: Max Kellermann <max@duempel.org>
+
+#
+# Load lyrics from lyricswiki.org
#
require 'uri'
diff --git a/src/colors.h b/src/colors.h
index dec3ecd28..7d1a7344e 100644
--- a/src/colors.h
+++ b/src/colors.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#ifndef COLORS_H
#define COLORS_H
diff --git a/src/command.h b/src/command.h
index 0c928930e..ef1fee2e8 100644
--- a/src/command.h
+++ b/src/command.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#ifndef COMMAND_H
#define COMMAND_H
diff --git a/src/conf.h b/src/conf.h
index 3203a2d43..d18eeff93 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#include "options.h"
int check_user_conf_dir(void);
diff --git a/src/lirc.c b/src/lirc.c
index 0982bd38d..fb54c3801 100644
--- a/src/lirc.c
+++ b/src/lirc.c
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#include <lirc/lirc_client.h>
#include "lirc.h"
#include "ncmpc.h"
diff --git a/src/lirc.h b/src/lirc.h
index a3045a206..199ef58ad 100644
--- a/src/lirc.h
+++ b/src/lirc.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#ifndef LIRC_H
#define LIRC_H
diff --git a/src/list_window.h b/src/list_window.h
index 8e9411acb..2c328b6ac 100644
--- a/src/list_window.h
+++ b/src/list_window.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#ifndef LIST_WINDOW_H
#define LIST_WINDOW_H
diff --git a/src/ncmpc.h b/src/ncmpc.h
index 9e4703b57..d7d15e2e5 100644
--- a/src/ncmpc.h
+++ b/src/ncmpc.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#ifndef NCMPC_H
#define NCMPC_H
diff --git a/src/options.h b/src/options.h
index 98ad3156e..a0c90bf21 100644
--- a/src/options.h
+++ b/src/options.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#ifndef OPTIONS_H
#define OPTIONS_H
diff --git a/src/screen.h b/src/screen.h
index 54d37dd58..4478688e3 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#ifndef SCREEN_H
#define SCREEN_H
diff --git a/src/screen_play.h b/src/screen_play.h
index 3ff3cb02a..5bf54cdad 100644
--- a/src/screen_play.h
+++ b/src/screen_play.h
@@ -1,2 +1,20 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
int playlist_save(mpdclient_t *c, char *name, char *defaultname);
diff --git a/src/screen_utils.h b/src/screen_utils.h
index 8e0f86d58..26d0e4b1f 100644
--- a/src/screen_utils.h
+++ b/src/screen_utils.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#ifndef SCREEN_UTILS_H
#define SCREEN_UTILS_H
diff --git a/src/strfsong.h b/src/strfsong.h
index 7770a8698..2ed560808 100644
--- a/src/strfsong.h
+++ b/src/strfsong.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#ifndef STRFSONG_H
#define STRFSONG_H
diff --git a/src/support.h b/src/support.h
index f7c08325d..48786e8e2 100644
--- a/src/support.h
+++ b/src/support.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#ifndef SUPPORT_H
#define SUPPORT_H
diff --git a/src/utils.h b/src/utils.h
index 0fb1c6868..dc91bdbd7 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#ifndef UTILS_H
#define UTILS_H
diff --git a/src/wreadln.h b/src/wreadln.h
index e745025d3..1864e25bd 100644
--- a/src/wreadln.h
+++ b/src/wreadln.h
@@ -1,3 +1,22 @@
+/*
+ * (c) 2004-2008 The Music Player Daemon Project
+ * http://www.musicpd.org/
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
#ifndef WREADLN_H
#define WREADLN_H