fix
This commit is contained in:
		
							parent
							
								
									3c131fc481
								
							
						
					
					
						commit
						5ec1f25d2a
					
				@ -38,7 +38,7 @@ async function addVideoInfo(cover){
 | 
			
		||||
// 获取当前剧集是否下载完成
 | 
			
		||||
// todo 多集连发
 | 
			
		||||
async function getMediaState(vid){
 | 
			
		||||
    let sql = `select * from download where vid=? and state!=1`
 | 
			
		||||
    let sql = `select * from download where vid=? and (state=0 or state=3)`
 | 
			
		||||
    let list = await getAll(sql,vid)
 | 
			
		||||
    return !list.length
 | 
			
		||||
    // return true
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user