document weight field
				
					
				
			This commit is contained in:
		
							parent
							
								
									46b49ffda9
								
							
						
					
					
						commit
						1528bf3d9a
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -38,6 +38,7 @@ the list of shows the bot should take screencaps from is read from a YAML file w | |||
| ```yaml | ||||
| Char's Counterattack: | ||||
|   path: /home/user/media/Gundam_CCA.mkv | ||||
|   weight: 2.5 | ||||
| Gundam 0079: | ||||
|   path: /home/user/media/Mobile Suit Gundam 0079/ | ||||
|   tags: | ||||
|  | @ -62,4 +63,6 @@ warnings on posts and in image alt text.  each show has two keys: | |||
| - `parts`: an optional map of season numbers to season names. | ||||
|   by default, if the bot detects episodes from multiple seasons in a directory, | ||||
|   it will refer to them as "season [number]" in post CWs and image alt-text. | ||||
|   this is a map rather than a list, since show season numbers may be 1-indexed or 0-indexed. | ||||
|   this is a map rather than a list, since show season numbers may be 1-indexed or 0-indexed. | ||||
| - `weight`: an optional weight for this show in the random sampling of | ||||
|   shows. each show without a weight specified has a weight of `1.0`. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue