@sebbo2002/node-pyatv 5.1.0-develop.1 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/docs/coverage/cobertura-coverage.xml +4 -4
  3. package/docs/coverage/device-event.ts.html +1 -1
  4. package/docs/coverage/device-events.ts.html +1 -1
  5. package/docs/coverage/device.ts.html +1 -1
  6. package/docs/coverage/fake-spawn.ts.html +1 -1
  7. package/docs/coverage/index.html +1 -1
  8. package/docs/coverage/index.ts.html +1 -1
  9. package/docs/coverage/instance.ts.html +1 -1
  10. package/docs/coverage/tools.ts.html +4 -4
  11. package/docs/coverage/types.ts.html +1 -1
  12. package/docs/reference/assets/highlight.css +22 -8
  13. package/docs/reference/assets/main.js +3 -3
  14. package/docs/reference/assets/style.css +6 -82
  15. package/docs/reference/classes/NodePyATVDevice.html +298 -233
  16. package/docs/reference/classes/NodePyATVDeviceEvent.html +27 -20
  17. package/docs/reference/classes/NodePyATVInstance.html +47 -36
  18. package/docs/reference/enums/NodePyATVDeviceState.html +13 -11
  19. package/docs/reference/enums/NodePyATVExecutableType.html +9 -7
  20. package/docs/reference/enums/NodePyATVKeys.html +30 -28
  21. package/docs/reference/enums/NodePyATVListenerState.html +11 -9
  22. package/docs/reference/enums/NodePyATVMediaType.html +11 -9
  23. package/docs/reference/enums/NodePyATVPowerState.html +9 -7
  24. package/docs/reference/enums/NodePyATVProtocol.html +11 -9
  25. package/docs/reference/enums/NodePyATVRepeatState.html +10 -8
  26. package/docs/reference/enums/NodePyATVShuffleState.html +10 -8
  27. package/docs/reference/index.html +55 -5
  28. package/docs/reference/interfaces/NodePyATVDeviceOptions.html +64 -63
  29. package/docs/reference/interfaces/NodePyATVFindAndInstanceOptions.html +50 -49
  30. package/docs/reference/interfaces/NodePyATVFindOptions.html +34 -32
  31. package/docs/reference/interfaces/NodePyATVGetStateOptions.html +10 -8
  32. package/docs/reference/interfaces/NodePyATVInstanceOptions.html +23 -22
  33. package/docs/reference/interfaces/NodePyATVService.html +9 -7
  34. package/docs/reference/interfaces/NodePyATVState.html +22 -20
  35. package/docs/reference/interfaces/NodePyATVVersionResponse.html +9 -7
  36. package/docs/reference/modules.html +4 -4
  37. package/docs/reference/types/NodePyATVEventValueType.html +5 -5
  38. package/docs/tests/index.html +1 -1
  39. package/docs/tests/mochawesome.json +650 -650
  40. package/package.json +5 -5
@@ -1,22 +1,24 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVDeviceEvent | node-pyatv - v5.1.0-develop.1</title><meta name="description" content="Documentation for node-pyatv - v5.1.0-develop.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVDeviceEvent | node-pyatv - v5.1.0</title><meta name="description" content="Documentation for node-pyatv - v5.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
5
  <ul class="results">
6
6
  <li class="state loading">Preparing search index...</li>
7
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv - v5.1.0-develop.1</a></div>
7
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv - v5.1.0</a></div>
8
8
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
9
9
  <div class="container container-main">
10
10
  <div class="col-8 col-content">
11
11
  <div class="tsd-page-title">
12
12
  <ul class="tsd-breadcrumb">
13
- <li><a href="../modules.html">node-pyatv - v5.1.0-develop.1</a></li>
13
+ <li><a href="../modules.html">node-pyatv - v5.1.0</a></li>
14
14
  <li><a href="NodePyATVDeviceEvent.html">NodePyATVDeviceEvent</a></li></ul>
15
15
  <h1>Class NodePyATVDeviceEvent</h1></div>
16
16
  <section class="tsd-panel tsd-hierarchy">
17
17
  <h4>Hierarchy</h4>
18
18
  <ul class="tsd-hierarchy">
