/
/
/
1# serializer version: 1
2# name: test_parse_albums[infest]
3 dict({
4 'album_type': 'unknown',
5 'artists': list([
6 dict({
7 'available': True,
8 'external_ids': list([
9 ]),
10 'image': None,
11 'is_playable': True,
12 'item_id': 'e439648e08ade14e27d5de48fa97c88e',
13 'media_type': 'artist',
14 'name': 'Papa Roach',
15 'provider': 'xx-instance-id-xx',
16 'sort_name': 'papa roach',
17 'translation_key': None,
18 'uri': 'xx-instance-id-xx://artist/e439648e08ade14e27d5de48fa97c88e',
19 'version': '',
20 'year': None,
21 }),
22 ]),
23 'date_added': None,
24 'external_ids': list([
25 list([
26 'musicbrainz_albumid',
27 'bf25b030-0cbb-495a-8d79-6c7fee20a089',
28 ]),
29 list([
30 'musicbrainz_releasegroupid',
31 '0193355a-cdfb-3936-afd2-44d651eb006d',
32 ]),
33 ]),
34 'favorite': False,
35 'is_playable': True,
36 'item_id': '70b7288088b42d318f75dbcc41fd0091',
37 'media_type': 'album',
38 'metadata': dict({
39 'artist_entity_type': None,
40 'chapters': None,
41 'collections': None,
42 'copyright': None,
43 'description': None,
44 'description_language': None,
45 'explicit': None,
46 'genres': None,
47 'grouping': None,
48 'has_transcript': None,
49 'images': list([
50 dict({
51 'path': 'http://localhost:1234/Items/70b7288088b42d318f75dbcc41fd0091/Images/Primary?api_key=ACCESS_TOKEN',
52 'provider': 'xx-instance-id-xx',
53 'proxy_id': None,
54 'remotely_accessible': False,
55 'type': 'thumb',
56 }),
57 ]),
58 'label': None,
59 'languages': None,
60 'last_refresh': None,
61 'life_span': None,
62 'links': None,
63 'lrc_lyrics': None,
64 'lyrics': None,
65 'mood': None,
66 'performers': None,
67 'popularity': None,
68 'preview': None,
69 'release_date': None,
70 'review': None,
71 'style': None,
72 'transcript': None,
73 'transcript_cues': None,
74 }),
75 'name': 'Infest',
76 'position': None,
77 'provider': 'xx-instance-id-xx',
78 'provider_mappings': list([
79 dict({
80 'audio_format': dict({
81 'bit_depth': 16,
82 'bit_rate': 0,
83 'channels': 2,
84 'codec_type': '?',
85 'content_type': '?',
86 'output_format_str': '?',
87 'sample_rate': 44100,
88 }),
89 'available': True,
90 'details': None,
91 'in_library': None,
92 'is_unique': None,
93 'item_id': '70b7288088b42d318f75dbcc41fd0091',
94 'provider_domain': 'jellyfin',
95 'provider_instance': 'xx-instance-id-xx',
96 'url': None,
97 }),
98 ]),
99 'sort_name': 'infest',
100 'uri': 'xx-instance-id-xx://album/70b7288088b42d318f75dbcc41fd0091',
101 'version': '',
102 'year': 2000,
103 })
104# ---
105# name: test_parse_albums[nu_clear_sounds]
106 dict({
107 'album_type': 'unknown',
108 'artists': list([
109 dict({
110 'available': True,
111 'external_ids': list([
112 ]),
113 'image': None,
114 'is_playable': True,
115 'item_id': 'dd954bbf54398e247d803186d3585b79',
116 'media_type': 'artist',
117 'name': 'Ash',
118 'provider': 'xx-instance-id-xx',
119 'sort_name': 'ash',
120 'translation_key': None,
121 'uri': 'xx-instance-id-xx://artist/dd954bbf54398e247d803186d3585b79',
122 'version': '',
123 'year': None,
124 }),
125 ]),
126 'date_added': None,
127 'external_ids': list([
128 list([
129 'musicbrainz_albumid',
130 '4e8b3c7a-1234-5678-abcd-ef0123456789',
131 ]),
132 list([
133 'musicbrainz_releasegroupid',
134 '5f9c4d8b-2345-6789-bcde-f01234567890',
135 ]),
136 ]),
137 'favorite': False,
138 'is_playable': True,
139 'item_id': 'a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4',
140 'media_type': 'album',
141 'metadata': dict({
142 'artist_entity_type': None,
143 'chapters': None,
144 'collections': None,
145 'copyright': None,
146 'description': None,
147 'description_language': None,
148 'explicit': None,
149 'genres': None,
150 'grouping': None,
151 'has_transcript': None,
152 'images': list([
153 dict({
154 'path': 'http://localhost:1234/Items/a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4/Images/Primary?api_key=ACCESS_TOKEN',
155 'provider': 'xx-instance-id-xx',
156 'proxy_id': None,
157 'remotely_accessible': False,
158 'type': 'thumb',
159 }),
160 ]),
161 'label': None,
162 'languages': None,
163 'last_refresh': None,
164 'life_span': None,
165 'links': None,
166 'lrc_lyrics': None,
167 'lyrics': None,
168 'mood': None,
169 'performers': None,
170 'popularity': None,
171 'preview': None,
172 'release_date': None,
173 'review': None,
174 'style': None,
175 'transcript': None,
176 'transcript_cues': None,
177 }),
178 'name': 'Nu-Clear Sounds',
179 'position': None,
180 'provider': 'xx-instance-id-xx',
181 'provider_mappings': list([
182 dict({
183 'audio_format': dict({
184 'bit_depth': 16,
185 'bit_rate': 0,
186 'channels': 2,
187 'codec_type': '?',
188 'content_type': '?',
189 'output_format_str': '?',
190 'sample_rate': 44100,
191 }),
192 'available': True,
193 'details': None,
194 'in_library': None,
195 'is_unique': None,
196 'item_id': 'a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4',
197 'provider_domain': 'jellyfin',
198 'provider_instance': 'xx-instance-id-xx',
199 'url': None,
200 }),
201 ]),
202 'sort_name': 'nu-clear sounds',
203 'uri': 'xx-instance-id-xx://album/a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4',
204 'version': '',
205 'year': 1998,
206 })
207# ---
208# name: test_parse_albums[this_is_christmas]
209 dict({
210 'album_type': 'unknown',
211 'artists': list([
212 dict({
213 'available': True,
214 'external_ids': list([
215 ]),
216 'image': None,
217 'is_playable': True,
218 'item_id': '555b36f7d310d1b7405557a8775c6878',
219 'media_type': 'artist',
220 'name': 'Emmy the Great & Tim Wheeler',
221 'provider': 'xx-instance-id-xx',
222 'sort_name': 'emmy the great & tim wheeler',
223 'translation_key': None,
224 'uri': 'xx-instance-id-xx://artist/555b36f7d310d1b7405557a8775c6878',
225 'version': '',
226 'year': None,
227 }),
228 ]),
229 'date_added': None,
230 'external_ids': list([
231 list([
232 'musicbrainz_albumid',
233 'b13a174d-527d-44a1-b8f8-a4c78b03b7d9',
234 ]),
235 list([
236 'musicbrainz_releasegroupid',
237 'f002d6b7-17af-4f9e-8d30-5486548ffe6f',
238 ]),
239 ]),
240 'favorite': False,
241 'is_playable': True,
242 'item_id': '32ed6a0091733dcff57eae67010f3d4b',
243 'media_type': 'album',
244 'metadata': dict({
245 'artist_entity_type': None,
246 'chapters': None,
247 'collections': None,
248 'copyright': None,
249 'description': None,
250 'description_language': None,
251 'explicit': None,
252 'genres': None,
253 'grouping': None,
254 'has_transcript': None,
255 'images': list([
256 dict({
257 'path': 'http://localhost:1234/Items/32ed6a0091733dcff57eae67010f3d4b/Images/Primary?api_key=ACCESS_TOKEN',
258 'provider': 'xx-instance-id-xx',
259 'proxy_id': None,
260 'remotely_accessible': False,
261 'type': 'thumb',
262 }),
263 ]),
264 'label': None,
265 'languages': None,
266 'last_refresh': None,
267 'life_span': None,
268 'links': None,
269 'lrc_lyrics': None,
270 'lyrics': None,
271 'mood': None,
272 'performers': None,
273 'popularity': None,
274 'preview': None,
275 'release_date': None,
276 'review': None,
277 'style': None,
278 'transcript': None,
279 'transcript_cues': None,
280 }),
281 'name': 'This Is Christmas',
282 'position': None,
283 'provider': 'xx-instance-id-xx',
284 'provider_mappings': list([
285 dict({
286 'audio_format': dict({
287 'bit_depth': 16,
288 'bit_rate': 0,
289 'channels': 2,
290 'codec_type': '?',
291 'content_type': '?',
292 'output_format_str': '?',
293 'sample_rate': 44100,
294 }),
295 'available': True,
296 'details': None,
297 'in_library': None,
298 'is_unique': None,
299 'item_id': '32ed6a0091733dcff57eae67010f3d4b',
300 'provider_domain': 'jellyfin',
301 'provider_instance': 'xx-instance-id-xx',
302 'url': None,
303 }),
304 ]),
305 'sort_name': 'this is christmas',
306 'uri': 'xx-instance-id-xx://album/32ed6a0091733dcff57eae67010f3d4b',
307 'version': '',
308 'year': 2011,
309 })
310# ---
311# name: test_parse_albums[yesterday_when_i_was_mad]
312 dict({
313 'album_type': 'unknown',
314 'artists': list([
315 dict({
316 'available': True,
317 'external_ids': list([
318 ]),
319 'image': None,
320 'is_playable': True,
321 'item_id': '[unknown]',
322 'media_type': 'artist',
323 'name': '[unknown]',
324 'provider': 'xx-instance-id-xx',
325 'sort_name': 'unknown]',
326 'translation_key': None,
327 'uri': 'xx-instance-id-xx://artist/[unknown]',
328 'version': '',
329 'year': None,
330 }),
331 ]),
332 'date_added': None,
333 'external_ids': list([
334 ]),
335 'favorite': False,
336 'is_playable': True,
337 'item_id': '7c8d0bd55291c7fc0451d17ebef30017',
338 'media_type': 'album',
339 'metadata': dict({
340 'artist_entity_type': None,
341 'chapters': None,
342 'collections': None,
343 'copyright': None,
344 'description': None,
345 'description_language': None,
346 'explicit': None,
347 'genres': None,
348 'grouping': None,
349 'has_transcript': None,
350 'images': list([
351 ]),
352 'label': None,
353 'languages': None,
354 'last_refresh': None,
355 'life_span': None,
356 'links': None,
357 'lrc_lyrics': None,
358 'lyrics': None,
359 'mood': None,
360 'performers': None,
361 'popularity': None,
362 'preview': None,
363 'release_date': None,
364 'review': None,
365 'style': None,
366 'transcript': None,
367 'transcript_cues': None,
368 }),
369 'name': 'Yesterday, When I Was Mad [Disc 2]',
370 'position': None,
371 'provider': 'xx-instance-id-xx',
372 'provider_mappings': list([
373 dict({
374 'audio_format': dict({
375 'bit_depth': 16,
376 'bit_rate': 0,
377 'channels': 2,
378 'codec_type': '?',
379 'content_type': '?',
380 'output_format_str': '?',
381 'sample_rate': 44100,
382 }),
383 'available': True,
384 'details': None,
385 'in_library': None,
386 'is_unique': None,
387 'item_id': '7c8d0bd55291c7fc0451d17ebef30017',
388 'provider_domain': 'jellyfin',
389 'provider_instance': 'xx-instance-id-xx',
390 'url': None,
391 }),
392 ]),
393 'sort_name': 'yesterday when i was mad [disc 0000000002]',
394 'uri': 'xx-instance-id-xx://album/7c8d0bd55291c7fc0451d17ebef30017',
395 'version': '',
396 'year': None,
397 })
398# ---
399# name: test_parse_artists[ash]
400 dict({
401 'artist_type': 'singer',
402 'date_added': None,
403 'external_ids': list([
404 list([
405 'musicbrainz_artistid',
406 '99164692-c02d-407c-81c9-25d338dd21f4',
407 ]),
408 ]),
409 'favorite': False,
410 'is_playable': True,
411 'item_id': 'dd954bbf54398e247d803186d3585b79',
412 'media_type': 'artist',
413 'metadata': dict({
414 'artist_entity_type': None,
415 'chapters': None,
416 'collections': None,
417 'copyright': None,
418 'description': None,
419 'description_language': None,
420 'explicit': None,
421 'genres': None,
422 'grouping': None,
423 'has_transcript': None,
424 'images': list([
425 dict({
426 'path': 'http://localhost:1234/Items/dd954bbf54398e247d803186d3585b79/Images/Backdrop/0?api_key=ACCESS_TOKEN',
427 'provider': 'xx-instance-id-xx',
428 'proxy_id': None,
429 'remotely_accessible': False,
430 'type': 'fanart',
431 }),
432 dict({
433 'path': 'http://localhost:1234/Items/dd954bbf54398e247d803186d3585b79/Images/Primary?api_key=ACCESS_TOKEN',
434 'provider': 'xx-instance-id-xx',
435 'proxy_id': None,
436 'remotely_accessible': False,
437 'type': 'thumb',
438 }),
439 dict({
440 'path': 'http://localhost:1234/Items/dd954bbf54398e247d803186d3585b79/Images/Logo?api_key=ACCESS_TOKEN',
441 'provider': 'xx-instance-id-xx',
442 'proxy_id': None,
443 'remotely_accessible': False,
444 'type': 'logo',
445 }),
446 ]),
447 'label': None,
448 'languages': None,
449 'last_refresh': None,
450 'life_span': None,
451 'links': None,
452 'lrc_lyrics': None,
453 'lyrics': None,
454 'mood': None,
455 'performers': None,
456 'popularity': None,
457 'preview': None,
458 'release_date': None,
459 'review': None,
460 'style': None,
461 'transcript': None,
462 'transcript_cues': None,
463 }),
464 'name': 'Ash',
465 'position': None,
466 'provider': 'xx-instance-id-xx',
467 'provider_mappings': list([
468 dict({
469 'audio_format': dict({
470 'bit_depth': 16,
471 'bit_rate': 0,
472 'channels': 2,
473 'codec_type': '?',
474 'content_type': '?',
475 'output_format_str': '?',
476 'sample_rate': 44100,
477 }),
478 'available': True,
479 'details': None,
480 'in_library': None,
481 'is_unique': None,
482 'item_id': 'dd954bbf54398e247d803186d3585b79',
483 'provider_domain': 'jellyfin',
484 'provider_instance': 'xx-instance-id-xx',
485 'url': None,
486 }),
487 ]),
488 'sort_name': 'ash',
489 'uri': 'xx-instance-id-xx://artist/dd954bbf54398e247d803186d3585b79',
490 'version': '',
491 })
492# ---
493# name: test_parse_tracks[do_i_wanna_know]
494 dict({
495 'album': dict({
496 'available': True,
497 'external_ids': list([
498 ]),
499 'image': None,
500 'is_playable': True,
501 'item_id': 'd42d74e134693184e7adc73106238e89',
502 'media_type': 'album',
503 'name': 'AM',
504 'provider': 'xx-instance-id-xx',
505 'sort_name': 'am',
506 'translation_key': None,
507 'uri': 'xx-instance-id-xx://album/d42d74e134693184e7adc73106238e89',
508 'version': '',
509 'year': None,
510 }),
511 'artists': list([
512 dict({
513 'available': True,
514 'external_ids': list([
515 ]),
516 'image': None,
517 'is_playable': True,
518 'item_id': 'cc940aeb8a99149f159fe9794f136071',
519 'media_type': 'artist',
520 'name': 'Arctic Monkeys',
521 'provider': 'xx-instance-id-xx',
522 'sort_name': 'arctic monkeys',
523 'translation_key': None,
524 'uri': 'xx-instance-id-xx://artist/cc940aeb8a99149f159fe9794f136071',
525 'version': '',
526 'year': None,
527 }),
528 ]),
529 'audio_metadata': None,
530 'date_added': None,
531 'disc_number': 1,
532 'duration': 272,
533 'external_ids': list([
534 ]),
535 'favorite': False,
536 'is_playable': True,
537 'item_id': 'da9c458e425584680765ddc3a89cbc0c',
538 'last_played': 0,
539 'media_type': 'track',
540 'metadata': dict({
541 'artist_entity_type': None,
542 'chapters': None,
543 'collections': None,
544 'copyright': None,
545 'description': None,
546 'description_language': None,
547 'explicit': None,
548 'genres': None,
549 'grouping': None,
550 'has_transcript': None,
551 'images': list([
552 dict({
553 'path': 'http://localhost:1234/Items/da9c458e425584680765ddc3a89cbc0c/Images/Primary?api_key=ACCESS_TOKEN',
554 'provider': 'xx-instance-id-xx',
555 'proxy_id': None,
556 'remotely_accessible': False,
557 'type': 'thumb',
558 }),
559 ]),
560 'label': None,
561 'languages': None,
562 'last_refresh': None,
563 'life_span': None,
564 'links': None,
565 'lrc_lyrics': None,
566 'lyrics': None,
567 'mood': None,
568 'performers': None,
569 'popularity': None,
570 'preview': None,
571 'release_date': None,
572 'review': None,
573 'style': None,
574 'transcript': None,
575 'transcript_cues': None,
576 }),
577 'name': 'Do I Wanna Know?',
578 'position': 1,
579 'provider': 'xx-instance-id-xx',
580 'provider_mappings': list([
581 dict({
582 'audio_format': dict({
583 'bit_depth': 24,
584 'bit_rate': 1546,
585 'channels': 2,
586 'codec_type': 'flac',
587 'content_type': 'flac',
588 'output_format_str': 'flac',
589 'sample_rate': 44100,
590 }),
591 'available': True,
592 'details': None,
593 'in_library': None,
594 'is_unique': None,
595 'item_id': 'da9c458e425584680765ddc3a89cbc0c',
596 'provider_domain': 'jellyfin',
597 'provider_instance': 'xx-instance-id-xx',
598 'url': 'http://localhost:1234/Audio/da9c458e425584680765ddc3a89cbc0c/universal?userId=USER_ID&deviceId=X&maxStreamingBitrate=140000000&api_key=ACCESS_TOKEN',
599 }),
600 ]),
601 'sort_name': 'do i wanna know?',
602 'track_number': 1,
603 'uri': 'xx-instance-id-xx://track/da9c458e425584680765ddc3a89cbc0c',
604 'version': '',
605 })
606# ---
607# name: test_parse_tracks[thrown_away]
608 dict({
609 'album': dict({
610 'available': True,
611 'external_ids': list([
612 ]),
613 'image': None,
614 'is_playable': True,
615 'item_id': '70b7288088b42d318f75dbcc41fd0091',
616 'media_type': 'album',
617 'name': 'Unknown Album (70b7288088b42d318f75dbcc41fd0091)',
618 'provider': 'xx-instance-id-xx',
619 'sort_name': 'unknown album (70b7288088b42d318f75dbcc41fd0091)',
620 'translation_key': None,
621 'uri': 'xx-instance-id-xx://album/70b7288088b42d318f75dbcc41fd0091',
622 'version': '',
623 'year': None,
624 }),
625 'artists': list([
626 dict({
627 'available': True,
628 'external_ids': list([
629 ]),
630 'image': None,
631 'is_playable': True,
632 'item_id': '[unknown]',
633 'media_type': 'artist',
634 'name': '[unknown]',
635 'provider': 'xx-instance-id-xx',
636 'sort_name': 'unknown]',
637 'translation_key': None,
638 'uri': 'xx-instance-id-xx://artist/[unknown]',
639 'version': '',
640 'year': None,
641 }),
642 ]),
643 'audio_metadata': None,
644 'date_added': None,
645 'disc_number': 0,
646 'duration': 577,
647 'external_ids': list([
648 ]),
649 'favorite': False,
650 'is_playable': True,
651 'item_id': 'b5319fb11cde39fca2023184fcfa9862',
652 'last_played': 0,
653 'media_type': 'track',
654 'metadata': dict({
655 'artist_entity_type': None,
656 'chapters': None,
657 'collections': None,
658 'copyright': None,
659 'description': None,
660 'description_language': None,
661 'explicit': None,
662 'genres': None,
663 'grouping': None,
664 'has_transcript': None,
665 'images': list([
666 ]),
667 'label': None,
668 'languages': None,
669 'last_refresh': None,
670 'life_span': None,
671 'links': None,
672 'lrc_lyrics': None,
673 'lyrics': None,
674 'mood': None,
675 'performers': None,
676 'popularity': None,
677 'preview': None,
678 'release_date': None,
679 'review': None,
680 'style': None,
681 'transcript': None,
682 'transcript_cues': None,
683 }),
684 'name': '11 Thrown Away',
685 'position': 0,
686 'provider': 'xx-instance-id-xx',
687 'provider_mappings': list([
688 dict({
689 'audio_format': dict({
690 'bit_depth': 16,
691 'bit_rate': 156,
692 'channels': 2,
693 'codec_type': 'mp3',
694 'content_type': 'mp3',
695 'output_format_str': 'mp3',
696 'sample_rate': 44100,
697 }),
698 'available': True,
699 'details': None,
700 'in_library': None,
701 'is_unique': None,
702 'item_id': 'b5319fb11cde39fca2023184fcfa9862',
703 'provider_domain': 'jellyfin',
704 'provider_instance': 'xx-instance-id-xx',
705 'url': 'http://localhost:1234/Audio/b5319fb11cde39fca2023184fcfa9862/universal?userId=USER_ID&deviceId=X&maxStreamingBitrate=140000000&api_key=ACCESS_TOKEN',
706 }),
707 ]),
708 'sort_name': '11 thrown away',
709 'track_number': 0,
710 'uri': 'xx-instance-id-xx://track/b5319fb11cde39fca2023184fcfa9862',
711 'version': '',
712 })
713# ---
714# name: test_parse_tracks[where_the_bands_are]
715 dict({
716 'album': None,
717 'artists': list([
718 dict({
719 'available': True,
720 'external_ids': list([
721 ]),
722 'image': None,
723 'is_playable': True,
724 'item_id': '94875b0dd58cbf5245a135982133651a',
725 'media_type': 'artist',
726 'name': 'Dead Like Harry',
727 'provider': 'xx-instance-id-xx',
728 'sort_name': 'dead like harry',
729 'translation_key': None,
730 'uri': 'xx-instance-id-xx://artist/94875b0dd58cbf5245a135982133651a',
731 'version': '',
732 'year': None,
733 }),
734 ]),
735 'audio_metadata': None,
736 'date_added': None,
737 'disc_number': 1,
738 'duration': 246,
739 'external_ids': list([
740 ]),
741 'favorite': False,
742 'is_playable': True,
743 'item_id': '54918f75ee8f6c8b8dc5efd680644f29',
744 'last_played': 0,
745 'media_type': 'track',
746 'metadata': dict({
747 'artist_entity_type': None,
748 'chapters': None,
749 'collections': None,
750 'copyright': None,
751 'description': None,
752 'description_language': None,
753 'explicit': None,
754 'genres': None,
755 'grouping': None,
756 'has_transcript': None,
757 'images': list([
758 dict({
759 'path': 'http://localhost:1234/Items/54918f75ee8f6c8b8dc5efd680644f29/Images/Primary?api_key=ACCESS_TOKEN',
760 'provider': 'xx-instance-id-xx',
761 'proxy_id': None,
762 'remotely_accessible': False,
763 'type': 'thumb',
764 }),
765 ]),
766 'label': None,
767 'languages': None,
768 'last_refresh': None,
769 'life_span': None,
770 'links': None,
771 'lrc_lyrics': None,
772 'lyrics': None,
773 'mood': None,
774 'performers': None,
775 'popularity': None,
776 'preview': None,
777 'release_date': None,
778 'review': None,
779 'style': None,
780 'transcript': None,
781 'transcript_cues': None,
782 }),
783 'name': 'Where the Bands Are',
784 'position': 1,
785 'provider': 'xx-instance-id-xx',
786 'provider_mappings': list([
787 dict({
788 'audio_format': dict({
789 'bit_depth': 16,
790 'bit_rate': 278,
791 'channels': 2,
792 'codec_type': 'aac',
793 'content_type': 'm4a',
794 'output_format_str': 'm4a',
795 'sample_rate': 44100,
796 }),
797 'available': True,
798 'details': None,
799 'in_library': None,
800 'is_unique': None,
801 'item_id': '54918f75ee8f6c8b8dc5efd680644f29',
802 'provider_domain': 'jellyfin',
803 'provider_instance': 'xx-instance-id-xx',
804 'url': 'http://localhost:1234/Audio/54918f75ee8f6c8b8dc5efd680644f29/universal?userId=USER_ID&deviceId=X&maxStreamingBitrate=140000000&api_key=ACCESS_TOKEN',
805 }),
806 ]),
807 'sort_name': 'where the bands are',
808 'track_number': 1,
809 'uri': 'xx-instance-id-xx://track/54918f75ee8f6c8b8dc5efd680644f29',
810 'version': '2018 Version',
811 })
812# ---
813# name: test_parse_tracks[zombie_christmas]
814 dict({
815 'album': dict({
816 'available': True,
817 'external_ids': list([
818 ]),
819 'image': None,
820 'is_playable': True,
821 'item_id': '32ed6a0091733dcff57eae67010f3d4b',
822 'media_type': 'album',
823 'name': 'This Is Christmas',
824 'provider': 'xx-instance-id-xx',
825 'sort_name': 'this is christmas',
826 'translation_key': None,
827 'uri': 'xx-instance-id-xx://album/32ed6a0091733dcff57eae67010f3d4b',
828 'version': '',
829 'year': None,
830 }),
831 'artists': list([
832 dict({
833 'available': True,
834 'external_ids': list([
835 ]),
836 'image': None,
837 'is_playable': True,
838 'item_id': 'a0c459294295710546c81c20a8d9abfc',
839 'media_type': 'artist',
840 'name': 'Emmy the Great',
841 'provider': 'xx-instance-id-xx',
842 'sort_name': 'emmy the great',
843 'translation_key': None,
844 'uri': 'xx-instance-id-xx://artist/a0c459294295710546c81c20a8d9abfc',
845 'version': '',
846 'year': None,
847 }),
848 dict({
849 'available': True,
850 'external_ids': list([
851 ]),
852 'image': None,
853 'is_playable': True,
854 'item_id': '1952db245ddef4e41dcd016475379190',
855 'media_type': 'artist',
856 'name': 'Tim Wheeler',
857 'provider': 'xx-instance-id-xx',
858 'sort_name': 'tim wheeler',
859 'translation_key': None,
860 'uri': 'xx-instance-id-xx://artist/1952db245ddef4e41dcd016475379190',
861 'version': '',
862 'year': None,
863 }),
864 ]),
865 'audio_metadata': None,
866 'date_added': None,
867 'disc_number': 1,
868 'duration': 224,
869 'external_ids': list([
870 list([
871 'musicbrainz_recordingid',
872 '17d1019d-d4f4-326c-b4bb-d8aec2607bd7',
873 ]),
874 ]),
875 'favorite': False,
876 'is_playable': True,
877 'item_id': 'fb12a77f49616a9fc56a6fab2b94174c',
878 'last_played': 0,
879 'media_type': 'track',
880 'metadata': dict({
881 'artist_entity_type': None,
882 'chapters': None,
883 'collections': None,
884 'copyright': None,
885 'description': None,
886 'description_language': None,
887 'explicit': None,
888 'genres': None,
889 'grouping': None,
890 'has_transcript': None,
891 'images': list([
892 dict({
893 'path': 'http://localhost:1234/Items/fb12a77f49616a9fc56a6fab2b94174c/Images/Primary?api_key=ACCESS_TOKEN',
894 'provider': 'xx-instance-id-xx',
895 'proxy_id': None,
896 'remotely_accessible': False,
897 'type': 'thumb',
898 }),
899 ]),
900 'label': None,
901 'languages': None,
902 'last_refresh': None,
903 'life_span': None,
904 'links': None,
905 'lrc_lyrics': None,
906 'lyrics': None,
907 'mood': None,
908 'performers': None,
909 'popularity': None,
910 'preview': None,
911 'release_date': None,
912 'review': None,
913 'style': None,
914 'transcript': None,
915 'transcript_cues': None,
916 }),
917 'name': 'Zombie Christmas',
918 'position': 8,
919 'provider': 'xx-instance-id-xx',
920 'provider_mappings': list([
921 dict({
922 'audio_format': dict({
923 'bit_depth': 16,
924 'bit_rate': 267,
925 'channels': 2,
926 'codec_type': 'aac',
927 'content_type': 'm4a',
928 'output_format_str': 'm4a',
929 'sample_rate': 44100,
930 }),
931 'available': True,
932 'details': None,
933 'in_library': None,
934 'is_unique': None,
935 'item_id': 'fb12a77f49616a9fc56a6fab2b94174c',
936 'provider_domain': 'jellyfin',
937 'provider_instance': 'xx-instance-id-xx',
938 'url': 'http://localhost:1234/Audio/fb12a77f49616a9fc56a6fab2b94174c/universal?userId=USER_ID&deviceId=X&maxStreamingBitrate=140000000&api_key=ACCESS_TOKEN',
939 }),
940 ]),
941 'sort_name': 'zombie christmas',
942 'track_number': 8,
943 'uri': 'xx-instance-id-xx://track/fb12a77f49616a9fc56a6fab2b94174c',
944 'version': '',
945 })
946# ---
947