summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbindings/python/examples/play.py26
-rwxr-xr-xbindings/python/examples/tag-genre-from-audioscrobber.py23
-rw-r--r--bindings/python/gpod.i25
3 files changed, 74 insertions, 0 deletions
diff --git a/bindings/python/examples/play.py b/bindings/python/examples/play.py
index 0d299f8..352e243 100755
--- a/bindings/python/examples/play.py
+++ b/bindings/python/examples/play.py
@@ -1,5 +1,31 @@
#!/usr/bin/python
+## Copyright (C) 2005 Nick Piper <nick-gtkpod at nickpiper co uk>
+## Part of the gtkpod project.
+
+## URL: http://www.gtkpod.org/
+## URL: http://gtkpod.sourceforge.net/
+
+## The code contained in this file is free software; you can redistribute
+## it and/or modify it under the terms of the GNU Lesser General Public
+## License as published by the Free Software Foundation; either version
+## 2.1 of the License, or (at your option) any later version.
+
+## This file 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
+## Lesser General Public License for more details.
+
+## You should have received a copy of the GNU Lesser General Public
+## License along with this code; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+## $Id$
+
+
+# this file is just a little example I use for testing, it doesn't
+# play the music, but plays with the database ;-)
+
import os, os.path
import gpod
import sys
diff --git a/bindings/python/examples/tag-genre-from-audioscrobber.py b/bindings/python/examples/tag-genre-from-audioscrobber.py
index 4a16fb7..205779e 100755
--- a/bindings/python/examples/tag-genre-from-audioscrobber.py
+++ b/bindings/python/examples/tag-genre-from-audioscrobber.py
@@ -1,5 +1,28 @@
#!/usr/bin/python
+## Copyright (C) 2005 Nick Piper <nick-gtkpod at nickpiper co uk>
+## Part of the gtkpod project.
+
+## URL: http://www.gtkpod.org/
+## URL: http://gtkpod.sourceforge.net/
+
+## The code contained in this file is free software; you can redistribute
+## it and/or modify it under the terms of the GNU Lesser General Public
+## License as published by the Free Software Foundation; either version
+## 2.1 of the License, or (at your option) any later version.
+
+## This file 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
+## Lesser General Public License for more details.
+
+## You should have received a copy of the GNU Lesser General Public
+## License along with this code; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+## $Id$
+
+
import os, os.path
import gpod
import sys
diff --git a/bindings/python/gpod.i b/bindings/python/gpod.i
index a516916..a295240 100644
--- a/bindings/python/gpod.i
+++ b/bindings/python/gpod.i
@@ -1,4 +1,29 @@
/* File : gpod.i */
+
+/*
+ Copyright (C) 2005 Nick Piper <nick-gtkpod at nickpiper co uk>
+ Part of the gtkpod project.
+
+ URL: http://www.gtkpod.org/
+ URL: http://gtkpod.sourceforge.net/
+
+ The code contained in this file is free software; you can redistribute
+ it and/or modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either version
+ 2.1 of the License, or (at your option) any later version.
+
+ This file 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this code; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+ $Id$
+*/
+
%module gpod
%{
#include "../../src/db-artwork-debug.h"