added README
This commit is contained in:
		
							parent
							
								
									5ebeac4506
								
							
						
					
					
						commit
						7204835592
					
				
							
								
								
									
										36
									
								
								README
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								README
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,36 @@
 | 
			
		||||
yt(1) is a helper script providing functions for use with mpv and yt-dlp for
 | 
			
		||||
viewing and interacting with YouTube videos.
 | 
			
		||||
 | 
			
		||||
Dependencies:
 | 
			
		||||
- curl(1)
 | 
			
		||||
- fzf(1)
 | 
			
		||||
- jq(1)
 | 
			
		||||
- mpv(1)
 | 
			
		||||
- yt-dlp(1)
 | 
			
		||||
 | 
			
		||||
Usage:
 | 
			
		||||
yt add | clone | music | pick | play | verify
 | 
			
		||||
 | 
			
		||||
add uri file
 | 
			
		||||
- Adds a video by URI to a playlist
 | 
			
		||||
 | 
			
		||||
cache uri...
 | 
			
		||||
- Caches a video title
 | 
			
		||||
 | 
			
		||||
clone uri file
 | 
			
		||||
- Clones a YouTube playlist to a file
 | 
			
		||||
 | 
			
		||||
music uri...
 | 
			
		||||
- Downloads a video as audio, splitting it by chapter
 | 
			
		||||
 | 
			
		||||
pick file...
 | 
			
		||||
- Opens fzf(1) to a list of videos in a file
 | 
			
		||||
 | 
			
		||||
play uri...
 | 
			
		||||
- Plays a video, caching its title first
 | 
			
		||||
 | 
			
		||||
verify file...
 | 
			
		||||
- Verifies that all the videos in a playlist are existent on YouTube, and if
 | 
			
		||||
they aren’t, attempts to replace the URI with one from the Wayback Machine. If
 | 
			
		||||
the video isn’t available on the Wayback Machine, it comments the video link. It
 | 
			
		||||
then caches the title of the video.
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user