@sebbo2002/node-pyatv 5.0.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 (61) hide show
  1. package/.nycrc +1 -0
  2. package/CHANGELOG.md +26 -0
  3. package/dist/lib/device.d.ts +46 -1
  4. package/dist/lib/device.js +55 -0
  5. package/dist/lib/device.js.map +1 -1
  6. package/dist/lib/index.d.ts +2 -1
  7. package/dist/lib/index.js +2 -1
  8. package/dist/lib/index.js.map +1 -1
  9. package/dist/lib/instance.js +13 -5
  10. package/dist/lib/instance.js.map +1 -1
  11. package/dist/lib/types.d.ts +24 -0
  12. package/docs/coverage/block-navigation.js +8 -0
  13. package/docs/coverage/cobertura-coverage.xml +2818 -7
  14. package/docs/coverage/device-event.ts.html +256 -0
  15. package/docs/coverage/device-events.ts.html +961 -0
  16. package/docs/coverage/device.ts.html +2401 -0
  17. package/docs/coverage/fake-spawn.ts.html +448 -0
  18. package/docs/coverage/favicon.png +0 -0
  19. package/docs/coverage/index.html +132 -22
  20. package/docs/coverage/index.ts.html +62 -48
  21. package/docs/coverage/instance.ts.html +718 -0
  22. package/docs/coverage/sort-arrow-sprite.png +0 -0
  23. package/docs/coverage/sorter.js +26 -0
  24. package/docs/coverage/tools.ts.html +1222 -0
  25. package/docs/coverage/types.ts.html +757 -0
  26. package/docs/reference/assets/highlight.css +18 -4
  27. package/docs/reference/assets/main.js +3 -3
  28. package/docs/reference/assets/search.js +1 -1
  29. package/docs/reference/assets/style.css +6 -82
  30. package/docs/reference/classes/NodePyATVDevice.html +351 -210
  31. package/docs/reference/classes/NodePyATVDeviceEvent.html +27 -20
  32. package/docs/reference/classes/{default.html → NodePyATVInstance.html} +66 -55
  33. package/docs/reference/enums/NodePyATVDeviceState.html +13 -11
  34. package/docs/reference/enums/NodePyATVExecutableType.html +67 -0
  35. package/docs/reference/enums/NodePyATVKeys.html +30 -28
  36. package/docs/reference/enums/NodePyATVListenerState.html +11 -9
  37. package/docs/reference/enums/NodePyATVMediaType.html +11 -9
  38. package/docs/reference/enums/NodePyATVPowerState.html +9 -7
  39. package/docs/reference/enums/NodePyATVProtocol.html +11 -9
  40. package/docs/reference/enums/NodePyATVRepeatState.html +10 -8
  41. package/docs/reference/enums/NodePyATVShuffleState.html +10 -8
  42. package/docs/reference/index.html +59 -6
  43. package/docs/reference/interfaces/NodePyATVDeviceOptions.html +84 -48
  44. package/docs/reference/interfaces/NodePyATVFindAndInstanceOptions.html +50 -49
  45. package/docs/reference/interfaces/NodePyATVFindOptions.html +34 -32
  46. package/docs/reference/interfaces/NodePyATVGetStateOptions.html +10 -8
  47. package/docs/reference/interfaces/NodePyATVInstanceOptions.html +23 -22
  48. package/docs/reference/interfaces/NodePyATVService.html +71 -0
  49. package/docs/reference/interfaces/NodePyATVState.html +22 -20
  50. package/docs/reference/interfaces/NodePyATVVersionResponse.html +9 -7
  51. package/docs/reference/modules.html +23 -8
  52. package/docs/reference/types/NodePyATVEventValueType.html +9 -6
  53. package/docs/tests/index.html +1 -1
  54. package/docs/tests/mochawesome.json +940 -612
  55. package/package.json +8 -8
  56. package/src/lib/device.ts +62 -0
  57. package/src/lib/index.ts +15 -12
  58. package/src/lib/instance.ts +8 -2
  59. package/src/lib/types.ts +26 -0
  60. package/test/device.ts +124 -1
  61. package/test/instance.ts +84 -5
@@ -1,16 +1,16 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVDevice | node-pyatv - v5.0.0-develop.1</title><meta name="description" content="Documentation for node-pyatv - v5.0.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>NodePyATVDevice | 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.0.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.0.0-develop.1</a></li>
13
+ <li><a href="../modules.html">node-pyatv - v5.1.0</a></li>
14
14
  <li><a href="NodePyATVDevice.html">NodePyATVDevice</a></li></ul>
15
15
  <h1>Class NodePyATVDevice</h1></div>
16
16
  <section class="tsd-panel tsd-comment">
@@ -27,7 +27,9 @@ It&#39;s also possible to send key commands by using <a href="NodePyATVDevice.ht
27
27
  <section class="tsd-panel">
28
28
  <h4>Implements</h4>
29
29
  <ul class="tsd-hierarchy">
30
- <li><span class="tsd-signature-type">EventEmitter</span></li></ul></section>
30
+ <li><span class="tsd-signature-type">EventEmitter</span></li></ul></section><aside class="tsd-sources">
31
+ <ul>
32
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L29">src/lib/device.ts:29</a></li></ul></aside>
31
33
  <section class="tsd-panel-group tsd-index-group">
32
34
  <section class="tsd-panel tsd-index-panel">
33
35
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -42,8 +44,13 @@ It&#39;s also possible to send key commands by using <a href="NodePyATVDevice.ht
42
44
  <div class="tsd-index-list"><a href="NodePyATVDevice.html#debug" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-262144-path"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)" id="icon-262144-text"></path></svg><span>debug</span></a>
43
45
  <a href="NodePyATVDevice.html#host" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>host</span></a>
44
46
  <a href="NodePyATVDevice.html#id" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>id</span></a>
47
+ <a href="NodePyATVDevice.html#model" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>model</span></a>
48
+ <a href="NodePyATVDevice.html#modelName" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>model<wbr/>Name</span></a>
45
49
  <a href="NodePyATVDevice.html#name" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>name</span></a>
50
+ <a href="NodePyATVDevice.html#os" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>os</span></a>
46
51
  <a href="NodePyATVDevice.html#protocol" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>protocol</span></a>
52
+ <a href="NodePyATVDevice.html#services" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>services</span></a>
53
+ <a href="NodePyATVDevice.html#version" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>version</span></a>
47
54
  </div></section>
48
55
  <section class="tsd-index-section">
49
56
  <h3 class="tsd-index-heading">Methods - Basic</h3>
@@ -119,29 +126,31 @@ It&#39;s also possible to send key commands by using <a href="NodePyATVDevice.ht
119
126
  <section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a>
120
127
  <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>
121
128
  <ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
122
- <li class="tsd-signature" id="constructor.new_NodePyATVDevice">new <wbr/>Node<wbr/>PyATVDevice<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>
123
- <ul class="tsd-descriptions">
129
+ <li class="tsd-signature tsd-anchor-link" id="constructor.new_NodePyATVDevice">new <wbr/>Node<wbr/>PyATVDevice<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="#constructor.new_NodePyATVDevice" 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>
124
130
  <li class="tsd-description">
125
131
  <div class="tsd-parameters">
126
132
  <h4 class="tsd-parameters-title">Parameters</h4>
127
133
  <ul class="tsd-parameter-list">
128
134
  <li>
129
135
  <h5>options: <a href="../interfaces/NodePyATVDeviceOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVDeviceOptions</a></h5></li></ul></div>
130
- <h4 class="tsd-returns-title">Returns <a href="NodePyATVDevice.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDevice</a></h4></li></ul></section></section>
136
+ <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">
137
+ <ul>
138
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L34">src/lib/device.ts:34</a></li></ul></aside></li></ul></section></section>
131
139
  <section class="tsd-panel-group tsd-member-group">
132
140
  <h2>Accessors</h2>
133
141
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="debug" class="tsd-anchor"></a>
134
142
  <h3 class="tsd-anchor-link"><span>debug</span><a href="#debug" 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>
135
143
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
136
144
  <li class="tsd-signature" id="debug.debug-1"><span class="tsd-signature-symbol">get</span> debug<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>msg<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></li>
