File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ Tasks are shown as a tree: an album / playlist / artist download creates a paren
101101
102102| Option | Default | Meaning |
103103| --------| ---------| ---------|
104- | ` [instance] url ` | ` 127.0.0.1:8080 ` | wrapper-lite HTTP instance |
104+ | ` [instance] url ` | ` 127.0.0.1:12340 ` | wrapper-lite HTTP instance |
105105| ` [instance] secure ` | ` false ` | https when ` true ` |
106106| ` [download] streamDecrypt ` | ` true ` | decrypt while downloading (边下边解) |
107107| ` [download] decryptBatchSize ` | ` 256 ` | Temari stream batch size |
@@ -127,7 +127,7 @@ cp config.example.toml config.toml
127127uv run python main.py
128128```
129129
130- Point ` [instance] ` in ` config.toml ` at your wrapper-lite instance. The default is ` 127.0.0.1:8080 ` (http) for a locally self-hosted wrapper.
130+ Point ` [instance] ` in ` config.toml ` at your wrapper-lite instance. The default is ` 127.0.0.1:12340 ` (http) for a locally self-hosted wrapper.
131131
132132# FAQ
133133### Song did not pass the integrity check
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ python3 -m venv .venv
3333For Android users, some configurations need to be modified.
3434``` toml
3535[instance ]
36- url = " 127.0.0.1:8080 " # Address of your wrapper-lite instance
36+ url = " 127.0.0.1:12340 " # Address of your wrapper-lite instance
3737secure = false
3838
3939[download ]
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version = "0.1.0"
33
44[instance ]
55# wrapper-lite HTTP instance URL (scheme is decided by `secure`)
6- url = " 127.0.0.1:8080 "
6+ url = " 127.0.0.1:12340 "
77secure = false
88
99[localInstance ]
@@ -14,7 +14,7 @@ enable = false
1414launcherBin = " "
1515# Host port forwarded to the guest's wrapper-lite HTTP port.
1616hostPort = 32767
17- guestPort = 8080
17+ guestPort = 12340
1818# Hardware accelerator ("" = auto-detect).
1919hardwareAccelerator = " "
2020memorySize = " 512M"
Original file line number Diff line number Diff line change 99
1010
1111class Instance (BaseModel ):
12- url : str = "127.0.0.1:8080 "
12+ url : str = "127.0.0.1:12340 "
1313 secure : bool = False
1414
1515
@@ -21,13 +21,13 @@ class LocalInstance(BaseModel):
2121 # and keep its qemu/ asset dir next to the binary.
2222 launcherBin : str = ""
2323 hostPort : int = 32767
24- guestPort : int = 8080
24+ guestPort : int = 12340
2525 # kvm | whpx | hvf | tcg ("" = auto-detect by the launcher)
2626 hardwareAccelerator : str = ""
2727 memorySize : str = "512M"
2828 smp : int = 2
2929 # args forwarded to wrapper-lite (one per line); "" = default boot
30- # (--host 0.0.0.0 --port 8080 --base-dir /data). e.g.:
30+ # (--host 0.0.0.0 --port 12340 --base-dir /data). e.g.:
3131 # "--login user:pass\n--code-from-file"
3232 startArgs : str = ""
3333
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ def create(create_type: Type[WrapperClient]) -> WrapperClient:
268268if __name__ == "__main__" :
269269 # Minimal self-check: construct the client and print base_url. No network.
270270 async def _self_check () -> None :
271- client = WrapperClient ("127.0.0.1:8080 " , False )
271+ client = WrapperClient ("127.0.0.1:12340 " , False )
272272 print (f"WrapperClient constructed; base_url={ client .base_url } " )
273273 print (
274274 "status.cache_invalidate available:" ,
You can’t perform that action at this time.
0 commit comments