Menu

#17 Move Configuration Options into XML File

Current Release
closed
9
2007-12-28
2007-12-13
No

Current configuration directives (ports, paths, versions, etc) are hardcoded in. This is terrible for other people. Write a class to parse a simple XML (or even simpler flat file) to get this information at runtime, and perhaps add InternalCommands to refresh this information live (Where applicable).

Discussion

  • Kevin Croker

    Kevin Croker - 2007-12-28

    Logged In: YES
    user_id=446268
    Originator: YES

    This has been done. Things are now stored in a megatrond.conf flat file, standard conf file look and feel. If you don't give it one on the cmdline, it looks for /etc/megatrond.conf. Everything for db access, ports, players and metadatasources, and queing behaviour is now configurable through the file and some options though the socket. You can now hotswap player and metadata sources :)

     
  • Kevin Croker

    Kevin Croker - 2007-12-28
    • assigned_to: tantricengineer --> theodiggers
    • status: open --> closed
     

Log in to post a comment.