axcore / tartube

A GUI front-end for youtube-dl, partly based on youtube-dl-gui and written in Python 3 / Gtk 3
GNU Lesser General Public License v2.1
2.05k stars 111 forks source link

The ability to automatically refresh the file title format #632

Open sweet-macaroon opened 4 months ago

sweet-macaroon commented 4 months ago

Hello! I'm a person who uses the tattoo very well. Thank you very much for making this kind of software.

I noticed that you can change the way you name your tartube video files. Among the videos posted on YouTube, the contents are different, but I found out that there are cases where only one of the videos is saved because the title is the same.

So, I changed the setting to the format %(title)s-%(upload_date)s.%(ext)s, but it didn't seem to change the names of the files that were previously saved. The storage capacity is insufficient and time-consuming to move existing videos to other places and download them again from the beginning with the newly set value, and the biggest problem is that it is too difficult to "remove existing videos that are duplicated with new downloads, except for existing video files that are deleted from YouTube or that are private and cannot be downloaded again."

So I would like to have a function that automatically matches YouTube channels, playlists, and existing files to refresh the names of existing files in the format %(title)s-%(upload_date)s.%(ext).

If possible, please add these functions.

I hope you are always healthy and happy. Thank you.

안녕하세요! tartube를 너무나 잘 쓰고 있는 사람입니다. 이런 소프트웨어를 만들어주신 것에 대해 매우 감사하고 있습니다.

tartube 동영상 파일의 이름을 정하는 방식을 바꿀 수 있다는 것을 알게 되었습니다. 유튜브에 올라오는 동영상 중 내용은 다른데 제목이 같아 영상이 둘 중 하나만 저장되는 경우가 있다는 것을 알게 되었습니다.

그래서 %(title)s-%(upload_date)s.%(ext)s 형식으로 설정을 바꾸었는데 기존에 저장되었던 파일들의 이름은 바뀌지 않는 것 같았습니다. 기존 영상들을 다른 곳으로 옮기고 새로 설정한 값으로 처음부터 다시 다운로드 하기에는 저장장치의 용량도 부족하고 시간이 너무 오래걸리며 가장 큰 문제는 '다시 다운로드 하고 나서 유튜브에서 삭제되거나 비공개되어 다시 다운 받을 수 없는 기존 영상 파일을 제외한 기존에 있던 영상 중 새로 다운받은 것에 중복되는 기존에 있던 영상을 삭제하는 것'이 너무나 곤란한 일이라는 것입니다.

그래서 저는 자동으로 유튜브 채널, 재생목록과 기존의 파일들을 대조하여 기존의 파일들의 이름을 %(title)s-%(upload_date)s.%(ext)s 형식으로 새로 고칠 수 있는 기능이 있었으면 좋겠습니다.

부디 가능하시다면 이러한 기능을 추가해주시길 부탁드리겠습니다.

늘 건강하시고 행복하시길 기원합니다. 감사합니다.

axcore commented 3 months ago

I thought about this feature, but I think it is not possible at the moment. yt-dlp output templates are very complicated (see here); if I have to write the same feature in Tartube, it wlll be two or three weeks of work.

sweet-macaroon commented 3 months ago

okay. Thank you for your reply! I hope you are always healthy and happy!