[Feature request] Portable projects: move a .recordly project between computers without broken paths

Đang mở
#1,104 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
electron, typescript
Lĩnh vực
backend, desktop

Hướng nghiên cứu

Start by reading electron/ipc/project/manager.ts, especially resolveProjectMediaSources, and electron/ipc/recording/library.ts around belongsToRecording. The issue offers several alternative approaches but does not choose one or define a complete scope; first clarify which portability behavior is intended and how it should be verified. Done would require an agreed solution that preserves the project and its related media when moving between computers.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem

I edit the same Recordly projects on two Windows computers. Moving a project between them regularly breaks, even when I copy the files carefully.

From what I can see in the code, the reasons are:

  • The .recordly file stores absolute paths to media: videoPath, editor.webcam.sourcePath and audioPath for audio tracks. Paths differ between machines (different user names, drive letters, OneDrive locations), so after copying, opening the project fails with Project video file not found (resolveProjectMediaSources in electron/ipc/project/manager.ts).
  • There is no "locate missing file" / relink step, so the only fix is editing the JSON by hand.
  • A project depends on more files than the video itself: <video>.cursor.json, separate .system/.mic/.webcam audio/video files, <stem>.recordly-session.json, <stem>-webcam.* (see belongsToRecording in electron/ipc/recording/library.ts). It's easy to miss one, e.g. losing cursor effects or audio.
  • Recordings live in the hidden userData/recordings folder by default, so users don't know where the media files are.
  • Paths with non-ASCII characters (e.g. Polish ń in a Windows user name) may also be stored as encoded file:// URLs, which makes manual editing error-prone.

Proposed solution (any of these would help)

  1. Export / Import project bundle: "File → Export project…" creates a single archive (e.g. .recordlybundle / zip) containing the .recordly file plus all media and sidecar files; "Import project…" unpacks it to the local projects/recordings folder and rewrites paths.
  2. Relative paths: if media sits next to (or below) the .recordly file, store paths relative to the project file and resolve them on open.
  3. Relink missing media: when a file isn't found, show a dialog to locate it, and automatically look for the same file name in the project's folder.
  4. Configurable storage location for recordings (similar to the closed #788), so projects and media can live in one synced folder (OneDrive / Google Drive).

Environment

  • OS: Windows 11
  • Recordly version:
Ngôn ngữ chính
TypeScript
Star
32.4k
Fork
2.6k
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của webadderallorg/Recordly

Tất cả issue của webadderallorg/Recordly

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.