tivohmo 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +5 -0
- data/README.md +8 -0
- data/TODO +4 -0
- data/lib/tivohmo/adapters/filesystem/application.rb +37 -0
- data/lib/tivohmo/adapters/filesystem/file_item.rb +3 -1
- data/lib/tivohmo/adapters/filesystem/folder_container.rb +33 -29
- data/lib/tivohmo/adapters/filesystem/group.rb +22 -0
- data/lib/tivohmo/adapters/filesystem.rb +1 -0
- data/lib/tivohmo/adapters/plex/category.rb +20 -13
- data/lib/tivohmo/adapters/plex/episode.rb +2 -2
- data/lib/tivohmo/adapters/plex/movie.rb +2 -2
- data/lib/tivohmo/adapters/streamio/transcoder.rb +4 -13
- data/lib/tivohmo/api/container.rb +4 -1
- data/lib/tivohmo/subtitles_util.rb +109 -0
- data/lib/tivohmo/version.rb +1 -1
- data/spec/adapters/filesystem/application_spec.rb +66 -0
- data/spec/adapters/filesystem/file_item_spec.rb +12 -0
- data/spec/adapters/filesystem/folder_container_spec.rb +23 -21
- data/spec/adapters/plex/category_spec.rb +15 -5
- data/spec/adapters/plex/episode_spec.rb +11 -0
- data/spec/adapters/plex/movie_spec.rb +11 -0
- data/spec/adapters/streamio/transcoder_spec.rb +24 -0
- data/spec/fixtures/vcr/TivoHMO_Adapters_Plex_Category/_children/should_have_children.yml +698 -168
- data/spec/fixtures/vcr/TivoHMO_Adapters_Plex_Category/_children/should_have_children_with_embedded_subtitles.yml +22 -22
- data/spec/fixtures/vcr/TivoHMO_Adapters_Plex_Category/_children/should_have_children_with_subtitles.yml +262 -91
- data/spec/fixtures/vcr/TivoHMO_Adapters_Plex_Episode/_initialize/should_instantiate_with_subtitle.yml +444 -0
- data/spec/fixtures/vcr/TivoHMO_Adapters_Plex_Movie/_initialize/should_instantiate_with_subtitle.yml +334 -0
- data/spec/spec_helper.rb +21 -0
- data/spec/subtitles_util_spec.rb +68 -0
- data/tivohmo.gemspec +1 -0
- metadata +24 -3
@@ -0,0 +1,444 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://localhost:32400/library/sections
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Content-Type:
|
22
|
+
- text/xml;charset=utf-8
|
23
|
+
Connection:
|
24
|
+
- close
|
25
|
+
X-Plex-Protocol:
|
26
|
+
- '1.0'
|
27
|
+
X-Plex-Content-Original-Length:
|
28
|
+
- '2988'
|
29
|
+
X-Plex-Content-Compressed-Length:
|
30
|
+
- '788'
|
31
|
+
Content-Length:
|
32
|
+
- '788'
|
33
|
+
Cache-Control:
|
34
|
+
- no-cache
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: |
|
38
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
39
|
+
<MediaContainer size="6" allowSync="0" identifier="com.plexapp.plugins.library" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1420767545" title1="Plex Library">
|
40
|
+
<Directory allowSync="0" art="/:/resources/movie-fanart.jpg" filters="1" refreshing="0" thumb="/:/resources/movie.png" key="8" type="movie" title="Adult Movies" composite="/library/sections/8/composite/1425683728" agent="com.plexapp.agents.imdb" scanner="Plex Movie Scanner" language="en" uuid="608ca2bb-e5f2-49ab-b040-dbb95ac5631e" updatedAt="1425683728" createdAt="1424196765">
|
41
|
+
<Location id="12" path="/Users/mconway/Movies/Adult Movies" />
|
42
|
+
</Directory>
|
43
|
+
<Directory allowSync="0" art="/:/resources/show-fanart.jpg" filters="1" refreshing="0" thumb="/:/resources/show.png" key="2" type="show" title="Adult TV Shows" composite="/library/sections/2/composite/1425683755" agent="com.plexapp.agents.thetvdb" scanner="Plex Series Scanner" language="en" uuid="af8295a272d545681d462eed8025113d09195007" updatedAt="1425683755" createdAt="1332713366">
|
44
|
+
<Location id="6" path="/Users/mconway/Movies/Adult TV Shows" />
|
45
|
+
</Directory>
|
46
|
+
<Directory allowSync="0" art="/:/resources/movie-fanart.jpg" filters="1" refreshing="0" thumb="/:/resources/movie.png" key="5" type="movie" title="Kid Movies" composite="/library/sections/5/composite/1425683756" agent="com.plexapp.agents.imdb" scanner="Plex Movie Scanner" language="en" uuid="340479de-6015-4e6c-9ec0-c74f936f4013" updatedAt="1425683756" createdAt="1411071543">
|
47
|
+
<Location id="9" path="/Users/mconway/Movies/Kid Movies" />
|
48
|
+
</Directory>
|
49
|
+
<Directory allowSync="0" art="/:/resources/show-fanart.jpg" filters="1" refreshing="0" thumb="/:/resources/show.png" key="4" type="show" title="Kid TV Shows" composite="/library/sections/4/composite/1425683757" agent="com.plexapp.agents.thetvdb" scanner="Plex Series Scanner" language="en" uuid="fa1dde48-f6dd-44f7-91f3-9283160dc953" updatedAt="1425683757" createdAt="1411071497">
|
50
|
+
<Location id="8" path="/Users/mconway/Movies/Kid TV Shows" />
|
51
|
+
</Directory>
|
52
|
+
<Directory allowSync="0" art="/:/resources/movie-fanart.jpg" filters="1" refreshing="0" thumb="/:/resources/movie.png" key="6" type="movie" title="Test Movies" composite="/library/sections/6/composite/1425683758" agent="com.plexapp.agents.imdb" scanner="Plex Movie Scanner" language="en" uuid="fbc810b7-6b51-40ba-a3c5-9a2c391e5a3d" updatedAt="1425683758" createdAt="1423935251">
|
53
|
+
<Location id="10" path="/Users/mconway/Movies/TivoHMOTest/Movies" />
|
54
|
+
</Directory>
|
55
|
+
<Directory allowSync="0" art="/:/resources/show-fanart.jpg" filters="1" refreshing="0" thumb="/:/resources/show.png" key="7" type="show" title="Test TV Shows" composite="/library/sections/7/composite/1425683759" agent="com.plexapp.agents.thetvdb" scanner="Plex Series Scanner" language="en" uuid="4c37cd05-86d7-4a34-8d5b-aa2fb261a136" updatedAt="1425683759" createdAt="1423935290">
|
56
|
+
<Location id="11" path="/Users/mconway/Movies/TivoHMOTest/TV Shows" />
|
57
|
+
</Directory>
|
58
|
+
</MediaContainer>
|
59
|
+
http_version:
|
60
|
+
recorded_at: Sun, 08 Mar 2015 14:54:37 GMT
|
61
|
+
- request:
|
62
|
+
method: get
|
63
|
+
uri: http://localhost:32400/library/sections/7/all
|
64
|
+
body:
|
65
|
+
encoding: US-ASCII
|
66
|
+
string: ''
|
67
|
+
headers:
|
68
|
+
Accept-Encoding:
|
69
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
70
|
+
Accept:
|
71
|
+
- "*/*"
|
72
|
+
User-Agent:
|
73
|
+
- Ruby
|
74
|
+
response:
|
75
|
+
status:
|
76
|
+
code: 200
|
77
|
+
message: OK
|
78
|
+
headers:
|
79
|
+
Content-Type:
|
80
|
+
- text/xml;charset=utf-8
|
81
|
+
Connection:
|
82
|
+
- close
|
83
|
+
X-Plex-Protocol:
|
84
|
+
- '1.0'
|
85
|
+
X-Plex-Content-Original-Length:
|
86
|
+
- '1631'
|
87
|
+
X-Plex-Content-Compressed-Length:
|
88
|
+
- '901'
|
89
|
+
Content-Length:
|
90
|
+
- '901'
|
91
|
+
Cache-Control:
|
92
|
+
- no-cache
|
93
|
+
body:
|
94
|
+
encoding: UTF-8
|
95
|
+
string: |
|
96
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
97
|
+
<MediaContainer size="1" allowSync="1" art="/:/resources/show-fanart.jpg" identifier="com.plexapp.plugins.library" librarySectionID="7" librarySectionTitle="Test TV Shows" librarySectionUUID="4c37cd05-86d7-4a34-8d5b-aa2fb261a136" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1420767545" nocache="1" thumb="/:/resources/show.png" title1="Test TV Shows" title2="All Shows" viewGroup="show" viewMode="65592">
|
98
|
+
<Directory ratingKey="1170" key="/library/metadata/1170/children" studio="NBC" type="show" title="Grimm" contentRating="TV-14" summary="Nick Burkhardt thought he prepared himself for the realities of working as a homicide detective until he started seeing things he couldn't explain. Nick's life turns upside down when his Aunt Marie reveals they are descendants of an elite group of hunters, known as "Grimms," who fight to keep humanity safe from supernatural creatures. As Nick digs deeper into her past, he realizes that he will have to shoulder the responsibility of his ancestors." index="1" rating="8.3999996185302699" year="2011" thumb="/library/metadata/1170/thumb/1423935406" art="/library/metadata/1170/art/1423935406" banner="/library/metadata/1170/banner/1423935406" theme="/library/metadata/1170/theme/1423935406" duration="3600000" originallyAvailableAt="2011-10-28" leafCount="1" viewedLeafCount="0" childCount="1" addedAt="1423935401" updatedAt="1423935406">
|
99
|
+
<Genre tag="Drama" />
|
100
|
+
<Genre tag="Fantasy" />
|
101
|
+
<Role tag="David Giuntoli" />
|
102
|
+
<Role tag="Silas Weir Mitchell" />
|
103
|
+
<Role tag="Bitsie Tulloch" />
|
104
|
+
</Directory>
|
105
|
+
</MediaContainer>
|
106
|
+
http_version:
|
107
|
+
recorded_at: Sun, 08 Mar 2015 14:54:37 GMT
|
108
|
+
- request:
|
109
|
+
method: get
|
110
|
+
uri: http://localhost:32400/library/metadata/1170
|
111
|
+
body:
|
112
|
+
encoding: US-ASCII
|
113
|
+
string: ''
|
114
|
+
headers:
|
115
|
+
Accept-Encoding:
|
116
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
117
|
+
Accept:
|
118
|
+
- "*/*"
|
119
|
+
User-Agent:
|
120
|
+
- Ruby
|
121
|
+
response:
|
122
|
+
status:
|
123
|
+
code: 200
|
124
|
+
message: OK
|
125
|
+
headers:
|
126
|
+
Content-Type:
|
127
|
+
- text/xml;charset=utf-8
|
128
|
+
Connection:
|
129
|
+
- close
|
130
|
+
X-Plex-Protocol:
|
131
|
+
- '1.0'
|
132
|
+
X-Plex-Content-Original-Length:
|
133
|
+
- '2330'
|
134
|
+
X-Plex-Content-Compressed-Length:
|
135
|
+
- '1197'
|
136
|
+
Content-Length:
|
137
|
+
- '1197'
|
138
|
+
Cache-Control:
|
139
|
+
- no-cache
|
140
|
+
body:
|
141
|
+
encoding: UTF-8
|
142
|
+
string: |
|
143
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
144
|
+
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="7" librarySectionTitle="Test TV Shows" librarySectionUUID="4c37cd05-86d7-4a34-8d5b-aa2fb261a136" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1420767545">
|
145
|
+
<Directory ratingKey="1170" key="/library/metadata/1170/children" guid="com.plexapp.agents.thetvdb://248736?lang=en" studio="NBC" type="show" title="Grimm" contentRating="TV-14" summary="Nick Burkhardt thought he prepared himself for the realities of working as a homicide detective until he started seeing things he couldn't explain. Nick's life turns upside down when his Aunt Marie reveals they are descendants of an elite group of hunters, known as "Grimms," who fight to keep humanity safe from supernatural creatures. As Nick digs deeper into her past, he realizes that he will have to shoulder the responsibility of his ancestors." index="1" rating="8.3999996185302699" year="2011" thumb="/library/metadata/1170/thumb/1423935406" art="/library/metadata/1170/art/1423935406" banner="/library/metadata/1170/banner/1423935406" theme="/library/metadata/1170/theme/1423935406" duration="3600000" originallyAvailableAt="2011-10-28" leafCount="1" viewedLeafCount="0" childCount="1" addedAt="1423935401" updatedAt="1423935406">
|
146
|
+
<Genre id="88" tag="Drama" />
|
147
|
+
<Genre id="65" tag="Fantasy" />
|
148
|
+
<Genre id="1859" tag="Horror" />
|
149
|
+
<Role id="7617" tag="David Giuntoli" role="Det. Nick Burkhardt" />
|
150
|
+
<Role id="7618" tag="Silas Weir Mitchell" role="Eddie Monroe" />
|
151
|
+
<Role id="7619" tag="Bitsie Tulloch" role="Juliette Silverton" />
|
152
|
+
<Role id="2559" tag="Bree Turner" role="Rosalee Calvert" />
|
153
|
+
<Role id="7620" tag="Russell Hornsby" role="Lt. Hank Griffin" />
|
154
|
+
<Role id="7621" tag="Sasha Roiz" role="Captain Renard" />
|
155
|
+
<Role id="7622" tag="Claire Coffee" role="Adalind Schade" />
|
156
|
+
<Role id="7623" tag="Jacqueline Toboni" role="Theresa "Trubel" Rubel" />
|
157
|
+
<Role id="7624" tag="Mary Elizabeth Mastrantonio" role="Woman in Black / Kelly Burkhardt" />
|
158
|
+
<Role id="2924" tag="Reggie Lee" role="Sgt. Wu" />
|
159
|
+
<Role id="7625" tag="Kate Burton" role="Marie" />
|
160
|
+
<Role id="7626" tag="Elizabeth Rodriguez" role="Chavez" />
|
161
|
+
<Location path="/Users/mconway/Movies/TivoHMOTest/TV Shows/Grimm" />
|
162
|
+
</Directory>
|
163
|
+
</MediaContainer>
|
164
|
+
http_version:
|
165
|
+
recorded_at: Sun, 08 Mar 2015 14:54:37 GMT
|
166
|
+
- request:
|
167
|
+
method: get
|
168
|
+
uri: http://localhost:32400/library/metadata/1170/children/children
|
169
|
+
body:
|
170
|
+
encoding: US-ASCII
|
171
|
+
string: ''
|
172
|
+
headers:
|
173
|
+
Accept-Encoding:
|
174
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
175
|
+
Accept:
|
176
|
+
- "*/*"
|
177
|
+
User-Agent:
|
178
|
+
- Ruby
|
179
|
+
response:
|
180
|
+
status:
|
181
|
+
code: 200
|
182
|
+
message: OK
|
183
|
+
headers:
|
184
|
+
Content-Type:
|
185
|
+
- text/xml;charset=utf-8
|
186
|
+
Connection:
|
187
|
+
- close
|
188
|
+
X-Plex-Protocol:
|
189
|
+
- '1.0'
|
190
|
+
X-Plex-Content-Original-Length:
|
191
|
+
- '1466'
|
192
|
+
X-Plex-Content-Compressed-Length:
|
193
|
+
- '771'
|
194
|
+
Content-Length:
|
195
|
+
- '771'
|
196
|
+
Cache-Control:
|
197
|
+
- no-cache
|
198
|
+
body:
|
199
|
+
encoding: UTF-8
|
200
|
+
string: |
|
201
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
202
|
+
<MediaContainer size="1" allowSync="1" art="/library/metadata/1170/art/1423935406" banner="/library/metadata/1170/banner/1423935406" identifier="com.plexapp.plugins.library" key="1170" librarySectionID="7" librarySectionTitle="Test TV Shows" librarySectionUUID="4c37cd05-86d7-4a34-8d5b-aa2fb261a136" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1420767545" nocache="1" parentIndex="1" parentTitle="Grimm" parentYear="2011" summary="Nick Burkhardt thought he prepared himself for the realities of working as a homicide detective until he started seeing things he couldn't explain. Nick's life turns upside down when his Aunt Marie reveals they are descendants of an elite group of hunters, known as "Grimms," who fight to keep humanity safe from supernatural creatures. As Nick digs deeper into her past, he realizes that he will have to shoulder the responsibility of his ancestors." theme="/library/metadata/1170/theme/1423935406" thumb="/library/metadata/1170/thumb/1423935406" title1="Test TV Shows" title2="Grimm" viewGroup="season" viewMode="65593">
|
203
|
+
<Directory ratingKey="1173" key="/library/metadata/1173/children" parentRatingKey="1170" type="season" title="Season 1" parentKey="/library/metadata/1170" summary="" index="1" thumb="/library/metadata/1173/thumb/1423935424" leafCount="1" viewedLeafCount="0" addedAt="1423935423" updatedAt="1423935424">
|
204
|
+
</Directory>
|
205
|
+
</MediaContainer>
|
206
|
+
http_version:
|
207
|
+
recorded_at: Sun, 08 Mar 2015 14:54:37 GMT
|
208
|
+
- request:
|
209
|
+
method: get
|
210
|
+
uri: http://localhost:32400/library/metadata/1173
|
211
|
+
body:
|
212
|
+
encoding: US-ASCII
|
213
|
+
string: ''
|
214
|
+
headers:
|
215
|
+
Accept-Encoding:
|
216
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
217
|
+
Accept:
|
218
|
+
- "*/*"
|
219
|
+
User-Agent:
|
220
|
+
- Ruby
|
221
|
+
response:
|
222
|
+
status:
|
223
|
+
code: 200
|
224
|
+
message: OK
|
225
|
+
headers:
|
226
|
+
Content-Type:
|
227
|
+
- text/xml;charset=utf-8
|
228
|
+
Connection:
|
229
|
+
- close
|
230
|
+
X-Plex-Protocol:
|
231
|
+
- '1.0'
|
232
|
+
X-Plex-Content-Original-Length:
|
233
|
+
- '884'
|
234
|
+
X-Plex-Content-Compressed-Length:
|
235
|
+
- '461'
|
236
|
+
Content-Length:
|
237
|
+
- '461'
|
238
|
+
Cache-Control:
|
239
|
+
- no-cache
|
240
|
+
body:
|
241
|
+
encoding: UTF-8
|
242
|
+
string: |
|
243
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
244
|
+
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="7" librarySectionTitle="Test TV Shows" librarySectionUUID="4c37cd05-86d7-4a34-8d5b-aa2fb261a136" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1420767545">
|
245
|
+
<Directory ratingKey="1173" key="/library/metadata/1173/children" parentRatingKey="1170" guid="com.plexapp.agents.thetvdb://248736/1?lang=en" type="season" title="Season 1" parentKey="/library/metadata/1170" parentTitle="Grimm" summary="" index="1" parentIndex="1" thumb="/library/metadata/1173/thumb/1423935424" art="/library/metadata/1170/art/1423935406" parentThumb="/library/metadata/1170/thumb/1423935406" parentTheme="/library/metadata/1170/theme/1423935406" leafCount="1" viewedLeafCount="0" addedAt="1423935423" updatedAt="1423935424">
|
246
|
+
</Directory>
|
247
|
+
</MediaContainer>
|
248
|
+
http_version:
|
249
|
+
recorded_at: Sun, 08 Mar 2015 14:54:37 GMT
|
250
|
+
- request:
|
251
|
+
method: get
|
252
|
+
uri: http://localhost:32400/library/metadata/1173/children/children
|
253
|
+
body:
|
254
|
+
encoding: US-ASCII
|
255
|
+
string: ''
|
256
|
+
headers:
|
257
|
+
Accept-Encoding:
|
258
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
259
|
+
Accept:
|
260
|
+
- "*/*"
|
261
|
+
User-Agent:
|
262
|
+
- Ruby
|
263
|
+
response:
|
264
|
+
status:
|
265
|
+
code: 200
|
266
|
+
message: OK
|
267
|
+
headers:
|
268
|
+
Content-Type:
|
269
|
+
- text/xml;charset=utf-8
|
270
|
+
Connection:
|
271
|
+
- close
|
272
|
+
X-Plex-Protocol:
|
273
|
+
- '1.0'
|
274
|
+
X-Plex-Content-Original-Length:
|
275
|
+
- '2389'
|
276
|
+
X-Plex-Content-Compressed-Length:
|
277
|
+
- '1216'
|
278
|
+
Content-Length:
|
279
|
+
- '1216'
|
280
|
+
Cache-Control:
|
281
|
+
- no-cache
|
282
|
+
body:
|
283
|
+
encoding: ASCII-8BIT
|
284
|
+
string: !binary |-
|
285
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPE1lZGlh
|
286
|
+
Q29udGFpbmVyIHNpemU9IjEiIGFsbG93U3luYz0iMSIgYXJ0PSIvbGlicmFy
|
287
|
+
eS9tZXRhZGF0YS8xMTcwL2FydC8xNDIzOTM1NDA2IiBiYW5uZXI9Ii9saWJy
|
288
|
+
YXJ5L21ldGFkYXRhLzExNzAvYmFubmVyLzE0MjM5MzU0MDYiIGdyYW5kcGFy
|
289
|
+
ZW50Q29udGVudFJhdGluZz0iVFYtMTQiIGdyYW5kcGFyZW50U3R1ZGlvPSJO
|
290
|
+
QkMiIGdyYW5kcGFyZW50VGhlbWU9Ii9saWJyYXJ5L21ldGFkYXRhLzExNzAv
|
291
|
+
dGhlbWUvMTQyMzkzNTQwNiIgZ3JhbmRwYXJlbnRUaXRsZT0iR3JpbW0iIGlk
|
292
|
+
ZW50aWZpZXI9ImNvbS5wbGV4YXBwLnBsdWdpbnMubGlicmFyeSIga2V5PSIx
|
293
|
+
MTczIiBsaWJyYXJ5U2VjdGlvbklEPSI3IiBsaWJyYXJ5U2VjdGlvblRpdGxl
|
294
|
+
PSJUZXN0IFRWIFNob3dzIiBsaWJyYXJ5U2VjdGlvblVVSUQ9IjRjMzdjZDA1
|
295
|
+
LTg2ZDctNGEzNC04ZDViLWFhMmZiMjYxYTEzNiIgbWVkaWFUYWdQcmVmaXg9
|
296
|
+
Ii9zeXN0ZW0vYnVuZGxlL21lZGlhL2ZsYWdzLyIgbWVkaWFUYWd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XVkaW9DaGFubmVscz0iMiIgYXVkaW9Db2RlYz0iYWFjIiB2aWRlb0NvZGVj
|
328
|
+
PSJoMjY0IiBjb250YWluZXI9Im1wNCIgdmlkZW9GcmFtZVJhdGU9IjI0cCIg
|
329
|
+
b3B0aW1pemVkRm9yU3RyZWFtaW5nPSIxIiBoYXM2NGJpdE9mZnNldHM9IjAi
|
330
|
+
Pgo8UGFydCBpZD0iMTk1NiIga2V5PSIvbGlicmFyeS9wYXJ0cy8xOTU2L2Zp
|
331
|
+
bGUubXA0IiBkdXJhdGlvbj0iMjUxMTM2MCIgZmlsZT0iL1VzZXJzL21jb253
|
332
|
+
YXkvTW92aWVzL1Rpdm9ITU9UZXN0L1RWIFNob3dzL0dyaW1tL1NlYXNvbiAx
|
333
|
+
L0dyaW1tIFMwMUUwMS5tcDQiIHNpemU9IjI0NDUyNDIxNyIgY29udGFpbmVy
|
334
|
+
PSJtcDQiIGhhczY0Yml0T2Zmc2V0cz0iMCIgb3B0aW1pemVkRm9yU3RyZWFt
|
335
|
+
aW5nPSIxIiAvPgo8L01lZGlhPgo8V3JpdGVyIHRhZz0iRGF2aWQgR3JlZW53
|
336
|
+
YWx0IiAvPgo8V3JpdGVyIHRhZz0iSmltIEtvdWYiIC8+CjxEaXJlY3RvciB0
|
337
|
+
YWc9Ik1hcmMgQnVja2xhbmQiIC8+CjwvVmlkZW8+CjwvTWVkaWFDb250YWlu
|
338
|
+
ZXI+Cg==
|
339
|
+
http_version:
|
340
|
+
recorded_at: Sun, 08 Mar 2015 14:54:37 GMT
|
341
|
+
- request:
|
342
|
+
method: get
|
343
|
+
uri: http://localhost:32400/library/metadata/1174
|
344
|
+
body:
|
345
|
+
encoding: US-ASCII
|
346
|
+
string: ''
|
347
|
+
headers:
|
348
|
+
Accept-Encoding:
|
349
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
350
|
+
Accept:
|
351
|
+
- "*/*"
|
352
|
+
User-Agent:
|
353
|
+
- Ruby
|
354
|
+
response:
|
355
|
+
status:
|
356
|
+
code: 200
|
357
|
+
message: OK
|
358
|
+
headers:
|
359
|
+
Content-Type:
|
360
|
+
- text/xml;charset=utf-8
|
361
|
+
Connection:
|
362
|
+
- close
|
363
|
+
X-Plex-Protocol:
|
364
|
+
- '1.0'
|
365
|
+
X-Plex-Content-Original-Length:
|
366
|
+
- '2938'
|
367
|
+
X-Plex-Content-Compressed-Length:
|
368
|
+
- '1431'
|
369
|
+
Content-Length:
|
370
|
+
- '1431'
|
371
|
+
Cache-Control:
|
372
|
+
- no-cache
|
373
|
+
body:
|
374
|
+
encoding: ASCII-8BIT
|
375
|
+
string: !binary |-
|
376
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPE1lZGlh
|
377
|
+
Q29udGFpbmVyIHNpemU9IjEiIGFsbG93U3luYz0iMSIgaWRlbnRpZmllcj0i
|
378
|
+
Y29tLnBsZXhhcHAucGx1Z2lucy5saWJyYXJ5IiBsaWJyYXJ5U2VjdGlvbklE
|
379
|
+
PSI3IiBsaWJyYXJ5U2VjdGlvblRpdGxlPSJUZXN0IFRWIFNob3dzIiBsaWJy
|
380
|
+
YXJ5U2VjdGlvblVVSUQ9IjRjMzdjZDA1LTg2ZDctNGEzNC04ZDViLWFhMmZi
|
381
|
+
MjYxYTEzNiIgbWVkaWFUYWdQcmVmaXg9Ii9zeXN0ZW0vYnVuZGxlL21lZGlh
|
382
|
+
L2ZsYWdzLyIgbWVkaWFUYWdWZXJzaW9uPSIxNDIwNzY3NTQ1Ij4KPFZpZGVv
|
383
|
+
IHJhdGluZ0tleT0iMTE3NCIga2V5PSIvbGlicmFyeS9tZXRhZGF0YS8xMTc0
|
384
|
+
IiBwYXJlbnRSYXRpbmdLZXk9IjExNzMiIGdyYW5kcGFyZW50UmF0aW5nS2V5
|
385
|
+
PSIxMTcwIiBndWlkPSJjb20ucGxleGFwcC5hZ2VudHMudGhldHZkYjovLzI0
|
386
|
+
ODczNi8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