Closed alsoGAMER closed 9 months ago
Root cause identified
Some other frontend is setting tracker_update_wait_s
value as a float, a type that the QT frontend can't handle (even though at least the GTK one, can).
Manually changing the value inside the config file fixes the issue, though this should be investigated further in my opinion. cc @FichteFoll @z411
config.json content:
{
"auto_date_change": true,
"auto_status_change": true,
"auto_status_change_if_scored": true,
"autoretrieve": "always",
"autoretrieve_days": 3,
"autosend": "size",
"autosend_at_exit": true,
"autosend_minutes": 60,
"autosend_size": 4,
"debug_disable_lock": true,
"jellyfin_api_key": "",
"jellyfin_apikey": "",
"jellyfin_host": "localhost",
"jellyfin_port": "8096",
"jellyfin_user": "",
"kodi_host": "localhost",
"kodi_obey_update_wait_s": false,
"kodi_passwd": "",
"kodi_port": "8080",
"kodi_user": "",
"library_autoscan": false,
"library_full_path": false,
"player": "/home/alsog/mpv",
"plex_host": "localhost",
"plex_obey_update_wait_s": false,
"plex_passwd": "",
"plex_port": "32400",
"plex_ssl": false,
"plex_user": "",
"plex_uuid": "0cfa7634-44e3-11ed-ba02-a41731a218f3",
"redirections_time": 1,
"redirections_url": "https://raw.githubusercontent.com/erengy/anime-relations/master/anime-relations.txt",
"scan_whole_list": false,
"searchdir": [
"~/Videos"
],
"title_parser": "aie",
"tracker_enabled": false,
"tracker_ignore_not_next": true,
"tracker_interval": 10,
"tracker_not_found_prompt": false,
"tracker_process": "mplayer|mplayer2|mpv",
"tracker_type": "local",
"tracker_update_close": false,
"tracker_update_prompt": false,
"tracker_update_wait_s": 123.0,
"use_hooks": true
}
It's most probably the GTK interface; I'm assuming this should use get_value_as_int()
:
https://github.com/z411/trackma/blob/master/trackma/ui/gtk/settingswindow.py#L403
Just tried that on my local machine and that seemed to be the issue, which is now fixed. I'm gonna make a pull request asap.