mirror of
				https://github.com/yattee/yattee.git
				synced 2025-11-03 22:22:02 +00:00 
			
		
		
		
	Merge pull request #849 from derspyy/0length
Stop making videos with unknown length shorts.
This commit is contained in:
		@@ -498,7 +498,7 @@ final class InvidiousAPI: Service, ObservableObject, VideosAPI {
 | 
				
			|||||||
            indexID: indexID,
 | 
					            indexID: indexID,
 | 
				
			||||||
            live: json["liveNow"].boolValue,
 | 
					            live: json["liveNow"].boolValue,
 | 
				
			||||||
            upcoming: json["isUpcoming"].boolValue,
 | 
					            upcoming: json["isUpcoming"].boolValue,
 | 
				
			||||||
            short: length <= Video.shortLength,
 | 
					            short: length <= Video.shortLength && length != 0.0,
 | 
				
			||||||
            publishedAt: publishedAt,
 | 
					            publishedAt: publishedAt,
 | 
				
			||||||
            likes: json["likeCount"].int,
 | 
					            likes: json["likeCount"].int,
 | 
				
			||||||
            dislikes: json["dislikeCount"].int,
 | 
					            dislikes: json["dislikeCount"].int,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user