Skip to content
Snippets Groups Projects
Commit b0348592 authored by David Trattnig's avatar David Trattnig
Browse files

Python 3.7 upgrade and ref to trackservice update.

parent d271fbc0
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python3.6
#!/usr/bin/python3.7
#
# engine
......@@ -123,7 +123,7 @@ class Guru():
self.parser.add_argument("-sd", "--shutdown", action="store_true", dest="shutdown", default=False, help="Shutting down aura server")
# playlist in/output
self.parser.add_argument("-fnp", "--fetch-new-programmes", action="store_true", dest="fetch_new_programme", default=False, help="Fetch new programmes from calendarurl in comba.ini")
self.parser.add_argument("-fnp", "--fetch-new-programmes", action="store_true", dest="fetch_new_programme", default=False, help="Fetch new programmes from api_calendar_url in engine.ini")
self.parser.add_argument("-pmq", "--print-message-queue", action="store_true", dest="print_message_queue", default=False, help="Prints message queue")
# send a redis message
......@@ -134,7 +134,7 @@ class Guru():
self.parser.add_argument("-snf", "--set-next-file-for", action="store", dest="set_file_for", default=False, metavar=("PLAYLISTTYPE", "FILE"), nargs=2, help="For which type you wanna SET a next audio file?")
self.parser.add_argument("-np", "--now-playing", action="store_true", dest="now_playing", default=False, help="Which source is now playing")
self.parser.add_argument("-ip", "--init-player", action="store_true", dest="init_player", default=False, help="Reset liquidsoap volume and mixer activations?")
self.parser.add_argument("-ts", "--adapt-trackservice-title", action="store_true", dest="update_trackservice", default=False, help="Update the name of a track due to fallback")
self.parser.add_argument("-ts", "--adapt-trackservice-title", action="store", dest="adapt_trackservice_title", default=False, metavar="TITLE", help="Update trackservice entry due to fallback")
if len(sys.argv) == 1:
raise ValueError("No Argument passed!")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment