I am not claiming that you could do what you want without modifying firmware. However if you are willing to do so (as I did) existing database probably has enough data to build what you want - SQL has plenty of power.
There is source_id columnt which shows where the book is kept - internal memory or SD and there are full paths and files names columns...
|