mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-04 03:27:00 -05:00 
			
		
		
		
	This commit is contained in:
		
							parent
							
								
									3deb351b3a
								
							
						
					
					
						commit
						d4cf1ad9aa
					
				@ -25,7 +25,8 @@ strftime = functools.partial(_strftime, zone=time.localtime)
 | 
			
		||||
MIME_MAP   = { 
 | 
			
		||||
                "azw" : "application/azw", 
 | 
			
		||||
                "prc" : "application/prc", 
 | 
			
		||||
                "txt" : "text/plain" 
 | 
			
		||||
                "txt" : "text/plain",
 | 
			
		||||
                'mobi': 'application/mobi', 
 | 
			
		||||
              }
 | 
			
		||||
 | 
			
		||||
def sortable_title(title):
 | 
			
		||||
 | 
			
		||||
@ -41,7 +41,7 @@ class File(object):
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
class KINDLE(Device):
 | 
			
		||||
    FORMATS     = ["azw", "prc", "txt"]   
 | 
			
		||||
    FORMATS     = ["azw", "prc", "txt", 'mobi']   
 | 
			
		||||
    VENDOR_ID    = 0x1949 #: Amazon Vendor Id
 | 
			
		||||
    PRODUCT_ID   = 0x001 #: Product Id for the Kindle
 | 
			
		||||
    INTERNAL_STORAGE = 'INTERNAL_STORAGE'
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user