Per-version URI/Host (#66)

Allows setting allnet uri/host response based on things like version, config files, and other factors to accommodate a wider range of potential setups under the same roof. This DOES require all titles to adopt a new structure but it's documented and should hopefully be somewhat intuitive.

Co-authored-by: Hay1tsme <kevin@hay1ts.me>
Reviewed-on: Hay1tsme/artemis#66
Co-authored-by: Kevin Trocolli <pitok236@gmail.com>
Co-committed-by: Kevin Trocolli <pitok236@gmail.com>
This commit is contained in:
2023-11-09 02:17:48 +00:00
committed by Hay1tsme
parent c2a330f42c
commit cb8eaae2c0
108 changed files with 733 additions and 554 deletions

View File

@ -64,7 +64,7 @@ class SaoReader(BaseReader):
enabled
)
except Exception as err:
print(err)
self.logger.error(err)
except Exception:
self.logger.warning(f"Couldn't read csv file in {self.bin_dir}, skipping")
@ -98,7 +98,7 @@ class SaoReader(BaseReader):
enabled
)
except Exception as err:
print(err)
self.logger.error(err)
except Exception:
self.logger.warning(f"Couldn't read csv file in {self.bin_dir}, skipping")
@ -130,7 +130,7 @@ class SaoReader(BaseReader):
enabled
)
except Exception as err:
print(err)
self.logger.error(err)
except Exception:
self.logger.warning(f"Couldn't read csv file in {self.bin_dir}, skipping")
@ -160,7 +160,7 @@ class SaoReader(BaseReader):
enabled
)
except Exception as err:
print(err)
self.logger.error(err)
except Exception:
self.logger.warning(f"Couldn't read csv file in {self.bin_dir}, skipping")
@ -192,7 +192,7 @@ class SaoReader(BaseReader):
enabled
)
except Exception as err:
print(err)
self.logger.error(err)
except Exception:
self.logger.warning(f"Couldn't read csv file in {self.bin_dir}, skipping")
@ -223,7 +223,7 @@ class SaoReader(BaseReader):
enabled
)
except Exception as err:
print(err)
self.logger.error(err)
elif len(titleId) < 6: # current server code cannot have multiple lengths for the id
continue
except Exception:
@ -249,6 +249,6 @@ class SaoReader(BaseReader):
enabled
)
except Exception as err:
print(err)
self.logger.error(err)
except Exception:
self.logger.warning(f"Couldn't read csv file in {self.bin_dir}, skipping")