19
- <li><span class="target">NodePyATVDeviceEvent</span></li></ul></section>
19
+ <li><span class="target">NodePyATVDeviceEvent</span></li></ul></section><aside class="tsd-sources">
20
+ <ul>
21
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device-event.ts#L6">src/lib/device-event.ts:6</a></li></ul></aside>
20
22
  <section class="tsd-panel-group tsd-index-group">
21
23
  <section class="tsd-panel tsd-index-panel">
22
24
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -35,52 +37,57 @@
35
37
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="device" class="tsd-anchor"></a>
36
38
  <h3 class="tsd-anchor-link"><span>device</span><a href="#device" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
37
39
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
38
- <li class="tsd-signature" id="device.device-1"><span class="tsd-signature-symbol">get</span> device<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></li></ul>
39
- <ul class="tsd-descriptions">
40
+ <li class="tsd-signature" id="device.device-1"><span class="tsd-signature-symbol">get</span> device<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></li>
40
41
  <li class="tsd-description">
41
42
  <div class="tsd-comment tsd-typography"><p>References the device instance this
42
43
  event originates from</p>
43
44
  </div>
44
- <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4></li></ul></section>
45
+ <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
46
+ <ul>
47
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device-event.ts#L54">src/lib/device-event.ts:54</a></li></ul></aside></li></ul></section>
45
48
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="key" class="tsd-anchor"></a>
46
49
  <h3 class="tsd-anchor-link"><span>key</span><a href="#key" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
47
50
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
48
- <li class="tsd-signature" id="key.key-1"><span class="tsd-signature-symbol">get</span> key<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">keyof </span><a href="../interfaces/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a></li></ul>
49
- <ul class="tsd-descriptions">
51
+ <li class="tsd-signature" id="key.key-1"><span class="tsd-signature-symbol">get</span> key<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">keyof </span><a href="../interfaces/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a></li>
50
52
  <li class="tsd-description">
51
53
  <div class="tsd-comment tsd-typography"><p>References the attribute name which was changed. So if the
52
54
  title has been updated, this would be <code>title</code>.</p>
53
55
  </div>
54
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">keyof </span><a href="../interfaces/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a></h4></li></ul></section>
56
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">keyof </span><a href="../interfaces/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a></h4><aside class="tsd-sources">
57
+ <ul>
58
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device-event.ts#L24">src/lib/device-event.ts:24</a></li></ul></aside></li></ul></section>
55
59
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="newValue" class="tsd-anchor"></a>
56
60
  <h3 class="tsd-anchor-link"><span>new<wbr/>Value</span><a href="#newValue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
57
61
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
58
- <li class="tsd-signature" id="newValue.newValue-1"><span class="tsd-signature-symbol">get</span> newValue<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></li></ul>
59
- <ul class="tsd-descriptions">
62
+ <li class="tsd-signature" id="newValue.newValue-1"><span class="tsd-signature-symbol">get</span> newValue<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></li>
60
63
  <li class="tsd-description">
61
64
  <div class="tsd-comment tsd-typography">
62
65
  <h3>Alias</h3><p>value</p>
63
66
  </div>
64
- <h4 class="tsd-returns-title">Returns <a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></h4></li></ul></section>
67
+ <h4 class="tsd-returns-title">Returns <a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></h4><aside class="tsd-sources">
68
+ <ul>
69
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device-event.ts#L39">src/lib/device-event.ts:39</a></li></ul></aside></li></ul></section>
65
70
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="oldValue" class="tsd-anchor"></a>
66
71
  <h3 class="tsd-anchor-link"><span>old<wbr/>Value</span><a href="#oldValue" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
67
72
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
68
- <li class="tsd-signature" id="oldValue.oldValue-1"><span class="tsd-signature-symbol">get</span> oldValue<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></li></ul>
69
- <ul class="tsd-descriptions">
73
+ <li class="tsd-signature" id="oldValue.oldValue-1"><span class="tsd-signature-symbol">get</span> oldValue<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></li>
70
74
  <li class="tsd-description">
71
75
  <div class="tsd-comment tsd-typography"><p>Holds the old value which was there
72
76
  before the value was changed.</p>
73
77
  </div>
74
- <h4 class="tsd-returns-title">Returns <a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></h4></li></ul></section>
78
+ <h4 class="tsd-returns-title">Returns <a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></h4><aside class="tsd-sources">
79
+ <ul>
80
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device-event.ts#L32">src/lib/device-event.ts:32</a></li></ul></aside></li></ul></section>
75
81
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="value" class="tsd-anchor"></a>
76
82
  <h3 class="tsd-anchor-link"><span>value</span><a href="#value" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
77
83
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
78
- <li class="tsd-signature" id="value.value-1"><span class="tsd-signature-symbol">get</span> value<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></li></ul>
79
- <ul class="tsd-descriptions">
84
+ <li class="tsd-signature" id="value.value-1"><span class="tsd-signature-symbol">get</span> value<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></li>
80
85
  <li class="tsd-description">
81
86
  <div class="tsd-comment tsd-typography"><p>New, current value for <code>key</code></p>
82
87
  </div>
83
- <h4 class="tsd-returns-title">Returns <a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></h4></li></ul></section></section></div>
88
+ <h4 class="tsd-returns-title">Returns <a href="../types/NodePyATVEventValueType.html" class="tsd-signature-type" data-tsd-kind="Type alias">NodePyATVEventValueType</a></h4><aside class="tsd-sources">
89
+ <ul>
90
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device-event.ts#L46">src/lib/device-event.ts:46</a></li></ul></aside></li></ul></section></section></div>
84
91
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
85
92
  <div class="tsd-navigation settings">
86
93
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -98,7 +105,7 @@ before the value was changed.</p>
98
105
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
99
106
  <div class="tsd-accordion-details">
100
107
  <ul>
101
- <li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v5.1.0-<wbr/>develop.1</a>
108
+ <li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v5.1.0</a>
102
109
  <ul></ul></li></ul></div></details></nav>
103
110
  <nav class="tsd-navigation secondary menu-sticky">
104
111
  <ul>
@@ -1,28 +1,30 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVInstance | node-pyatv - v5.1.0-develop.1</title><meta name="description" content="Documentation for node-pyatv - v5.1.0-develop.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVInstance | node-pyatv - v5.1.0</title><meta name="description" content="Documentation for node-pyatv - v5.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
5
  <ul class="results">
6
6
  <li class="state loading">Preparing search index...</li>
7
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv - v5.1.0-develop.1</a></div>
7
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv - v5.1.0</a></div>
8
8
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
9
9
  <div class="container container-main">
10
10
  <div class="col-8 col-content">
11
11
  <div class="tsd-page-title">
12
12
  <ul class="tsd-breadcrumb">
13
- <li><a href="../modules.html">node-pyatv - v5.1.0-develop.1</a></li>
13
+ <li><a href="../modules.html">node-pyatv - v5.1.0</a></li>
14
14
  <li><a href="NodePyATVInstance.html">NodePyATVInstance</a></li></ul>
15
15
  <h1>Class NodePyATVInstance</h1></div>
16
16
  <section class="tsd-panel tsd-comment">
17
17
  <div class="tsd-comment tsd-typography"><p>Default class exported by <code>@sebbo2002/node-pyatv</code>. Use <a href="NodePyATVInstance.html#find">find</a> to scan for devices in your local network. Use
18
18
  <a href="NodePyATVInstance.html#device">device</a> to connect to a known device by passing (at least) it&#39;s name and IP.</p>
19
- <pre><code class="language-typescript"><span class="hl-3">import</span><span class="hl-1"> </span><span class="hl-0">pyatv</span><span class="hl-1"> </span><span class="hl-3">from</span><span class="hl-1"> </span><span class="hl-2">&#39;@sebbo2002/node-pyatv&#39;</span><span class="hl-1">;</span>
19
+ <pre><code class="language-typescript"><span class="hl-2">import</span><span class="hl-1"> </span><span class="hl-0">pyatv</span><span class="hl-1"> </span><span class="hl-2">from</span><span class="hl-1"> </span><span class="hl-3">&#39;@sebbo2002/node-pyatv&#39;</span><span class="hl-1">;</span>
20
20
  </code></pre>
21
21
  </div></section>
22
22
  <section class="tsd-panel tsd-hierarchy">
23
23
  <h4>Hierarchy</h4>
24
24
  <ul class="tsd-hierarchy">
