Closed bachig26 closed 3 months ago
https://github.com/oskvr37/tiddl/commit/25b035e6869bc5693a91837c3c26ebb109924439
Let me know if the date and time format is ok
08/03/24 16:30:55 DEBUG TIDDL.main Namespace(input=None, file_template='{artist}/{album}/{title}', download_path=None, quality=None, save_options=True, no_skip=False, silent=False, verbose=False, no_color=False)
08/03/24 16:30:55 DEBUG Config.__init__ loaded {'download_path': 'tidal_download', 'track_quality': 'HIGH', 'file_template': 'XD'}
08/03/24 16:30:55 DEBUG Config._save {'download_path': 'tidal_download', 'track_quality': 'HIGH', 'file_template': 'XD'}
08/03/24 16:30:55 INFO TIDDL.main saving new settings...
08/03/24 16:30:55 DEBUG Config.update updating
08/03/24 16:30:55 DEBUG Config._save {'download_path': 'tidal_download', 'track_quality': 'HIGH', 'file_template': '{artist}/{album}/{title}'}
08/03/24 16:30:55 DEBUG Config.update updated
08/03/24 16:30:55 INFO TIDDL.main saved settings to .tiddl_config.json
08/03/24 16:30:55 INFO TIDDL.main token expires in 2 days 5 hours
08/03/24 16:30:55 WARNING TIDDL.main no ID nor URL provided
I can also make constants
module where users can easily adjust code for their preferences, for example:
DEBUG_DATE_FORMAT = "%x %X"
i would like to see the timestamp and date in the log.
[Important] the current logger state isn't memory persistent as the older logs will be overwritten. if possible, i would like to see an persistent logger with handling the older info too.