9001 / 9001/copyparty

Better Folder Thumbnails™

Đang mở
#1,614 2 bình luận 0 reaction 1 người được giao Được @9001 nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
46.6k
Fork
1.9k
Merge trung bình
10 ngày 16 giờ
Pull request đã merge (30 ngày)
5

Mô tả

**Is your feature request related to a problem? Please describe.**
For media libraries, the most representative file is often the largest file in the folder (e.g. the main movie, the highest-resolution photo). Manually creating symlinks or renaming files to match --th-covers is cumbersome and clutters directories.

**Describe the idea / solution you'd like**
Add a new option that tells copyparty to use the largest file (by byte size) inside a folder as its thumbnail, provided that file is of a type that copyparty can generate a thumbnail from (image, video, or any format handled by the thumbnail pipeline).

--folder-thumb-largest would be ideal.

**Describe any alternatives you've considered**

- Using --th-extract - but this only works for files with extensions, not for folders; there is no hook for folder thumbnail generation.
- A cron script that creates folder.jpg symlinks - works but writes extra files into every directory and needs periodic maintenance.
- Accepting the current default – often picks an arbitrary small image or an image from the wrong video in a folder, not the main one.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.