aboutsummaryrefslogtreecommitdiffstats
path: root/personal/ytID3AutoTag.md
blob: 90d5afc15ae6005efd3da6a48826e92a44949560 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# ytID3AutoTag
A GUI wrapper for yt-dlp that downloads YouTube videos to MP3 and automatically adds ID3 tags based on uploader name, title, and thumbnail. The GUI should be fairly self explanatory.

The code itself uses a pretty old taging library so there's a weird hack in there with converting file names to ASCII first and then back to the original UTF-8 (in cases of non-ASCII chars)

# Manual
If you don't want to use the built-in GUI builder to create a "task file", you can write it manually in your file of choice

Each line will be treated as a download job (video), you may use either the full `youtube.com` or shortened  `youtu.be` link
```
URL,START_TIME-END_TIME     (HH:MM:SS  Timestamp Format)
```

ex: `https://www.youtube.com/watch?v=qvj_QSqOrBw,00:01:10-00:01:40`
- Download video `https://www.youtube.com/watch?v=qvj_QSqOrBw` from `1 min 10s` to `1 min 40s` (30s total)

# Requirements
The packages/programs below must be accessible from any path. (If you are on Windows these will need to be in your PATH environment variable)
- ffmpeg
- yt-dlp
- Java

###
![image](https://user-images.githubusercontent.com/21994085/232991117-a41a33e1-f45a-4043-aa6a-e886a31d2f11.png)
###
![image](https://user-images.githubusercontent.com/21994085/233506083-01842f0d-3aa9-48fb-a2b4-497be6019e93.png)
###
![image](https://user-images.githubusercontent.com/21994085/232990936-50c96722-e7ed-4945-8971-f90e06a24fc9.png)
###
![image](https://user-images.githubusercontent.com/21994085/199175477-b2d6d5ae-d7db-455c-813f-ad1d3af7fac5.png)


# Binaries
Pre-built binaries are also available. You can download it from the [Releases](https://github.com/pinapelz/ytID3AutoTag/releases) section (you need to install Java first)

You can either run it like an application or for a debug log run it as `java -jar ytID3AutoTag.jar` from the terminal
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage