Skip to content

Instantly share code, notes, and snippets.

View btoconnor's full-sized avatar

Brian O'Connor btoconnor

View GitHub Profile
diff --git a/music_assistant/providers/heos/__init__.py b/music_assistant/providers/heos/__init__.py
new file mode 100644
index 00000000..d6e3cb42
--- /dev/null
+++ b/music_assistant/providers/heos/__init__.py
@@ -0,0 +1,510 @@
+"""
+DEMO/TEMPLATE Player Provider for Music Assistant.
+
+This is an empty player provider with no actual implementation.
diff --git a/marketplace-server/src/main/java/com/tidal/marketplace/service/stripe/StripeService.java b/marketplace-server/src/main/java/com/tidal/marketplace/service/stripe/StripeService.java
index 62865df..70392e5 100644
--- a/marketplace-server/src/main/java/com/tidal/marketplace/service/stripe/StripeService.java
+++ b/marketplace-server/src/main/java/com/tidal/marketplace/service/stripe/StripeService.java
@@ -12,65 +12,78 @@ import com.stripe.param.AccountCreateParams;
import com.stripe.param.AccountLinkCreateParams;
import com.stripe.param.checkout.SessionCreateParams;
import com.tidal.marketplace.exception.MarketplaceException;
import com.tidal.marketplace.model.db.ListingEntity;
import com.tidal.marketplace.model.db.ListingOfferingEntity;
diff --git a/tvapp/tuner/base.py b/tvapp/tuner/base.py
index 9a12e96..50195ea 100644
--- a/tvapp/tuner/base.py
+++ b/tvapp/tuner/base.py
@@ -168,28 +168,38 @@ class Tuner:
# self.tunerproc = None
subprocess.call("rm " + STREAMDIR+self.prefix+"*", shell=True)
self.status = 'Stopped'
def check_stream(self, curtime):
diff --git a/tvapp/tuner/antenna.py b/tvapp/tuner/antenna.py
index f6c9615..f34105b 100644
--- a/tvapp/tuner/antenna.py
+++ b/tvapp/tuner/antenna.py
@@ -85,119 +85,136 @@ class AntennaTuner(Tuner):
"WMPB", # PBS
"CW", # CW
]
def __init__(self, url, prefix, type_, channels, channel_file_location):
diff --git a/tvapp/tuner/antenna.py b/tvapp/tuner/antenna.py
index f6c9615..f34105b 100644
--- a/tvapp/tuner/antenna.py
+++ b/tvapp/tuner/antenna.py
@@ -97,9 +97,11 @@ class AntennaTuner(Tuner):
Tuner.__init__(self, "unused_str_adapter_%s" % url, prefix, type_)
self.encoder_cmd = None
self.tuner_cmd = None
+ self.monitor_cmd = None
diff --git a/fw/main/CMakeLists.txt b/fw/main/CMakeLists.txt
index f8b09c7..c4c2552 100644
--- a/fw/main/CMakeLists.txt
+++ b/fw/main/CMakeLists.txt
@@ -1,5 +1,5 @@
idf_component_register(
SRCS "main.c" "battery.c" "bme280.c" "datalog.c" "deepsleep.c"
- "network.c" "ota.c" "mqtt.c"
+ "network.c" "ota.c" "mqtt.c" "homeassistant.c"
INCLUDE_DIRS "."
/home/brian/Programming/breakbase/app/javascript/components/WatsonAndHolmes/Private/Layout.tsx: SyntaxError: Unexpected token, expected "}" (55:32)
53 | <WatsonAndHolmesPrivateBoard
54 | currentUserId={currentOccupant.user.id}
> 55 | game={room.game! as PrivateWatsonAndHolmesGame}
| ^
56 | showCase={showCase}
57 | />
58 | );
;; Please create a Gist with the contents of this buffer.
;; MAKE SURE TO REMOVE ANY SENSITIVE INFORMATION FIRST
(:emacs-version "GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14)\n of 2020-03-26, modified by Debian" :prettier-el-version "1.0.0" :buffer-file-name "/home/brian/Programming/breakbase/app/javascript/components/WatsonAndHolmes/Private/Board/components/CarriageStop.tsx" :remote-id nil :major-mode web-mode :exec-path
("/home/brian/.rvm/gems/ruby-2.7.1/bin" "/home/brian/.rvm/gems/ruby-2.7.1@global/bin" "/home/brian/.rvm/rubies/ruby-2.7.1/bin" "/home/brian/.rvm/bin" "/home/brian/.local/bin" "/home/brian/.local/bin" "/home/brian/.nvm/versions/node/v12.16.3/bin" "/usr/local/sbin" "/usr/local/bin" "/usr/sbin" "/usr/bin" "/sbin" "/bin" "/usr/games" "/usr/local/games" "/snap/bin" "/usr/lib/emacs/26.3/x86_64-linux-gnu")
:env
("_=/usr/bin/emacs" "OLDPWD=/home/brian/Programming/breakbase" "rvm_path=/home/brian/.rvm" "IRBRC=/home/brian/.rvm/ru
diff --git a/app/models/product_application.rb b/app/models/product_application.rb
index 5aeae567e9..8c8ef6c649 100644
--- a/app/models/product_application.rb
+++ b/app/models/product_application.rb
@@ -107,4 +107,29 @@ class ProductApplication < ApplicationRecord
validates :ein, format: { with: /\A\d{2}-\d{7}/ }, allow_blank: true
validates :business_property_own_or_lease, inclusion: { in: [BUSINESS_PROPERTY_OWN, BUSINESS_PROPERTY_LEASE] }, allow_blank: true
+
+ # The attributes being validated below are those that should be present in the event that they went through simple app. That being said
diff --git a/app/models/product_application.rb b/app/models/product_application.rb
index 5aeae567e9..8c8ef6c649 100644
--- a/app/models/product_application.rb
+++ b/app/models/product_application.rb
@@ -107,4 +107,29 @@ class ProductApplication < ApplicationRecord
validates :ein, format: { with: /\A\d{2}-\d{7}/ }, allow_blank: true
validates :business_property_own_or_lease, inclusion: { in: [BUSINESS_PROPERTY_OWN, BUSINESS_PROPERTY_LEASE] }, allow_blank: true
+
+ # The attributes being validated below are those that should be present in the event that they went through simple app. That being said