first commit

This commit is contained in:
mol
2023-02-04 00:14:50 +08:00
commit a2f1b6d4fd
51 changed files with 839 additions and 0 deletions

15
plugin/MusicHandler.py Normal file
View 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]