Rename the product Scrobbled
Display name only: UI, docs, API title, dashboards, hashtag and User-Agent. Identifiers (package, metrics, env vars, SCROBBLER_CONFIG) are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9e4218f11b
commit
65ee13fa65
64 files changed
+130
-130
No files matched your search
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Allow access · Scrobbler</title>
|
||||
<title>Allow access · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Apps · Scrobbler</title>
|
||||
<title>Apps · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Album art · Scrobbler</title>
|
||||
<title>Album art · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Where the Scrobbler API lives. The UI container rewrites this file from the
|
||||
// Where the Scrobbled API lives. The UI container rewrites this file from the
|
||||
// API_BASE_URL environment variable at start-up; edit it by hand otherwise.
|
||||
window.SCROBBLER_CONFIG = {
|
||||
apiBaseUrl: "http://localhost:5050",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Followers · Scrobbler</title>
|
||||
<title>Followers · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>History · Scrobbler</title>
|
||||
<title>History · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Import · Scrobbler</title>
|
||||
<title>Import · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Overview · Scrobbler</title>
|
||||
<title>Overview · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
// Thin client for the Scrobbler /api/v1 JSON API.
|
||||
// Thin client for the Scrobbled /api/v1 JSON API.
|
||||
|
||||
const TOKEN_KEY = "scrobbler.token";
|
||||
|
||||
@@ -77,7 +77,7 @@ export async function api(path, { method = "GET", body, auth = true } = {}) {
|
||||
body: body === undefined ? undefined : JSON.stringify(body),
|
||||
});
|
||||
} catch {
|
||||
throw new ApiError(0, "network", `Can't reach the Scrobbler API at ${apiBase}. Check that it's running.`);
|
||||
throw new ApiError(0, "network", `Can't reach the Scrobbled API at ${apiBase}. Check that it's running.`);
|
||||
}
|
||||
|
||||
if (response.status === 401 && auth) {
|
||||
@@ -122,7 +122,7 @@ export function upload(path, formData, onProgress, method = "POST") {
|
||||
if (event.lengthComputable) onProgress?.(event.loaded / event.total);
|
||||
});
|
||||
xhr.addEventListener("error", () =>
|
||||
reject(new ApiError(0, "network", `Can't reach the Scrobbler API at ${apiBase}. Check that it's running.`)),
|
||||
reject(new ApiError(0, "network", `Can't reach the Scrobbled API at ${apiBase}. Check that it's running.`)),
|
||||
);
|
||||
xhr.addEventListener("load", () => {
|
||||
let data = null;
|
||||
|
||||
+1
-1
@@ -113,7 +113,7 @@ function renderSetup() {
|
||||
h("dt", {}, "Username"),
|
||||
h("dd", {}, h("code", {}, user.username)),
|
||||
h("dt", {}, "Password"),
|
||||
h("dd", {}, "Your Scrobbler password"),
|
||||
h("dd", {}, "Your Scrobbled password"),
|
||||
h("dt", {}, "Key and secret"),
|
||||
h("dd", {}, "From one of the apps above"),
|
||||
h("dt", {}, "API reference"),
|
||||
|
||||
@@ -38,7 +38,7 @@ export function publicPage() {
|
||||
}
|
||||
|
||||
function brand() {
|
||||
return h("a", { class: "brand", href: "index.html" }, h("span", { class: "brand-mark", "aria-hidden": "true" }), "Scrobbler");
|
||||
return h("a", { class: "brand", href: "index.html" }, h("span", { class: "brand-mark", "aria-hidden": "true" }), "Scrobbled");
|
||||
}
|
||||
|
||||
function nav(active) {
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ try {
|
||||
`/federation/profiles/${encodeURIComponent(username)}/posts/${encodeURIComponent(postId)}`,
|
||||
{ auth: false },
|
||||
);
|
||||
document.title = `${post.display_name} · Scrobbler`;
|
||||
document.title = `${post.display_name} · Scrobbled`;
|
||||
replace(
|
||||
root,
|
||||
h(
|
||||
|
||||
@@ -10,7 +10,7 @@ publicPage();
|
||||
|
||||
try {
|
||||
const profile = await api(`/federation/profiles/${encodeURIComponent(username)}`, { auth: false });
|
||||
document.title = `${profile.display_name} · Scrobbler`;
|
||||
document.title = `${profile.display_name} · Scrobbled`;
|
||||
const copy = h("button", { type: "button", class: "button button-quiet" }, "Copy handle");
|
||||
copy.addEventListener("click", async () => {
|
||||
try {
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ if (!artist || !track) {
|
||||
}
|
||||
|
||||
function render(result) {
|
||||
document.title = `${result.track} · Scrobbler`;
|
||||
document.title = `${result.track} · Scrobbled`;
|
||||
const m = result.metadata;
|
||||
|
||||
const body = h(
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Sign in · Scrobbler</title>
|
||||
<title>Sign in · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Post · Scrobbler</title>
|
||||
<title>Post · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Posts · Scrobbler</title>
|
||||
<title>Posts · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Profile · Scrobbler</title>
|
||||
<title>Profile · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Create an account · Scrobbler</title>
|
||||
<title>Create an account · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Sessions · Scrobbler</title>
|
||||
<title>Sessions · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
@@ -17,7 +17,7 @@
|
||||
<header class="site-header" id="site-header"></header>
|
||||
<main id="main">
|
||||
<h1 class="page-title">Sessions</h1>
|
||||
<p class="lede">Players you've signed in to Scrobbler. Revoking one signs it out straight away; it has to sign in again before it can scrobble.</p>
|
||||
<p class="lede">Players you've signed in to Scrobbled. Revoking one signs it out straight away; it has to sign in again before it can scrobble.</p>
|
||||
<div id="messages"></div>
|
||||
<ul class="rows" id="sessions"></ul>
|
||||
</main>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Sharing · Scrobbler</title>
|
||||
<title>Sharing · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Scrobbler",
|
||||
"short_name": "Scrobbler",
|
||||
"name": "Scrobbled",
|
||||
"short_name": "Scrobbled",
|
||||
"icons": [
|
||||
{
|
||||
"src": "icon-192.png",
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Song · Scrobbler</title>
|
||||
<title>Song · Scrobbled</title>
|
||||
<link rel="icon" href="favicon.ico" sizes="48x48">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
||||
|
||||
Reference in new issue
Block a user