kopia lustrzana https://github.com/TeamNewPipe/NewPipeExtractor
				
				
				
			[YouTube] Fix extracting the detailed error message of streams which are unavailable
							rodzic
							
								
									c953e23414
								
							
						
					
					
						commit
						9de8405c9f
					
				| 
						 | 
				
			
			@ -943,7 +943,8 @@ public class YoutubeStreamExtractor extends StreamExtractor {
 | 
			
		|||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (status.equalsIgnoreCase("unplayable") && reason != null) {
 | 
			
		||||
        if ((status.equalsIgnoreCase("unplayable") || status.equalsIgnoreCase("error"))
 | 
			
		||||
                && reason != null) {
 | 
			
		||||
            if (reason.contains("Music Premium")) {
 | 
			
		||||
                throw new YoutubeMusicPremiumContentException();
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue