Skip to content

Commit

Permalink
first threaded xsn poller with configuration and live feed deserializ…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
bietiekay committed Aug 17, 2014
1 parent 93af672 commit c389f1f
Show file tree
Hide file tree
Showing 210 changed files with 50,174 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.DS_Store
sonos-xsn-service/sonos-xsn-service/bin/
sonos-xsn-service/sonos-xsn-service/obj/
sonos-xsn-service/Libraries/Newtonsoft.Json/bin/
sonos-xsn-service/Libraries/Newtonsoft.Json/obj/
23 changes: 23 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Copyright (c) 2014, Daniel Kirstenpfad
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21 changes: 21 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
xenim streaming service SONOS Integration
==========================================

As a frequent podcast listener I am using the xenim streaming service a lot to listen to my favourite podcasts live
shows.

Ever since I've got my SONOS wireless multi-room audio system I wanted to integrate my favourite live podcast service
with the convenience of the SONOS platform.

Aside from supporting a lot of good music services the SONOS platform offers the option to add your own services through
it's great interface.

This application is meant to run on a server reachable by your SONOS system. It will watch out for currently running
live streams on xsn and allows you to listen to them live.

How to set-up
==============

Pre-Requisites:
- .net 4.0 Framework (Windows) or Mono >3.2 (Linux, MacOS)

5 changes: 5 additions & 0 deletions sonos-xsn-service.mdw
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<WorkspaceItem ctype="Workspace">
<Items>
<Item>sonos-xsn-service/sonos-xsn-service.sln</Item>
</Items>
</WorkspaceItem>
8 changes: 8 additions & 0 deletions sonos-xsn-service.userprefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Properties>
<MonoDevelop.Ide.Workspace />
<MonoDevelop.Ide.Workbench />
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
</Properties>
44 changes: 44 additions & 0 deletions sonos-xsn-service/Libraries/Newtonsoft.Json/Bson/BsonBinaryType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#region License
// Copyright (c) 2007 James Newton-King
//
// 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.
#endregion

using System;

namespace Newtonsoft.Json.Bson
{
internal enum BsonBinaryType : byte
{
Binary = 0x00,
Function = 0x01,

[Obsolete("This type has been deprecated in the BSON specification. Use Binary instead.")]
BinaryOld = 0x02,

[Obsolete("This type has been deprecated in the BSON specification. Use Uuid instead.")]
UuidOld = 0x03,
Uuid = 0x04,
Md5 = 0x05,
UserDefined = 0x80
}
}
Loading

0 comments on commit c389f1f

Please sign in to comment.