playlist-admin 2.6.84 → 2.7.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Playlist Administrator
1
+ # playlist-admin
2
2
 
3
3
  A Flutter desktop app for music library management and Spotube playlist automation.
4
4
 
package/cli/index.js CHANGED
@@ -7,7 +7,7 @@ import path from 'node:path';
7
7
  // (lib/cli_main.dart), so GUI and CLI share one implementation.
8
8
  // This script just locates the built exe / rag scripts and forwards args.
9
9
 
10
- const HELP = `Playlist Administrator CLI
10
+ const HELP = `playlist-admin CLI
11
11
 
12
12
  Runs the same engine as the GUI app (shared Dart code). Requires a built
13
13
  release: flutter build windows --release
@@ -41,8 +41,9 @@ function projectRoot() {
41
41
 
42
42
  function exePath(root) {
43
43
  const candidates = [
44
+ path.join(root, 'build', 'windows', 'x64', 'runner', 'Release', 'playlist-admin.exe'),
45
+ path.join(root, 'build', 'windows', 'x64', 'runner', 'Debug', 'playlist-admin.exe'),
44
46
  path.join(root, 'build', 'windows', 'x64', 'runner', 'Release', 'playlist_administrator.exe'),
45
- path.join(root, 'build', 'windows', 'x64', 'runner', 'Debug', 'playlist_administrator.exe'),
46
47
  ];
47
48
  return candidates.find((c) => fs.existsSync(c)) || null;
48
49
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "playlist-admin",
3
- "version": "2.6.84",
4
- "description": "Playlist Administrator CLI - thin launcher for the Flutter app engine (pipeline, podcast, spotube) + podcast RAG query",
3
+ "version": "2.7.12",
4
+ "description": "playlist-admin CLI - thin launcher for the Flutter app engine (pipeline, podcast, spotube) + podcast RAG query",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "playlist-admin": "./cli/index.js"
package/rag/_resolve.py CHANGED
@@ -11,7 +11,9 @@ def find_base() -> Path:
11
11
  local = os.environ.get("LOCALAPPDATA")
12
12
  pointer = None
13
13
  if local:
14
- pointer = Path(local) / "Playlist Administrator" / "data" / "config.json"
14
+ pointer = Path(local) / "playlist-admin" / "data" / "config.json"
15
+ if not pointer.exists():
16
+ pointer = Path(local) / "Playlist Administrator" / "data" / "config.json"
15
17
  try:
16
18
  if pointer and pointer.exists():
17
19
  data = json.loads(pointer.read_text(encoding="utf-8"))