X-Git-Url: http://git.maemo.org/git/?p=jamaendo;a=blobdiff_plain;f=jamaui%2F__init__.py;h=7e847ffae19884eed774abc6014de3ada52595cf;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hb=19020e8dae378875c8bfcd7e573ca5e91b1dfa10;hpb=6f8cc2ea415146b8902b20ddf64d720b42a94c8b
diff --git a/jamaui/__init__.py b/jamaui/__init__.py
index e69de29..7e847ff 100644
--- a/jamaui/__init__.py
+++ b/jamaui/__init__.py
@@ -0,0 +1,31 @@
+#!/usr/bin/env python
+#
+# This file is part of Jamaendo.
+# Copyright (c) 2010 Kristoffer Gronlund
+#
+# Jamaendo 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 3 of the License, or
+# (at your option) any later version.
+#
+# Jamaendo 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 Jamaendo. If not, see .
+#
+# Player code heavily based on http://thpinfo.com/2008/panucci/:
+# A resuming media player for Podcasts and Audiobooks
+# Copyright (c) 2008-05-26 Thomas Perl
+# (based on http://pygstdocs.berlios.de/pygst-tutorial/seeking.html)
+#
+
+import logging
+import sys
+
+LOG_FILENAME = '/tmp/jamaendo.log'
+LOG_LEVEL = logging.INFO
+
+logging.basicConfig(filename=LOG_FILENAME,level=LOG_LEVEL, format="%(name)-15s: [%(lineno)4d] %(levelname)-8s %(message)s")