Add Media Source to Xbox Integration (#41833)
* initial implementation of xbox media source * minor fixes * fix lint * add media class map to remove multi-line ternary
This commit is contained in:
parent
9d9520b2f9
commit
2b1fc90de7
9 changed files with 308 additions and 8 deletions
|
@ -16,5 +16,5 @@ MEDIA_CLASS_MAP = {
|
|||
}
|
||||
URI_SCHEME = "media-source://"
|
||||
URI_SCHEME_REGEX = re.compile(
|
||||
r"^media-source:\/\/(?:(?P<domain>(?!.+__)(?!_)[\da-z_]+(?<!_))(?:\/(?P<identifier>(?!\/).+))?)?$"
|
||||
r"^media-source:\/\/(?:(?P<domain>(?!_)[\da-z_]+(?<!_))(?:\/(?P<identifier>(?!\/).+))?)?$"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue