Changed ID3 length tag from seconds to milliseconds
This commit is contained in:
		@ -36,7 +36,7 @@ def tagID3(stream, track, save):
 | 
				
			|||||||
    if save['date']:
 | 
					    if save['date']:
 | 
				
			||||||
        tag.add(TDAT(text=str(track['date']['month']) + str(track['date']['day'])))
 | 
					        tag.add(TDAT(text=str(track['date']['month']) + str(track['date']['day'])))
 | 
				
			||||||
    if save['length']:
 | 
					    if save['length']:
 | 
				
			||||||
        tag.add(TLEN(text=str(track['duration'])))
 | 
					        tag.add(TLEN(text=str(int(track['duration'])*1000)))
 | 
				
			||||||
    if save['bpm']:
 | 
					    if save['bpm']:
 | 
				
			||||||
        tag.add(TBPM(text=str(track['bpm'])))
 | 
					        tag.add(TBPM(text=str(track['bpm'])))
 | 
				
			||||||
    if save['label']:
 | 
					    if save['label']:
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.py
									
									
									
									
									
								
							@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
setup(
 | 
					setup(
 | 
				
			||||||
    name="deemix",
 | 
					    name="deemix",
 | 
				
			||||||
    version="1.0.20",
 | 
					    version="1.0.21",
 | 
				
			||||||
    description="A barebone deezer downloader library",
 | 
					    description="A barebone deezer downloader library",
 | 
				
			||||||
    long_description=README,
 | 
					    long_description=README,
 | 
				
			||||||
    long_description_content_type="text/markdown",
 | 
					    long_description_content_type="text/markdown",
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user