fix dict
This commit is contained in:
parent
c735f0497c
commit
d56ecd674e
@ -1,3 +1,4 @@
|
|||||||
|
import json
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Optional, Tuple, Union, Any, List, Generator
|
from typing import Optional, Tuple, Union, Any, List, Generator
|
||||||
|
|
||||||
@ -43,7 +44,7 @@ class EmbyModule(_ModuleBase):
|
|||||||
if form and form.get("data"):
|
if form and form.get("data"):
|
||||||
result = form.get("data")
|
result = form.get("data")
|
||||||
else:
|
else:
|
||||||
result = dict(args)
|
result = json.dumps(dict(args))
|
||||||
return self.emby.get_webhook_message(result)
|
return self.emby.get_webhook_message(result)
|
||||||
|
|
||||||
def media_exists(self, mediainfo: MediaInfo, itemid: str = None) -> Optional[ExistMediaInfo]:
|
def media_exists(self, mediainfo: MediaInfo, itemid: str = None) -> Optional[ExistMediaInfo]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user