@jellyfin/sdk 0.10.0 → 0.12.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.
- package/CHANGELOG.md +127 -0
- package/README.md +3 -41
- package/lib/api.d.ts +7 -11
- package/lib/api.js +13 -14
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +8 -8
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +19 -10
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +22 -76
- package/lib/generated-client/api/audio-api.d.ts +87 -255
- package/lib/generated-client/api/audio-api.js +97 -249
- package/lib/generated-client/api/backup-api.d.ts +209 -0
- package/lib/generated-client/api/backup-api.js +311 -0
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +13 -4
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +33 -36
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +10 -7
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +22 -18
- package/lib/generated-client/api/configuration-api.d.ts +75 -29
- package/lib/generated-client/api/configuration-api.js +98 -17
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +16 -10
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +37 -23
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +16 -15
- package/lib/generated-client/api/dlna-api.d.ts +6 -6
- package/lib/generated-client/api/dlna-server-api.d.ts +16 -16
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +233 -573
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +35 -19
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +15 -21
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +16 -28
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +37 -29
- package/lib/generated-client/api/image-api.d.ts +216 -942
- package/lib/generated-client/api/image-api.js +282 -789
- package/lib/generated-client/api/image-by-name-api.d.ts +6 -6
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +57 -89
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +78 -47
- package/lib/generated-client/api/item-refresh-api.d.ts +17 -13
- package/lib/generated-client/api/item-refresh-api.js +17 -13
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +22 -15
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +39 -123
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +213 -143
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +54 -40
- package/lib/generated-client/api/live-tv-api.d.ts +236 -336
- package/lib/generated-client/api/live-tv-api.js +287 -267
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +17 -5
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +46 -31
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +46 -53
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +8 -9
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +16 -28
- package/lib/generated-client/api/notifications-api.d.ts +7 -7
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +38 -24
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +16 -23
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +138 -64
- package/lib/generated-client/api/playstate-api.d.ts +66 -80
- package/lib/generated-client/api/playstate-api.js +77 -64
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +61 -38
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +24 -13
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +22 -20
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +37 -24
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +8 -22
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +104 -83
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +39 -18
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +16 -27
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +69 -70
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +8 -10
- package/lib/generated-client/api/sync-play-api.d.ts +166 -120
- package/lib/generated-client/api/sync-play-api.js +200 -71
- package/lib/generated-client/api/system-api.d.ts +53 -57
- package/lib/generated-client/api/system-api.js +56 -30
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +5 -2
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +5 -2
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +8 -88
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +15 -14
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +30 -63
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +33 -51
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +94 -57
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +71 -60
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +15 -12
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +8 -7
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +114 -266
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +16 -25
- package/lib/generated-client/api.d.ts +2 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +4 -4
- package/lib/generated-client/common.js +23 -14
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +11 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/backup-manifest-dto.d.ts +48 -0
- package/lib/generated-client/models/backup-options-dto.d.ts +41 -0
- package/lib/generated-client/models/backup-restore-request-dto.d.ts +23 -0
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +28 -28
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/branding-options-dto.d.ts +35 -0
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/custom-database-option.d.ts +29 -0
- package/lib/generated-client/models/custom-database-options.d.ts +42 -0
- package/lib/generated-client/models/database-configuration-options.d.ts +37 -0
- package/lib/generated-client/models/database-locking-behavior-types.d.ts +21 -0
- package/lib/generated-client/models/database-locking-behavior-types.js +24 -0
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +1 -7
- package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
- package/lib/generated-client/models/external-id-media-type.js +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/folder-storage-dto.d.ts +47 -0
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update-type.d.ts +0 -2
- package/lib/generated-client/models/group-update-type.js +0 -2
- package/lib/generated-client/models/group-update.d.ts +29 -6
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +38 -14
- package/lib/generated-client/models/index.js +9 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/item-fields.d.ts +0 -11
- package/lib/generated-client/models/item-fields.js +0 -11
- package/lib/generated-client/models/item-sort-by.d.ts +0 -2
- package/lib/generated-client/models/item-sort-by.js +1 -3
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +14 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-storage-dto.d.ts +36 -0
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/lyric-line-cue.d.ts +41 -0
- package/lib/generated-client/models/lyric-line.d.ts +7 -0
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +23 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +12 -12
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/network-configuration.d.ts +1 -0
- package/lib/generated-client/models/open-live-stream-dto.d.ts +9 -3
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/parental-rating-score.d.ts +29 -0
- package/lib/generated-client/models/parental-rating.d.ts +8 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +8 -2
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-status.d.ts +1 -0
- package/lib/generated-client/models/plugin-status.js +1 -0
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition-value.d.ts +1 -0
- package/lib/generated-client/models/profile-condition-value.js +2 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +2 -2
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +29 -23
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +2 -2
- package/lib/generated-client/models/startup-configuration-dto.d.ts +6 -0
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +1 -0
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-does-not-exist-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-joined-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-left-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-play-queue-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-state-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-user-joined-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-user-left-update.d.ts +36 -0
- package/lib/generated-client/models/system-info.d.ts +9 -2
- package/lib/generated-client/models/system-storage-dto.d.ts +67 -0
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info-type.d.ts +22 -0
- package/lib/generated-client/models/task-trigger-info-type.js +25 -0
- package/lib/generated-client/models/task-trigger-info.d.ts +5 -4
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +2 -0
- package/lib/generated-client/models/transcode-reason.js +3 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-info-dto.d.ts +59 -0
- package/lib/generated-client/models/trickplay-info.d.ts +7 -1
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +24 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +9 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/video-range-type.d.ts +4 -0
- package/lib/generated-client/models/video-range-type.js +4 -0
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/models/api/image-request-parameters.d.ts +0 -1
- package/lib/models/api/index.d.ts +0 -1
- package/lib/models/api/index.js +1 -1
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +2 -2
- package/lib/versions.js +2 -2
- package/package.json +20 -18
- package/lib/models/api/item-sort-by.d.ts +0 -40
- package/lib/models/api/item-sort-by.js +0 -43
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
2
|
+
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -184,7 +184,7 @@ const LyricsApiAxiosParamCreator = function (configuration) {
|
|
|
184
184
|
* @summary Upload an external lyric file.
|
|
185
185
|
* @param {string} itemId The item the lyric belongs to.
|
|
186
186
|
* @param {string} fileName Name of the file being uploaded.
|
|
187
|
-
* @param {
|
|
187
|
+
* @param {File} [body]
|
|
188
188
|
* @param {*} [options] Override http request option.
|
|
189
189
|
* @throws {RequiredError}
|
|
190
190
|
*/
|
|
@@ -236,8 +236,11 @@ const LyricsApiFp = function (configuration) {
|
|
|
236
236
|
* @throws {RequiredError}
|
|
237
237
|
*/
|
|
238
238
|
async deleteLyrics(itemId, options) {
|
|
239
|
+
var _a, _b, _c;
|
|
239
240
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLyrics(itemId, options);
|
|
240
|
-
|
|
241
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
242
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LyricsApi.deleteLyrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
243
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
241
244
|
},
|
|
242
245
|
/**
|
|
243
246
|
*
|
|
@@ -248,8 +251,11 @@ const LyricsApiFp = function (configuration) {
|
|
|
248
251
|
* @throws {RequiredError}
|
|
249
252
|
*/
|
|
250
253
|
async downloadRemoteLyrics(itemId, lyricId, options) {
|
|
254
|
+
var _a, _b, _c;
|
|
251
255
|
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadRemoteLyrics(itemId, lyricId, options);
|
|
252
|
-
|
|
256
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
257
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LyricsApi.downloadRemoteLyrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
258
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
253
259
|
},
|
|
254
260
|
/**
|
|
255
261
|
*
|
|
@@ -259,8 +265,11 @@ const LyricsApiFp = function (configuration) {
|
|
|
259
265
|
* @throws {RequiredError}
|
|
260
266
|
*/
|
|
261
267
|
async getLyrics(itemId, options) {
|
|
268
|
+
var _a, _b, _c;
|
|
262
269
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getLyrics(itemId, options);
|
|
263
|
-
|
|
270
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
271
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LyricsApi.getLyrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
272
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
264
273
|
},
|
|
265
274
|
/**
|
|
266
275
|
*
|
|
@@ -270,8 +279,11 @@ const LyricsApiFp = function (configuration) {
|
|
|
270
279
|
* @throws {RequiredError}
|
|
271
280
|
*/
|
|
272
281
|
async getRemoteLyrics(lyricId, options) {
|
|
282
|
+
var _a, _b, _c;
|
|
273
283
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getRemoteLyrics(lyricId, options);
|
|
274
|
-
|
|
284
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
285
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LyricsApi.getRemoteLyrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
286
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
275
287
|
},
|
|
276
288
|
/**
|
|
277
289
|
*
|
|
@@ -281,21 +293,27 @@ const LyricsApiFp = function (configuration) {
|
|
|
281
293
|
* @throws {RequiredError}
|
|
282
294
|
*/
|
|
283
295
|
async searchRemoteLyrics(itemId, options) {
|
|
296
|
+
var _a, _b, _c;
|
|
284
297
|
const localVarAxiosArgs = await localVarAxiosParamCreator.searchRemoteLyrics(itemId, options);
|
|
285
|
-
|
|
298
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
299
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LyricsApi.searchRemoteLyrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
300
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
286
301
|
},
|
|
287
302
|
/**
|
|
288
303
|
*
|
|
289
304
|
* @summary Upload an external lyric file.
|
|
290
305
|
* @param {string} itemId The item the lyric belongs to.
|
|
291
306
|
* @param {string} fileName Name of the file being uploaded.
|
|
292
|
-
* @param {
|
|
307
|
+
* @param {File} [body]
|
|
293
308
|
* @param {*} [options] Override http request option.
|
|
294
309
|
* @throws {RequiredError}
|
|
295
310
|
*/
|
|
296
311
|
async uploadLyrics(itemId, fileName, body, options) {
|
|
312
|
+
var _a, _b, _c;
|
|
297
313
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadLyrics(itemId, fileName, body, options);
|
|
298
|
-
|
|
314
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
315
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LyricsApi.uploadLyrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
316
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
299
317
|
},
|
|
300
318
|
};
|
|
301
319
|
};
|
|
@@ -309,65 +327,62 @@ const LyricsApiFactory = function (configuration, basePath, axios) {
|
|
|
309
327
|
/**
|
|
310
328
|
*
|
|
311
329
|
* @summary Deletes an external lyric file.
|
|
312
|
-
* @param {
|
|
330
|
+
* @param {LyricsApiDeleteLyricsRequest} requestParameters Request parameters.
|
|
313
331
|
* @param {*} [options] Override http request option.
|
|
314
332
|
* @throws {RequiredError}
|
|
315
333
|
*/
|
|
316
|
-
deleteLyrics(
|
|
317
|
-
return localVarFp.deleteLyrics(itemId, options).then((request) => request(axios, basePath));
|
|
334
|
+
deleteLyrics(requestParameters, options) {
|
|
335
|
+
return localVarFp.deleteLyrics(requestParameters.itemId, options).then((request) => request(axios, basePath));
|
|
318
336
|
},
|
|
319
337
|
/**
|
|
320
338
|
*
|
|
321
339
|
* @summary Downloads a remote lyric.
|
|
322
|
-
* @param {
|
|
323
|
-
* @param {string} lyricId The lyric id.
|
|
340
|
+
* @param {LyricsApiDownloadRemoteLyricsRequest} requestParameters Request parameters.
|
|
324
341
|
* @param {*} [options] Override http request option.
|
|
325
342
|
* @throws {RequiredError}
|
|
326
343
|
*/
|
|
327
|
-
downloadRemoteLyrics(
|
|
328
|
-
return localVarFp.downloadRemoteLyrics(itemId, lyricId, options).then((request) => request(axios, basePath));
|
|
344
|
+
downloadRemoteLyrics(requestParameters, options) {
|
|
345
|
+
return localVarFp.downloadRemoteLyrics(requestParameters.itemId, requestParameters.lyricId, options).then((request) => request(axios, basePath));
|
|
329
346
|
},
|
|
330
347
|
/**
|
|
331
348
|
*
|
|
332
349
|
* @summary Gets an item\'s lyrics.
|
|
333
|
-
* @param {
|
|
350
|
+
* @param {LyricsApiGetLyricsRequest} requestParameters Request parameters.
|
|
334
351
|
* @param {*} [options] Override http request option.
|
|
335
352
|
* @throws {RequiredError}
|
|
336
353
|
*/
|
|
337
|
-
getLyrics(
|
|
338
|
-
return localVarFp.getLyrics(itemId, options).then((request) => request(axios, basePath));
|
|
354
|
+
getLyrics(requestParameters, options) {
|
|
355
|
+
return localVarFp.getLyrics(requestParameters.itemId, options).then((request) => request(axios, basePath));
|
|
339
356
|
},
|
|
340
357
|
/**
|
|
341
358
|
*
|
|
342
359
|
* @summary Gets the remote lyrics.
|
|
343
|
-
* @param {
|
|
360
|
+
* @param {LyricsApiGetRemoteLyricsRequest} requestParameters Request parameters.
|
|
344
361
|
* @param {*} [options] Override http request option.
|
|
345
362
|
* @throws {RequiredError}
|
|
346
363
|
*/
|
|
347
|
-
getRemoteLyrics(
|
|
348
|
-
return localVarFp.getRemoteLyrics(lyricId, options).then((request) => request(axios, basePath));
|
|
364
|
+
getRemoteLyrics(requestParameters, options) {
|
|
365
|
+
return localVarFp.getRemoteLyrics(requestParameters.lyricId, options).then((request) => request(axios, basePath));
|
|
349
366
|
},
|
|
350
367
|
/**
|
|
351
368
|
*
|
|
352
369
|
* @summary Search remote lyrics.
|
|
353
|
-
* @param {
|
|
370
|
+
* @param {LyricsApiSearchRemoteLyricsRequest} requestParameters Request parameters.
|
|
354
371
|
* @param {*} [options] Override http request option.
|
|
355
372
|
* @throws {RequiredError}
|
|
356
373
|
*/
|
|
357
|
-
searchRemoteLyrics(
|
|
358
|
-
return localVarFp.searchRemoteLyrics(itemId, options).then((request) => request(axios, basePath));
|
|
374
|
+
searchRemoteLyrics(requestParameters, options) {
|
|
375
|
+
return localVarFp.searchRemoteLyrics(requestParameters.itemId, options).then((request) => request(axios, basePath));
|
|
359
376
|
},
|
|
360
377
|
/**
|
|
361
378
|
*
|
|
362
379
|
* @summary Upload an external lyric file.
|
|
363
|
-
* @param {
|
|
364
|
-
* @param {string} fileName Name of the file being uploaded.
|
|
365
|
-
* @param {any} [body]
|
|
380
|
+
* @param {LyricsApiUploadLyricsRequest} requestParameters Request parameters.
|
|
366
381
|
* @param {*} [options] Override http request option.
|
|
367
382
|
* @throws {RequiredError}
|
|
368
383
|
*/
|
|
369
|
-
uploadLyrics(
|
|
370
|
-
return localVarFp.uploadLyrics(itemId, fileName, body, options).then((request) => request(axios, basePath));
|
|
384
|
+
uploadLyrics(requestParameters, options) {
|
|
385
|
+
return localVarFp.uploadLyrics(requestParameters.itemId, requestParameters.fileName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
371
386
|
},
|
|
372
387
|
};
|
|
373
388
|
};
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
-
import { LiveStreamResponse } from '../models';
|
|
15
|
-
import { OpenLiveStreamDto } from '../models';
|
|
16
|
-
import { PlaybackInfoDto } from '../models';
|
|
17
|
-
import { PlaybackInfoResponse } from '../models';
|
|
11
|
+
import type { Configuration } from '../configuration';
|
|
12
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
13
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import type { LiveStreamResponse } from '../models';
|
|
15
|
+
import type { OpenLiveStreamDto } from '../models';
|
|
16
|
+
import type { PlaybackInfoDto } from '../models';
|
|
17
|
+
import type { PlaybackInfoResponse } from '../models';
|
|
18
18
|
/**
|
|
19
19
|
* MediaInfoApi - axios parameter creator
|
|
20
20
|
* @export
|
|
@@ -27,7 +27,7 @@ export declare const MediaInfoApiAxiosParamCreator: (configuration?: Configurati
|
|
|
27
27
|
* @param {*} [options] Override http request option.
|
|
28
28
|
* @throws {RequiredError}
|
|
29
29
|
*/
|
|
30
|
-
closeLiveStream: (liveStreamId: string, options?:
|
|
30
|
+
closeLiveStream: (liveStreamId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @summary Tests the network with a request with the size of the bitrate.
|
|
@@ -35,7 +35,7 @@ export declare const MediaInfoApiAxiosParamCreator: (configuration?: Configurati
|
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
37
|
*/
|
|
38
|
-
getBitrateTestBytes: (size?: number, options?:
|
|
38
|
+
getBitrateTestBytes: (size?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @summary Gets live playback media info for an item.
|
|
@@ -44,7 +44,7 @@ export declare const MediaInfoApiAxiosParamCreator: (configuration?: Configurati
|
|
|
44
44
|
* @param {*} [options] Override http request option.
|
|
45
45
|
* @throws {RequiredError}
|
|
46
46
|
*/
|
|
47
|
-
getPlaybackInfo: (itemId: string, userId?: string, options?:
|
|
47
|
+
getPlaybackInfo: (itemId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
48
|
/**
|
|
49
49
|
* For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete.
|
|
50
50
|
* @summary Gets live playback media info for an item.
|
|
@@ -67,7 +67,7 @@ export declare const MediaInfoApiAxiosParamCreator: (configuration?: Configurati
|
|
|
67
67
|
* @param {*} [options] Override http request option.
|
|
68
68
|
* @throws {RequiredError}
|
|
69
69
|
*/
|
|
70
|
-
getPostedPlaybackInfo: (itemId: string, userId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, mediaSourceId?: string, liveStreamId?: string, autoOpenLiveStream?: boolean, enableDirectPlay?: boolean, enableDirectStream?: boolean, enableTranscoding?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, playbackInfoDto?: PlaybackInfoDto, options?:
|
|
70
|
+
getPostedPlaybackInfo: (itemId: string, userId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, mediaSourceId?: string, liveStreamId?: string, autoOpenLiveStream?: boolean, enableDirectPlay?: boolean, enableDirectStream?: boolean, enableTranscoding?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, playbackInfoDto?: PlaybackInfoDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
73
|
* @summary Opens a media source.
|
|
@@ -82,11 +82,12 @@ export declare const MediaInfoApiAxiosParamCreator: (configuration?: Configurati
|
|
|
82
82
|
* @param {string} [itemId] The item id.
|
|
83
83
|
* @param {boolean} [enableDirectPlay] Whether to enable direct play. Default: true.
|
|
84
84
|
* @param {boolean} [enableDirectStream] Whether to enable direct stream. Default: true.
|
|
85
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Always burn-in subtitle when transcoding.
|
|
85
86
|
* @param {OpenLiveStreamDto} [openLiveStreamDto] The open live stream dto.
|
|
86
87
|
* @param {*} [options] Override http request option.
|
|
87
88
|
* @throws {RequiredError}
|
|
88
89
|
*/
|
|
89
|
-
openLiveStream: (openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, openLiveStreamDto?: OpenLiveStreamDto, options?:
|
|
90
|
+
openLiveStream: (openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, openLiveStreamDto?: OpenLiveStreamDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
90
91
|
};
|
|
91
92
|
/**
|
|
92
93
|
* MediaInfoApi - functional programming interface
|
|
@@ -100,7 +101,7 @@ export declare const MediaInfoApiFp: (configuration?: Configuration) => {
|
|
|
100
101
|
* @param {*} [options] Override http request option.
|
|
101
102
|
* @throws {RequiredError}
|
|
102
103
|
*/
|
|
103
|
-
closeLiveStream(liveStreamId: string, options?:
|
|
104
|
+
closeLiveStream(liveStreamId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
104
105
|
/**
|
|
105
106
|
*
|
|
106
107
|
* @summary Tests the network with a request with the size of the bitrate.
|
|
@@ -108,7 +109,7 @@ export declare const MediaInfoApiFp: (configuration?: Configuration) => {
|
|
|
108
109
|
* @param {*} [options] Override http request option.
|
|
109
110
|
* @throws {RequiredError}
|
|
110
111
|
*/
|
|
111
|
-
getBitrateTestBytes(size?: number, options?:
|
|
112
|
+
getBitrateTestBytes(size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
112
113
|
/**
|
|
113
114
|
*
|
|
114
115
|
* @summary Gets live playback media info for an item.
|
|
@@ -117,7 +118,7 @@ export declare const MediaInfoApiFp: (configuration?: Configuration) => {
|
|
|
117
118
|
* @param {*} [options] Override http request option.
|
|
118
119
|
* @throws {RequiredError}
|
|
119
120
|
*/
|
|
120
|
-
getPlaybackInfo(itemId: string, userId?: string, options?:
|
|
121
|
+
getPlaybackInfo(itemId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaybackInfoResponse>>;
|
|
121
122
|
/**
|
|
122
123
|
* For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete.
|
|
123
124
|
* @summary Gets live playback media info for an item.
|
|
@@ -140,7 +141,7 @@ export declare const MediaInfoApiFp: (configuration?: Configuration) => {
|
|
|
140
141
|
* @param {*} [options] Override http request option.
|
|
141
142
|
* @throws {RequiredError}
|
|
142
143
|
*/
|
|
143
|
-
getPostedPlaybackInfo(itemId: string, userId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, mediaSourceId?: string, liveStreamId?: string, autoOpenLiveStream?: boolean, enableDirectPlay?: boolean, enableDirectStream?: boolean, enableTranscoding?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, playbackInfoDto?: PlaybackInfoDto, options?:
|
|
144
|
+
getPostedPlaybackInfo(itemId: string, userId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, mediaSourceId?: string, liveStreamId?: string, autoOpenLiveStream?: boolean, enableDirectPlay?: boolean, enableDirectStream?: boolean, enableTranscoding?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, playbackInfoDto?: PlaybackInfoDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaybackInfoResponse>>;
|
|
144
145
|
/**
|
|
145
146
|
*
|
|
146
147
|
* @summary Opens a media source.
|
|
@@ -155,11 +156,12 @@ export declare const MediaInfoApiFp: (configuration?: Configuration) => {
|
|
|
155
156
|
* @param {string} [itemId] The item id.
|
|
156
157
|
* @param {boolean} [enableDirectPlay] Whether to enable direct play. Default: true.
|
|
157
158
|
* @param {boolean} [enableDirectStream] Whether to enable direct stream. Default: true.
|
|
159
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Always burn-in subtitle when transcoding.
|
|
158
160
|
* @param {OpenLiveStreamDto} [openLiveStreamDto] The open live stream dto.
|
|
159
161
|
* @param {*} [options] Override http request option.
|
|
160
162
|
* @throws {RequiredError}
|
|
161
163
|
*/
|
|
162
|
-
openLiveStream(openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, openLiveStreamDto?: OpenLiveStreamDto, options?:
|
|
164
|
+
openLiveStream(openToken?: string, userId?: string, playSessionId?: string, maxStreamingBitrate?: number, startTimeTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, maxAudioChannels?: number, itemId?: string, enableDirectPlay?: boolean, enableDirectStream?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, openLiveStreamDto?: OpenLiveStreamDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LiveStreamResponse>>;
|
|
163
165
|
};
|
|
164
166
|
/**
|
|
165
167
|
* MediaInfoApi - factory interface
|
|
@@ -169,70 +171,43 @@ export declare const MediaInfoApiFactory: (configuration?: Configuration, basePa
|
|
|
169
171
|
/**
|
|
170
172
|
*
|
|
171
173
|
* @summary Closes a media source.
|
|
172
|
-
* @param {
|
|
174
|
+
* @param {MediaInfoApiCloseLiveStreamRequest} requestParameters Request parameters.
|
|
173
175
|
* @param {*} [options] Override http request option.
|
|
174
176
|
* @throws {RequiredError}
|
|
175
177
|
*/
|
|
176
|
-
closeLiveStream(
|
|
178
|
+
closeLiveStream(requestParameters: MediaInfoApiCloseLiveStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
177
179
|
/**
|
|
178
180
|
*
|
|
179
181
|
* @summary Tests the network with a request with the size of the bitrate.
|
|
180
|
-
* @param {
|
|
182
|
+
* @param {MediaInfoApiGetBitrateTestBytesRequest} requestParameters Request parameters.
|
|
181
183
|
* @param {*} [options] Override http request option.
|
|
182
184
|
* @throws {RequiredError}
|
|
183
185
|
*/
|
|
184
|
-
getBitrateTestBytes(
|
|
186
|
+
getBitrateTestBytes(requestParameters?: MediaInfoApiGetBitrateTestBytesRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
185
187
|
/**
|
|
186
188
|
*
|
|
187
189
|
* @summary Gets live playback media info for an item.
|
|
188
|
-
* @param {
|
|
189
|
-
* @param {string} [userId] The user id.
|
|
190
|
+
* @param {MediaInfoApiGetPlaybackInfoRequest} requestParameters Request parameters.
|
|
190
191
|
* @param {*} [options] Override http request option.
|
|
191
192
|
* @throws {RequiredError}
|
|
192
193
|
*/
|
|
193
|
-
getPlaybackInfo(
|
|
194
|
+
getPlaybackInfo(requestParameters: MediaInfoApiGetPlaybackInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlaybackInfoResponse>;
|
|
194
195
|
/**
|
|
195
196
|
* For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete.
|
|
196
197
|
* @summary Gets live playback media info for an item.
|
|
197
|
-
* @param {
|
|
198
|
-
* @param {string} [userId] The user id.
|
|
199
|
-
* @param {number} [maxStreamingBitrate] The maximum streaming bitrate.
|
|
200
|
-
* @param {number} [startTimeTicks] The start time in ticks.
|
|
201
|
-
* @param {number} [audioStreamIndex] The audio stream index.
|
|
202
|
-
* @param {number} [subtitleStreamIndex] The subtitle stream index.
|
|
203
|
-
* @param {number} [maxAudioChannels] The maximum number of audio channels.
|
|
204
|
-
* @param {string} [mediaSourceId] The media source id.
|
|
205
|
-
* @param {string} [liveStreamId] The livestream id.
|
|
206
|
-
* @param {boolean} [autoOpenLiveStream] Whether to auto open the livestream.
|
|
207
|
-
* @param {boolean} [enableDirectPlay] Whether to enable direct play. Default: true.
|
|
208
|
-
* @param {boolean} [enableDirectStream] Whether to enable direct stream. Default: true.
|
|
209
|
-
* @param {boolean} [enableTranscoding] Whether to enable transcoding. Default: true.
|
|
210
|
-
* @param {boolean} [allowVideoStreamCopy] Whether to allow to copy the video stream. Default: true.
|
|
211
|
-
* @param {boolean} [allowAudioStreamCopy] Whether to allow to copy the audio stream. Default: true.
|
|
212
|
-
* @param {PlaybackInfoDto} [playbackInfoDto] The playback info.
|
|
198
|
+
* @param {MediaInfoApiGetPostedPlaybackInfoRequest} requestParameters Request parameters.
|
|
213
199
|
* @param {*} [options] Override http request option.
|
|
214
200
|
* @throws {RequiredError}
|
|
215
201
|
*/
|
|
216
|
-
getPostedPlaybackInfo(
|
|
202
|
+
getPostedPlaybackInfo(requestParameters: MediaInfoApiGetPostedPlaybackInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlaybackInfoResponse>;
|
|
217
203
|
/**
|
|
218
204
|
*
|
|
219
205
|
* @summary Opens a media source.
|
|
220
|
-
* @param {
|
|
221
|
-
* @param {string} [userId] The user id.
|
|
222
|
-
* @param {string} [playSessionId] The play session id.
|
|
223
|
-
* @param {number} [maxStreamingBitrate] The maximum streaming bitrate.
|
|
224
|
-
* @param {number} [startTimeTicks] The start time in ticks.
|
|
225
|
-
* @param {number} [audioStreamIndex] The audio stream index.
|
|
226
|
-
* @param {number} [subtitleStreamIndex] The subtitle stream index.
|
|
227
|
-
* @param {number} [maxAudioChannels] The maximum number of audio channels.
|
|
228
|
-
* @param {string} [itemId] The item id.
|
|
229
|
-
* @param {boolean} [enableDirectPlay] Whether to enable direct play. Default: true.
|
|
230
|
-
* @param {boolean} [enableDirectStream] Whether to enable direct stream. Default: true.
|
|
231
|
-
* @param {OpenLiveStreamDto} [openLiveStreamDto] The open live stream dto.
|
|
206
|
+
* @param {MediaInfoApiOpenLiveStreamRequest} requestParameters Request parameters.
|
|
232
207
|
* @param {*} [options] Override http request option.
|
|
233
208
|
* @throws {RequiredError}
|
|
234
209
|
*/
|
|
235
|
-
openLiveStream(
|
|
210
|
+
openLiveStream(requestParameters?: MediaInfoApiOpenLiveStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<LiveStreamResponse>;
|
|
236
211
|
};
|
|
237
212
|
/**
|
|
238
213
|
* Request parameters for closeLiveStream operation in MediaInfoApi.
|
|
@@ -454,6 +429,12 @@ export interface MediaInfoApiOpenLiveStreamRequest {
|
|
|
454
429
|
* @memberof MediaInfoApiOpenLiveStream
|
|
455
430
|
*/
|
|
456
431
|
readonly enableDirectStream?: boolean;
|
|
432
|
+
/**
|
|
433
|
+
* Always burn-in subtitle when transcoding.
|
|
434
|
+
* @type {boolean}
|
|
435
|
+
* @memberof MediaInfoApiOpenLiveStream
|
|
436
|
+
*/
|
|
437
|
+
readonly alwaysBurnInSubtitleWhenTranscoding?: boolean;
|
|
457
438
|
/**
|
|
458
439
|
* The open live stream dto.
|
|
459
440
|
* @type {OpenLiveStreamDto}
|
|
@@ -476,7 +457,7 @@ export declare class MediaInfoApi extends BaseAPI {
|
|
|
476
457
|
* @throws {RequiredError}
|
|
477
458
|
* @memberof MediaInfoApi
|
|
478
459
|
*/
|
|
479
|
-
closeLiveStream(requestParameters: MediaInfoApiCloseLiveStreamRequest, options?:
|
|
460
|
+
closeLiveStream(requestParameters: MediaInfoApiCloseLiveStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
480
461
|
/**
|
|
481
462
|
*
|
|
482
463
|
* @summary Tests the network with a request with the size of the bitrate.
|
|
@@ -485,7 +466,7 @@ export declare class MediaInfoApi extends BaseAPI {
|
|
|
485
466
|
* @throws {RequiredError}
|
|
486
467
|
* @memberof MediaInfoApi
|
|
487
468
|
*/
|
|
488
|
-
getBitrateTestBytes(requestParameters?: MediaInfoApiGetBitrateTestBytesRequest, options?:
|
|
469
|
+
getBitrateTestBytes(requestParameters?: MediaInfoApiGetBitrateTestBytesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
489
470
|
/**
|
|
490
471
|
*
|
|
491
472
|
* @summary Gets live playback media info for an item.
|
|
@@ -494,7 +475,7 @@ export declare class MediaInfoApi extends BaseAPI {
|
|
|
494
475
|
* @throws {RequiredError}
|
|
495
476
|
* @memberof MediaInfoApi
|
|
496
477
|
*/
|
|
497
|
-
getPlaybackInfo(requestParameters: MediaInfoApiGetPlaybackInfoRequest, options?:
|
|
478
|
+
getPlaybackInfo(requestParameters: MediaInfoApiGetPlaybackInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaybackInfoResponse, any, {}>>;
|
|
498
479
|
/**
|
|
499
480
|
* For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete.
|
|
500
481
|
* @summary Gets live playback media info for an item.
|
|
@@ -503,7 +484,7 @@ export declare class MediaInfoApi extends BaseAPI {
|
|
|
503
484
|
* @throws {RequiredError}
|
|
504
485
|
* @memberof MediaInfoApi
|
|
505
486
|
*/
|
|
506
|
-
getPostedPlaybackInfo(requestParameters: MediaInfoApiGetPostedPlaybackInfoRequest, options?:
|
|
487
|
+
getPostedPlaybackInfo(requestParameters: MediaInfoApiGetPostedPlaybackInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaybackInfoResponse, any, {}>>;
|
|
507
488
|
/**
|
|
508
489
|
*
|
|
509
490
|
* @summary Opens a media source.
|
|
@@ -512,5 +493,5 @@ export declare class MediaInfoApi extends BaseAPI {
|
|
|
512
493
|
* @throws {RequiredError}
|
|
513
494
|
* @memberof MediaInfoApi
|
|
514
495
|
*/
|
|
515
|
-
openLiveStream(requestParameters?: MediaInfoApiOpenLiveStreamRequest, options?:
|
|
496
|
+
openLiveStream(requestParameters?: MediaInfoApiOpenLiveStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LiveStreamResponse, any, {}>>;
|
|
516
497
|
}
|