05-22-2011, 02:38 PM | #1 |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
Send to Device using {id}
When I set the Sending-Books-to-Device template to {id} it does not seem to achieve this when sending a book. On the reader they end up with filenames formatted as: {title} - {author}_{id}.epub_{id}
It works fine when I use this in the Save-to-Disc template where they end up simply as {id}.epub, (as expected). Any ideas what's going on here? Calibre: 0.8.2 Reader: Sony PRS-300 Computer: Win7 (64-bit) |
05-22-2011, 04:44 PM | #2 |
Grand Sorcerer
Posts: 11,733
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
For some reason send-to-device sets the ID to a file name. I don't see why it should do that, but I am checking with Kovid before I change anything.
|
Advert | |
|
05-23-2011, 02:42 AM | #3 |
Guru
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
|
I suppose there could be conflicts if Send-to-Device was used from multiple different calibre libraries, since the {id} could then be duplicated.
|
05-23-2011, 09:23 AM | #4 |
Grand Sorcerer
Posts: 11,733
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
After discussion with Kovid, we decided that changing the id to be the id instead of the file name shouldn't break anything. Change has been made and is in trunk.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't Send to device | Neelly | Devices | 3 | 01-20-2011 08:48 AM |
Send to device filename | Striegel | Calibre | 7 | 03-27-2010 02:21 PM |
Send to Device (structure) | mgmueller | Calibre | 1 | 02-21-2010 01:54 PM |
Send to Device (Unsupported) | shighfield | Calibre | 5 | 03-30-2009 03:06 PM |
Can send to SD card, but not Device | humanehero | Calibre | 2 | 01-11-2009 05:17 AM |