From 4c0d78b5edc120f3ff5a651eb1e4700bad9c611c Mon Sep 17 00:00:00 2001 From: Joshua Cantara <1975723+joshuacant@users.noreply.github.com> Date: Mon, 1 Sep 2025 14:49:24 -0400 Subject: save and restore main window position and size --- tidal_dl_ng/model/cfg.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tidal_dl_ng/model') diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py index 438e8dd..7fd3278 100644 --- a/tidal_dl_ng/model/cfg.py +++ b/tidal_dl_ng/model/cfg.py @@ -46,6 +46,10 @@ class Settings: playlist_create: bool = False metadata_replay_gain: bool = True metadata_write_url: bool = True + window_x: int = 50 + window_y: int = 50 + window_w: int = 1200 + window_h: int = 800 @dataclass_json -- cgit v1.3.1 From f54d3dedcf52d937ea56072d7e3db7d9f44662e5 Mon Sep 17 00:00:00 2001 From: Joshua Cantara <1975723+joshuacant@users.noreply.github.com> Date: Mon, 8 Sep 2025 09:49:21 -0400 Subject: add help strings for new settings --- tidal_dl_ng/model/cfg.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tidal_dl_ng/model') diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py index 7fd3278..f566215 100644 --- a/tidal_dl_ng/model/cfg.py +++ b/tidal_dl_ng/model/cfg.py @@ -105,6 +105,10 @@ class HelpSettings: playlist_create: str = "Creates a '_playlist.m3u8' file for downloaded albums, playlists and mixes." metadata_replay_gain: str = "Replay gain information will be written to metadata." metadata_write_url: str = "URL of the media file will be written to metadata." + window_x: str = "X-Coordinate of saved window location." + window_y: str = "Y-Coordinate of saved window location." + window_w: str = "Width of saved window size." + window_h: str = "Height of saved window size." @dataclass_json -- cgit v1.3.1