workflow_automation icon indicating copy to clipboard operation
workflow_automation copied to clipboard

Fixed repost when renaming a video

Open runarmod opened this issue 4 years ago • 1 comments

In addition to preventing repost by checking if this title is the same as the previous, it will also check the IDs of the videos. If the title of the video was to get changed, the script would post the same link and thumbnail again but with a different title. The ID of the video will never change, so by comparing this, we will prevent repost after title change.

I also fixed the numbering system for the thumbnails on the local system. The thumbnails will be saved in .\Photos\<image_num>\maxresdefault.jpg

runarmod avatar Nov 01 '20 23:11 runarmod

Updated my code to work with the new commits.

The thumbnails will no longer be saved in .\Photos\<image_num>\maxresdefault.jpg, but in .\Photos\<video_title> as updated by Kalle in the latest commit.

The purpose of this PR is still the same; preventing repost if the video title has been updated since the last run of the script.

runarmod avatar Nov 15 '20 20:11 runarmod