1
0
Fork 0
mirror of https://github.com/fastogt/fastocloud_admin.git synced 2025-03-09 23:38:52 +00:00
This commit is contained in:
topilski 2019-06-09 07:05:34 -04:00
parent 73181495bc
commit 197173dd66
2 changed files with 1 additions and 3 deletions

View file

@ -71,9 +71,6 @@ class Service(IStreamHandler):
def get_log_service(self):
return self._client.get_log_service(self._host, self._port, self.id)
def view_playlist(self) -> str:
return self._settings.generate_playlist()
def ping(self):
return self._client.ping_service()

View file

@ -116,6 +116,7 @@ class ServiceView(FlaskView):
server.get_log_service()
return redirect(url_for('UserView:dashboard'))
@login_required
@route('/playlist/<sid>/master.m3u', methods=['GET'])
def playlist(self, sid):
server = ServiceSettings.objects(id=sid).first()