All URIs are relative to https://home.ourflix.de:32865/emby
| Method | HTTP request | Description |
|---|---|---|
| delete_videos_by_id_subtitles_by_index | DELETE /Videos/{Id}/Subtitles/{Index} | Deletes an external subtitle file |
| get_items_by_id_remotesearch_subtitles_by_language | GET /Items/{Id}/RemoteSearch/Subtitles/{Language} | |
| get_providers_subtitles_subtitles_by_id | GET /Providers/Subtitles/Subtitles/{Id} | |
| get_videos_by_id_by_mediasourceid_subtitles_by_index_by_format | GET /Videos/{Id}/{MediaSourceId}/Subtitles/{Index}/Stream.{Format} | Gets subtitles in a specified format. |
| get_videos_by_id_by_mediasourceid_subtitles_by_index_by_startpositionticks_by_format | GET /Videos/{Id}/{MediaSourceId}/Subtitles/{Index}/{StartPositionTicks}/Stream.{Format} | Gets subtitles in a specified format. |
| post_items_by_id_remotesearch_subtitles_by_subtitleid | POST /Items/{Id}/RemoteSearch/Subtitles/{SubtitleId} |
delete_videos_by_id_subtitles_by_index(id, index)
Deletes an external subtitle file
Requires authentication as user
from __future__ import print_function
import time
import embyapi
from embyapi.rest import ApiException
from pprint import pprint
# Configure API key authorization: apikeyauth
configuration = embyapi.Configuration()
configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['api_key'] = 'Bearer'
# create an instance of the API class
api_instance = embyapi.SubtitleServiceApi(embyapi.ApiClient(configuration))
id = 'id_example' # str | Item Id
index = 56 # int | The subtitle stream index
try:
# Deletes an external subtitle file
api_instance.delete_videos_by_id_subtitles_by_index(id, index)
except ApiException as e:
print("Exception when calling SubtitleServiceApi->delete_videos_by_id_subtitles_by_index: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | Item Id | |
| index | int | The subtitle stream index |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[RemoteSubtitleInfo] get_items_by_id_remotesearch_subtitles_by_language(id, language, is_perfect_match=is_perfect_match, is_forced=is_forced)
Requires authentication as user
from __future__ import print_function
import time
import embyapi
from embyapi.rest import ApiException
from pprint import pprint
# Configure API key authorization: apikeyauth
configuration = embyapi.Configuration()
configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['api_key'] = 'Bearer'
# create an instance of the API class
api_instance = embyapi.SubtitleServiceApi(embyapi.ApiClient(configuration))
id = 'id_example' # str | Item Id
language = 'language_example' # str | Language
is_perfect_match = true # bool | IsPerfectMatch (optional)
is_forced = true # bool | IsForced (optional)
try:
api_response = api_instance.get_items_by_id_remotesearch_subtitles_by_language(id, language, is_perfect_match=is_perfect_match, is_forced=is_forced)
pprint(api_response)
except ApiException as e:
print("Exception when calling SubtitleServiceApi->get_items_by_id_remotesearch_subtitles_by_language: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | Item Id | |
| language | str | Language | |
| is_perfect_match | bool | IsPerfectMatch | [optional] |
| is_forced | bool | IsForced | [optional] |
- Content-Type: Not defined
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_providers_subtitles_subtitles_by_id(id)
Requires authentication as user
from __future__ import print_function
import time
import embyapi
from embyapi.rest import ApiException
from pprint import pprint
# Configure API key authorization: apikeyauth
configuration = embyapi.Configuration()
configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['api_key'] = 'Bearer'
# create an instance of the API class
api_instance = embyapi.SubtitleServiceApi(embyapi.ApiClient(configuration))
id = 'id_example' # str | Item Id
try:
api_instance.get_providers_subtitles_subtitles_by_id(id)
except ApiException as e:
print("Exception when calling SubtitleServiceApi->get_providers_subtitles_subtitles_by_id: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | Item Id |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_videos_by_id_by_mediasourceid_subtitles_by_index_by_format(id, media_source_id, index, format, start_position_ticks=start_position_ticks, end_position_ticks=end_position_ticks, copy_timestamps=copy_timestamps)
Gets subtitles in a specified format.
No authentication required
from __future__ import print_function
import time
import embyapi
from embyapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = embyapi.SubtitleServiceApi()
id = 'id_example' # str | Item Id
media_source_id = 'media_source_id_example' # str | MediaSourceId
index = 56 # int | The subtitle stream index
format = 'format_example' # str | Format
start_position_ticks = 789 # int | StartPositionTicks (optional)
end_position_ticks = 789 # int | EndPositionTicks (optional)
copy_timestamps = true # bool | CopyTimestamps (optional)
try:
# Gets subtitles in a specified format.
api_instance.get_videos_by_id_by_mediasourceid_subtitles_by_index_by_format(id, media_source_id, index, format, start_position_ticks=start_position_ticks, end_position_ticks=end_position_ticks, copy_timestamps=copy_timestamps)
except ApiException as e:
print("Exception when calling SubtitleServiceApi->get_videos_by_id_by_mediasourceid_subtitles_by_index_by_format: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | Item Id | |
| media_source_id | str | MediaSourceId | |
| index | int | The subtitle stream index | |
| format | str | Format | |
| start_position_ticks | int | StartPositionTicks | [optional] |
| end_position_ticks | int | EndPositionTicks | [optional] |
| copy_timestamps | bool | CopyTimestamps | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_videos_by_id_by_mediasourceid_subtitles_by_index_by_startpositionticks_by_format(id, media_source_id, index, format, start_position_ticks, end_position_ticks=end_position_ticks, copy_timestamps=copy_timestamps)
Gets subtitles in a specified format.
No authentication required
from __future__ import print_function
import time
import embyapi
from embyapi.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = embyapi.SubtitleServiceApi()
id = 'id_example' # str | Item Id
media_source_id = 'media_source_id_example' # str | MediaSourceId
index = 56 # int | The subtitle stream index
format = 'format_example' # str | Format
start_position_ticks = 789 # int | StartPositionTicks
end_position_ticks = 789 # int | EndPositionTicks (optional)
copy_timestamps = true # bool | CopyTimestamps (optional)
try:
# Gets subtitles in a specified format.
api_instance.get_videos_by_id_by_mediasourceid_subtitles_by_index_by_startpositionticks_by_format(id, media_source_id, index, format, start_position_ticks, end_position_ticks=end_position_ticks, copy_timestamps=copy_timestamps)
except ApiException as e:
print("Exception when calling SubtitleServiceApi->get_videos_by_id_by_mediasourceid_subtitles_by_index_by_startpositionticks_by_format: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | Item Id | |
| media_source_id | str | MediaSourceId | |
| index | int | The subtitle stream index | |
| format | str | Format | |
| start_position_ticks | int | StartPositionTicks | |
| end_position_ticks | int | EndPositionTicks | [optional] |
| copy_timestamps | bool | CopyTimestamps | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
post_items_by_id_remotesearch_subtitles_by_subtitleid(id, subtitle_id)
Requires authentication as user
from __future__ import print_function
import time
import embyapi
from embyapi.rest import ApiException
from pprint import pprint
# Configure API key authorization: apikeyauth
configuration = embyapi.Configuration()
configuration.api_key['api_key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['api_key'] = 'Bearer'
# create an instance of the API class
api_instance = embyapi.SubtitleServiceApi(embyapi.ApiClient(configuration))
id = 'id_example' # str | Item Id
subtitle_id = 'subtitle_id_example' # str | SubtitleId
try:
api_instance.post_items_by_id_remotesearch_subtitles_by_subtitleid(id, subtitle_id)
except ApiException as e:
print("Exception when calling SubtitleServiceApi->post_items_by_id_remotesearch_subtitles_by_subtitleid: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | Item Id | |
| subtitle_id | str | SubtitleId |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]