Repoint forge references from git.onetick.ninja to git.arch.fyi

This commit is contained in:
flan
2026-08-03 20:03:15 +00:00
parent fd641fc70d
commit 633c66c2a4
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import sys, json, time, urllib.request
BASE="http://192.168.50.1:30013"; USER="flan"
MYURL="https://git.onetick.ninja/flan/jellyfin-placard/raw/branch/main/manifest.json"
MYURL="https://git.arch.fyi/flan/jellyfin-placard/raw/branch/main/manifest.json"
H='MediaBrowser Client="poster-pin", Device="code", DeviceId="poster-pin-code-8e1f", Version="1.0"'
def call(p,m="GET",d=None,h=None):
r=urllib.request.Request(BASE+p,data=d,method=m,headers=h or {})
+1 -1
View File
@@ -2,7 +2,7 @@ import sys, json, time, urllib.request, urllib.error
from urllib.parse import quote
BASE="http://192.168.50.1:30013"; USER="flan"
GUID="b6f8e2a4-1c3d-4e5f-9a7b-2d4c6e8f0a1b"
MYURL="https://git.onetick.ninja/flan/jellyfin-placard/raw/branch/main/manifest.json"
MYURL="https://git.arch.fyi/flan/jellyfin-placard/raw/branch/main/manifest.json"
H='MediaBrowser Client="poster-pin", Device="code", DeviceId="poster-pin-code-8e1f", Version="1.0"'
def call(p,m="GET",d=None,h=None,t=30):
r=urllib.request.Request(BASE+p,data=d,method=m,headers=h or {})
+1 -1
View File
@@ -1,5 +1,5 @@
import sys, json, urllib.request
GITEA="https://git.onetick.ninja/api/v1"
GITEA="https://git.arch.fyi/api/v1"
token=sys.stdin.readline().strip()
def g(path):
r=urllib.request.Request(GITEA+path, headers={"Authorization":f"token {token}"})
+2 -2
View File
@@ -1,7 +1,7 @@
import sys, json, urllib.request, urllib.error
gitea_tok = sys.stdin.readline().strip()
gh_tok = sys.stdin.readline().strip()
GITEA="https://git.onetick.ninja/api/v1"; GH="https://api.github.com"
GITEA="https://git.arch.fyi/api/v1"; GH="https://api.github.com"
def api(base, path, tokhdr, method="GET", body=None, extra=None):
d=json.dumps(body).encode() if body is not None else None
h={"Authorization":tokhdr,"Content-Type":"application/json"}
@@ -18,7 +18,7 @@ try:
repo=gh("/user/repos","POST",{"name":"jellyfin-placard",
"description":"Jellyfin plugin: bake library names onto backdrops (Placard)",
"private":False,"has_issues":True,"has_wiki":False,
"homepage":"https://git.onetick.ninja/flan/jellyfin-placard"})
"homepage":"https://git.arch.fyi/flan/jellyfin-placard"})
print("github repo:", repo.get("full_name"))
except urllib.error.HTTPError as e:
print("gh repo:", e.code, e.read()[:150].decode(errors='replace'))