banshee r3097 - in trunk/banshee: . build src/Extensions src/Extensions/Banshee.Audioscrobbler src/Extensions/Banshee.Audioscrobbler/Banshee.Audioscrobbler src/Extensions/Banshee.Audioscrobbler/Resources
- From: rubenv svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3097 - in trunk/banshee: . build src/Extensions src/Extensions/Banshee.Audioscrobbler src/Extensions/Banshee.Audioscrobbler/Banshee.Audioscrobbler src/Extensions/Banshee.Audioscrobbler/Resources
- Date: Wed, 30 Jan 2008 16:04:35 +0000 (GMT)
Author: rubenv
Date: Wed Jan 30 16:04:35 2008
New Revision: 3097
URL: http://svn.gnome.org/viewvc/banshee?rev=3097&view=rev
Log:
2008-01-30 Ruben Vermeersch <ruben savanne be>
Add the basic files for the Audioscrobbler plugin. Nothing functional yet,
just the boilerplate code for the addin.
* build/build.environment.mk: Add refs for Audioscrobbler.
* configure.ac: Add the Audioscrobbler Makefile.
* src/Extensions/Banshee.Audioscrobbler: Added.
* src/Extensions/Banshee.Audioscrobbler/Banshee.Audioscrobbler: Added.
* src/Extensions/Banshee.Audioscrobbler/Banshee.Audioscrobbler/AudioscrobblerService.cs: Added.
* src/Extensions/Banshee.Audioscrobbler/Makefile.am: Added.
* src/Extensions/Banshee.Audioscrobbler/Resources: Added.
* src/Extensions/Banshee.Audioscrobbler/Resources/Banshee.Audioscrobbler.addin.xml: Added.
* src/Extensions/Makefile.am: Add Audioscrobbler.
Added:
trunk/banshee/src/Extensions/Banshee.Audioscrobbler/
trunk/banshee/src/Extensions/Banshee.Audioscrobbler/Banshee.Audioscrobbler/
trunk/banshee/src/Extensions/Banshee.Audioscrobbler/Banshee.Audioscrobbler/AudioscrobblerService.cs
trunk/banshee/src/Extensions/Banshee.Audioscrobbler/Makefile.am
trunk/banshee/src/Extensions/Banshee.Audioscrobbler/Resources/
trunk/banshee/src/Extensions/Banshee.Audioscrobbler/Resources/Banshee.Audioscrobbler.addin.xml
Modified:
trunk/banshee/ChangeLog
trunk/banshee/build/build.environment.mk
trunk/banshee/configure.ac
trunk/banshee/src/Extensions/Makefile.am
Modified: trunk/banshee/build/build.environment.mk
==============================================================================
--- trunk/banshee/build/build.environment.mk (original)
+++ trunk/banshee/build/build.environment.mk Wed Jan 30 16:04:35 2008
@@ -99,6 +99,7 @@
# Extensions
+REF_EXTENSION_AUDIOSCROBBLER = $(LINK_BANSHEE_SERVICES_DEPS)
REF_EXTENSION_MULTIMEDIAKEYS = $(LINK_BANSHEE_SERVICES_DEPS)
REF_EXTENSION_NOTIFICATIONAREA = $(LINK_BANSHEE_THICKCLIENT_DEPS)
REF_EXTENSION_PLAYQUEUE = $(LINK_BANSHEE_THICKCLIENT_DEPS)
Modified: trunk/banshee/configure.ac
==============================================================================
--- trunk/banshee/configure.ac (original)
+++ trunk/banshee/configure.ac Wed Jan 30 16:04:35 2008
@@ -137,6 +137,7 @@
src/Backends/Banshee.GStreamer/Makefile
src/Extensions/Makefile
+src/Extensions/Banshee.Audioscrobbler/Makefile
src/Extensions/Banshee.MultimediaKeys/Makefile
src/Extensions/Banshee.NotificationArea/Makefile
src/Extensions/Banshee.PlayQueue/Makefile
Added: trunk/banshee/src/Extensions/Banshee.Audioscrobbler/Banshee.Audioscrobbler/AudioscrobblerService.cs
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Extensions/Banshee.Audioscrobbler/Banshee.Audioscrobbler/AudioscrobblerService.cs Wed Jan 30 16:04:35 2008
@@ -0,0 +1,46 @@
+//
+// AudioscrobblerService.cs
+//
+// Authors:
+// Chris Toshok <toshok ximian com>
+// Aaron Bockover <abockover novell com>
+// Ruben Vermeersch <ruben savanne be>
+//
+// Copyright (C) 2005-2008 Novell, Inc.
+// Copyright (C) 2007-2008 Ruben Vermeersch
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using Banshee.ServiceStack;
+
+namespace Banshee.Audioscrobbler
+{
+ public class AudioscrobblerService : IService
+ {
+ public AudioscrobblerService ()
+ {
+ }
+
+ string IService.ServiceName {
+ get { return "AudioscrobblerService"; }
+ }
+ }
+}
Added: trunk/banshee/src/Extensions/Banshee.Audioscrobbler/Makefile.am
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Extensions/Banshee.Audioscrobbler/Makefile.am Wed Jan 30 16:04:35 2008
@@ -0,0 +1,12 @@
+ASSEMBLY = Banshee.Audioscrobbler
+TARGET = library
+LINK = $(REF_EXTENSION_AUDIOSCROBBLER)
+
+SOURCES = \
+ Banshee.Audioscrobbler/AudioscrobblerService.cs
+
+RESOURCES = \
+ Resources/Banshee.Audioscrobbler.addin.xml
+
+include $(top_srcdir)/build/build.mk
+
Added: trunk/banshee/src/Extensions/Banshee.Audioscrobbler/Resources/Banshee.Audioscrobbler.addin.xml
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Extensions/Banshee.Audioscrobbler/Resources/Banshee.Audioscrobbler.addin.xml Wed Jan 30 16:04:35 2008
@@ -0,0 +1,12 @@
+<Addin id="Banshee.Audioscrobbler">
+
+ <Dependencies>
+ <Addin id="Banshee.Services" version="1.0"/>
+ <Addin id="Banshee.ThickClient" version="1.0"/>
+ </Dependencies>
+
+ <Extension path="/Banshee/ServiceManager/Service">
+ <TypeExtensionNode class="Banshee.Audioscrobbler.AudioscrobblerService"/>
+ </Extension>
+
+</Addin>
Modified: trunk/banshee/src/Extensions/Makefile.am
==============================================================================
--- trunk/banshee/src/Extensions/Makefile.am (original)
+++ trunk/banshee/src/Extensions/Makefile.am Wed Jan 30 16:04:35 2008
@@ -1,4 +1,5 @@
SUBDIRS = \
+ Banshee.Audioscrobbler \
Banshee.MultimediaKeys \
Banshee.NotificationArea \
Banshee.PlayQueue
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]