25
- <li><span class="target">NodePyATVInstance</span></li></ul></section>
25
+ <li><span class="target">NodePyATVInstance</span></li></ul></section><aside class="tsd-sources">
26
+ <ul>
27
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L31">src/lib/instance.ts:31</a></li></ul></aside>
26
28
  <section class="tsd-panel-group tsd-index-group">
27
29
  <section class="tsd-panel tsd-index-panel">
28
30
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -48,12 +50,11 @@
48
50
  <section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
49
51
  <h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
50
52
  <ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
51
- <li class="tsd-signature" id="constructor.new_NodePyATVInstance">new <wbr/>Node<wbr/>PyATVInstance<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVInstance.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVInstance</a></li></ul>
52
- <ul class="tsd-descriptions">
53
+ <li class="tsd-signature tsd-anchor-link" id="constructor.new_NodePyATVInstance">new <wbr/>Node<wbr/>PyATVInstance<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVInstance.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVInstance</a><a href="#constructor.new_NodePyATVInstance" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
53
54
  <li class="tsd-description">
54
55
  <div class="tsd-comment tsd-typography"><p>Use this to apply <a href="../interfaces/NodePyATVInstanceOptions.html">NodePyATVInstanceOptions</a>
55
56
  (e.g. debug log method) to all further requests</p>
56
- <pre><code class="language-typescript"><span class="hl-3">import</span><span class="hl-1"> </span><span class="hl-0">pyatv</span><span class="hl-1"> </span><span class="hl-3">from</span><span class="hl-1"> </span><span class="hl-2">&#39;@sebbo2002/node-pyatv&#39;</span><span class="hl-1">;</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">myPyatv</span><span class="hl-1"> = </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-6">pyatv</span><span class="hl-1">({</span><span class="hl-0">debug:</span><span class="hl-1"> </span><span class="hl-4">true</span><span class="hl-1">});</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">devices</span><span class="hl-1"> = </span><span class="hl-0">myPyatv</span><span class="hl-1">.</span><span class="hl-6">find</span><span class="hl-1">();</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">devices</span><span class="hl-1">);</span>
57
+ <pre><code class="language-typescript"><span class="hl-2">import</span><span class="hl-1"> </span><span class="hl-0">pyatv</span><span class="hl-1"> </span><span class="hl-2">from</span><span class="hl-1"> </span><span class="hl-3">&#39;@sebbo2002/node-pyatv&#39;</span><span class="hl-1">;</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">myPyatv</span><span class="hl-1"> = </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-6">pyatv</span><span class="hl-1">({</span><span class="hl-0">debug:</span><span class="hl-1"> </span><span class="hl-4">true</span><span class="hl-1">});</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">devices</span><span class="hl-1"> = </span><span class="hl-0">myPyatv</span><span class="hl-1">.</span><span class="hl-6">find</span><span class="hl-1">();</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">devices</span><span class="hl-1">);</span>
57
58
  </code></pre>
58
59
  </div>
59
60
  <div class="tsd-parameters">
@@ -61,14 +62,15 @@
61
62
  <ul class="tsd-parameter-list">
62
63
  <li>
63
64
  <h5>options: <a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
64
- <h4 class="tsd-returns-title">Returns <a href="NodePyATVInstance.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVInstance</a></h4></li></ul></section></section>
65
+ <h4 class="tsd-returns-title">Returns <a href="NodePyATVInstance.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVInstance</a></h4><aside class="tsd-sources">
66
+ <ul>
67
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L160">src/lib/instance.ts:160</a></li></ul></aside></li></ul></section></section>
65
68
  <section class="tsd-panel-group tsd-member-group">
66
69
  <h2>Methods</h2>
67
70
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="check" class="tsd-anchor"></a>
68
71
  <h3 class="tsd-anchor-link"><span>check</span><a href="#check" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
69
72
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
70
- <li class="tsd-signature" id="check.check-1">check<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
71
- <ul class="tsd-descriptions">
73
+ <li class="tsd-signature tsd-anchor-link" id="check.check-1">check<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#check.check-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
72
74
  <li class="tsd-description">
73
75
  <div class="tsd-comment tsd-typography"><p>Checks if pyatv is installed and ready to be used.
74
76
  Will throw an error if not.</p>
