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

Implement required connectionManagerService and mediaReceiverRegistrarService #86

Merged
merged 48 commits into from
Jan 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
0838f19
add custom content reader
YouROK Jul 26, 2021
e5cb63c
set max read buffer size
YouROK Aug 26, 2021
42eca44
fix for windows
YouROK Aug 26, 2021
b9245f5
icon test
tsynik Aug 27, 2021
f59db2d
fix build
tsynik Aug 27, 2021
7ec3a83
disable form
tsynik Aug 27, 2021
33c2524
Update dms.go
tsynik Aug 27, 2021
530b62c
disable debug
tsynik Aug 27, 2021
3ac0277
Update dms.go
tsynik Aug 27, 2021
ce1ae63
Revert "Update dms.go"
tsynik Aug 27, 2021
16aff40
update dms root desc
tsynik Aug 30, 2021
9da542e
add mediaReceiverRegistrarService
tsynik Aug 30, 2021
9c0ef54
cleanup
tsynik Aug 30, 2021
89df970
debug headers
tsynik Aug 31, 2021
d039966
debug
tsynik Aug 31, 2021
d7091a4
debug
tsynik Aug 31, 2021
26a0a4c
Update ssdp.go
tsynik Aug 31, 2021
6a34b1a
Update ssdp.go
tsynik Aug 31, 2021
02be3a2
update mrrs and add samsung extensions
tsynik Aug 31, 2021
4b9007c
remove excessive debug
tsynik Aug 31, 2021
473eaef
Samsung fixes? INCOMPLETE
tsynik Aug 31, 2021
cb24006
fix build
tsynik Aug 31, 2021
18e1089
revert samsung exensions
tsynik Aug 31, 2021
e627946
remove PresentationURL
tsynik Aug 31, 2021
febb864
restore default eventingLogger
tsynik Aug 31, 2021
2051d16
update dlna caps
tsynik Sep 2, 2021
a9ad049
add presentation url with redirect to default torrserve port
tsynik Sep 2, 2021
0fcf492
just format an icon load fix
tsynik Sep 2, 2021
cd06003
return rootDeviceUUID for RegisterDevice
tsynik Sep 5, 2021
c0a10b9
add DLNA.ORG_FLAGS to headers
tsynik Sep 5, 2021
3bba864
remove wrong match for images
tsynik Sep 5, 2021
e00296c
format xml and update defaultProtocolInfo
tsynik Sep 6, 2021
2decf97
fix / short SCPDs
tsynik Sep 6, 2021
61d955a
sync with upstream
tsynik Sep 8, 2021
af476cd
adopt other services too
tsynik Sep 8, 2021
7256e2c
cleanup torrserve addons
tsynik Sep 8, 2021
7f20905
Merge branch 'master' into new-services
tsynik Sep 8, 2021
2851a68
just format code indents
tsynik Sep 8, 2021
52a8174
Merge branch 'new-services' of https://github.com/tsynik/dms into new…
tsynik Sep 8, 2021
5d5745c
Squashed commit of the following:
tsynik Sep 8, 2021
ec20438
fix testing
tsynik Sep 9, 2021
12b7642
format code in ide
tsynik Sep 9, 2021
19e08f8
gofmt -l -w .
tsynik Sep 9, 2021
0381844
revert orig names
tsynik Sep 9, 2021
e482834
Revert "remove wrong match for images"
tsynik Sep 9, 2021
8583133
change containerid for X_GetFeatureList
tsynik Sep 12, 2021
dfeceae
add notes about X_GetFeatureList and SearchXML to upnpav object
tsynik Sep 13, 2021
93c8fe1
Merge branch 'master' into new-services
tsynik Nov 15, 2021
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
3 changes: 2 additions & 1 deletion dlna/dlna.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func BinaryInt(b bool) uint {
// "DLNA.ORG_OP=" time-seek-range-supp bytes-range-header-supp
func (cf ContentFeatures) String() (ret string) {
// DLNA.ORG_PN=[a-zA-Z0-9_]*
params := make([]string, 0, 2)
params := make([]string, 0, 3)
if cf.ProfileName != "" {
params = append(params, "DLNA.ORG_PN="+cf.ProfileName)
}
Expand All @@ -41,6 +41,7 @@ func (cf ContentFeatures) String() (ret string) {
BinaryInt(cf.SupportTimeSeek),
BinaryInt(cf.SupportRange),
BinaryInt(cf.Transcoded)))
params = append(params, "DLNA.ORG_FLAGS=01700000000000000000000000000000")
return strings.Join(params, ";")
}

Expand Down
2 changes: 1 addition & 1 deletion dlna/dlna_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func TestContentFeaturesString(t *testing.T) {
Transcoded: true,
SupportTimeSeek: true,
}.String()
e := "DLNA.ORG_OP=10;DLNA.ORG_CI=1"
e := "DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01700000000000000000000000000000"
if e != a {
t.Fatal(a)
}
Expand Down
Loading