@gentbajko/slopify 3.2.6 → 3.2.7

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.
@@ -281,16 +281,18 @@ export function studioRoutes(deps) {
281
281
  if (!studioRequestAllowed(deps.db, bearerToken(c.req.header("authorization")), c.req.header("origin")))
282
282
  return refused(c);
283
283
  const { projectId, asset } = c.req.valid("param");
284
- // Only the thumbnails of a pack: the extension needs nothing else from the disk.
284
+ // Only a pack's own files, its videos and thumbnails: the extension puts the video into
285
+ // Studio's upload dialog and the thumbnails into Details, and needs nothing else.
285
286
  const result = uploadPack(deps, projectId);
286
287
  const listed = result.ok &&
287
- result.pack.items.some((item) => item.thumbnails.some((thumbnail) => thumbnail.asset === asset));
288
+ result.pack.items.some((item) => item.video?.asset === asset ||
289
+ item.thumbnails.some((thumbnail) => thumbnail.asset === asset));
288
290
  const found = listed ? findDownload(deps, projectId, asset) : undefined;
289
291
  if (found === undefined || !found.ok)
290
292
  return problem(c, {
291
293
  status: 404,
292
294
  title: titleOf(404),
293
- detail: "That thumbnail isn't in the project's upload pack any more. Reload the project in Slopify and press Fill in YouTube Studio again.",
295
+ detail: "That file isn't in the project's upload pack any more. Reload the project in Slopify and press Fill in YouTube Studio again.",
294
296
  });
295
297
  return c.body(Readable.toWeb(createReadStream(found.download.path)), 200, {
296
298
  "content-type": found.download.contentType,
@@ -0,0 +1,15 @@
1
+ # Slopify 3.2.7
2
+
3
+ Released 1 October 2026.
4
+
5
+ 3.2.7 lets the Slopify Studio extension put the video into YouTube Studio's upload dialog itself.
6
+
7
+ ## YouTube Studio
8
+
9
+ - After **Fill in YouTube Studio**, the extension adds the video file to Studio's upload dialog as soon as it opens on Select files, then fills the details as before. Studio uploads it as a private draft, exactly as a file you drop in; nothing is published, and you still check everything and press Publish yourself.
10
+ - If the video can't be added (Slopify isn't running, or Studio's dialog changed), the extension says so: drop the file in yourself from Open folder in Prepare upload.
11
+
12
+ ## Upgrading from 3.2.6
13
+
14
+ - **Download the extension again** (Settings → YouTube Studio → Download) and replace the old one; it is version 0.2.0. Pairing carries over when you update it in place.
15
+ - **Nothing becomes outdated.**
@@ -1,4 +1,10 @@
1
1
  [
2
+ {
3
+ "id": "3.2.7",
4
+ "title": "Slopify 3.2.7",
5
+ "version": "3.2.7",
6
+ "date": "2026-10-01"
7
+ },
2
8
  {
3
9
  "id": "3.2.6",
4
10
  "title": "Slopify 3.2.6",