Files
Claude 292ba55217 Upload whole batches, cache Drive lookups, handle placeholder credentials
- Only the first image of a batch was uploaded; the rest were silently
  dropped. Every image is now uploaded (single images keep the plain
  "<prefix>.<ext>" name, batches are numbered _001, _002, ...).
- Folder names containing an apostrophe broke the Drive search query.
- The placeholder json/credentials.json and token.json shipped with the
  node produced confusing JSON errors; they're now detected and the node
  says exactly which file to replace.
- Credentials and the Drive client are reused between runs, and folder IDs
  are cached per path, so repeat saves skip the folder lookups (previously
  every save re-read the token, rebuilt the client and searched each folder).
- Images under 5 MB upload in a single request instead of a resumable
  upload session.
- Works with GPU tensors (.cpu() before .numpy()).
- Removed unused imports and the WEB_DIRECTORY that pointed at a
  nonexistent folder; version 1.2.0 in pyproject.toml and __init__.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Lm4YDXhwj49hAA1RKS58Q
2026-10-22 12:02:22 +00:00

15 lines
573 B
TOML

[project]
name = "Save_To_GDrive"
description = "A ComfyUI node that lets you save your images and videos directly to Google Drive through Google's free API service."
version = "1.2.0"
license = {text = "MIT License"}
[project.urls]
Repository = "https://github.com/Creepybits/ComfyUI-Save_To_GDrive"
# Used by Comfy Registry https://comfyregistry.org
[tool.comfy]
PublisherId = "creepybits"
DisplayName = "Creepybits_Save_To_GDrive"
Icon = "https://github.com/Creepybits/ComfyUI-Creepy_nodes/blob/a392f0cbc076a66b261b51e315fd5b5d356c2cf2/assets/cpbt.png"