@@ -78,12 +80,13 @@ Will throw an error if not.</p>
78
80
  <ul class="tsd-parameter-list">
79
81
  <li>
80
82
  <h5>options: <a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
81
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
83
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
84
+ <ul>
85
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L170">src/lib/instance.ts:170</a></li></ul></aside></li></ul></section>
82
86
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="device" class="tsd-anchor"></a>
83
87
  <h3 class="tsd-anchor-link"><span>device</span><a href="#device" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
84
88
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
85
- <li class="tsd-signature" id="device.device-1">device<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></li></ul>
86
- <ul class="tsd-descriptions">
89
+ <li class="tsd-signature tsd-anchor-link" id="device.device-1">device<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><a href="#device.device-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
87
90
  <li class="tsd-description">
88
91
  <div class="tsd-comment tsd-typography"><p>Create a <a href="NodePyATVDevice.html">NodePyATVDevice</a> to query the state and control it.
89
92
  At least <code>host</code> and <code>name</code> are required.</p>
@@ -93,17 +96,18 @@ At least <code>host</code> and <code>name</code> are required.</p>
93
96
  <ul class="tsd-parameter-list">
94
97
  <li>
95
98
  <h5>options: <a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a></h5></li></ul></div>
96
- <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4></li></ul></section>
99
+ <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
100
+ <ul>
101
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L208">src/lib/instance.ts:208</a></li></ul></aside></li></ul></section>
97
102
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="find" class="tsd-anchor"></a>
98
103
  <h3 class="tsd-anchor-link"><span>find</span><a href="#find" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
99
104
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
100
- <li class="tsd-signature" id="find.find-1">find<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVFindAndInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVFindAndInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
101
- <ul class="tsd-descriptions">
105
+ <li class="tsd-signature tsd-anchor-link" id="find.find-1">find<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVFindAndInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVFindAndInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#find.find-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
102
106
  <li class="tsd-description">
103
107
  <div class="tsd-comment tsd-typography"><p>Scan the network for Apple TVs by using pyatv&#39;s atvscript. See <a href="../interfaces/NodePyATVFindAndInstanceOptions.html">NodePyATVFindAndInstanceOptions</a>
104
108
  for the options allowed. Use the <code>host</code> / <code>hosts</code> attribute to filter by IP addresses. Resolves with
105
109
  an array of <a href="NodePyATVDevice.html">NodePyATVDevice</a>.</p>
106
- <pre><code class="language-typescript"><span class="hl-3">import</span><span class="hl-1"> </span><span class="hl-0">pyatv</span><span class="hl-1"> </span><span class="hl-3">from</span><span class="hl-1"> </span><span class="hl-2">&#39;@sebbo2002/node-pyatv&#39;</span><span class="hl-1">;</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">myPyATV</span><span class="hl-1"> = </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-6">pyatv</span><span class="hl-1">({</span><span class="hl-0">debug:</span><span class="hl-1"> </span><span class="hl-4">true</span><span class="hl-1">});</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">devices</span><span class="hl-1"> = </span><span class="hl-3">await</span><span class="hl-1"> </span><span class="hl-0">myPyATV</span><span class="hl-1">.</span><span class="hl-6">find</span><span class="hl-1">();</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">devices</span><span class="hl-1">);</span>
110
+ <pre><code class="language-typescript"><span class="hl-2">import</span><span class="hl-1"> </span><span class="hl-0">pyatv</span><span class="hl-1"> </span><span class="hl-2">from</span><span class="hl-1"> </span><span class="hl-3">&#39;@sebbo2002/node-pyatv&#39;</span><span class="hl-1">;</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">myPyATV</span><span class="hl-1"> = </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-6">pyatv</span><span class="hl-1">({</span><span class="hl-0">debug:</span><span class="hl-1"> </span><span class="hl-4">true</span><span class="hl-1">});</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">devices</span><span class="hl-1"> = </span><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">myPyATV</span><span class="hl-1">.</span><span class="hl-6">find</span><span class="hl-1">();</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">devices</span><span class="hl-1">);</span>
107
111
  </code></pre>
108
112
  </div>
109
113
  <div class="tsd-parameters">
