beet-observer 0.5.0__py3-none-any.whl → 0.6.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- beet_observer/__init__.py +1 -1
- beet_observer/plugin.py +6 -4
- {beet_observer-0.5.0.dist-info → beet_observer-0.6.0.dist-info}/METADATA +1 -1
- beet_observer-0.6.0.dist-info/RECORD +8 -0
- beet_observer-0.5.0.dist-info/RECORD +0 -8
- {beet_observer-0.5.0.dist-info → beet_observer-0.6.0.dist-info}/LICENSE +0 -0
- {beet_observer-0.5.0.dist-info → beet_observer-0.6.0.dist-info}/WHEEL +0 -0
beet_observer/__init__.py
CHANGED
beet_observer/plugin.py
CHANGED
@@ -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}"
|
@@ -0,0 +1,8 @@
|
|
1
|
+
beet_observer/__init__.py,sha256=1Bu06DCGzyW6_EOuOSqpm31Fvkl_thjvyH54vN4XjZ4,45
|
2
|
+
beet_observer/data_pack.py,sha256=QqoyQYiCBpqioaKYSUKANgd3dxJJFLGka92G3Tyz_Js,9800
|
3
|
+
beet_observer/plugin.py,sha256=YBxXXzWGGVKqJHTuYi9a3KQO6-E841OS3iHcTnKXg_s,2011
|
4
|
+
beet_observer/resource_pack.py,sha256=_a4Ubx8fO7HMnIbfQlsnYEIM_Vjo3o_QjarirqbWdkc,6233
|
5
|
+
beet_observer-0.6.0.dist-info/LICENSE,sha256=oBbP6j7sgG9darFSRZxV7iO8yPR1aZiDspSK3mcLpXI,1062
|
6
|
+
beet_observer-0.6.0.dist-info/METADATA,sha256=kgd3ISGBKRueQuQvvapeouk5auWa2FB4oldNV4vKW3w,674
|
7
|
+
beet_observer-0.6.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
8
|
+
beet_observer-0.6.0.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
beet_observer/__init__.py,sha256=cZtzkQEWddSPeBHx0VxE9-DFeVnqU_DR6nXcko6ejNE,45
|
2
|
-
beet_observer/data_pack.py,sha256=QqoyQYiCBpqioaKYSUKANgd3dxJJFLGka92G3Tyz_Js,9800
|
3
|
-
beet_observer/plugin.py,sha256=tEMhLtvMPXOsKDNIjZi775QRvBuL5jiOCAzh-xVEkew,1940
|
4
|
-
beet_observer/resource_pack.py,sha256=_a4Ubx8fO7HMnIbfQlsnYEIM_Vjo3o_QjarirqbWdkc,6233
|
5
|
-
beet_observer-0.5.0.dist-info/LICENSE,sha256=oBbP6j7sgG9darFSRZxV7iO8yPR1aZiDspSK3mcLpXI,1062
|
6
|
-
beet_observer-0.5.0.dist-info/METADATA,sha256=jz1dEhPTK9A6e8riYTDn8i1z8csFCmwB0KMci2xR-IM,674
|
7
|
-
beet_observer-0.5.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
8
|
-
beet_observer-0.5.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|