forked from recloudstream/cloudstream
		
	fixed arjix download m3u8 stuff again
This commit is contained in:
		
							parent
							
								
									a50cb9a08d
								
							
						
					
					
						commit
						444488849e
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -1153,7 +1153,7 @@ object VideoDownloadManager { | ||||||
|                         Triple( |                         Triple( | ||||||
|                             id, |                             id, | ||||||
|                             bytesDownloaded, |                             bytesDownloaded, | ||||||
|                             (bytesDownloaded / tsProgress) * totalTs |                             (bytesDownloaded * (totalTs / tsProgress.toFloat())).toLong(), | ||||||
|                         ) |                         ) | ||||||
|                     ) |                     ) | ||||||
|                 } catch (e: Exception) { |                 } catch (e: Exception) { | ||||||
|  | @ -1165,7 +1165,7 @@ object VideoDownloadManager { | ||||||
|                 CreateNotificationMetadata( |                 CreateNotificationMetadata( | ||||||
|                     type, |                     type, | ||||||
|                     bytesDownloaded, |                     bytesDownloaded, | ||||||
|                     (bytesDownloaded / tsProgress) * totalTs |                     (bytesDownloaded * (totalTs / tsProgress.toFloat())).toLong(), | ||||||
|                 ) |                 ) | ||||||
|             ) |             ) | ||||||
|         } |         } | ||||||
|  | @ -1253,7 +1253,6 @@ object VideoDownloadManager { | ||||||
|             deleteFile() |             deleteFile() | ||||||
|             updateNotification() |             updateNotification() | ||||||
|             closeAll() |             closeAll() | ||||||
| 
 |  | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         for (ts in tsIterator) { |         for (ts in tsIterator) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue