mirror of
				https://github.com/simon987/sist2.git
				synced 2025-10-28 06:26:53 +00:00 
			
		
		
		
	epub fix
This commit is contained in:
		
							parent
							
								
									bdbd7ca7ed
								
							
						
					
					
						commit
						7234c22d2f
					
				| @ -18,6 +18,7 @@ major_mime = { | |||||||
| pdf = ( | pdf = ( | ||||||
|     "application/pdf", |     "application/pdf", | ||||||
|     "application/x-cbz", |     "application/x-cbz", | ||||||
|  |     "application/epub+zip", | ||||||
|     "application/vnd.ms-xpsdocument", |     "application/vnd.ms-xpsdocument", | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -10,7 +10,7 @@ | |||||||
| #define EPILOG "Made by simon987 <me@simon987.net>. Released under GPL-3.0" | #define EPILOG "Made by simon987 <me@simon987.net>. Released under GPL-3.0" | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| static const char *const Version = "1.0.8"; | static const char *const Version = "1.0.9"; | ||||||
| static const char *const usage[] = { | static const char *const usage[] = { | ||||||
|         "sist2 scan [OPTION]... PATH", |         "sist2 scan [OPTION]... PATH", | ||||||
|         "sist2 index [OPTION]... INDEX", |         "sist2 index [OPTION]... INDEX", | ||||||
|  | |||||||
| @ -16,7 +16,7 @@ enum mime { | |||||||
|     application_commonground=655368, |     application_commonground=655368, | ||||||
|     application_dicom=655369, |     application_dicom=655369, | ||||||
|     application_drafting=655370, |     application_drafting=655370, | ||||||
|     application_epub_zip=655371, |     application_epub_zip=655371 | 0x40000000, | ||||||
|     application_freeloader=655372, |     application_freeloader=655372, | ||||||
|     application_futuresplash=655373, |     application_futuresplash=655373, | ||||||
|     application_groupwise=655374, |     application_groupwise=655374, | ||||||
|  | |||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -129,6 +129,7 @@ function createDocCard(hit) { | |||||||
|             }); |             }); | ||||||
|         } else if ((hit["_source"].hasOwnProperty("width") && hit["_source"]["width"] > 20 && hit["_source"]["height"] > 20) |         } else if ((hit["_source"].hasOwnProperty("width") && hit["_source"]["width"] > 20 && hit["_source"]["height"] > 20) | ||||||
|             || hit["_source"]["mime"] === "application/pdf" |             || hit["_source"]["mime"] === "application/pdf" | ||||||
|  |             || hit["_source"]["mime"] === "application/epub+zip" | ||||||
|             || hit["_source"]["mime"] === "application/x-cbz" |             || hit["_source"]["mime"] === "application/x-cbz" | ||||||
|             || hit["_source"].hasOwnProperty("font_name") |             || hit["_source"].hasOwnProperty("font_name") | ||||||
|         ) { |         ) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user