mirror of
				https://github.com/hexated/cloudstream-extensions-hexated.git
				synced 2024-08-15 00:03:22 +00:00 
			
		
		
		
	better order source in Kickassanime
This commit is contained in:
		
							parent
							
								
									4790518a13
								
							
						
					
					
						commit
						1a80c14c94
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1,5 +1,5 @@ | |||
| // use an integer for version numbers | ||||
| version = 5 | ||||
| version = 6 | ||||
| 
 | ||||
| 
 | ||||
| cloudstream { | ||||
|  |  | |||
|  | @ -103,7 +103,7 @@ object KickassanimeExtractor : Kickassanime() { | |||
|             data = data.base64Decode() | ||||
|         } | ||||
|         AppUtils.tryParseJson<SapphireSources>(data).let { res -> | ||||
|             res?.streams?.filter { it.format == "adaptive_hls" }?.map { source -> | ||||
|             res?.streams?.filter { it.format == "adaptive_hls" }?.reversed()?.map { source -> | ||||
|                 val name = if(isDub) source.audio_lang else source.hardsub_lang.orEmpty().ifEmpty { "raw" } | ||||
|                 M3u8Helper.generateM3u8( | ||||
|                     "Crunchyroll [$name]", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue