Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
f2da86c
add Directory service skeleton
honusz Oct 4, 2022
3368a62
Receive response on DirectorySvc
honusz Oct 4, 2022
576c60e
working listen mode
honusz Oct 5, 2022
ea62f5c
Working Statemap
honusz Oct 6, 2022
92182d4
Discovery Peers
honusz Oct 6, 2022
fe411ff
filetransfer working
honusz Oct 6, 2022
2f84947
blargh works again
honusz Oct 8, 2022
6e7acf6
working occ error
honusz Oct 8, 2022
3c14ba9
async ondata still occasional errors
honusz Oct 8, 2022
50b07e9
DeviceIdClass
honusz Oct 10, 2022
aaaba4b
okay, fixed I think. cept getFile
honusz Oct 10, 2022
720703d
working???? maybe!!
honusz Oct 10, 2022
2bc114b
yes! Working! Fml..
honusz Oct 11, 2022
9cddec9
MASSIVE cleanup
honusz Oct 11, 2022
e5a52ae
Handle disconect msg via fltx
honusz Oct 11, 2022
8c96ec7
Small timestamp fix
Oct 11, 2022
282a7cf
some small fixes
honusz Oct 11, 2022
a0001cd
Added Listener Preface to ReadMe
honusz Oct 11, 2022
544b5ee
ReadMe typos
honusz Oct 11, 2022
2b02753
More ReadMe Fixes
honusz Oct 11, 2022
d868c40
Merge pull request #1 from honusz/Listener
honusz Oct 11, 2022
af0550e
Merge pull request #4 from honusz/Listener
chrisle Oct 12, 2022
4e2b7c9
Reformat according to prettierrc.
chrisle Oct 12, 2022
af62f46
Update formatting
chrisle Oct 12, 2022
0c3d82d
Formatting.
chrisle Oct 12, 2022
7a15e36
Overload forceString method.
chrisle Oct 12, 2022
499a7c2
Fix typo.
chrisle Oct 12, 2022
6ae04c1
Added some documentation.
chrisle Oct 12, 2022
85c7ca9
Added comments.
chrisle Oct 12, 2022
c428813
Merge pull request #2 from chrisle/1.1.0
honusz Oct 12, 2022
fd51846
download works hardcoded
honusz Oct 12, 2022
aebcb01
small fixes
honusz Oct 12, 2022
62261cb
add Int32 to WriteContext
honusz Oct 13, 2022
d7a43e8
Refactor StageLinq, Add Player, Fix emitters
honusz Oct 13, 2022
86cd81b
Fix sockets in StateData
honusz Oct 13, 2022
8088117
Merge pull request #3 from honusz/pure
honusz Oct 13, 2022
8d563b2
MOV SubscribeState to setupStateMap
honusz Oct 13, 2022
ec0405f
multithread fixes for Player
honusz Oct 13, 2022
f4bc65b
Merge pull request #4 from honusz/pure
honusz Oct 13, 2022
0288fff
Refactor announce and SLListener to Discovery
honusz Oct 15, 2022
62fb7fa
resest filetransfer
honusz Oct 15, 2022
535cfb7
syntax improvements, pass options
honusz Oct 15, 2022
d09f248
Inst. new server for each device
honusz Oct 16, 2022
9395a2d
first pass at Databases
honusz Oct 16, 2022
4096977
small cleanup
honusz Oct 16, 2022
979bc67
Timeout created servers if no connection
honusz Oct 17, 2022
7687f7e
getFile working
honusz Oct 17, 2022
e63c5e4
Device class, Inflate Binary fields
honusz Oct 20, 2022
0909934
Filetransfer TxID fix
honusz Oct 20, 2022
4517d0c
txid, filetransferprogress messages
honusz Oct 21, 2022
e9a1ab1
Add BeatInfo
honusz Mar 10, 2023
56fcb68
Small Fix for beatInfo
honusz Mar 10, 2023
0ec08a8
Slimmed down discovery
honusz Mar 11, 2023
19d8d8d
minor cleanup
honusz Mar 11, 2023
8b473bc
DeviceIds service Class
honusz Mar 12, 2023
f07794a
refactor player to deck
honusz Mar 14, 2023
ac3bde8
add deviceType to ConnectionInfo
honusz Mar 14, 2023
ddd7734
Cleanup
honusz Mar 14, 2023
741dfaa
refactor peerBuffers, code cleanup
honusz Mar 14, 2023
67e6d31
StateReducer for States
honusz Mar 14, 2023
0ae0255
add json state config, resolveJsonModule
honusz Mar 15, 2023
1ceca36
Database refactor
honusz Mar 15, 2023
8f17dd5
cleanup sources
honusz Mar 15, 2023
e429876
Standardize deviceId and socket in serviceMessages
honusz Mar 16, 2023
0f20c4a
Statemap messahe fixes
honusz Mar 16, 2023
e3ad2b5
added ServiceHandlers
honusz Mar 17, 2023
e326f3b
More serviceHandler stuff
honusz Mar 17, 2023
e28e394
Player Working from CLI
honusz Mar 18, 2023
c15ee8d
StateMessage Adapters
honusz Mar 18, 2023
775f35b
Some fixes
honusz Mar 21, 2023
5fcf032
Devices & Device Classes
honusz Mar 22, 2023
ab5738d
add getter for DeviceId
honusz Mar 22, 2023
121c2c4
add Sources class
honusz Mar 22, 2023
cbcaf8c
Add Status Class
honusz Mar 22, 2023
1958a34
cleanup
honusz Mar 23, 2023
537d182
Prettification
honusz Mar 23, 2023
136f5e7
remove legacy modules
honusz Mar 23, 2023
f7ef813
Add typedoc
honusz Mar 23, 2023
0d4bcb5
removed redundant serivces[] calls
honusz Mar 23, 2023
ddadada
Small syntax change for inflate
honusz Mar 27, 2023
7c38c60
Add Beatinfo Register
honusz Mar 27, 2023
f9d498b
Small Disc Fixes
honusz Mar 29, 2023
bfbddfb
uncomment
honusz Mar 29, 2023
3f311e2
Tightening up timings
honusz Mar 29, 2023
fe08ff5
handle source removal, discovery messages
honusz Mar 29, 2023
19b92cf
some fixes for edge-case behaviour
honusz Mar 29, 2023
ff6977e
Download File fix
honusz Mar 30, 2023
325dff2
getTrackInfo waits for DownloadDB
honusz Mar 30, 2023
cda355d
Remove solved TODOs
honusz Mar 30, 2023
cd5d392
typos
honusz Mar 30, 2023
d327687
skip extra DeviceId in Services
honusz Mar 30, 2023
7c6fc45
clean some legacy stateMap Code
honusz Mar 30, 2023
878e5cb
more stateMap Legacy cleanup
honusz Mar 30, 2023
c381c5a
Update Discovery Device Messages
honusz Mar 30, 2023
b151eda
handle Server Close
honusz Mar 30, 2023
48f5c0d
Bump Version, Update TODO
honusz Mar 30, 2023
0ac10de
TypeDoc tags
honusz Mar 31, 2023
8bd83af
Removed parseServiceData
honusz Mar 31, 2023
76e681b
More TypeDoc-ing
honusz Mar 31, 2023
54a8b12
add source to FileTransfer event messages
honusz Mar 31, 2023
7902710
Add Listening event to Discovery
honusz Mar 31, 2023
254ce43
Add DeviceId to DiscoveryMessage, Simplify all els
honusz Mar 31, 2023
1c9888a
small cleanup
honusz Apr 2, 2023
dbb0bfc
update readme
honusz Apr 2, 2023
257bd12
Merge pull request #6 from honusz/StageLinqJS
honusz Apr 2, 2023
f005e6c
Update Dependancies
honusz Apr 3, 2023
5ef1268
Merge pull request #7 from honusz/StageLinqJS
honusz Apr 3, 2023
c3c3b2a
add /docs to repo
honusz Apr 3, 2023
e04e5b8
Merge pull request #8 from honusz/StageLinqJS
honusz Apr 3, 2023
fc7097d
add Status Track register
honusz Apr 4, 2023
1764e8d
Status updates from listener
honusz Apr 4, 2023
99c8316
add TrackLoaded listener
honusz Apr 4, 2023
893286e
Downgrade better-sqlite3 to 7.6.2
honusz Apr 4, 2023
4e8081d
Add nowPlaying.ts CLI
honusz Apr 4, 2023
f63e6b1
Remove SeviceMessage<> from emits
honusz Apr 5, 2023
642a645
remove token, use deviceId, device>unit
honusz Apr 5, 2023
73b4135
Cleanup some InstanceTypes
honusz Apr 5, 2023
dc0513d
add track.source, update readme
honusz Apr 5, 2023
e1228e0
refactoring ./types
honusz Apr 5, 2023
23aaea5
update /docs
honusz Apr 5, 2023
7225d76
further refactoring
honusz Apr 5, 2023
ad4843e
Refactor Databases to Sources
honusz Apr 5, 2023
8701c5b
Syntax Fixes
honusz Apr 5, 2023
3cb1db0
cleanup messages
honusz Apr 6, 2023
3ab186f
testing static methods
honusz Apr 6, 2023
0eea760
Removed ServiceHandlers
honusz Apr 6, 2023
77dce03
Further static-ing
honusz Apr 6, 2023
cedbf56
Merge pull request #9 from honusz/static
honusz Apr 6, 2023
3ac68be
update docs
honusz Apr 8, 2023
29b713d
Add Broadcast Service
honusz Apr 9, 2023
d5018a0
Add Broadcast to Directory
honusz Apr 9, 2023
c1d91bc
Broadcast export
honusz Apr 9, 2023
4404290
Broadcast ServiceList
honusz Apr 9, 2023
9221359
Broadcast & Filetransfer txid
honusz Apr 11, 2023
2bb463a
Docs and Syntax Fixes
honusz Apr 11, 2023
9bc62bd
some streamlining
honusz Apr 13, 2023
2a236b7
Syntax updates
honusz Apr 14, 2023
1747064
Update Docs & Readme
honusz Apr 15, 2023
1754782
Merge pull request #10 from honusz/broadcast
honusz Apr 15, 2023
06ebcec
removed AddressPort from Connection info
honusz Apr 18, 2023
78b19d8
Refactoring
honusz Apr 18, 2023
e8d7176
Merge pull request #11 from honusz/broadcast
honusz Apr 18, 2023
57a5e2c
Merge pull request #12 from honusz/broadcast
honusz Apr 18, 2023
8b81a71
Cleanup State Model
honusz Apr 19, 2023
dc0f24d
Discovery less stateful
honusz Apr 19, 2023
f42cde9
emit messages for parseData & messageHandler
honusz Apr 19, 2023
3223b07
Merge pull request #13 from honusz/broadcast
honusz Apr 19, 2023
ce6f5cd
readd parseData return for testing
honusz Apr 19, 2023
cc7121b
remove ${this.name} from service messages
honusz Apr 19, 2023
a2a8597
Merge pull request #14 from honusz/broadcast
honusz Apr 19, 2023
b4e121d
Merge branch 'main' of https://github.com/honusz/StageLinq into 2.0.0
chrisle Apr 20, 2023
505c8c4
Left over merge conflict.
chrisle Apr 20, 2023
2f651ac
Weird merging issues
chrisle Apr 20, 2023
14a87a0
Allow library to be used in JS.
chrisle Apr 20, 2023
78f1649
Do not include dist in repo
chrisle Apr 20, 2023
3717af5
Remove dist
chrisle Apr 20, 2023
24ee4d3
Merge branch '2.0.0'
chrisle Apr 20, 2023
2633837
Convert space to tabs.
chrisle Apr 20, 2023
cb2476a
Clean up gitignore
chrisle Apr 20, 2023
df5a516
Convert all files to use tab characters.
chrisle Apr 20, 2023
7946aef
Remove VScode stuff
chrisle Apr 20, 2023
4a69607
Fixed Beat Info example code in README.md
jaygarcia Jun 11, 2023
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
107 changes: 14 additions & 93 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,106 +1,27 @@
/localdb
# Binary dumps from StageLinq library
localdb/
waveform.bin

# JS compiled
dist/

# Logs
logs
*.log
log.txt

npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
# NodeJS directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/
# VSCode configs
.vscode/
*.code-workspace

# TernJS port file
.tern-port
# Mac Finder junk
.DS_Store

log.txt
# Scratch folder
_scratch_
40 changes: 0 additions & 40 deletions .vscode/launch.json

This file was deleted.

24 changes: 0 additions & 24 deletions .vscode/tasks.json

This file was deleted.

90 changes: 0 additions & 90 deletions Databases/Databases.ts

This file was deleted.

51 changes: 0 additions & 51 deletions Databases/DbConnection.ts

This file was deleted.

2 changes: 0 additions & 2 deletions Databases/index.ts

This file was deleted.

Loading