Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 01:48 PM   #1
nami
Member
nami began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2019
Device: none
Media formats missing by adding folders/subfolders. Can only add them at once?

Hi,

I added 6000 folders to a new library. Each folder has an .opf metadata file. There are many folders with formats other than e-book files, like mp4, mp3, etc.

When I used add from folders/subfolders, I didn't noticed that it only adds e-books. So now I have many entries with missing formats.

I searched and found out here that I should allow addition of non e-book files in settings.

Now the question is, can I add only these missing formats to related book entries at once? or should I do another import from scratch?

Thanks
nami is offline   Reply With Quote
Old Yesterday, 03:48 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,232
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Preferences: adding Books: TICK Auto-merge added books: IGNORE

Remember to put it back when done
theducks is online now   Reply With Quote
Advert
Old Yesterday, 06:59 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,810
Karma: 27405122
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by nami View Post
Hi,

I added 6000 folders to a new library. Each folder has an .opf metadata file. There are many folders with formats other than e-book files, like mp4, mp3, etc.

When I used add from folders/subfolders, I didn't noticed that it only adds e-books. So now I have many entries with missing formats.

I searched and found out here that I should allow addition of non e-book files in settings.

Now the question is, can I add only these missing formats to related book entries at once? or should I do another import from scratch?

Thanks
AFAIK there's no simple way to add different non-ebook format files to existing books in bulk. So, I'd start from scratch.

That Edit Rule dialogue you found might have changed a bit - this should work.

Click image for larger version

Name:	Screenshot 2024-08-20 084721.jpg
Views:	21
Size:	28.7 KB
ID:	210307

BR
BetterRed is offline   Reply With Quote
Old Today, 05:16 AM   #4
nami
Member
nami began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2019
Device: none
Quote:
Originally Posted by BetterRed View Post
AFAIK there's no simple way to add different non-ebook format files to existing books in bulk. So, I'd start from scratch.
The theducks's hint helped to work around duplicates and this will only add new formats.

I used a single dot for regex pattern that is similar to global pattern single asterisk.

We can also use something like this regex for pattern to filter added files (this won't match files without extension!):
Code:
.*\.(apk|mp3|mp4)$
this will make the process faster.

In my case I can get a list of all file types I have in folder and use the needed ones.
Attached Thumbnails
Click image for larger version

Name:	screenshot.png
Views:	9
Size:	13.1 KB
ID:	210316   Click image for larger version

Name:	screenshot adding actions.png
Views:	12
Size:	67.2 KB
ID:	210317  

Last edited by nami; Today at 05:20 AM.
nami is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Books: Adding Folders instead of Files to the Library? ygreq Library Management 3 01-24-2023 09:03 AM
Add Subfolders as Subgroup Names When Adding Books From Folders clandestine3458 Calibre 2 09-14-2022 06:00 PM
Adding books from directories is the same as Folders and subfolders? dunhill Library Management 1 11-11-2021 09:22 PM
Likebook Mars, folders/subfolders? sadkingbilly Boyue 2 10-10-2020 11:58 AM
Folders/subfolders with OdysseyHDFL Simbeline Bookeen 3 01-11-2013 08:05 PM


All times are GMT -4. The time now is 10:29 AM.


MobileRead.com is a privately owned, operated and funded community.