Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-18-2013, 08:40 PM   #1
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 2,893
Karma: 3895081
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite, AuraHD, PDA, Eee Transformer
A PY script to make "shelves" from folders?

How hard would it be to write a script to allow the user to select a folder full
of ebooks and have a shelf made (with the same name as the folder) that
contained all the ebooks in the folder?

Say I had a folder labeled "Fantasy" that was full of ebooks/files named by
author - title.

And another folder labeled "PolyTicks", and another labeled "Action" and
another .... all with ebooks/files named like above.

Could the files in the folder be added to the Kobo kluge of files and the
"Shelves" made, in the same process?

Could it be that if you had a Folder/Directory of such folders, the script be
made so that the user can select which of those folders would be processed.

If it could be done, it would make things a lot simpler for those of us who
are used to ereaders that manage ebooks as files in the computer style
folder structure.

Luck;
Ken

Last edited by Ken Maltby; 05-19-2013 at 10:42 AM.
Ken Maltby is offline   Reply With Quote
Old 05-18-2013, 11:41 PM   #2
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,596
Karma: 25170848
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
You could do it in I think 4 simple steps using calibre and then delete the books from calibre if you don't ike using calibre.

1. open calibre if you have it installed and set up device driver.

2. select preferences>adding books
put the shelf name you want in the box 'tags to apply when adding books" and uncheck the box that says read metadata from the file contents.

3. Drag the books to calibre

4. Send the books to the device

repeat step 2-4 for each folder
speakingtohe is offline   Reply With Quote
 
Enthusiast
Old 05-19-2013, 12:21 AM   #3
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 2,893
Karma: 3895081
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite, AuraHD, PDA, Eee Transformer
Hmm... all 51 folders and the 7225 files? A relatively simple utility to convert folders
to Shelves would be a way to migrate an existing folder based ebook library into the
Kobo approach. This could take a lot away from the argument that the lack of the
familiar folder based structure makes the Kobo hard to use for those with a large
existing ebook library.

Your steps may end up being a possible alternative method. Why the "uncheck the
box that says read metadata from the file contents"?

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 05-19-2013, 03:08 AM   #4
Lucas Malor
Pain in the arse
Lucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughing
 
Lucas Malor's Avatar
 
Posts: 614
Karma: 63854
Join Date: Apr 2013
Device: Kobo Glo, Kindle 4
It seems a japanese guy had created its own firmware modification with such this feature:
http://www.mobileread.com/forums/sho...d.php?t=213116
Lucas Malor is offline   Reply With Quote
Old 05-19-2013, 07:29 AM   #5
BookBunny
̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏̏'\(⊙ ヮ⊙ )
BookBunny 's shirt has a full set of merit badges.BookBunny 's shirt has a full set of merit badges.BookBunny 's shirt has a full set of merit badges.BookBunny 's shirt has a full set of merit badges.BookBunny 's shirt has a full set of merit badges.BookBunny 's shirt has a full set of merit badges.BookBunny 's shirt has a full set of merit badges.BookBunny 's shirt has a full set of merit badges.BookBunny 's shirt has a full set of merit badges.BookBunny 's shirt has a full set of merit badges.BookBunny 's shirt has a full set of merit badges.
 
BookBunny's Avatar
 
Posts: 36
Karma: 16608
Join Date: Feb 2013
Device: Kobo Glo™
http://www.mobileread.com/forums/sho...d.php?t=186102

A simple file browser would of course be far better but including something like that would require common sense, something completely foreign to most mobile device UI designers. Gotta love those clunky playlists!
BookBunny is offline   Reply With Quote
Old 05-19-2013, 08:23 AM   #6
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,596
Karma: 25170848
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Quote:
Originally Posted by Ken Maltby View Post
. Why the "uncheck the
box that says read metadata from the file contents"?

Luck;
Ken
Because of just using the default tags to create the shelves for simplicity. if there are tags embedded in the books you would have a lot of unwanted shelves.

Helen
speakingtohe is offline   Reply With Quote
Old 05-19-2013, 09:40 AM   #7
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,722
Karma: 5656709
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by speakingtohe View Post
Because of just using the default tags to create the shelves for simplicity. if there are tags embedded in the books you would have a lot of unwanted shelves.
No it doesn't. Or at least it isn't supposed to. If it does, it's a bug and I'd like an example so I can fix it. The shelves should only be created from the metadata in the calibre library.
davidfor is online now   Reply With Quote
Old 05-19-2013, 07:43 PM   #8
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,596
Karma: 25170848
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Quote:
Originally Posted by davidfor View Post
No it doesn't. Or at least it isn't supposed to. If it does, it's a bug and I'd like an example so I can fix it. The shelves should only be created from the metadata in the calibre library.
When I add a book with read metadata from the file contents checked it adds tags to the metadata in the calibre library, if there are any.

If you use tags to create shelves then all of those tags create shelves when you send the books from calibre AFAIK.

Maybe I am wrong in this and if so I apologise for giving misleading information and an extra step.

Helen
speakingtohe is offline   Reply With Quote
Old 05-19-2013, 09:05 PM   #9
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,722
Karma: 5656709
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by speakingtohe View Post
When I add a book with read metadata from the file contents checked it adds tags to the metadata in the calibre library, if there are any.

If you use tags to create shelves then all of those tags create shelves when you send the books from calibre AFAIK.

