When I connect my new 2nd Generation Kindle Fire (the $159 one) via a USB cable Calibre 0.8.69 doesn't detect detect it. Whereas my friend's old Kindle Fire (same computer, same installition of Calibre) is detected by Calibre and Windows has assigned it a drive letter. His older Fire gets MOBI books from Calibre and places them in the documents folder and the Fire sees the books and lists them as books. But with my new Fire Calibre has no send to device icon and Windows ID's it as an external media player with no drive letter assigned, so I added the code:

Code:

test_mtp_driver = True

...and now Calibre has a send to device icon, but when I use it an author's subdirectory is put in the books directory and each title is put in a title subdirectory within the author subdirectory (just like the Kindle keyboard does in its documents directory). These books are not detected by my Fire.

now Calibre has a send to device icon, but when I use it an author's subdirectory is put in the books directory and each title is put in a title subdirectory within the author subdirectory (just like the Kindle keyboard does in its documents directory). These books are not detected by my Fire.

Go to Preferences - Plugins - Device Interface plugins. Select SmartDevice App Interface and click Customize plugin and uncheck the use sub-directories box, also change your Save template so it no longer has the the {author_sort}/ or {author}/ from the template. The / is telling the plugin to create a directory of whatever is before the /.

Kovid suggested the same to you three days ago as quoted in your post below.

Quote:

Originally Posted by alansplace

Quote:

Originally Posted by kovidgoyal

You can configure calibre to not create subfolders, change the template to

{title} - {authors}

by right clicking the device in calibre and choosing configure this device.

This doesn't help on my new 2nd Gen Fire ($159) as they still don't appear with the other books (or any other place I look). They only show up when they are in no sub-directory but are directly in the Books folder.

Also as you acknowledged in the below quoted post the default template will be changed in the next release of calibre.

Quote:

Originally Posted by alansplace

Quote:

Originally Posted by kovidgoyal

Just a note: In the next release the default template will be changed to not put books into sub folders, as there are apparently devices made by some incompetent *cough*Amazon*cough* people that dont recognize files in sub-folders. So if you want to have books in sub-folders you will need to configure the device by right clicking on the device icon in the calibre toolbar when the device is connected.

Go to Preferences - Plugins - Device Interface plugins. Select SmartDevice App Interface and click Customize plugin and uncheck the use sub-directories box, also change your Save template so it no longer has the the {author_sort}/ or {author}/ from the template. The / is telling the plugin to create a directory of whatever is before the /.

Kovid suggested the same to you three days ago as quoted in your post below.

Also as you acknowledged in the below quoted post the default template will be changed in the next release of calibre.

It can all be confusing, the next version of calibre should default to no sub-directories.

Good Reading.

Yes, he did and I did it and it didn't work - it dropped the subdirectories inside the author subdirectory (one for each book), but the books were all in the author subdirectory instead and the books still went undetected by the Fire. So I changed the string back and then decided to wait for the new version tomorrow, but I decided to post this new thread so Kovid could see that the string he suggested didn't work for my Fire.

Yes, he did and I did it and it didn't work - it dropped the subdirectories inside the author subdirectory (one for each book), but the books were all in the author subdirectory instead and the books still went undetected by the Fire. So I changed the string back and then decided to wait for the new version tomorrow, but I decided to post this new thread so Kovid could see that the string he suggested didn't work for my Fire.

As I said it is all confusing. Not having a new Kindle Fire myself, it appears I may be both ignorant and confused about what you were experiencing. Onward to the new version with fingers crossed for luck.

Yes, he did and I did it and it didn't work - it dropped the subdirectories inside the author subdirectory (one for each book), but the books were all in the author subdirectory instead and the books still went undetected by the Fire. So I changed the string back and then decided to wait for the new version tomorrow, but I decided to post this new thread so Kovid could see that the string he suggested didn't work for my Fire.

Waiting for tomorrow's release.

It sounds like you still have a slash somewhere in your template. If so, there is an excellent chance that the new release won't fix anything for you because it changes the default. It won't change values added/changed by the user. If you changed the string, then as far as calibre is concerned you want the value you set, not the default.

It would help if we could see the template you are using. Go to preferences -> plugins -> device interface plugins -> MTP, copy the template there, and post it.

It sounds like you still have a slash somewhere in your template. If so, there is an excellent chance that the new release won't fix anything for you because it changes the default. It won't change values added/changed by the user. If you changed the string, then as far as calibre is concerned you want the value you set, not the default.

It would help if we could see the template you are using. Go to preferences -> plugins -> device interface plugins -> MTP, copy the template there, and post it.

I...

1. copied and pasted the original string into a text file.
2. copied this string from Kovid's reply

{title} - {authors}

3. and pasted it into the (now blank) text box.

...as you can see there were no /'s in it and it did as I described earlier in this post.

If {title} - {authors} is now the default template string I doubt it will work for my 2nd Generation Fire, but I will, of course, try it.

I could be wrong but you might need to remove the save to template from the default save to as well as from the mtp plugin specific one.

We had the same template/subfolder problem with Calibre Companion and Kindle for Android. Changing the default in the wireless driver worked for new installs regardless of what was in the base send-to-device template.

Quote:

Originally Posted by alansplace

I...

1. copied and pasted the original string into a text file.
2. copied this string from Kovid's reply

{title} - {authors}

3. and pasted it into the (now blank) text box.

...as you can see there were no /'s in it and it did as I described earlier in this post.

If {title} - {authors} is now the default template string I doubt it will work for my 2nd Generation Fire, but I will, of course, try it.

Where was this blank text box? And did you restart calibre after you made the change?

I apologize for being so picky, but calibre definitely will not create subfolders if there is not a / somewhere in the template. Therefore, calibre did not use the template you entered and the question is why. Something else is going on, and unless that something else is identified it is likely that you won't get satisfaction.

We had the same template/subfolder problem with Calibre Companion and Kindle for Android. Changing the default in the wireless driver worked for new installs regardless of what was in the base send-to-device template.
Where was this blank text box? And did you restart calibre after you made the change?

I apologize for being so picky, but calibre definitely will not create subfolders if there is not a / somewhere in the template. Therefore, calibre did not use the template you entered and the question is why. Something else is going on, and unless that something else is identified it is likely that you won't get satisfaction.

The box wasn't blank till I cut the template string out of it (sorry I mis-stated in step 1, I cut not copied it then pasted it into a new text file where it remained till I restored it) and after applying the change (in two different places on the way out) I restarted Calibre.

Shutting down and going to bed now, so there'll be no more immediate replies from me.

There was a bug in the beta driver where the global template in Preferences->sending to device took precedence over the device specific one. That bug is now fixed, simply update to 0.8.70 and your problem should no longer happen.

There was a bug in the beta driver where the global template in Preferences->sending to device took precedence over the device specific one. That bug is now fixed, simply update to 0.8.70 and your problem should no longer happen.

There was a bug in the beta driver where the global template in Preferences->sending to device took precedence over the device specific one. That bug is now fixed, simply update to 0.8.70 and your problem should no longer happen.

Quote:

Originally Posted by alansplace

Thanks Kovid. I'll get on that this morning and report later today.

Calibre [0.8.70] now works with my 2nd Gen Fire as seamlessly as it does with my Kindle Keyboard and Kindle 2 and just like it works with my friend's original Kindle Fire.