beet-observer 0.5.0__tar.gz → 0.6.0__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {beet_observer-0.5.0 → beet_observer-0.6.0}/PKG-INFO +1 -1
- {beet_observer-0.5.0 → beet_observer-0.6.0}/beet_observer/__init__.py +1 -1
- {beet_observer-0.5.0 → beet_observer-0.6.0}/beet_observer/plugin.py +6 -4
- {beet_observer-0.5.0 → beet_observer-0.6.0}/pyproject.toml +1 -1
- {beet_observer-0.5.0 → beet_observer-0.6.0}/LICENSE +0 -0
- {beet_observer-0.5.0 → beet_observer-0.6.0}/README.md +0 -0
- {beet_observer-0.5.0 → beet_observer-0.6.0}/beet_observer/data_pack.py +0 -0
- {beet_observer-0.5.0 → beet_observer-0.6.0}/beet_observer/resource_pack.py +0 -0
@@ -30,12 +30,14 @@ def beet_default(ctx: Context):
|
|
30
30
|
save.append(overlay)
|
31
31
|
# loop through all overlays
|
32
32
|
for overlay in ctx.meta["observer"]["overlays"]:
|
33
|
-
#
|
34
|
-
|
33
|
+
# get pack
|
34
|
+
if overlay["process"].startswith("https://"):
|
35
|
+
load = overlay["process"]
|
36
|
+
else:
|
37
|
+
load = f"{ctx.directory}/{overlay['process']}"
|
35
38
|
# generate context for overlay pack
|
36
39
|
with run_beet(
|
37
|
-
config={"data_pack": {"load":
|
38
|
-
directory=path,
|
40
|
+
config={"data_pack": {"load": load}, "resource_pack": {"load": load}}
|
39
41
|
) as ctx_overlay:
|
40
42
|
if "directory" not in overlay:
|
41
43
|
dp_dir = f"overlay_{ctx_overlay.data.pack_format}"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|