first commit
This commit is contained in:
15
plugin/MusicHandler.py
Normal file
15
plugin/MusicHandler.py
Normal file
@ -0,0 +1,15 @@
|
||||
from ExceptionHandler import *
|
||||
import plugin.NavidromePlaylistSync.app as navidromePlaylistSync
|
||||
|
||||
class MusicHandler(OutboundHandler):
|
||||
def handle(self, response, headers, status, content, *args, **kwargs):
|
||||
"""
|
||||
:param dict request: 请求信息 (初始:url, parameters, data, method),可根据需要添加
|
||||
:return: (request, args, kwargs)
|
||||
"""
|
||||
# raise NotImplementedError
|
||||
print("222")
|
||||
print(status)
|
||||
if status == 200:
|
||||
navidromePlaylistSync.start()
|
||||
return [response, headers, status, content]
|
Reference in New Issue
Block a user