File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ ## [ 1.5.0]
6+ - ** PureRef Integration** : Complete PureRef support for managing reference images alongside video courses:
7+ - ** Badge Button** : Each folder displays a "P" badge button in the top-right corner of its icon.
8+ - ** Status Indicator** : Color-coded dot shows file status (Red: missing, Yellow: exists, Green: running).
9+ - ** Quick Access** : Click the badge or folder icon to open the associated .pur file in PureRef.
10+ - ** Context Menu** : Added "Open PureRef" option to folder context menu.
11+ - ** View Menu** : Added "Show PureRef Badges" and "Show When Missing" toggles.
12+ - ** Settings Dialog** : Added PureRef configuration section with browse button for PureRef.exe path and customizable reference filename (default: "reference.pur").
13+
514## [ 1.4.11]
615- ** Library UI** : Enhanced tree navigation and visual hierarchy:
716 - ** Tree Lines** : Added T-shaped branch connectors for videos and folders, improving visual structure clarity.
Original file line number Diff line number Diff line change @@ -345,6 +345,20 @@ def get_pureref_filename(self) -> str:
345345 fallback = self .DEFAULTS ["General" ]["pureref_filename" ],
346346 )
347347
348+ def set_pureref_path (self , path : str ):
349+ config = self ._read_config ()
350+ if "Paths" not in config :
351+ config ["Paths" ] = {}
352+ config ["Paths" ]["pureref_path" ] = path
353+ self ._write_config (config )
354+
355+ def set_pureref_filename (self , filename : str ):
356+ config = self ._read_config ()
357+ if "Paths" not in config :
358+ config ["Paths" ] = {}
359+ config ["Paths" ]["pureref_filename" ] = filename
360+ self ._write_config (config )
361+
348362 def get_subtitle_settings (self ) -> tuple :
349363 """Returns (text_color, outline_color, font_scale)."""
350364 config = self ._read_config ()
Original file line number Diff line number Diff line change 8181 "clear_error" : " Error clearing data" ,
8282 "db_not_available" : " Database not available" ,
8383 "data_cleared" : " Data successfully cleared" ,
84- "playback_group" : " Playback"
84+ "playback_group" : " Playback" ,
85+ "pureref_group" : " PureRef" ,
86+ "pureref_path_label" : " PureRef Executable:" ,
87+ "pureref_browse" : " Browse..." ,
88+ "pureref_filename_label" : " Reference Filename:" ,
89+ "pureref_path_valid" : " PureRef found at: {path}" ,
90+ "pureref_path_invalid" : " PureRef not found at: {path}" ,
91+ "pureref_not_found" : " Not found" ,
92+ "pureref_select_exe" : " Select PureRef.exe"
8593 },
8694 "player" : {
8795 "play" : " Play" ,
Original file line number Diff line number Diff line change 8181 "clear_error" : " Ошибка при удалении данных" ,
8282 "db_not_available" : " База данных недоступна" ,
8383 "data_cleared" : " Данные успешно удалены" ,
84- "playback_group" : " Воспроизведение"
84+ "playback_group" : " Воспроизведение" ,
85+ "pureref_group" : " PureRef" ,
86+ "pureref_path_label" : " Исполняемый файл PureRef:" ,
87+ "pureref_browse" : " Обзор..." ,
88+ "pureref_filename_label" : " Имя файла референсов:" ,
89+ "pureref_path_valid" : " PureRef найден: {path}" ,
90+ "pureref_path_invalid" : " PureRef не найден: {path}" ,
91+ "pureref_not_found" : " Не найден" ,
92+ "pureref_select_exe" : " Выберите PureRef.exe"
8593 },
8694 "player" : {
8795 "play" : " Воспроизвести" ,
You can’t perform that action at this time.
0 commit comments