Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Refactor #97

Open
wants to merge 100 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
d2d8da3
remove notify. if provided from notify entity
iloveicedgreentea Feb 14, 2024
96bdb07
implement hdmi sync for plex
iloveicedgreentea Feb 23, 2024
76a5c9c
normalize envy name
iloveicedgreentea Feb 24, 2024
6aebdd3
implement sync for JF, improve misc
iloveicedgreentea Feb 24, 2024
bbff4e9
try to read atmos from file name
iloveicedgreentea Feb 24, 2024
0675f6b
fix typo
iloveicedgreentea Feb 24, 2024
7d8ca06
force rebuild
iloveicedgreentea Feb 24, 2024
c8cd6d2
no cache
iloveicedgreentea Feb 24, 2024
114c8b7
copy latest web
iloveicedgreentea Feb 24, 2024
78b4386
try to fix pr builds
iloveicedgreentea Feb 25, 2024
065dbbd
try implement AVR codec
iloveicedgreentea Feb 26, 2024
75b351d
improve matching
iloveicedgreentea Feb 26, 2024
879b079
remove need for scheme
iloveicedgreentea Feb 26, 2024
61d4e1a
improve speed of light action
iloveicedgreentea Feb 26, 2024
d97b388
fix req
iloveicedgreentea Feb 26, 2024
6cecba1
add timing instrumentation
iloveicedgreentea Feb 26, 2024
b174147
scaffolding for context
iloveicedgreentea Feb 27, 2024
2d47e30
improve log
iloveicedgreentea Feb 27, 2024
05323a7
missing return
iloveicedgreentea Feb 27, 2024
59f615b
add test endpoint
iloveicedgreentea Apr 29, 2024
72265f3
update docker
iloveicedgreentea Apr 29, 2024
dcdab92
case insensitive comparison for stuff
iloveicedgreentea Jun 2, 2024
1e80289
update field description
iloveicedgreentea Jun 2, 2024
9725b3f
update deps
iloveicedgreentea Jun 2, 2024
c8f6f3d
add support for TZ
iloveicedgreentea Jun 2, 2024
cabf4b1
update toolchain
iloveicedgreentea Jun 2, 2024
86d46b0
dont assume scheme
iloveicedgreentea Jun 6, 2024
616437e
update deps
iloveicedgreentea Jun 26, 2024
836a807
feat: start refactor
iloveicedgreentea Jul 4, 2024
39fc83d
fix: structure
iloveicedgreentea Jul 4, 2024
3a33e9a
working on more changes
iloveicedgreentea Jul 11, 2024
d62c507
feat: start event driven workflow
iloveicedgreentea Aug 3, 2024
ec1e318
flesh out webhooks
iloveicedgreentea Aug 4, 2024
c60006a
update tests, catch empty bodies
iloveicedgreentea Aug 4, 2024
f43f031
improve tests
iloveicedgreentea Aug 4, 2024
d68b113
rewrite most components
iloveicedgreentea Aug 8, 2024
c573e02
porting more code
iloveicedgreentea Aug 9, 2024
a6e0093
fix log
iloveicedgreentea Aug 9, 2024
49f6f8b
fixing more
iloveicedgreentea Aug 9, 2024
28b9ec1
fix code
iloveicedgreentea Aug 9, 2024
5babbfa
move sync, split common, fix events
iloveicedgreentea Aug 11, 2024
e94a451
start main loop
iloveicedgreentea Aug 11, 2024
d24a8a7
add config stuff
iloveicedgreentea Aug 19, 2024
80c6f68
add database based configs
iloveicedgreentea Aug 20, 2024
42dfe20
misc fixes
iloveicedgreentea Aug 20, 2024
a095fce
feat: match short hand beq catalogue
iloveicedgreentea Nov 11, 2024
7ff38a6
fix: url scheme for ezbeq, better edition matching
iloveicedgreentea Nov 14, 2024
afcd8b1
improve config, add new opts
iloveicedgreentea Nov 15, 2024
7fe0946
fix requests, support new opts
iloveicedgreentea Nov 15, 2024
9afbce9
remove mqtt and actions
iloveicedgreentea Nov 26, 2024
8a7d004
use retryable
iloveicedgreentea Dec 6, 2024
6f21ee4
config
iloveicedgreentea Dec 6, 2024
cdd41e1
test
iloveicedgreentea Dec 6, 2024
6c1f642
linter
iloveicedgreentea Dec 6, 2024
8ed4155
passing ezbeq tests
iloveicedgreentea Dec 6, 2024
b3f9242
remove mqtt, fix all tests, redo HA
iloveicedgreentea Dec 11, 2024
883b12d
just, tests
iloveicedgreentea Dec 11, 2024
804f53f
db frontend working
iloveicedgreentea Dec 11, 2024
2bf3c0c
add packages
iloveicedgreentea Dec 11, 2024
e7f2b0a
basic react rewrite
iloveicedgreentea Dec 13, 2024
54c7832
use toasts
iloveicedgreentea Dec 13, 2024
7599dd1
improve UI
iloveicedgreentea Dec 14, 2024
ccc761e
add logs
iloveicedgreentea Dec 14, 2024
7467b73
improve logger
iloveicedgreentea Dec 14, 2024
6f1e1e5
readme
iloveicedgreentea Dec 14, 2024
beca677
upgrade deps
iloveicedgreentea Dec 14, 2024
eebe0c4
Merge pull request #90 from iloveicedgreentea/refactor
iloveicedgreentea Dec 14, 2024
fde972e
fix path
iloveicedgreentea Dec 14, 2024
bf17246
Merge branch 'master' into develop
iloveicedgreentea Dec 14, 2024
30cc965
fix docker
iloveicedgreentea Dec 14, 2024
3e78360
improve log view
iloveicedgreentea Dec 14, 2024
3e87333
fix logs in docker
iloveicedgreentea Dec 14, 2024
28fb051
copy files
iloveicedgreentea Dec 14, 2024
54bae53
try fix actions
iloveicedgreentea Dec 15, 2024
5399a2c
fix gitignore
iloveicedgreentea Dec 15, 2024
c3fb608
fix: set url in docker
iloveicedgreentea Dec 17, 2024
7de0714
fix: endpoints
iloveicedgreentea Dec 17, 2024
4bf75e5
decompose client code, tests
iloveicedgreentea Dec 24, 2024
1d1003a
fix waitgroup
iloveicedgreentea Dec 24, 2024
7cce3ec
log
iloveicedgreentea Dec 24, 2024
fafa599
fix getting years
iloveicedgreentea Dec 24, 2024
19eba73
more logs
iloveicedgreentea Dec 24, 2024
910b5a7
add context management, pause, stop, etc
iloveicedgreentea Dec 24, 2024
4cccbd1
complete some todos
iloveicedgreentea Dec 24, 2024
50b4c92
update readme
iloveicedgreentea Dec 24, 2024
dc11e27
add panic logger
iloveicedgreentea Dec 31, 2024
7fb4587
remove supervisor, adjust panic handler
iloveicedgreentea Dec 31, 2024
7545c0a
fix docs
iloveicedgreentea Dec 31, 2024
7b069f5
add device profile view to dashboard
iloveicedgreentea Dec 31, 2024
252a32d
docs, fix error display
iloveicedgreentea Jan 1, 2025
48e830f
doc
iloveicedgreentea Jan 1, 2025
83e1cc6
add scheme
iloveicedgreentea Jan 3, 2025
e6afbb3
dont add year if blank
iloveicedgreentea Jan 4, 2025
66c5262
add uuid/owner filter, sync, tests
iloveicedgreentea Jan 15, 2025
d74b852
fix tests
iloveicedgreentea Jan 15, 2025
fad3232
bump action
iloveicedgreentea Jan 15, 2025
9b587f9
improve filters, reduce logspam
iloveicedgreentea Jan 25, 2025
e19c01e
fix stupid boolean bug
iloveicedgreentea Jan 27, 2025
711d06f
fix log date display
iloveicedgreentea Jan 27, 2025
0acd36f
support IsBeqTVEnabled
iloveicedgreentea Jan 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix docs
iloveicedgreentea committed Dec 31, 2024
commit 7545c0a37588b7660eb694adf5ffde44a0835fd4
4 changes: 2 additions & 2 deletions docs/setup_plex.md
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@
## Plex
1) get your player UUID from `https://plex.tv/devices.xml` while logged in (you may need to play something)
* https://plex.tv/devices.xml?X-Plex-Token=xyz [Getting plex token](https://support.plex.tv/articles/206721658-using-plex-tv-resources-information-to-troubleshoot-app-connections/)
2) Set up Plex to send webhooks to your server IP, port 9999, and the handler endpoint of `/webhook`
* e.g `(your-server-ip):3000/webhook`
2) Set up Plex to send webhooks to your server IP, port 9999, and the handler endpoint of `/api/webhook`
* e.g `(your-server-ip):3000/api/webhook`
3) Whitelist your server IP in Plex so it can call the API without authentication. [Docs](https://support.plex.tv/articles/200890058-authentication-for-local-network-access/)
4) Add UUID and user filters to the application config
5) Play a movie and check server logs. It should say what it loaded
4 changes: 2 additions & 2 deletions internal/mediaplayer/player.go
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ func HandlePlay(ctx context.Context, payload *models.Event, wg *sync.WaitGroup,
}
log.Info("BEQ profile loaded")
// send notification of it loaded
if config.IsBeqNotifyOnLoadEnabled() && homeAssistantClient != nil {
if config.IsBeqNotifyOnLoadEnabled() && config.IsHomeAssistantEnabled() {
err := homeAssistantClient.SendNotification(fmt.Sprintf("BEQ Profile: Title - %s (%d) // Codec %s", payload.Metadata.Title, payload.Metadata.Year, searchRequest.Codec))
if err != nil {
return err
@@ -129,7 +129,7 @@ func HandlePause(ctx context.Context, payload *models.Event, wg *sync.WaitGroup,
}
log.Info("BEQ profile unloaded")
// send notification of it loaded
if config.IsBeqNotifyOnUnLoadEnabled() && homeAssistantClient != nil {
if config.IsBeqNotifyOnUnLoadEnabled() && config.IsHomeAssistantEnabled() {
err := homeAssistantClient.SendNotification("BEQ Profile Unloaded")
if err != nil {
return err
8 changes: 3 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
@@ -73,17 +73,15 @@ You can also check application logs. It will fetch logs on the page automaticall

Not up to date

`/plexwebhook`
`/api/webhook`

`/jellyfin`

`/minidspwebhook`
`/api/minidsp`
This endpoint accepts commands used by minidsp-rs which are performed by EZbeq. Here is how to trigger it with Home Assistant

```yaml
rest_command:
minidsp:
url: "http://192.168.88.56:9999/minidspwebhook"
url: "http://192.168.88.56:9999/api/minidsp"
method: POST
payload: '{"command": "{{ command }}" }'
content_type: 'application/json'