@@ -111,12 +115,13 @@ an array of <a href="NodePyATVDevice.html">NodePyATVDevice</a>.</p>
111
115
  <ul class="tsd-parameter-list">
112
116
  <li>
113
117
  <h5>options: <a href="../interfaces/NodePyATVFindAndInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVFindAndInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
114
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
118
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
119
+ <ul>
120
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L198">src/lib/instance.ts:198</a></li></ul></aside></li></ul></section>
115
121
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="version" class="tsd-anchor"></a>
116
122
  <h3 class="tsd-anchor-link"><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
117
123
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
118
- <li class="tsd-signature" id="version.version-1">version<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span></li></ul>
119
- <ul class="tsd-descriptions">
124
+ <li class="tsd-signature tsd-anchor-link" id="version.version-1">version<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#version.version-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
120
125
  <li class="tsd-description">
121
126
  <div class="tsd-comment tsd-typography"><p>Resolves with the version of pyatv and of the module itself.
122
127
  If a value can&#39;t be found, null is returned instead.</p>
@@ -126,12 +131,13 @@ If a value can&#39;t be found, null is returned instead.</p>
126
131
  <ul class="tsd-parameter-list">
127
132
  <li>
128
133
  <h5>options: <a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
129
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
134
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
135
+ <ul>
136
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L180">src/lib/instance.ts:180</a></li></ul></aside></li></ul></section>
130
137
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="check-2" class="tsd-anchor"></a>
131
138
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>check</span><a href="#check-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
132
139
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
133
- <li class="tsd-signature" id="check-2.check-3">check<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
134
- <ul class="tsd-descriptions">
140
+ <li class="tsd-signature tsd-anchor-link" id="check-2.check-3">check<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#check-2.check-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
135
141
  <li class="tsd-description">
136
142
  <div class="tsd-comment tsd-typography"><p>Checks if pyatv is installed and ready to be used.
137
143
  Will throw an error if not.</p>
@@ -141,12 +147,13 @@ Will throw an error if not.</p>
141
147
  <ul class="tsd-parameter-list">
142
148
  <li>
143
149
  <h5>options: <a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
144
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
150
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
151
+ <ul>
152
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L40">src/lib/instance.ts:40</a></li></ul></aside></li></ul></section>
145
153
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="device-2" class="tsd-anchor"></a>
146
154
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>device</span><a href="#device-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
147
155
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
148
- <li class="tsd-signature" id="device-2.device-3">device<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></li></ul>
149
- <ul class="tsd-descriptions">
156
+ <li class="tsd-signature tsd-anchor-link" id="device-2.device-3">device<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><a href="#device-2.device-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
150
157
  <li class="tsd-description">
151
158
  <div class="tsd-comment tsd-typography"><p>Create a <a href="NodePyATVDevice.html">NodePyATVDevice</a> to query the state and control it.
152
159
  At least <code>host</code> and <code>name</code> are required.</p>
@@ -156,17 +163,18 @@ At least <code>host</code> and <code>name</code> are required.</p>
156
163
  <ul class="tsd-parameter-list">
157
164
  <li>
158
165
  <h5>options: <a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a></h5></li></ul></div>
159
- <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4></li></ul></section>
166
+ <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4><aside class="tsd-sources">
167
+ <ul>
168
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L144">src/lib/instance.ts:144</a></li></ul></aside></li></ul></section>
160
169
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="find-2" class="tsd-anchor"></a>
161
170
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>find</span><a href="#find-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
162
171
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
163
- <li class="tsd-signature" id="find-2.find-3">find<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVFindAndInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVFindAndInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
164
- <ul class="tsd-descriptions">
172
+ <li class="tsd-signature tsd-anchor-link" id="find-2.find-3">find<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVFindAndInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVFindAndInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#find-2.find-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
165
173
  <li class="tsd-description">
166
174
  <div class="tsd-comment tsd-typography"><p>Scan the network for Apple TVs by using pyatv&#39;s atvscript. See <a href="../interfaces/NodePyATVFindAndInstanceOptions.html">NodePyATVFindAndInstanceOptions</a>
167
175
  for the options allowed. Use the <code>host</code> / <code>hosts</code> attribute to filter by IP addresses. Resolves with
168
176
  an array of <a href="NodePyATVDevice.html">NodePyATVDevice</a>.</p>
