forked from indymedia/epicyon
Redirect music to nowplaying tags
parent
f440cdec24
commit
5d110d73e9
|
@ -538,7 +538,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
return True
|
return True
|
||||||
return False
|
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:
|
if self.server.debug:
|
||||||
print('DEBUG: GET from '+self.server.baseDir+ \
|
print('DEBUG: GET from '+self.server.baseDir+ \
|
||||||
' path: '+self.path+' busy: '+ \
|
' path: '+self.path+' busy: '+ \
|
||||||
|
|
Loading…
Reference in New Issue