137
- <li class="tsd-signature" id="debug.debug-2"><span class="tsd-signature-symbol">set</span> debug<span class="tsd-signature-symbol">(</span>debug<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>msg<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul>
138
- <ul class="tsd-descriptions">
139
145
  <li class="tsd-description">
140
146
  <div class="tsd-comment tsd-typography"><p>Returns true, if debugging is enabled. Returns the custom
141
147
  logging method, if one was specified. Otherwise, if debug
142
148
  log is disabled, returns undefined.</p>
143
149
  </div>
144
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>msg<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h4></li>
150
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>msg<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h4><aside class="tsd-sources">
151
+ <ul>
152
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L144">src/lib/device.ts:144</a></li></ul></aside></li>
153
+ <li class="tsd-signature" id="debug.debug-2"><span class="tsd-signature-symbol">set</span> debug<span class="tsd-signature-symbol">(</span>debug<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>msg<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
145
154
  <li class="tsd-description">
146
155
  <div class="tsd-comment tsd-typography"><p>Enable or disable debugging or set a custom
147
156
  debugging method to use.</p>
@@ -151,52 +160,128 @@ debugging method to use.</p>
151
160
  <ul class="tsd-parameter-list">
152
161
  <li>
153
162
  <h5>debug: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>msg<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5></li></ul></div>
154
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section>
163
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
164
+ <ul>
165
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L154">src/lib/device.ts:154</a></li></ul></aside></li></ul></section>
155
166
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="host" class="tsd-anchor"></a>
156
167
  <h3 class="tsd-anchor-link"><span>host</span><a href="#host" 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>
157
168
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
158
- <li class="tsd-signature" id="host.host-1"><span class="tsd-signature-symbol">get</span> host<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul>
159
- <ul class="tsd-descriptions">
169
+ <li class="tsd-signature" id="host.host-1"><span class="tsd-signature-symbol">get</span> host<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
160
170
  <li class="tsd-description">
161
171
  <div class="tsd-comment tsd-typography"><p>Get the IP address of the Apple TV.</p>
162
172
  </div>
163
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section>
173
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
174
+ <ul>
175
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L60">src/lib/device.ts:60</a></li></ul></aside></li></ul></section>
164
176
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="id" class="tsd-anchor"></a>
165
177
  <h3 class="tsd-anchor-link"><span>id</span><a href="#id" 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>
166
178
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
167
- <li class="tsd-signature" id="id.id-1"><span class="tsd-signature-symbol">get</span> id<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li></ul>
168
- <ul class="tsd-descriptions">
179
+ <li class="tsd-signature" id="id.id-1"><span class="tsd-signature-symbol">get</span> id<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
169
180
  <li class="tsd-description">
170
181
  <div class="tsd-comment tsd-typography"><p>Get the ID of the Apple TV.</p>
171
182
  </div>
172
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4></li></ul></section>
183
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
184
+ <ul>
185
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L67">src/lib/device.ts:67</a></li></ul></aside></li></ul></section>
186
+ <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="model" class="tsd-anchor"></a>
187
+ <h3 class="tsd-anchor-link"><span>model</span><a href="#model" 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>
188
+ <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
189
+ <li class="tsd-signature" id="model.model-1"><span class="tsd-signature-symbol">get</span> model<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
190
+ <li class="tsd-description">
191
+ <div class="tsd-comment tsd-typography"><p>Get the model identifier of the device. Only set, if the
192
+ device was found using find(). Requires pyatv ≧ 0.10.3.</p>
193
+
194
+ <h3>Example</h3><pre><code class="language-ts"><span class="hl-0">device</span><span class="hl-1">.</span><span class="hl-0">model</span><span class="hl-1"> → </span><span class="hl-3">&quot;Gen4K&quot;</span>
195
+ </code></pre>
196
+ </div>
197
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
198
+ <ul>
199
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L84">src/lib/device.ts:84</a></li></ul></aside></li></ul></section>
200
+ <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="modelName" class="tsd-anchor"></a>
201
+ <h3 class="tsd-anchor-link"><span>model<wbr/>Name</span><a href="#modelName" 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>
202
+ <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
203
+ <li class="tsd-signature" id="modelName.modelName-1"><span class="tsd-signature-symbol">get</span> modelName<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
204
+ <li class="tsd-description">
205
+ <div class="tsd-comment tsd-typography"><p>Get the model name of the device. Only set, if the device
206
+ was found with find(). Requires pyatv ≧ 0.10.3.</p>
207
+
208
+ <h3>Example</h3><pre><code class="language-ts"><span class="hl-0">device</span><span class="hl-1">.</span><span class="hl-0">modelName</span><span class="hl-1"> → </span><span class="hl-3">&quot;Apple TV 4K&quot;</span>
209
+ </code></pre>
210
+ </div>
211
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
212
+ <ul>
213
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L94">src/lib/device.ts:94</a></li></ul></aside></li></ul></section>
173
214
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="name" class="tsd-anchor"></a>
174
215
  <h3 class="tsd-anchor-link"><span>name</span><a href="#name" 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>
175
216
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
176
- <li class="tsd-signature" id="name.name-1"><span class="tsd-signature-symbol">get</span> name<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul>
177
- <ul class="tsd-descriptions">
217
+ <li class="tsd-signature" id="name.name-1"><span class="tsd-signature-symbol">get</span> name<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
178
218
  <li class="tsd-description">
179
219
  <div class="tsd-comment tsd-typography"><p>Get the name of the Apple TV.</p>
180
220
  <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">devices</span><span class="hl-1">.</span><span class="hl-6">forEach</span><span class="hl-1">(</span><span class="hl-0">device</span><span class="hl-1"> </span><span class="hl-4">=&gt;</span><br/><span class="hl-1"> </span><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">device</span><span class="hl-1">.</span><span class="hl-0">name</span><span class="hl-1">)</span><br/><span class="hl-1">);</span>
181
221
  </code></pre>
182
222
  </div>
183
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section>
223
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
224
+ <ul>
225
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L53">src/lib/device.ts:53</a></li></ul></aside></li></ul></section>
226
+ <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="os" class="tsd-anchor"></a>
227
+ <h3 class="tsd-anchor-link"><span>os</span><a href="#os" 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>
228
+ <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
229
+ <li class="tsd-signature" id="os.os-1"><span class="tsd-signature-symbol">get</span> os<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
230
+ <li class="tsd-description">
231
+ <div class="tsd-comment tsd-typography"><p>Get the operating system of the device. Only set, if the
232
+ device was found with find(). Requires pyatv ≧ 0.10.3.</p>
233
+
234
+ <h3>Example</h3><pre><code class="language-ts"><span class="hl-0">device</span><span class="hl-1">.</span><span class="hl-0">os</span><span class="hl-1"> → </span><span class="hl-3">&quot;TvOS&quot;</span>
235
+ </code></pre>
236
+ </div>
237
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
238
+ <ul>
239
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L104">src/lib/device.ts:104</a></li></ul></aside></li></ul></section>
184
240
  <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="protocol" class="tsd-anchor"></a>
185
241
  <h3 class="tsd-anchor-link"><span>protocol</span><a href="#protocol" 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>
186
242
  <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
187
- <li class="tsd-signature" id="protocol.protocol-1"><span class="tsd-signature-symbol">get</span> protocol<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVProtocol</a></li></ul>
188
- <ul class="tsd-descriptions">
243
+ <li class="tsd-signature" id="protocol.protocol-1"><span class="tsd-signature-symbol">get</span> protocol<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVProtocol</a></li>
189
244
  <li class="tsd-description">
190
245
  <div class="tsd-comment tsd-typography"><p>Get the used protocol to connect to the Apple TV.</p>
191
246
  </div>
192
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVProtocol</a></h4></li></ul></section></section>
247
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVProtocol</a></h4><aside class="tsd-sources">
248
+ <ul>
249
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L74">src/lib/device.ts:74</a></li></ul></aside></li></ul></section>
250
+ <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="services" class="tsd-anchor"></a>
251
+ <h3 class="tsd-anchor-link"><span>services</span><a href="#services" 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>
252
+ <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
253
+ <li class="tsd-signature" id="services.services-1"><span class="tsd-signature-symbol">get</span> services<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/NodePyATVService.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVService</a><span class="tsd-signature-symbol">[]</span></li>
254
+ <li class="tsd-description">
255
+ <div class="tsd-comment tsd-typography"><p>Returns a list of services supported by the device. Ony set, if
256
+ the device was found during a scan using find(). Requires
257
+ pyatv ≧ 0.10.3.</p>
258
+
259
+ <h3>Example</h3><pre><code class="language-ts"><span class="hl-0">device</span><span class="hl-1">.</span><span class="hl-0">services</span><span class="hl-1"> → [</span><br/><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-3">&quot;protocol&quot;</span><span class="hl-0">:</span><span class="hl-1"> </span><span class="hl-3">&quot;airplay&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-3">&quot;port&quot;</span><span class="hl-0">:</span><span class="hl-1"> </span><span class="hl-9">7000</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-3">&quot;protocol&quot;</span><span class="hl-0">:</span><span class="hl-1"> </span><span class="hl-3">&quot;dmap&quot;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-3">&quot;port&quot;</span><span class="hl-0">:</span><span class="hl-1"> </span><span class="hl-9">3689</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">]</span>
260
+ </code></pre>
261
+ </div>
262
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/NodePyATVService.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVService</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
263
+ <ul>
264
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L134">src/lib/device.ts:134</a></li></ul></aside></li></ul></section>
265
+ <section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="version" class="tsd-anchor"></a>
266
+ <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>
267
+ <ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
268
+ <li class="tsd-signature" id="version.version-1"><span class="tsd-signature-symbol">get</span> version<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
269
+ <li class="tsd-description">
270
+ <div class="tsd-comment tsd-typography"><p>Get the device version. Only set, if the device was found
271
+ during a scan using find(). Requires pyatv ≧ 0.10.3.</p>
272
+
273
+ <h3>Example</h3><pre><code class="language-ts"><span class="hl-0">device</span><span class="hl-1">.</span><span class="hl-0">version</span><span class="hl-1"> → </span><span class="hl-3">&quot;15.5.1&quot;</span>
274
+ </code></pre>
275
+ </div>
276
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
277
+ <ul>
278
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L114">src/lib/device.ts:114</a></li></ul></aside></li></ul></section></section>
193
279
  <section class="tsd-panel-group tsd-member-group">
194
280
  <h2>Basic Methods</h2>
195
281
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toJSON" class="tsd-anchor"></a>
196
282
  <h3 class="tsd-anchor-link"><span>toJSON</span><a href="#toJSON" 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>
197
283
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
198
- <li class="tsd-signature" id="toJSON.toJSON-1">toJSON<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>host<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVProtocol</a><span class="tsd-signature-symbol"> }</span></li></ul>
199
- <ul class="tsd-descriptions">
284
+ <li class="tsd-signature tsd-anchor-link" id="toJSON.toJSON-1">toJSON<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>host<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVProtocol</a><span class="tsd-signature-symbol"> }</span><a href="#toJSON.toJSON-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>
200
285
  <li class="tsd-description">
201
286
  <div class="tsd-comment tsd-typography"><p>Returns an object with <code>name</code>, <code>host</code>, <code>id</code> and <code>protocol</code>.
202
287
  Can be used to initiate a new device instance.</p>
@@ -210,104 +295,115 @@ Can be used to initiate a new device instance.</p>
210
295
  <li class="tsd-parameter">
211
296
  <h5>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li>
212
297
  <li class="tsd-parameter">
213
- <h5>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVProtocol</a></h5></li></ul></li></ul></section>
298
+ <h5>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVProtocol</a></h5></li></ul><aside class="tsd-sources">
299
+ <ul>
300
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L169">src/lib/device.ts:169</a></li></ul></aside></li></ul></section>
214
301
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toString" class="tsd-anchor"></a>
215
302
  <h3 class="tsd-anchor-link"><span>to<wbr/>String</span><a href="#toString" 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>
216
303
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
217
- <li class="tsd-signature" id="toString.toString-1">to<wbr/>String<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul>
218
- <ul class="tsd-descriptions">
304
+ <li class="tsd-signature tsd-anchor-link" id="toString.toString-1">to<wbr/>String<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#toString.toString-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>
219
305
  <li class="tsd-description">
220
306
  <div class="tsd-comment tsd-typography"><p>Returns a string. Just for debugging, etc.</p>
221
307
  </div>
222
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section></section>
308
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
309
+ <ul>
310
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L183">src/lib/device.ts:183</a></li></ul></aside></li></ul></section></section>
223
311
  <section class="tsd-panel-group tsd-member-group">
224
312
  <h2>Control Methods</h2>
225
313
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="down" class="tsd-anchor"></a>
226
314
  <h3 class="tsd-anchor-link"><span>down</span><a href="#down" 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>
227
315
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
228
- <li class="tsd-signature" id="down.down-1">down<span class="tsd-signature-symbol">(</span><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>
229
- <ul class="tsd-descriptions">
316
+ <li class="tsd-signature tsd-anchor-link" id="down.down-1">down<span class="tsd-signature-symbol">(</span><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="#down.down-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>
230
317
  <li class="tsd-description">
231
318
  <div class="tsd-comment tsd-typography"><p>Send the &quot;down&quot; command</p>
232
319
  </div>
233
- <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>
320
+ <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">
321
+ <ul>
322
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L432">src/lib/device.ts:432</a></li></ul></aside></li></ul></section>
234
323
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="home" class="tsd-anchor"></a>
235
324
  <h3 class="tsd-anchor-link"><span>home</span><a href="#home" 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>
236
325
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
237
- <li class="tsd-signature" id="home.home-1">home<span class="tsd-signature-symbol">(</span><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>
238
- <ul class="tsd-descriptions">
326
+ <li class="tsd-signature tsd-anchor-link" id="home.home-1">home<span class="tsd-signature-symbol">(</span><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="#home.home-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>
239
327
  <li class="tsd-description">
240
328
  <div class="tsd-comment tsd-typography"><p>Send the &quot;home&quot; command</p>
241
329
  </div>
242
- <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>
330
+ <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">
331
+ <ul>
332
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L440">src/lib/device.ts:440</a></li></ul></aside></li></ul></section>
243
333
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="homeHold" class="tsd-anchor"></a>
244
334
  <h3 class="tsd-anchor-link"><span>home<wbr/>Hold</span><a href="#homeHold" 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>
245
335
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
246
- <li class="tsd-signature" id="homeHold.homeHold-1">home<wbr/>Hold<span class="tsd-signature-symbol">(</span><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>
247
- <ul class="tsd-descriptions">
336
+ <li class="tsd-signature tsd-anchor-link" id="homeHold.homeHold-1">home<wbr/>Hold<span class="tsd-signature-symbol">(</span><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="#homeHold.homeHold-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>
248
337
  <li class="tsd-description">
249
338
  <div class="tsd-comment tsd-typography"><p>Send the &quot;homeHold&quot; command</p>
250
339
  </div>
251
- <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>
340
+ <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">
341
+ <ul>
342
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L448">src/lib/device.ts:448</a></li></ul></aside></li></ul></section>
252
343
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="left" class="tsd-anchor"></a>
253
344
  <h3 class="tsd-anchor-link"><span>left</span><a href="#left" 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>
254
345
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
255
- <li class="tsd-signature" id="left.left-1">left<span class="tsd-signature-symbol">(</span><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>
256
- <ul class="tsd-descriptions">
346
+ <li class="tsd-signature tsd-anchor-link" id="left.left-1">left<span class="tsd-signature-symbol">(</span><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="#left.left-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>
257
347
  <li class="tsd-description">
258
348
  <div class="tsd-comment tsd-typography"><p>Send the &quot;left&quot; command</p>
259
349
  </div>
260
- <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>
350
+ <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">
351
+ <ul>
352
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L456">src/lib/device.ts:456</a></li></ul></aside></li></ul></section>
261
353
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="menu" class="tsd-anchor"></a>
262
354
  <h3 class="tsd-anchor-link"><span>menu</span><a href="#menu" 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>
263
355
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
264
- <li class="tsd-signature" id="menu.menu-1">menu<span class="tsd-signature-symbol">(</span><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>
265
- <ul class="tsd-descriptions">
356
+ <li class="tsd-signature tsd-anchor-link" id="menu.menu-1">menu<span class="tsd-signature-symbol">(</span><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="#menu.menu-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>
266
357
  <li class="tsd-description">
267
358
  <div class="tsd-comment tsd-typography"><p>Send the &quot;menu&quot; command</p>
268
359
  </div>
269
- <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>
360
+ <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">
361
+ <ul>
362
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L464">src/lib/device.ts:464</a></li></ul></aside></li></ul></section>
270
363
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="next" class="tsd-anchor"></a>
271
364
  <h3 class="tsd-anchor-link"><span>next</span><a href="#next" 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>
272
365
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
273
- <li class="tsd-signature" id="next.next-1">next<span class="tsd-signature-symbol">(</span><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>
274
- <ul class="tsd-descriptions">
366
+ <li class="tsd-signature tsd-anchor-link" id="next.next-1">next<span class="tsd-signature-symbol">(</span><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="#next.next-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>
275
367
  <li class="tsd-description">
276
368
  <div class="tsd-comment tsd-typography"><p>Send the &quot;next&quot; command</p>
277
369
  </div>
278
- <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>
370
+ <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">
371
+ <ul>
372
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L472">src/lib/device.ts:472</a></li></ul></aside></li></ul></section>
279
373
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="pause" class="tsd-anchor"></a>
280
374
  <h3 class="tsd-anchor-link"><span>pause</span><a href="#pause" 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>
281
375
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
282
- <li class="tsd-signature" id="pause.pause-1">pause<span class="tsd-signature-symbol">(</span><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>
283
- <ul class="tsd-descriptions">
376
+ <li class="tsd-signature tsd-anchor-link" id="pause.pause-1">pause<span class="tsd-signature-symbol">(</span><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="#pause.pause-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>
284
377
  <li class="tsd-description">
285
378
  <div class="tsd-comment tsd-typography"><p>Send the &quot;pause&quot; command</p>
286
379
  </div>
287
- <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>
380
+ <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">
381
+ <ul>
382
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L480">src/lib/device.ts:480</a></li></ul></aside></li></ul></section>
288
383
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="play" class="tsd-anchor"></a>
289
384
  <h3 class="tsd-anchor-link"><span>play</span><a href="#play" 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>
290
385
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
291
- <li class="tsd-signature" id="play.play-1">play<span class="tsd-signature-symbol">(</span><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>
292
- <ul class="tsd-descriptions">
386
+ <li class="tsd-signature tsd-anchor-link" id="play.play-1">play<span class="tsd-signature-symbol">(</span><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="#play.play-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>
293
387
  <li class="tsd-description">
294
388
  <div class="tsd-comment tsd-typography"><p>Send the &quot;play&quot; command</p>
295
389
  </div>
296
- <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>
390
+ <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">
391
+ <ul>
392
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L488">src/lib/device.ts:488</a></li></ul></aside></li></ul></section>
297
393
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="playPause" class="tsd-anchor"></a>
298
394
  <h3 class="tsd-anchor-link"><span>play<wbr/>Pause</span><a href="#playPause" 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>
299
395
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
300
- <li class="tsd-signature" id="playPause.playPause-1">play<wbr/>Pause<span class="tsd-signature-symbol">(</span><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>
301
- <ul class="tsd-descriptions">
396
+ <li class="tsd-signature tsd-anchor-link" id="playPause.playPause-1">play<wbr/>Pause<span class="tsd-signature-symbol">(</span><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="#playPause.playPause-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>
302
397
  <li class="tsd-description">
303
398
  <div class="tsd-comment tsd-typography"><p>Send the &quot;playPause&quot; command</p>
304
399
  </div>
305
- <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>
400
+ <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">
401
+ <ul>
402
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L496">src/lib/device.ts:496</a></li></ul></aside></li></ul></section>
306
403
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="pressKey" class="tsd-anchor"></a>
307
404
  <h3 class="tsd-anchor-link"><span>press<wbr/>Key</span><a href="#pressKey" 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>
308
405
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
309
- <li class="tsd-signature" id="pressKey.pressKey-1">press<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><a href="../enums/NodePyATVKeys.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVKeys</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>
310
- <ul class="tsd-descriptions">
406
+ <li class="tsd-signature tsd-anchor-link" id="pressKey.pressKey-1">press<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><a href="../enums/NodePyATVKeys.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVKeys</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="#pressKey.pressKey-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>
311
407
  <li class="tsd-description">
312
408
  <div class="tsd-comment tsd-typography"><p>Send a key press to the Apple TV</p>
313
409
  <pre><code class="language-typescript"><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">device</span><span class="hl-1">.</span><span class="hl-6">pressKey</span><span class="hl-1">(</span><span class="hl-0">NodePyATVKeys</span><span class="hl-1">.</span><span class="hl-0">home</span><span class="hl-1">);</span>
@@ -322,142 +418,157 @@ Can be used to initiate a new device instance.</p>
322
418
  <ul class="tsd-parameter-list">
323
419
  <li>
324
420
  <h5>key: <a href="../enums/NodePyATVKeys.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVKeys</a></h5></li></ul></div>
325
- <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>
421
+ <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">
422
+ <ul>
423
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L412">src/lib/device.ts:412</a></li></ul></aside></li></ul></section>
326
424
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="previous" class="tsd-anchor"></a>
327
425
  <h3 class="tsd-anchor-link"><span>previous</span><a href="#previous" 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>
328
426
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
329
- <li class="tsd-signature" id="previous.previous-1">previous<span class="tsd-signature-symbol">(</span><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>
330
- <ul class="tsd-descriptions">
427
+ <li class="tsd-signature tsd-anchor-link" id="previous.previous-1">previous<span class="tsd-signature-symbol">(</span><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="#previous.previous-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>
331
428
  <li class="tsd-description">
332
429
  <div class="tsd-comment tsd-typography"><p>Send the &quot;previous&quot; command</p>
333
430
  </div>
334
- <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>
431
+ <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">
432
+ <ul>
433
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L504">src/lib/device.ts:504</a></li></ul></aside></li></ul></section>
335
434
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="right" class="tsd-anchor"></a>
336
435
  <h3 class="tsd-anchor-link"><span>right</span><a href="#right" 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>
337
436
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
338
- <li class="tsd-signature" id="right.right-1">right<span class="tsd-signature-symbol">(</span><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>
339
- <ul class="tsd-descriptions">
437
+ <li class="tsd-signature tsd-anchor-link" id="right.right-1">right<span class="tsd-signature-symbol">(</span><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="#right.right-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>
340
438
  <li class="tsd-description">
341
439
  <div class="tsd-comment tsd-typography"><p>Send the &quot;right&quot; command</p>
342
440
  </div>
343
- <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>
441
+ <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">
442
+ <ul>
443
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L512">src/lib/device.ts:512</a></li></ul></aside></li></ul></section>
344
444
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="select" class="tsd-anchor"></a>
345
445
  <h3 class="tsd-anchor-link"><span>select</span><a href="#select" 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>
346
446
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
347
- <li class="tsd-signature" id="select.select-1">select<span class="tsd-signature-symbol">(</span><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>
348
- <ul class="tsd-descriptions">
447
+ <li class="tsd-signature tsd-anchor-link" id="select.select-1">select<span class="tsd-signature-symbol">(</span><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="#select.select-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>
349
448
  <li class="tsd-description">
350
449
  <div class="tsd-comment tsd-typography"><p>Send the &quot;select&quot; command</p>
351
450
  </div>
352
- <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>
451
+ <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">
452
+ <ul>
453
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L520">src/lib/device.ts:520</a></li></ul></aside></li></ul></section>
353
454
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="skipBackward" class="tsd-anchor"></a>
354
455
  <h3 class="tsd-anchor-link"><span>skip<wbr/>Backward</span><a href="#skipBackward" 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>
355
456
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
356
- <li class="tsd-signature" id="skipBackward.skipBackward-1">skip<wbr/>Backward<span class="tsd-signature-symbol">(</span><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>
357
- <ul class="tsd-descriptions">
457
+ <li class="tsd-signature tsd-anchor-link" id="skipBackward.skipBackward-1">skip<wbr/>Backward<span class="tsd-signature-symbol">(</span><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="#skipBackward.skipBackward-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>
358
458
  <li class="tsd-description">
359
459
  <div class="tsd-comment tsd-typography"><p>Send the &quot;skipBackward&quot; command</p>
360
460
  </div>
361
- <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>
461
+ <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">
462
+ <ul>
463
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L528">src/lib/device.ts:528</a></li></ul></aside></li></ul></section>
362
464
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="skipForward" class="tsd-anchor"></a>
363
465
  <h3 class="tsd-anchor-link"><span>skip<wbr/>Forward</span><a href="#skipForward" 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>
364
466
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
365
- <li class="tsd-signature" id="skipForward.skipForward-1">skip<wbr/>Forward<span class="tsd-signature-symbol">(</span><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>
366
- <ul class="tsd-descriptions">
467
+ <li class="tsd-signature tsd-anchor-link" id="skipForward.skipForward-1">skip<wbr/>Forward<span class="tsd-signature-symbol">(</span><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="#skipForward.skipForward-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>
367
468
  <li class="tsd-description">
368
469
  <div class="tsd-comment tsd-typography"><p>Send the &quot;skipForward&quot; command</p>
369
470
  </div>
370
- <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>
471
+ <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">
472
+ <ul>
473
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L536">src/lib/device.ts:536</a></li></ul></aside></li></ul></section>
371
474
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="stop" class="tsd-anchor"></a>
372
475
  <h3 class="tsd-anchor-link"><span>stop</span><a href="#stop" 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>
373
476
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
374
- <li class="tsd-signature" id="stop.stop-1">stop<span class="tsd-signature-symbol">(</span><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>
375
- <ul class="tsd-descriptions">
477
+ <li class="tsd-signature tsd-anchor-link" id="stop.stop-1">stop<span class="tsd-signature-symbol">(</span><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="#stop.stop-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>
376
478
  <li class="tsd-description">
377
479
  <div class="tsd-comment tsd-typography"><p>Send the &quot;stop&quot; command</p>
378
480
  </div>
379
- <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>
481
+ <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">
482
+ <ul>
483
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L544">src/lib/device.ts:544</a></li></ul></aside></li></ul></section>
380
484
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="suspend" class="tsd-anchor"></a>
381
485
  <h3 class="tsd-anchor-link"><span>suspend</span><a href="#suspend" 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>
382
486
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
383
- <li class="tsd-signature" id="suspend.suspend-1">suspend<span class="tsd-signature-symbol">(</span><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>
384
- <ul class="tsd-descriptions">
487
+ <li class="tsd-signature tsd-anchor-link" id="suspend.suspend-1">suspend<span class="tsd-signature-symbol">(</span><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="#suspend.suspend-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>
385
488
  <li class="tsd-description">
386
489
  <div class="tsd-comment tsd-typography"><p>Send the &quot;suspend&quot; command</p>
387
490
 
388
491
  <h3>Deprecated</h3></div>
389
- <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>
492
+ <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">
493
+ <ul>
494
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L553">src/lib/device.ts:553</a></li></ul></aside></li></ul></section>
390
495
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="topMenu" class="tsd-anchor"></a>
391
496
  <h3 class="tsd-anchor-link"><span>top<wbr/>Menu</span><a href="#topMenu" 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>
392
497
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
393
- <li class="tsd-signature" id="topMenu.topMenu-1">top<wbr/>Menu<span class="tsd-signature-symbol">(</span><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>
394
- <ul class="tsd-descriptions">
498
+ <li class="tsd-signature tsd-anchor-link" id="topMenu.topMenu-1">top<wbr/>Menu<span class="tsd-signature-symbol">(</span><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="#topMenu.topMenu-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>
395
499
  <li class="tsd-description">
396
500
  <div class="tsd-comment tsd-typography"><p>Send the &quot;topMenu&quot; command</p>
397
501
  </div>
398
- <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>
502
+ <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">
503
+ <ul>
504
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L561">src/lib/device.ts:561</a></li></ul></aside></li></ul></section>
399
505
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="turnOff" class="tsd-anchor"></a>
400
506
  <h3 class="tsd-anchor-link"><span>turn<wbr/>Off</span><a href="#turnOff" 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>
401
507
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
402
- <li class="tsd-signature" id="turnOff.turnOff-1">turn<wbr/>Off<span class="tsd-signature-symbol">(</span><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>
403
- <ul class="tsd-descriptions">
508
+ <li class="tsd-signature tsd-anchor-link" id="turnOff.turnOff-1">turn<wbr/>Off<span class="tsd-signature-symbol">(</span><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="#turnOff.turnOff-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>
404
509
  <li class="tsd-description">
405
510
  <div class="tsd-comment tsd-typography"><p>Send the &quot;turn_off&quot; command</p>
406
511
  </div>
407
- <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>
512
+ <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">
513
+ <ul>
514
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L602">src/lib/device.ts:602</a></li></ul></aside></li></ul></section>
408
515
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="turnOn" class="tsd-anchor"></a>
409
516
  <h3 class="tsd-anchor-link"><span>turn<wbr/>On</span><a href="#turnOn" 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>
410
517
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
411
- <li class="tsd-signature" id="turnOn.turnOn-1">turn<wbr/>On<span class="tsd-signature-symbol">(</span><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>
412
- <ul class="tsd-descriptions">
518
+ <li class="tsd-signature tsd-anchor-link" id="turnOn.turnOn-1">turn<wbr/>On<span class="tsd-signature-symbol">(</span><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="#turnOn.turnOn-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>
413
519
  <li class="tsd-description">
414
520
  <div class="tsd-comment tsd-typography"><p>Send the &quot;turn_on&quot; command</p>
415
521
  </div>
416
- <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>
522
+ <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">
523
+ <ul>
524
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L610">src/lib/device.ts:610</a></li></ul></aside></li></ul></section>
417
525
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="up" class="tsd-anchor"></a>
418
526
  <h3 class="tsd-anchor-link"><span>up</span><a href="#up" 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>
419
527
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
420
- <li class="tsd-signature" id="up.up-1">up<span class="tsd-signature-symbol">(</span><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>
421
- <ul class="tsd-descriptions">
528
+ <li class="tsd-signature tsd-anchor-link" id="up.up-1">up<span class="tsd-signature-symbol">(</span><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="#up.up-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>
422
529
  <li class="tsd-description">
423
530
  <div class="tsd-comment tsd-typography"><p>Send the &quot;up&quot; command</p>
424
531
  </div>
425
- <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>
532
+ <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">
533
+ <ul>
534
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L569">src/lib/device.ts:569</a></li></ul></aside></li></ul></section>
426
535
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="volumeDown" class="tsd-anchor"></a>
427
536
  <h3 class="tsd-anchor-link"><span>volume<wbr/>Down</span><a href="#volumeDown" 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>
428
537
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
429
- <li class="tsd-signature" id="volumeDown.volumeDown-1">volume<wbr/>Down<span class="tsd-signature-symbol">(</span><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>
430
- <ul class="tsd-descriptions">
538
+ <li class="tsd-signature tsd-anchor-link" id="volumeDown.volumeDown-1">volume<wbr/>Down<span class="tsd-signature-symbol">(</span><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="#volumeDown.volumeDown-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>
431
539
  <li class="tsd-description">
432
540
  <div class="tsd-comment tsd-typography"><p>Send the &quot;volumeDown&quot; command</p>
433
541
  </div>
434
- <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>
542
+ <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">
543
+ <ul>
544
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L577">src/lib/device.ts:577</a></li></ul></aside></li></ul></section>
435
545
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="volumeUp" class="tsd-anchor"></a>
436
546
  <h3 class="tsd-anchor-link"><span>volume<wbr/>Up</span><a href="#volumeUp" 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>
437
547
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
438
- <li class="tsd-signature" id="volumeUp.volumeUp-1">volume<wbr/>Up<span class="tsd-signature-symbol">(</span><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>
439
- <ul class="tsd-descriptions">
548
+ <li class="tsd-signature tsd-anchor-link" id="volumeUp.volumeUp-1">volume<wbr/>Up<span class="tsd-signature-symbol">(</span><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="#volumeUp.volumeUp-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>
440
549
  <li class="tsd-description">
441
550
  <div class="tsd-comment tsd-typography"><p>Send the &quot;volumeUp&quot; command</p>
442
551
  </div>
443
- <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>
552
+ <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">
553
+ <ul>
554
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L585">src/lib/device.ts:585</a></li></ul></aside></li></ul></section>
444
555
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="wakeup" class="tsd-anchor"></a>
445
556
  <h3 class="tsd-anchor-link"><span>wakeup</span><a href="#wakeup" 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>
446
557
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
447
- <li class="tsd-signature" id="wakeup.wakeup-1">wakeup<span class="tsd-signature-symbol">(</span><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>
448
- <ul class="tsd-descriptions">
558
+ <li class="tsd-signature tsd-anchor-link" id="wakeup.wakeup-1">wakeup<span class="tsd-signature-symbol">(</span><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="#wakeup.wakeup-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>
449
559
  <li class="tsd-description">
450
560
  <div class="tsd-comment tsd-typography"><p>Send the &quot;wakeup&quot; command</p>
451
561
 
452
562
  <h3>Deprecated</h3></div>
453
- <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></section>
563
+ <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">
564
+ <ul>
565
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L594">src/lib/device.ts:594</a></li></ul></aside></li></ul></section></section>
454
566
  <section class="tsd-panel-group tsd-member-group">
455
567
  <h2>Event Methods</h2>
456
568
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addListener" class="tsd-anchor"></a>
457
569
  <h3 class="tsd-anchor-link"><span>add<wbr/>Listener</span><a href="#addListener" 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>
458
570
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
459
- <li class="tsd-signature" id="addListener.addListener-1">add<wbr/>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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>
460
- <ul class="tsd-descriptions">
571
+ <li class="tsd-signature tsd-anchor-link" id="addListener.addListener-1">add<wbr/>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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><a href="#addListener.addListener-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>
461
572
  <li class="tsd-description">
462
573
  <div class="tsd-comment tsd-typography"><p>Add an event listener. Will start the event subscription with the
463
574
  Apple TV as long as there are listeners for any event registered.</p>
@@ -472,8 +583,7 @@ Apple TV as long as there are listeners for any event registered.</p>
472
583
  <ul class="tsd-parameters">
473
584
  <li class="tsd-parameter-signature">
474
585
  <ul class="tsd-signatures tsd-kind-type-literal">
475
- <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul>
476
- <ul class="tsd-descriptions">
586
+ <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
477
587
  <li class="tsd-description">
478
588
  <div class="tsd-parameters">
479
589
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -482,12 +592,13 @@ Apple TV as long as there are listeners for any event registered.</p>
482
592
  <h5>event: <a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a></h5></li></ul></div>
483
593
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
484
594
  <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">
485
- <p>Implementation of EventEmitter.addListener</p></aside></li></ul></section>
595
+ <p>Implementation of EventEmitter.addListener</p>
596
+ <ul>
597
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L621">src/lib/device.ts:621</a></li></ul></aside></li></ul></section>
486
598
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="emit" class="tsd-anchor"></a>
487
599
  <h3 class="tsd-anchor-link"><span>emit</span><a href="#emit" 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>
488
600
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
489
- <li class="tsd-signature" id="emit.emit-1">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, payload<span class="tsd-signature-symbol">: </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul>
490
- <ul class="tsd-descriptions">
601
+ <li class="tsd-signature tsd-anchor-link" id="emit.emit-1">emit<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, payload<span class="tsd-signature-symbol">: </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#emit.emit-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>
491
602
  <li class="tsd-description">
492
603
  <div class="tsd-comment tsd-typography"><p>Emit an event.</p>
493
604
  </div>
@@ -499,32 +610,35 @@ Apple TV as long as there are listeners for any event registered.</p>
499
610
  <li>
500
611
  <h5>payload: <a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a></h5></li></ul></div>
501
612
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
502
- <p>Implementation of EventEmitter.emit</p></aside></li></ul></section>
613
+ <p>Implementation of EventEmitter.emit</p>
614
+ <ul>
615
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L632">src/lib/device.ts:632</a></li></ul></aside></li></ul></section>
503
616
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="eventNames" class="tsd-anchor"></a>
504
617
  <h3 class="tsd-anchor-link"><span>event<wbr/>Names</span><a href="#eventNames" 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>
505
618
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
506
- <li class="tsd-signature" id="eventNames.eventNames-1">event<wbr/>Names<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></li></ul>
507
- <ul class="tsd-descriptions">
619
+ <li class="tsd-signature tsd-anchor-link" id="eventNames.eventNames-1">event<wbr/>Names<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><a href="#eventNames.eventNames-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>
508
620
  <li class="tsd-description">
509
621
  <div class="tsd-comment tsd-typography"><p>Get all event names which are currently known.</p>
510
622
  </div>
511
623
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
512
- <p>Implementation of EventEmitter.eventNames</p></aside></li></ul></section>
624
+ <p>Implementation of EventEmitter.eventNames</p>
625
+ <ul>
626
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L640">src/lib/device.ts:640</a></li></ul></aside></li></ul></section>
513
627
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMaxListeners" class="tsd-anchor"></a>
514
628
  <h3 class="tsd-anchor-link"><span>get<wbr/>Max<wbr/>Listeners</span><a href="#getMaxListeners" 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>
515
629
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
516
- <li class="tsd-signature" id="getMaxListeners.getMaxListeners-1">get<wbr/>Max<wbr/>Listeners<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul>
517
- <ul class="tsd-descriptions">
630
+ <li class="tsd-signature tsd-anchor-link" id="getMaxListeners.getMaxListeners-1">get<wbr/>Max<wbr/>Listeners<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getMaxListeners.getMaxListeners-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>
518
631
  <li class="tsd-description">
519
632
  <div class="tsd-comment tsd-typography"><p>Get max number of listeners allowed</p>
520
633
  </div>
521
634
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
522
- <p>Implementation of EventEmitter.getMaxListeners</p></aside></li></ul></section>
635
+ <p>Implementation of EventEmitter.getMaxListeners</p>
636
+ <ul>
637
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L648">src/lib/device.ts:648</a></li></ul></aside></li></ul></section>
523
638
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="listenerCount" class="tsd-anchor"></a>
524
639
  <h3 class="tsd-anchor-link"><span>listener<wbr/>Count</span><a href="#listenerCount" 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>
525
640
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
526
- <li class="tsd-signature" id="listenerCount.listenerCount-1">listener<wbr/>Count<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul>
527
- <ul class="tsd-descriptions">
641
+ <li class="tsd-signature tsd-anchor-link" id="listenerCount.listenerCount-1">listener<wbr/>Count<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#listenerCount.listenerCount-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>
528
642
  <li class="tsd-description">
529
643
  <div class="tsd-comment tsd-typography"><p>Get number of listeners for event</p>
530
644
  </div>
@@ -534,12 +648,13 @@ Apple TV as long as there are listeners for any event registered.</p>
534
648
  <li>
535
649
  <h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5></li></ul></div>
536
650
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
537
- <p>Implementation of EventEmitter.listenerCount</p></aside></li></ul></section>
651
+ <p>Implementation of EventEmitter.listenerCount</p>
652
+ <ul>
653
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L657">src/lib/device.ts:657</a></li></ul></aside></li></ul></section>
538
654
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="listeners" class="tsd-anchor"></a>
539
655
  <h3 class="tsd-anchor-link"><span>listeners</span><a href="#listeners" 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>
540
656
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
541
- <li class="tsd-signature" id="listeners.listeners-1">listeners<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span></li></ul>
542
- <ul class="tsd-descriptions">
657
+ <li class="tsd-signature tsd-anchor-link" id="listeners.listeners-1">listeners<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span><a href="#listeners.listeners-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>
543
658
  <li class="tsd-description">
544
659
  <div class="tsd-comment tsd-typography"><p>Get listeners for event. Will also return
545
660
  node-pyatv wrappers (e.g. once)</p>
@@ -550,12 +665,13 @@ node-pyatv wrappers (e.g. once)</p>
550
665
  <li>
551
666
  <h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5></li></ul></div>
552
667
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
553
- <p>Implementation of EventEmitter.listeners</p></aside></li></ul></section>
668
+ <p>Implementation of EventEmitter.listeners</p>
669
+ <ul>
670
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L669">src/lib/device.ts:669</a></li></ul></aside></li></ul></section>
554
671
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="off" class="tsd-anchor"></a>
555
672
  <h3 class="tsd-anchor-link"><span>off</span><a href="#off" 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>
556
673
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
557
- <li class="tsd-signature" id="off.off-1">off<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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>
558
- <ul class="tsd-descriptions">
674
+ <li class="tsd-signature tsd-anchor-link" id="off.off-1">off<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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><a href="#off.off-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>
559
675
  <li class="tsd-description">
560
676
  <div class="tsd-comment tsd-typography"><p>Remove an event listener. Will stop the event subscription with the
561
677
  Apple TV if this was the last event listener.</p>
@@ -570,8 +686,7 @@ Apple TV if this was the last event listener.</p>
570
686
  <ul class="tsd-parameters">
571
687
  <li class="tsd-parameter-signature">
572
688
  <ul class="tsd-signatures tsd-kind-type-literal">
573
- <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul>
574
- <ul class="tsd-descriptions">
689
+ <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
575
690
  <li class="tsd-description">
576
691
  <div class="tsd-parameters">
577
692
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -580,12 +695,13 @@ Apple TV if this was the last event listener.</p>
580
695
  <h5>event: <span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a></h5></li></ul></div>
581
696
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
582
697
  <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">
583
- <p>Implementation of EventEmitter.off</p></aside></li></ul></section>
698
+ <p>Implementation of EventEmitter.off</p>
699
+ <ul>
700
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L680">src/lib/device.ts:680</a></li></ul></aside></li></ul></section>
584
701
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="on" class="tsd-anchor"></a>
585
702
  <h3 class="tsd-anchor-link"><span>on</span><a href="#on" 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>
586
703
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
587
- <li class="tsd-signature" id="on.on-1">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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>
588
- <ul class="tsd-descriptions">
704
+ <li class="tsd-signature tsd-anchor-link" id="on.on-1">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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><a href="#on.on-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>
589
705
  <li class="tsd-description">
590
706
  <div class="tsd-comment tsd-typography"><p>Add an event listener. Will start the event subscription with the
591
707
  Apple TV as long as there are listeners for any event registered.</p>
@@ -600,8 +716,7 @@ Apple TV as long as there are listeners for any event registered.</p>
600
716
  <ul class="tsd-parameters">
601
717
  <li class="tsd-parameter-signature">
602
718
  <ul class="tsd-signatures tsd-kind-type-literal">
603
- <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul>
604
- <ul class="tsd-descriptions">
719
+ <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
605
720
  <li class="tsd-description">
606
721
  <div class="tsd-parameters">
607
722
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -610,12 +725,13 @@ Apple TV as long as there are listeners for any event registered.</p>
610
725
  <h5>event: <span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a></h5></li></ul></div>
611
726
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
612
727
  <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">
613
- <p>Implementation of EventEmitter.on</p></aside></li></ul></section>
728
+ <p>Implementation of EventEmitter.on</p>
729
+ <ul>
730
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L692">src/lib/device.ts:692</a></li></ul></aside></li></ul></section>
614
731
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="once" class="tsd-anchor"></a>
615
732
  <h3 class="tsd-anchor-link"><span>once</span><a href="#once" 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>
616
733
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
617
- <li class="tsd-signature" id="once.once-1">once<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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>
618
- <ul class="tsd-descriptions">
734
+ <li class="tsd-signature tsd-anchor-link" id="once.once-1">once<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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><a href="#once.once-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>
619
735
  <li class="tsd-description">
620
736
  <div class="tsd-comment tsd-typography"><p>Add an event listener. Will start the event subscription with the
621
737
  Apple TV as long as there are listeners for any event registered.
@@ -631,8 +747,7 @@ Removes the listener automatically after the first occurrence.</p>
631
747
  <ul class="tsd-parameters">
632
748
  <li class="tsd-parameter-signature">
633
749
  <ul class="tsd-signatures tsd-kind-type-literal">
634
- <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul>
635
- <ul class="tsd-descriptions">
750
+ <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
636
751
  <li class="tsd-description">
637
752
  <div class="tsd-parameters">
638
753
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -641,12 +756,13 @@ Removes the listener automatically after the first occurrence.</p>
641
756
  <h5>event: <span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a></h5></li></ul></div>
642
757
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
643
758
  <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">
644
- <p>Implementation of EventEmitter.once</p></aside></li></ul></section>
759
+ <p>Implementation of EventEmitter.once</p>
760
+ <ul>
761
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L705">src/lib/device.ts:705</a></li></ul></aside></li></ul></section>
645
762
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="prependListener" class="tsd-anchor"></a>
646
763
  <h3 class="tsd-anchor-link"><span>prepend<wbr/>Listener</span><a href="#prependListener" 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>
647
764
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
648
- <li class="tsd-signature" id="prependListener.prependListener-1">prepend<wbr/>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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>
649
- <ul class="tsd-descriptions">
765
+ <li class="tsd-signature tsd-anchor-link" id="prependListener.prependListener-1">prepend<wbr/>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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><a href="#prependListener.prependListener-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>
650
766
  <li class="tsd-description">
651
767
  <div class="tsd-parameters">
652
768
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -658,8 +774,7 @@ Removes the listener automatically after the first occurrence.</p>
658
774
  <ul class="tsd-parameters">
659
775
  <li class="tsd-parameter-signature">
660
776
  <ul class="tsd-signatures tsd-kind-type-literal">
661
- <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul>
662
- <ul class="tsd-descriptions">
777
+ <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
663
778
  <li class="tsd-description">
664
779
  <div class="tsd-parameters">
665
780
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -668,12 +783,13 @@ Removes the listener automatically after the first occurrence.</p>
668
783
  <h5>event: <span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a></h5></li></ul></div>
669
784
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
670
785
  <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">
671
- <p>Implementation of EventEmitter.prependListener</p></aside></li></ul></section>
786
+ <p>Implementation of EventEmitter.prependListener</p>
787
+ <ul>
788
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L715">src/lib/device.ts:715</a></li></ul></aside></li></ul></section>
672
789
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="prependOnceListener" class="tsd-anchor"></a>
673
790
  <h3 class="tsd-anchor-link"><span>prepend<wbr/>Once<wbr/>Listener</span><a href="#prependOnceListener" 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>
674
791
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
675
- <li class="tsd-signature" id="prependOnceListener.prependOnceListener-1">prepend<wbr/>Once<wbr/>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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>
676
- <ul class="tsd-descriptions">
792
+ <li class="tsd-signature tsd-anchor-link" id="prependOnceListener.prependOnceListener-1">prepend<wbr/>Once<wbr/>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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><a href="#prependOnceListener.prependOnceListener-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>
677
793
  <li class="tsd-description">
678
794
  <div class="tsd-parameters">
679
795
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -685,8 +801,7 @@ Removes the listener automatically after the first occurrence.</p>
685
801
  <ul class="tsd-parameters">
686
802
  <li class="tsd-parameter-signature">
687
803
  <ul class="tsd-signatures tsd-kind-type-literal">
688
- <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul>
689
- <ul class="tsd-descriptions">
804
+ <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
690
805
  <li class="tsd-description">
691
806
  <div class="tsd-parameters">
692
807
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -695,12 +810,13 @@ Removes the listener automatically after the first occurrence.</p>
695
810
  <h5>event: <span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> | </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a></h5></li></ul></div>
696
811
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
697
812
  <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">
698
- <p>Implementation of EventEmitter.prependOnceListener</p></aside></li></ul></section>
813
+ <p>Implementation of EventEmitter.prependOnceListener</p>
814
+ <ul>
815
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L725">src/lib/device.ts:725</a></li></ul></aside></li></ul></section>
699
816
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="rawListeners" class="tsd-anchor"></a>
700
817
  <h3 class="tsd-anchor-link"><span>raw<wbr/>Listeners</span><a href="#rawListeners" 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>
701
818
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
702
- <li class="tsd-signature" id="rawListeners.rawListeners-1">raw<wbr/>Listeners<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span></li></ul>
703
- <ul class="tsd-descriptions">
819
+ <li class="tsd-signature tsd-anchor-link" id="rawListeners.rawListeners-1">raw<wbr/>Listeners<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span><a href="#rawListeners.rawListeners-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>
704
820
  <li class="tsd-description">
705
821
  <div class="tsd-parameters">
706
822
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -708,12 +824,13 @@ Removes the listener automatically after the first occurrence.</p>
708
824
  <li>
709
825
  <h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5></li></ul></div>
710
826
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
711
- <p>Implementation of EventEmitter.rawListeners</p></aside></li></ul></section>
827
+ <p>Implementation of EventEmitter.rawListeners</p>
828
+ <ul>
829
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L735">src/lib/device.ts:735</a></li></ul></aside></li></ul></section>
712
830
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeAllListeners" class="tsd-anchor"></a>
713
831
  <h3 class="tsd-anchor-link"><span>remove<wbr/>All<wbr/>Listeners</span><a href="#removeAllListeners" 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>
714
832
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
715
- <li class="tsd-signature" id="removeAllListeners.removeAllListeners-1">remove<wbr/>All<wbr/>Listeners<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">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>
716
- <ul class="tsd-descriptions">
833
+ <li class="tsd-signature tsd-anchor-link" id="removeAllListeners.removeAllListeners-1">remove<wbr/>All<wbr/>Listeners<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">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><a href="#removeAllListeners.removeAllListeners-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>
717
834
  <li class="tsd-description">
718
835
  <div class="tsd-comment tsd-typography"><p>Removes all listeners, either for the given event or
719
836
  for every event. Will stop the event subscription with
@@ -725,12 +842,13 @@ the Apple TV if this was the last event listener.</p>
725
842
  <li>
726
843
  <h5><code class="tsd-tag ts-flagOptional">Optional</code> event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5></li></ul></div>
727
844
  <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">
728
- <p>Implementation of EventEmitter.removeAllListeners</p></aside></li></ul></section>
845
+ <p>Implementation of EventEmitter.removeAllListeners</p>
846
+ <ul>
847
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L747">src/lib/device.ts:747</a></li></ul></aside></li></ul></section>
729
848
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeListener" class="tsd-anchor"></a>
730
849
  <h3 class="tsd-anchor-link"><span>remove<wbr/>Listener</span><a href="#removeListener" 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>
731
850
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
732
- <li class="tsd-signature" id="removeListener.removeListener-1">remove<wbr/>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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>
733
- <ul class="tsd-descriptions">
851
+ <li class="tsd-signature tsd-anchor-link" id="removeListener.removeListener-1">remove<wbr/>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><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><a href="#removeListener.removeListener-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>
734
852
  <li class="tsd-description">
735
853
  <div class="tsd-comment tsd-typography"><p>Remove an event listener. Will stop the event subscription with the
736
854
  Apple TV if this was the last event listener.</p>
@@ -745,8 +863,7 @@ Apple TV if this was the last event listener.</p>
745
863
  <ul class="tsd-parameters">
746
864
  <li class="tsd-parameter-signature">
747
865
  <ul class="tsd-signatures tsd-kind-type-literal">
748
- <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul>
749
- <ul class="tsd-descriptions">
866
+ <li class="tsd-signature"><span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
750
867
  <li class="tsd-description">
751
868
  <div class="tsd-parameters">
752
869
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -755,12 +872,13 @@ Apple TV if this was the last event listener.</p>
755
872
  <h5>event: <a href="NodePyATVDeviceEvent.html" class="tsd-signature-type" data-tsd-kind="Class">NodePyATVDeviceEvent</a></h5></li></ul></div>
756
873
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
757
874
  <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">
758
- <p>Implementation of EventEmitter.removeListener</p></aside></li></ul></section>
875
+ <p>Implementation of EventEmitter.removeListener</p>
876
+ <ul>
877
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L759">src/lib/device.ts:759</a></li></ul></aside></li></ul></section>
759
878
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setMaxListeners" class="tsd-anchor"></a>
760
879
  <h3 class="tsd-anchor-link"><span>set<wbr/>Max<wbr/>Listeners</span><a href="#setMaxListeners" 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>
761
880
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
762
- <li class="tsd-signature" id="setMaxListeners.setMaxListeners-1">set<wbr/>Max<wbr/>Listeners<span class="tsd-signature-symbol">(</span>n<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</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>
763
- <ul class="tsd-descriptions">
881
+ <li class="tsd-signature tsd-anchor-link" id="setMaxListeners.setMaxListeners-1">set<wbr/>Max<wbr/>Listeners<span class="tsd-signature-symbol">(</span>n<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</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><a href="#setMaxListeners.setMaxListeners-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>
764
882
  <li class="tsd-description">
765
883
  <div class="tsd-parameters">
766
884
  <h4 class="tsd-parameters-title">Parameters</h4>
@@ -768,23 +886,25 @@ Apple TV if this was the last event listener.</p>
768
886
  <li>
769
887
  <h5>n: <span class="tsd-signature-type">number</span></h5></li></ul></div>
770
888
  <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">
771
- <p>Implementation of EventEmitter.setMaxListeners</p></aside></li></ul></section></section>
889
+ <p>Implementation of EventEmitter.setMaxListeners</p>
890
+ <ul>
891
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L768">src/lib/device.ts:768</a></li></ul></aside></li></ul></section></section>
772
892
  <section class="tsd-panel-group tsd-member-group">
773
893
  <h2>State Methods</h2>
774
894
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="clearState" class="tsd-anchor"></a>
775
895
  <h3 class="tsd-anchor-link"><span>clear<wbr/>State</span><a href="#clearState" 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>
776
896
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
777
- <li class="tsd-signature" id="clearState.clearState-1">clear<wbr/>State<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul>
778
- <ul class="tsd-descriptions">
897
+ <li class="tsd-signature tsd-anchor-link" id="clearState.clearState-1">clear<wbr/>State<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#clearState.clearState-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>
779
898
  <li class="tsd-description">
780
899
  <div class="tsd-comment tsd-typography"><p>Removes the state node-pyatv cached for this device.</p>
781
900
  </div>
782
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section>
901
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
902
+ <ul>
903
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L233">src/lib/device.ts:233</a></li></ul></aside></li></ul></section>
783
904
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAlbum" class="tsd-anchor"></a>
784
905
  <h3 class="tsd-anchor-link"><span>get<wbr/>Album</span><a href="#getAlbum" 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>
785
906
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
786
- <li class="tsd-signature" id="getAlbum.getAlbum-1">get<wbr/>Album<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
787
- <ul class="tsd-descriptions">
907
+ <li class="tsd-signature tsd-anchor-link" id="getAlbum.getAlbum-1">get<wbr/>Album<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#getAlbum.getAlbum-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>
788
908
  <li class="tsd-description">
789
909
  <div class="tsd-comment tsd-typography"><p>Returns the album of the current playing media</p>
790
910
  </div>
@@ -793,12 +913,13 @@ Apple TV if this was the last event listener.</p>
793
913
  <ul class="tsd-parameter-list">
794
914
  <li>
795
915
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
796
- <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
916
+ <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
917
+ <ul>
918
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L306">src/lib/device.ts:306</a></li></ul></aside></li></ul></section>
797
919
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getApp" class="tsd-anchor"></a>
798
920
  <h3 class="tsd-anchor-link"><span>get<wbr/>App</span><a href="#getApp" 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>
799
921
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
800
- <li class="tsd-signature" id="getApp.getApp-1">get<wbr/>App<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
801
- <ul class="tsd-descriptions">
922
+ <li class="tsd-signature tsd-anchor-link" id="getApp.getApp-1">get<wbr/>App<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#getApp.getApp-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>
802
923
  <li class="tsd-description">
803
924
  <div class="tsd-comment tsd-typography"><p>Returns the currently used app</p>
804
925
  </div>
@@ -807,12 +928,13 @@ Apple TV if this was the last event listener.</p>
807
928
  <ul class="tsd-parameter-list">
808
929
  <li>
809
930
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
810
- <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
931
+ <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
932
+ <ul>
933
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L366">src/lib/device.ts:366</a></li></ul></aside></li></ul></section>
811
934
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAppId" class="tsd-anchor"></a>
812
935
  <h3 class="tsd-anchor-link"><span>get<wbr/>App<wbr/>Id</span><a href="#getAppId" 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>
813
936
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
814
- <li class="tsd-signature" id="getAppId.getAppId-1">get<wbr/>App<wbr/>Id<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
815
- <ul class="tsd-descriptions">
937
+ <li class="tsd-signature tsd-anchor-link" id="getAppId.getAppId-1">get<wbr/>App<wbr/>Id<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#getAppId.getAppId-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>
816
938
  <li class="tsd-description">
817
939
  <div class="tsd-comment tsd-typography"><p>Returns the id of the currently used app</p>
818
940
  </div>
@@ -821,12 +943,13 @@ Apple TV if this was the last event listener.</p>
821
943
  <ul class="tsd-parameter-list">
822
944
  <li>
823
945
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
824
- <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
946
+ <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
947
+ <ul>
948
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L376">src/lib/device.ts:376</a></li></ul></aside></li></ul></section>
825
949
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getArtist" class="tsd-anchor"></a>
826
950
  <h3 class="tsd-anchor-link"><span>get<wbr/>Artist</span><a href="#getArtist" 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>
827
951
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
828
- <li class="tsd-signature" id="getArtist.getArtist-1">get<wbr/>Artist<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
829
- <ul class="tsd-descriptions">
952
+ <li class="tsd-signature tsd-anchor-link" id="getArtist.getArtist-1">get<wbr/>Artist<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#getArtist.getArtist-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>
830
953
  <li class="tsd-description">
831
954
  <div class="tsd-comment tsd-typography"><p>Returns the artist of the current playing media</p>
832
955
  </div>
@@ -835,12 +958,13 @@ Apple TV if this was the last event listener.</p>
835
958
  <ul class="tsd-parameter-list">
836
959
  <li>
837
960
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
838
- <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
961
+ <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
962
+ <ul>
963
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L296">src/lib/device.ts:296</a></li></ul></aside></li></ul></section>
839
964
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDateTime" class="tsd-anchor"></a>
840
965
  <h3 class="tsd-anchor-link"><span>get<wbr/>Date<wbr/>Time</span><a href="#getDateTime" 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>
841
966
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
842
- <li class="tsd-signature" id="getDateTime.getDateTime-1">get<wbr/>Date<wbr/>Time<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
843
- <ul class="tsd-descriptions">
967
+ <li class="tsd-signature tsd-anchor-link" id="getDateTime.getDateTime-1">get<wbr/>Date<wbr/>Time<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">&gt;</span><a href="#getDateTime.getDateTime-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>
844
968
  <li class="tsd-description">
845
969
  <div class="tsd-comment tsd-typography"><p>Get the date and time when the state was last updated.</p>
846
970
  </div>
@@ -849,12 +973,13 @@ Apple TV if this was the last event listener.</p>
849
973
  <ul class="tsd-parameter-list">
850
974
  <li>
851
975
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
852
- <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
976
+ <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
977
+ <ul>
978
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L246">src/lib/device.ts:246</a></li></ul></aside></li></ul></section>
853
979
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDeviceState" class="tsd-anchor"></a>
854
980
  <h3 class="tsd-anchor-link"><span>get<wbr/>Device<wbr/>State</span><a href="#getDeviceState" 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>
855
981
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
856
- <li class="tsd-signature" id="getDeviceState.getDeviceState-1">get<wbr/>Device<wbr/>State<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVDeviceState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVDeviceState</a><span class="tsd-signature-symbol">&gt;</span></li></ul>
857
- <ul class="tsd-descriptions">
982
+ <li class="tsd-signature tsd-anchor-link" id="getDeviceState.getDeviceState-1">get<wbr/>Device<wbr/>State<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVDeviceState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVDeviceState</a><span class="tsd-signature-symbol">&gt;</span><a href="#getDeviceState.getDeviceState-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>
858
983
  <li class="tsd-description">
859
984
  <div class="tsd-comment tsd-typography"><p>Get the state of this device (e.g. playing, etc.)</p>
860
985
  </div>
@@ -863,12 +988,13 @@ Apple TV if this was the last event listener.</p>
863
988
  <ul class="tsd-parameter-list">
864
989
  <li>
865
990
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
866
- <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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVDeviceState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVDeviceState</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
991
+ <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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVDeviceState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVDeviceState</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
992
+ <ul>
993
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L276">src/lib/device.ts:276</a></li></ul></aside></li></ul></section>
867
994
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getGenre" class="tsd-anchor"></a>
868
995
  <h3 class="tsd-anchor-link"><span>get<wbr/>Genre</span><a href="#getGenre" 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>
869
996
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
870
- <li class="tsd-signature" id="getGenre.getGenre-1">get<wbr/>Genre<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
871
- <ul class="tsd-descriptions">
997
+ <li class="tsd-signature tsd-anchor-link" id="getGenre.getGenre-1">get<wbr/>Genre<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#getGenre.getGenre-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>
872
998
  <li class="tsd-description">
873
999
  <div class="tsd-comment tsd-typography"><p>Returns the genre of the current playing media</p>
874
1000
  </div>
@@ -877,12 +1003,13 @@ Apple TV if this was the last event listener.</p>
877
1003
  <ul class="tsd-parameter-list">
878
1004
  <li>
879
1005
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
880
- <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
1006
+ <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
1007
+ <ul>
1008
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L316">src/lib/device.ts:316</a></li></ul></aside></li></ul></section>
881
1009
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getHash" class="tsd-anchor"></a>
882
1010
  <h3 class="tsd-anchor-link"><span>get<wbr/>Hash</span><a href="#getHash" 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>
883
1011
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
884
- <li class="tsd-signature" id="getHash.getHash-1">get<wbr/>Hash<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
885
- <ul class="tsd-descriptions">
1012
+ <li class="tsd-signature tsd-anchor-link" id="getHash.getHash-1">get<wbr/>Hash<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#getHash.getHash-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>
886
1013
  <li class="tsd-description">
887
1014
  <div class="tsd-comment tsd-typography"><p>Get the hash of the current media</p>
888
1015
  </div>
@@ -891,12 +1018,13 @@ Apple TV if this was the last event listener.</p>
891
1018
  <ul class="tsd-parameter-list">
892
1019
  <li>
893
1020
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
894
- <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
1021
+ <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
1022
+ <ul>
1023
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L256">src/lib/device.ts:256</a></li></ul></aside></li></ul></section>
895
1024
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMediaType" class="tsd-anchor"></a>
896
1025
  <h3 class="tsd-anchor-link"><span>get<wbr/>Media<wbr/>Type</span><a href="#getMediaType" 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>
897
1026
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
898
- <li class="tsd-signature" id="getMediaType.getMediaType-1">get<wbr/>Media<wbr/>Type<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVMediaType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVMediaType</a><span class="tsd-signature-symbol">&gt;</span></li></ul>
899
- <ul class="tsd-descriptions">
1027
+ <li class="tsd-signature tsd-anchor-link" id="getMediaType.getMediaType-1">get<wbr/>Media<wbr/>Type<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVMediaType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVMediaType</a><span class="tsd-signature-symbol">&gt;</span><a href="#getMediaType.getMediaType-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>
900
1028
  <li class="tsd-description">
901
1029
  <div class="tsd-comment tsd-typography"><p>Get the media type of the current media</p>
902
1030
  </div>
@@ -905,12 +1033,13 @@ Apple TV if this was the last event listener.</p>
905
1033
  <ul class="tsd-parameter-list">
906
1034
  <li>
907
1035
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
908
- <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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVMediaType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVMediaType</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
1036
+ <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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVMediaType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVMediaType</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
1037
+ <ul>
1038
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L266">src/lib/device.ts:266</a></li></ul></aside></li></ul></section>
909
1039
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPosition" class="tsd-anchor"></a>
910
1040
  <h3 class="tsd-anchor-link"><span>get<wbr/>Position</span><a href="#getPosition" 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>
911
1041
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
912
- <li class="tsd-signature" id="getPosition.getPosition-1">get<wbr/>Position<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
913
- <ul class="tsd-descriptions">
1042
+ <li class="tsd-signature tsd-anchor-link" id="getPosition.getPosition-1">get<wbr/>Position<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#getPosition.getPosition-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>
914
1043
  <li class="tsd-description">
915
1044
  <div class="tsd-comment tsd-typography"><p>Returns the title of the current playing media</p>
916
1045
  </div>
@@ -919,12 +1048,13 @@ Apple TV if this was the last event listener.</p>
919
1048
  <ul class="tsd-parameter-list">
920
1049
  <li>
921
1050
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
922
- <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
1051
+ <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
1052
+ <ul>
1053
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L336">src/lib/device.ts:336</a></li></ul></aside></li></ul></section>
923
1054
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getRepeat" class="tsd-anchor"></a>
924
1055
  <h3 class="tsd-anchor-link"><span>get<wbr/>Repeat</span><a href="#getRepeat" 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>
925
1056
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
926
- <li class="tsd-signature" id="getRepeat.getRepeat-1">get<wbr/>Repeat<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVRepeatState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVRepeatState</a><span class="tsd-signature-symbol">&gt;</span></li></ul>
927
- <ul class="tsd-descriptions">
1057
+ <li class="tsd-signature tsd-anchor-link" id="getRepeat.getRepeat-1">get<wbr/>Repeat<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVRepeatState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVRepeatState</a><span class="tsd-signature-symbol">&gt;</span><a href="#getRepeat.getRepeat-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>
928
1058
  <li class="tsd-description">
929
1059
  <div class="tsd-comment tsd-typography"><p>Returns the repeat state</p>
930
1060
  </div>
@@ -933,12 +1063,13 @@ Apple TV if this was the last event listener.</p>
933
1063
  <ul class="tsd-parameter-list">
934
1064
  <li>
935
1065
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
936
- <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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVRepeatState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVRepeatState</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
1066
+ <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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVRepeatState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVRepeatState</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
1067
+ <ul>
1068
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L356">src/lib/device.ts:356</a></li></ul></aside></li></ul></section>
937
1069
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getShuffle" class="tsd-anchor"></a>
938
1070
  <h3 class="tsd-anchor-link"><span>get<wbr/>Shuffle</span><a href="#getShuffle" 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>
939
1071
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
940
- <li class="tsd-signature" id="getShuffle.getShuffle-1">get<wbr/>Shuffle<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVShuffleState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVShuffleState</a><span class="tsd-signature-symbol">&gt;</span></li></ul>
941
- <ul class="tsd-descriptions">
1072
+ <li class="tsd-signature tsd-anchor-link" id="getShuffle.getShuffle-1">get<wbr/>Shuffle<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVShuffleState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVShuffleState</a><span class="tsd-signature-symbol">&gt;</span><a href="#getShuffle.getShuffle-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>
942
1073
  <li class="tsd-description">
943
1074
  <div class="tsd-comment tsd-typography"><p>Returns the shuffle state</p>
944
1075
  </div>
@@ -947,17 +1078,18 @@ Apple TV if this was the last event listener.</p>
947
1078
  <ul class="tsd-parameter-list">
948
1079
  <li>
949
1080
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
950
- <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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVShuffleState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVShuffleState</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
1081
+ <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">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/NodePyATVShuffleState.html" class="tsd-signature-type" data-tsd-kind="Enumeration">NodePyATVShuffleState</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
1082
+ <ul>
1083
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L346">src/lib/device.ts:346</a></li></ul></aside></li></ul></section>
951
1084
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getState" class="tsd-anchor"></a>
952
1085
  <h3 class="tsd-anchor-link"><span>get<wbr/>State</span><a href="#getState" 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>
953
1086
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
954
- <li class="tsd-signature" id="getState.getState-1">get<wbr/>State<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a><span class="tsd-signature-symbol">&gt;</span></li></ul>
955
- <ul class="tsd-descriptions">
1087
+ <li class="tsd-signature tsd-anchor-link" id="getState.getState-1">get<wbr/>State<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a><span class="tsd-signature-symbol">&gt;</span><a href="#getState.getState-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>
956
1088
  <li class="tsd-description">
957
1089
  <div class="tsd-comment tsd-typography"><p>Returns an <a href="../interfaces/NodePyATVState.html">NodePyATVState</a> object representing the current state
958
1090
  of the device. Has an internal cache, which has a default TTL of 5s.
959
1091
  You can change this default value by passing the <code>maxAge</code> option.</p>
960
- <pre><code class="language-typescript"><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">device</span><span class="hl-1">.</span><span class="hl-6">getState</span><span class="hl-1">({</span><span class="hl-0">maxAge:</span><span class="hl-1"> </span><span class="hl-7">10000</span><span class="hl-1">}); </span><span class="hl-8">// cache TTL: 10s</span>
1092
+ <pre><code class="language-typescript"><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">device</span><span class="hl-1">.</span><span class="hl-6">getState</span><span class="hl-1">({</span><span class="hl-0">maxAge:</span><span class="hl-1"> </span><span class="hl-9">10000</span><span class="hl-1">}); </span><span class="hl-7">// cache TTL: 10s</span>
961
1093
  </code></pre>
962
1094
  </div>
963
1095
  <div class="tsd-parameters">
@@ -965,12 +1097,13 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
965
1097
  <ul class="tsd-parameter-list">
966
1098
  <li>
967
1099
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
968
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
1100
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/NodePyATVState.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVState</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
1101
+ <ul>
1102
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L199">src/lib/device.ts:199</a></li></ul></aside></li></ul></section>
969
1103
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getTitle" class="tsd-anchor"></a>
970
1104
  <h3 class="tsd-anchor-link"><span>get<wbr/>Title</span><a href="#getTitle" 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>
971
1105
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
972
- <li class="tsd-signature" id="getTitle.getTitle-1">get<wbr/>Title<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
973
- <ul class="tsd-descriptions">
1106
+ <li class="tsd-signature tsd-anchor-link" id="getTitle.getTitle-1">get<wbr/>Title<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#getTitle.getTitle-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>
974
1107
  <li class="tsd-description">
975
1108
  <div class="tsd-comment tsd-typography"><p>Returns the title of the current playing media</p>
976
1109
  </div>
@@ -979,12 +1112,13 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
979
1112
  <ul class="tsd-parameter-list">
980
1113
  <li>
981
1114
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
982
- <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section>
1115
+ <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
1116
+ <ul>
1117
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L286">src/lib/device.ts:286</a></li></ul></aside></li></ul></section>
983
1118
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getTotalTime" class="tsd-anchor"></a>
984
1119
  <h3 class="tsd-anchor-link"><span>get<wbr/>Total<wbr/>Time</span><a href="#getTotalTime" 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>
985
1120
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
986
- <li class="tsd-signature" id="getTotalTime.getTotalTime-1">get<wbr/>Total<wbr/>Time<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li></ul>
987
- <ul class="tsd-descriptions">
1121
+ <li class="tsd-signature tsd-anchor-link" id="getTotalTime.getTotalTime-1">get<wbr/>Total<wbr/>Time<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#getTotalTime.getTotalTime-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>
988
1122
  <li class="tsd-description">
989
1123
  <div class="tsd-comment tsd-typography"><p>Returns the media length of the current playing media</p>
990
1124
  </div>
@@ -993,7 +1127,9 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
993
1127
  <ul class="tsd-parameter-list">
994
1128
  <li>
995
1129
  <h5>options: <a href="../interfaces/NodePyATVGetStateOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">NodePyATVGetStateOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
996
- <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section></section></div>
1130
+ <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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
1131
+ <ul>
1132
+ <li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/37b5e50/src/lib/device.ts#L326">src/lib/device.ts:326</a></li></ul></aside></li></ul></section></section></div>
997
1133
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
998
1134
  <div class="tsd-navigation settings">
999
1135
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -1011,7 +1147,7 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
1011
1147
  <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>
1012
1148
  <div class="tsd-accordion-details">
1013
1149
  <ul>
1014
- <li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v5.0.0-<wbr/>develop.1</a>
1150
+ <li><a href="../modules.html">node-<wbr/>pyatv -<wbr/> v5.1.0</a>
1015
1151
  <ul></ul></li></ul></div></details></nav>
1016
1152
  <nav class="tsd-navigation secondary menu-sticky">
1017
1153
  <ul>
@@ -1021,8 +1157,13 @@ You can change this default value by passing the <code>maxAge</code> option.</p>
1021
1157
  <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="NodePyATVDevice.html#debug" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>debug</a></li>
1022
1158
  <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="NodePyATVDevice.html#host" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>host</a></li>
1023
1159
  <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="NodePyATVDevice.html#id" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>id</a></li>
1160
+ <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="NodePyATVDevice.html#model" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>model</a></li>
1161
+ <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="NodePyATVDevice.html#modelName" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>model<wbr/>Name</a></li>
1024
1162
  <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="NodePyATVDevice.html#name" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>name</a></li>
1163
+ <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="NodePyATVDevice.html#os" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>os</a></li>
1025
1164
  <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="NodePyATVDevice.html#protocol" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>protocol</a></li>
1165
+ <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="NodePyATVDevice.html#services" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>services</a></li>
1166
+ <li class="tsd-kind-accessor tsd-parent-kind-class"><a href="NodePyATVDevice.html#version" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>version</a></li>
1026
1167
  <li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVDevice.html#addListener" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Listener</a></li>
1027
1168
  <li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVDevice.html#clearState" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>clear<wbr/>State</a></li>
1028
1169
  <li class="tsd-kind-method tsd-parent-kind-class"><a href="NodePyATVDevice.html#down" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>down</a></li>