| 
			
			 | 
		#1 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 49 
				Karma: 10 
				Join Date: Jul 2019 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Import metadata json along with cbz book
			 
			
			
			With calibre I have my books that have a json file as a sidecar containing metadata to the relevant book. Both the json file and cbz book have the same name to be easily identified as a pair. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	How do I make calibre import the books along with the metadata inside the json files?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			assuming your metadata is in the comicbookinfo format you can store it as the comment in the cbz file and it will be picked up automatically.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 49 
				Karma: 10 
				Join Date: Jul 2019 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I have put the json inside the .cbz file and then imported it into calibre, yet it did not populate the fields, do I have to write a plugin for this? below is the json file in the format you have said it needed to be in that I added to the cbz file that I have imported: { "title": "The Amazing Spider-Man", "#testfield": "test", "tags": ["Venom", "Marvel", "Classic"] } Last edited by yamusing; 12-07-2023 at 07:13 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The one time I played with adding a comment to a .zip file, I used 7-Zip.  Basically, open the .zip file with 7-Zip, either use ctrl-Z or Comment from the file menu, copy/paste the comment and close the file. That was a simple text file with instructions on using the command line options for the installer stored in the .zip file. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I'm not sure what the format for a CBZ/CBR comment is so you may have to do some editing to get the right format.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | |
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 49 
				Karma: 10 
				Join Date: Jul 2019 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 {"title": "The Amazing Spider-Man", "series": "test", "tags": ["Venom", "Marvel", "Classic"]}  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Your metadata needs to be in the comicbookinfo format 
		
	
		
		
		
		
		
		
		
		
		
		
	
	https://code.google.com/archive/p/co...s/Example.wiki  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| adding mass metadata to epub files from json? | jcd1013 | ePub | 5 | 08-26-2020 05:14 PM | 
| How to bulk import book metadata from another catalog? | Floating Quietly | Library Management | 2 | 01-23-2020 02:10 AM | 
| Unable to import CBZ files from iCloud. | danielsmith46 | Marvin | 0 | 09-25-2018 06:18 PM | 
| Import name from filename and all metadata from book content | Giuseppe Chillem | Library Management | 7 | 12-03-2016 08:51 AM | 
| Re-Import Kindle Book to Calibre w/o Losing Metadata? | enuddleyarbl | Library Management | 3 | 09-03-2013 11:53 AM |