Maybe I am wrong in this and if so I apologise for giving misleading information and an extra step.
There is some crossed wires. You said to uncheck the "read metadata" option on the driver configuration. This is useful when connecting to the device and there is a book on the device that calibre didn't put there. It makes it more likely that you will get a match with a book in the library. That option should not be affecting the shelves or other metadata.

But, you seem to be talking about the option to read the metadata when first adding the book to the calibre library. That would only mess with the shelf columns if the metadata was in the book. That would probably mean it had been exported out of a calibre library that had the same custom columns. Personally, I do use this option, but I normally check the metadata and probably use the download metadata function to get anything missing. But, as you are using the tags column for shelves, I can see why you wouldn't want to trust someone else's opinion of these.
davidfor is online now   Reply With Quote
Old 05-19-2013, 09:19 PM   #10
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,596
Karma: 25170848
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Quote:
Originally Posted by davidfor View Post
There is some crossed wires. You said to uncheck the "read metadata" option on the driver configuration. This is useful when connecting to the device and there is a book on the device that calibre didn't put there. It makes it more likely that you will get a match with a book in the library. That option should not be affecting the shelves or other metadata.

But, you seem to be talking about the option to read the metadata when first adding the book to the calibre library. That would only mess with the shelf columns if the metadata was in the book. That would probably mean it had been exported out of a calibre library that had the same custom columns. Personally, I do use this option, but I normally check the metadata and probably use the download metadata function to get anything missing. But, as you are using the tags column for shelves, I can see why you wouldn't want to trust someone else's opinion of these.
I said in message 2 of this thread which was a reply to message 1.

Quote:
2. select preferences>adding books
put the shelf name you want in the box 'tags to apply when adding books" and uncheck the box that says read metadata from the file contents.
I think we are talking about different things. I was trying to give a simple if kludgy way to shelve his books on his kobo but keep his own file structure. I don't believe I mentioned the driver anywhere. I was assuming he would still have the default driver setting to make shelves from tags if he was not using calibre to manage his books. Possible bad assumption.

It wasn't a question of trusting someone elses tags. He had very specific shelf names in his original post so probably did not want to use tags in the books themsleves, or so I assumed.

And I do not find all tags in all books to be what I want, I had a library book that had an excerpt from the book as a tag, and I dout it would have been meaningful as a shelf name.

I certainly wasn't casting aspersions on your driver which I truly appreciate. I am very sure I did not refer to it at all

Helen

PS tags are a standard column I think

Last edited by speakingtohe; 05-19-2013 at 09:24 PM.
speakingtohe is offline   Reply With Quote
Old 05-19-2013, 11:29 PM   #11
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,722
Karma: 5656709
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by speakingtohe View Post
I said in message 2 of this thread which was a reply to message 1.
So you did. And I had a complete failure in reading comprehension which I then compounded

Rereading and actually paying attention to it all, you are correct in everything you have said.
davidfor is online now   Reply With Quote
Old 05-20-2013, 10:56 AM   #12
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 2,893
Karma: 3895081
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite, AuraHD, PDA, Eee Transformer
I, at least, am one who has benefited from the efforts both of you have put into answering my question. Thanks Much, to both of you.

Speakingtohe;

I don't really see the steps you outlined as particularly "Kludgy" and this may be
the simplest approach available, at this time.

I still have one more question about the process; How will the use of "PeterT's"
custom shelves approach in calibre effect your process? And, how would it work
if I used the "Automatic Adding" watch folder approach, would the tag entered in
"Tags to apply when adding a book:" still be applied and work?

Luck;
Ken

Last edited by Ken Maltby; 05-20-2013 at 12:21 PM.
Ken Maltby is offline   Reply With Quote
Old 05-20-2013, 12:20 PM   #13
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,596
Karma: 25170848
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
I am not sure what you mean by custom shelves approach.

If it is using a custom column then it is much the same except calibre won't add the column name automatically, but it is easy to just put the shelf name in the custom column as you add each directory using bulk edit.

I used tags because it is, I think, the default in the driver(s) and involved one less step.

Plus custom columns seem to mess up my Sonys But it is a sound aproach and works well on Kobo.

I have several readers and on each one I use a different method of making my collections, and amazingly enough I don't find it confusing

But I keep all of my books in calibre because it is for me the most logical method of maintaining order and I bought my first computer in 1977 so I could be considered kind of old school. But each to his own.

Slight caveat. Too many books in a shelf and/or too many shelves make opening the shelves very slow. One of these days I plan to put as many books as possible on a 32G SD card and see what happens, so I would be interested in how you come along as you add your collections.

Helen
speakingtohe is offline   Reply With Quote
Old 05-20-2013, 01:09 PM   #14
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,596
Karma: 25170848
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
PS
If you put your books in calibre and don't want to keep them there, I think you can delete all formats and still use calibre to manage/change the collections without the actual books in calibres directory.

Helen
speakingtohe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tools getkernels - "get kernel image files" script geekmaster Kindle Developer's Corner 21 01-26-2014 05:41 PM
Here is a script for "single click" conversion to EPUB format MisterMax Conversion 2 01-03-2014 11:54 AM
PRS-505 PRS+: 2 Questions on "Browse Folders" and Dictionary Format crc Sony Reader 2 06-23-2010 01:36 AM
Commercial program says it can "make your own pdf e-books" - Anyone know about " Fugubot PDF 3 04-29-2009 06:39 PM
Help! the "Make Sony Reader File" under "Options" is different Dr. Drib Sony Reader 6 04-23-2007 02:56 AM


All times are GMT -4. The time now is 05:31 AM.


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