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

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-26-2012, 02:11 AM   #1
deufeufeu
Junior Member
deufeufeu began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2012
Device: Kobo Touch
Python script for building shelf automatically

Hi,
I just got a new Kobo Touch yesterday but the shelves feature seemed broken by the fact that I couldn't do a "check all" while searching to add books.
So I wrote a python script that will build shelves based on the directory in which your ebooks are located. For example if you have all IronThrones books in the folder /mnt/onboard/IronThrones it will make a shelf named IronThrones with all books of this folder added.
The script is here http://pastebin.com/hX2kqQ9b .
I don't have time to explain how to make it works, but I'm sure those having rooted their kobos will have no problem.
deufeufeu is offline   Reply With Quote
Old 01-05-2013, 02:59 PM   #2
DigitalWarS
Junior Member
DigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a Texan
 
Posts: 6
Karma: 18180
Join Date: Jan 2013
Device: Kobo Glo
GREAT JOB!

Anyone checked this out? This is a great feature I've been hoping for...
Yet.. I'm a newbie...
I'd need some help. Anyone available ?
DigitalWarS is offline   Reply With Quote
 
Enthusiast
Old 01-05-2013, 05:54 PM   #3
ewphoenix123
Connoisseur
ewphoenix123 is not intimidated by interfenestral monkeys.ewphoenix123 is not intimidated by interfenestral monkeys.ewphoenix123 is not intimidated by interfenestral monkeys.ewphoenix123 is not intimidated by interfenestral monkeys.ewphoenix123 is not intimidated by interfenestral monkeys.ewphoenix123 is not intimidated by interfenestral monkeys.ewphoenix123 is not intimidated by interfenestral monkeys.ewphoenix123 is not intimidated by interfenestral monkeys.ewphoenix123 is not intimidated by interfenestral monkeys.ewphoenix123 is not intimidated by interfenestral monkeys.ewphoenix123 is not intimidated by interfenestral monkeys.
 
Posts: 89
Karma: 26992
Join Date: Oct 2012
Device: PRS-500, PRS-700, PRS-650, PRS-T1, Kobo Glo, Kobo Aura HD
If you don't know what to do with this, you should probably just use calibre.

http://www.mobileread.com/forums/sho...d.php?t=193184

Very userfriendly and gives you the same result.
ewphoenix123 is offline   Reply With Quote
Old 01-11-2013, 04:52 PM   #4
DigitalWarS
Junior Member
DigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a TexanDigitalWarS might easily be mistaken for a Texan
 
Posts: 6
Karma: 18180
Join Date: Jan 2013
Device: Kobo Glo
Quote:
Originally Posted by ewphoenix123 View Post
If you don't know what to do with this, you should probably just use calibre.

http://www.mobileread.com/forums/sho...d.php?t=193184

Very userfriendly and gives you the same result.
Thank you very much for the advice, I'll try!
DigitalWarS is offline   Reply With Quote
Old 01-30-2013, 07:52 AM   #5
jkgeyti
Member
jkgeyti began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2012
Device: Kobo Touch
I'm having trouble running this on the kobo touch:

Quote:
Traceback (most recent call last):
File "build-shelves.py", line 1, in <module>
import sqlite3
File "/mnt/onboard/.python/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
from dbapi2 import *
File "/mnt/onboard/.python/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: No module named _sqlite3
I've installed python 2.7 from the KoboWeather download
I've tried downloading a couple of armel sqlite libs, but nothing that made any difference. Can anyone help me getting sqlite to run?

Thanks in advance
jkgeyti 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
How to automatically populate a tag with the decade from the pubdate via python smoothrolla Library Management 5 11-19-2011 06:41 AM
how to use python script with windows xp tuufbiz1 Other formats 12 01-08-2011 08:22 AM
How do I get a shortcut for a Python script onto the taskbar in W7? Sydney's Mom Workshop 6 03-28-2010 08:11 PM
Nedd a little help with a python script gandor62 Calibre 1 08-07-2008 09:59 PM
Python script to create collections gwynevans Sony Reader Dev Corner 2 03-13-2008 12:29 PM


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


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