From 42bf084d93d014bed04a3f2f0d6b84bbf071b8a7 Mon Sep 17 00:00:00 2001 From: i30817 Date: Sun, 3 Dec 2023 07:22:29 +0000 Subject: [PATCH 1/4] Find retroarch.cfg in android --- libretro_scummvm_playlist/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretro_scummvm_playlist/__main__.py b/libretro_scummvm_playlist/__main__.py index 796fb45..62af60e 100644 --- a/libretro_scummvm_playlist/__main__.py +++ b/libretro_scummvm_playlist/__main__.py @@ -49,6 +49,8 @@ CONFIG = Path(var, 'RetroArch', 'retroarch.cfg') elif sys.platform == 'darwin': CONFIG = Path(Path.home(), 'Library', 'Application Support', 'RetroArch', 'config', 'retroarch.cfg') +elif hasattr(sys, 'getandroidapilevel'): + CONFIG = Path("/", "storage", "emulated", "0", "Android", "data", "com.retroarch.aarch64", "files", "retroarch.cfg") else: #all the rest based on linux. If they arent based on linux, they'll try the else and fail harmlessly later var = os.getenv('XDG_CONFIG_HOME') if var: From 07687eedfd9f356fd592bab30f66c883877fc897 Mon Sep 17 00:00:00 2001 From: i30817 Date: Sun, 3 Dec 2023 07:26:40 +0000 Subject: [PATCH 2/4] Add new manual scan playlist property from libretro --- libretro_scummvm_playlist/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libretro_scummvm_playlist/__main__.py b/libretro_scummvm_playlist/__main__.py index 62af60e..9cbf45d 100644 --- a/libretro_scummvm_playlist/__main__.py +++ b/libretro_scummvm_playlist/__main__.py @@ -240,6 +240,7 @@ def mainaux(cfg: Path = typer.Argument(CONFIG, help='Path to the retroarch cfg f 'scan_search_recursively': True, 'scan_search_archives': False, 'scan_filter_dat_content': False, + 'scan_overwrite_playlist': True, 'items': [] } invalid_paths = [] From 819c765966221ac31e33b25bca5f07f43f5122fe Mon Sep 17 00:00:00 2001 From: i30817 Date: Sun, 3 Dec 2023 07:34:21 +0000 Subject: [PATCH 3/4] update version --- libretro_scummvm_playlist/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro_scummvm_playlist/__init__.py b/libretro_scummvm_playlist/__init__.py index 5cd7abf..cb9dc8a 100644 --- a/libretro_scummvm_playlist/__init__.py +++ b/libretro_scummvm_playlist/__init__.py @@ -1 +1 @@ -__version__ = '2.4.1' +__version__ = '2.4.2' From 93e12d415d1f1515d0e4aedb54aa01c25e631974 Mon Sep 17 00:00:00 2001 From: i30817 Date: Sun, 3 Dec 2023 07:34:51 +0000 Subject: [PATCH 4/4] Update version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index be74553..1de70bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "libretro_scummvm_playlist" -version = "2.4.1" +version = "2.4.2" description = "libretro scummvm playlist builder" authors = ["i30817 "]