audiothek

alternative frontend for ardaudiothek.de  https://audiothek.ce9e.org/
git clone https://git.ce9e.org/audiothek.git

commit
a1d36539264a41b703d63e87caf25dc5be5d82b2
parent
18b05a4261c547f41a8cf868c836716ae0128cb3
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-09-17 19:58
Revert "allow to run on unix domain socket"

This reverts commit d9d896c11cb55addfc16f98ff76cda110fefec39.

Diffstat

M audiothek.py 6 +-----

1 files changed, 1 insertions, 5 deletions


diff --git a/audiothek.py b/audiothek.py

@@ -110,12 +110,8 @@ async def feed(request):
  110   110 if __name__ == '__main__':
  111   111 	parser = argparse.ArgumentParser(description=__doc__)
  112   112 	parser.add_argument('--port', type=int)
  113    -1 	parser.add_argument('--path')
  114   113 	args = parser.parse_args()
  115   114 
  116   115 	app = web.Application()
  117   116 	app.router.add_route('GET', '/{id:[0-9]+}.rss', feed)
  118    -1 	if args.path:
  119    -1 		web.run_app(app, path=args.path)
  120    -1 	else:
  121    -1 		web.run_app(app, host='localhost', port=args.port)
   -1   117 	web.run_app(app, host='localhost', port=args.port)