169
- <pre><code class="language-typescript"><span class="hl-3">import</span><span class="hl-1"> </span><span class="hl-0">pyatv</span><span class="hl-1"> </span><span class="hl-3">from</span><span class="hl-1"> </span><span class="hl-2">&#39;@sebbo2002/node-pyatv&#39;</span><span class="hl-1">;</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">devices</span><span class="hl-1"> = </span><span class="hl-3">await</span><span class="hl-1"> </span><span class="hl-0">pyatv</span><span class="hl-1">.</span><span class="hl-6">find</span><span class="hl-1">();</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">devices</span><span class="hl-1">);</span>
177
+ <pre><code class="language-typescript"><span class="hl-2">import</span><span class="hl-1"> </span><span class="hl-0">pyatv</span><span class="hl-1"> </span><span class="hl-2">from</span><span class="hl-1"> </span><span class="hl-3">&#39;@sebbo2002/node-pyatv&#39;</span><span class="hl-1">;</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">devices</span><span class="hl-1"> = </span><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">pyatv</span><span class="hl-1">.</span><span class="hl-6">find</span><span class="hl-1">();</span><br/><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-6">log</span><span class="hl-1">(</span><span class="hl-0">devices</span><span class="hl-1">);</span>
170
178
  </code></pre>
171
179
  </div>
172
180
  <div class="tsd-parameters">
@@ -174,12 +182,13 @@ an array of <a href="NodePyATVDevice.html">NodePyATVDevice</a>.</p>
174
182
  <ul class="tsd-parameter-list">
175
183
  <li>
176
184
  <h5>options: <a href="../interfaces/NodePyATVFindAndInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVFindAndInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
177
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
185
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
186
+ <ul>
187
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L112">src/lib/instance.ts:112</a></li></ul></aside></li></ul></section>
178
188
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="version-2" class="tsd-anchor"></a>
179
189
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>version</span><a href="#version-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
180
190
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
181
- <li class="tsd-signature" id="version-2.version-3">version<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span></li></ul>
182
- <ul class="tsd-descriptions">
191
+ <li class="tsd-signature tsd-anchor-link" id="version-2.version-3">version<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#version-2.version-3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
183
192
  <li class="tsd-description">
184
193
  <div class="tsd-comment tsd-typography"><p>Resolves with the version of pyatv and of the module itself.
185
194
  If a value can&#39;t be found, null is returned instead.</p>
@@ -189,7 +198,9 @@ If a value can&#39;t be found, null is returned instead.</p>
189
198
  <ul class="tsd-parameter-list">
190
199
  <li>
191
200
  <h5>options: <a href="../interfaces/NodePyATVInstanceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVInstanceOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
192
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section></section></div>
201
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVVersionResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVVersionResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
202
+ <ul>
203
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/instance.ts#L62">src/lib/instance.ts:62</a></li></ul></aside></li></ul></section></section></div>
193
204
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
194
205
  <div class="tsd-navigation settings">
195
206
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -207,7 +218,7 @@ If a value can&#39;t be found, null is returned instead.</p>
207
218
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
208
219
  <div class="tsd-accordion-details">
209
220
  <ul>
210
- <li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v5.1.0-<wbr/>develop.1</a>
221
+ <li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v5.1.0</a>
211
222
  <ul></ul></li></ul></div></details></nav>
212
223
  <nav class="tsd-navigation secondary menu-sticky">
213
224
  <ul>
@@ -1,18 +1,20 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVDeviceState | node-pyatv - v5.1.0-develop.1</title><meta name="description" content="Documentation for node-pyatv - v5.1.0-develop.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVDeviceState | node-pyatv - v5.1.0</title><meta name="description" content="Documentation for node-pyatv - v5.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
5
  <ul class="results">
6
6
  <li class="state loading">Preparing search index...</li>
7
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv - v5.1.0-develop.1</a></div>
7
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv - v5.1.0</a></div>
8
8
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
9
9
  <div class="container container-main">
10
10
  <div class="col-8 col-content">
11
11
  <div class="tsd-page-title">
12
12
  <ul class="tsd-breadcrumb">
