@@ -15,6 +15,12 @@ Fetch youtube url from your subscription
15
15
```
16
16
make -j$(nproc)
17
17
```
18
+ - run ./ytwatch
19
+
20
+ Alternative build the appimage with the script:
21
+ ```
22
+ ./build_appimage.sh
23
+ ```
18
24
19
25
# USAGE
20
26
@@ -25,25 +31,28 @@ Fetch youtube url from your subscription
25
31
- Click on "Next step" and then on "Create export"
26
32
- Click on the "Download" button after it appears
27
33
- From the downloaded zip extract the .csv in the subscriptions folder
28
- - Run the application passing the csv (or save the csv in the default path ``` XDG_CONFIG_HOME/ytwatch/subscriptions.csv ``` )
34
+ - Save the csv in the default path ``` XDG_CONFIG_HOME/ytwatch/subscriptions.csv ``` or specify a path with the environment variable
29
35
30
- ``` ytwatch [-p] subscriptions.csv ```
36
+ ``` ytwatch [-p] {channel name} ```
31
37
32
38
# Dependency
33
39
34
40
* curl
35
41
* fzf
36
42
* ueberzug
37
43
* fmt
44
+ * devour (optional)
38
45
39
46
# Configuration
40
47
41
48
Ytwatch script use the current env variable
42
49
43
- | ENV | DESCRIPTION |
44
- | -------------------------| -------------------------------------------------------|
45
- | YTWATCH_SUBSCRIPTIONS_CSV| CSV subscriptions path |
46
- | YTWATCH_PLAYER | Video player (mpv default) |
47
- | YTWATCH_PLAYER_OPT | Video player options |
48
- | YTWATCH_SWALLOWER | Swallow program (empty string for none, default devour)|
49
- | YTWATCH_SCRAPER | Ytscraper path (current dir by default) |
50
+ |Environment Variable|Description|Default Value
51
+ ---------------------|-----------|------------
52
+ |YTWATCH_SUBSCRIPTIONS_CSV|Path to the subscriptions CSV file|$XDG_CONFIG_HOME/ytwatch/subscriptions.csv
53
+ |YTWATCH_PLAYER|Video player|mpv
54
+ |YTWATCH_PLAYER_OPT|Video player options|"--playlist=-"
55
+ |YTWATCH_SWALLOWER|Swallowed program| devour
56
+ |YTWATCH_SCRAPER|Ytscraper path| "./ytscraper"
57
+ |YTWATCH_UEBERZUGPP|Path to UeberzugPP binary| /usr/local/bin/ueberzugpp
58
+ |YTWATCH_FZF|Path to FZF binary| fzf
0 commit comments