Podlite 1.8: MiniABS is now Podlite
Renames the app (label, texts, Audiobookshelf client name, User-Agent, APK). The package name, preferences and signing key stay, so it installs over MiniABS and keeps its settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
06a5c7078f
commit
a4be0bab44
23 files changed
+55
-55
No files matched your search
@@ -10,7 +10,7 @@ import org.json.JSONObject;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
/** Runs MiniABS's real API, JSON and progress code against mock_abs.py on the desktop JVM. */
|
||||
/** Runs Podlite's real API, JSON and progress code against mock_abs.py on the desktop JVM. */
|
||||
public class ApiTest {
|
||||
static int pass, fail;
|
||||
|
||||
@@ -131,7 +131,7 @@ public class ApiTest {
|
||||
if (path.startsWith("/api/items/pod1/play/")) play = r;
|
||||
}
|
||||
check(play != null && play.getJSONObject("b").getBoolean("forceDirectPlay")
|
||||
&& play.getJSONObject("b").getJSONObject("deviceInfo").getString("clientName").equals("MiniABS"),
|
||||
&& play.getJSONObject("b").getJSONObject("deviceInfo").getString("clientName").equals("Podlite"),
|
||||
"play request asks for direct play and names the client");
|
||||
check(sync != null && sync.getJSONObject("b").getDouble("currentTime") == 615.5
|
||||
&& sync.getJSONObject("b").getDouble("timeListened") == 15.2, "progress sync sent");
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# Runs MiniABS's API/JSON/progress/HTTPS code on the desktop JVM against mock_abs.py.
|
||||
# Runs Podlite's API/JSON/progress/HTTPS code on the desktop JVM against mock_abs.py.
|
||||
set -e
|
||||
cd "$(dirname "$0")/.."
|
||||
OUT=build/test
|
||||
|
||||
Reference in new issue
Block a user