13
- <li><a href="../modules.html">node-pyatv - v5.1.0-develop.1</a></li>
13
+ <li><a href="../modules.html">node-pyatv - v5.1.0</a></li>
14
14
  <li><a href="NodePyATVDeviceState.html">NodePyATVDeviceState</a></li></ul>
15
- <h1>Enumeration NodePyATVDeviceState</h1></div>
15
+ <h1>Enumeration NodePyATVDeviceState</h1></div><aside class="tsd-sources">
16
+ <ul>
17
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/types.ts#L23">src/lib/types.ts:23</a></li></ul></aside>
16
18
  <section class="tsd-panel-group tsd-index-group">
17
19
  <section class="tsd-panel tsd-index-panel">
18
20
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -33,32 +35,32 @@
33
35
  <h3 class="tsd-anchor-link"><span>idle</span><a href="#idle" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
34
36
  <div class="tsd-signature">idle<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;idle&quot;</span></div><aside class="tsd-sources">
35
37
  <ul>
36
- <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/e58764c/src/lib/types.ts#L24">src/lib/types.ts:24</a></li></ul></aside></section>
38
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/types.ts#L24">src/lib/types.ts:24</a></li></ul></aside></section>
37
39
  <section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="loading" class="tsd-anchor"></a>
38
40
  <h3 class="tsd-anchor-link"><span>loading</span><a href="#loading" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
39
41
  <div class="tsd-signature">loading<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;loading&quot;</span></div><aside class="tsd-sources">
40
42
  <ul>
41
- <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/e58764c/src/lib/types.ts#L25">src/lib/types.ts:25</a></li></ul></aside></section>
43
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/types.ts#L25">src/lib/types.ts:25</a></li></ul></aside></section>
42
44
  <section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="paused" class="tsd-anchor"></a>
43
45
  <h3 class="tsd-anchor-link"><span>paused</span><a href="#paused" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
44
46
  <div class="tsd-signature">paused<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;paused&quot;</span></div><aside class="tsd-sources">
45
47
  <ul>
46
- <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/e58764c/src/lib/types.ts#L26">src/lib/types.ts:26</a></li></ul></aside></section>
48
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/types.ts#L26">src/lib/types.ts:26</a></li></ul></aside></section>
47
49
  <section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="playing" class="tsd-anchor"></a>
48
50
  <h3 class="tsd-anchor-link"><span>playing</span><a href="#playing" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
49
51
  <div class="tsd-signature">playing<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;playing&quot;</span></div><aside class="tsd-sources">
50
52
  <ul>
51
- <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/e58764c/src/lib/types.ts#L27">src/lib/types.ts:27</a></li></ul></aside></section>
53
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/types.ts#L27">src/lib/types.ts:27</a></li></ul></aside></section>
52
54
  <section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="seeking" class="tsd-anchor"></a>
53
55
  <h3 class="tsd-anchor-link"><span>seeking</span><a href="#seeking" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
54
56
  <div class="tsd-signature">seeking<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;seeking&quot;</span></div><aside class="tsd-sources">
55
57
  <ul>
56
- <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/e58764c/src/lib/types.ts#L28">src/lib/types.ts:28</a></li></ul></aside></section>
58
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/types.ts#L28">src/lib/types.ts:28</a></li></ul></aside></section>
57
59
  <section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="stopped" class="tsd-anchor"></a>
58
60
  <h3 class="tsd-anchor-link"><span>stopped</span><a href="#stopped" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
59
61
  <div class="tsd-signature">stopped<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;stopped&quot;</span></div><aside class="tsd-sources">
60
62
  <ul>
61
- <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/e58764c/src/lib/types.ts#L29">src/lib/types.ts:29</a></li></ul></aside></section></section></div>
63
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/types.ts#L29">src/lib/types.ts:29</a></li></ul></aside></section></section></div>
62
64
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
63
65
  <div class="tsd-navigation settings">
64
66
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -76,7 +78,7 @@
76
78
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
77
79
  <div class="tsd-accordion-details">
78
80
  <ul>
79
- <li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v5.1.0-<wbr/>develop.1</a>
81
+ <li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v5.1.0</a>
80
82
  <ul></ul></li></ul></div></details></nav>
81
83
  <nav class="tsd-navigation secondary menu-sticky">
82
84
  <ul>