mirror of https://gitlab.com/bashrc2/epicyon
Redirect music to nowplaying tags
parent
f440cdec24
commit
5d110d73e9
|
@ -538,7 +538,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
return True
|
||||
return False
|
||||
|
||||
def do_GET(self):
|
||||
def do_GET(self):
|
||||
# redirect music to #nowplaying list
|
||||
if self.path=='/music' or self.path=='/nowplaying':
|
||||
self.path='/tags/nowplaying'
|
||||
|
||||
if self.server.debug:
|
||||
print('DEBUG: GET from '+self.server.baseDir+ \
|
||||
' path: '+self.path+' busy: '+ \
|
||||
|
|
Loading…
Reference in New Issue