11-06-2010, 09:07 AM | #1 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Content Server - Books only?
I was talking to my Mom via phone as she browsed my Calibre content server from far far away. I happened to mention that there were some short mp3 audio snippets on History that my wife and I found fascinating. Thinking quickly, I compressed them up, dropped them into Calibre as a rar file and suggested she grab them. Calibre refused to send them. I tried to access the content server locally, and it also refused to send me the files. I also tried in zip format. There were 10 mp3s compressed into each.
Is there something in the content server that checks to see if the content of the zip or rar is a book and otherwise refuses to send it? Adding the mp3s as individual mp3s worked as expected, and she could get them one-by-one. Thanks for any info or comments! |
11-06-2010, 11:44 AM | #2 |
creator of calibre
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
When you say "refused to send them" what exactly do you mean?
|
11-06-2010, 02:38 PM | #3 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Using Firefox, the ZIP and RAR files can be seen when Details are chosen. Using Save Link As from a right click on the RAR format, the FF Download says that a 0 byte file was received, but there's nothing in the download folder. Doing the same thing with a RAR of a PDF or a TXT format, and Calibre sends a RAR file that opens to see one or more PDFs/TXTs. --------------------------------------------- Thread moved.................................... https://www.mobileread.com/forums/sho...90#post1202090 ---------------------------------------------- Last edited by Starson17; 11-06-2010 at 03:02 PM. |
|
11-06-2010, 03:42 PM | #4 |
creator of calibre
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
that's weird, I don't know of any code that would cause that. If you feel like investigating, the relevant function is get_format in calibre.library.server.content
|
11-06-2010, 07:35 PM | #5 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Thanks for the pointer to the relevant code. I may take a look, just because I'm interested. It's an extreme edge case, but if I find anything, I'll post a note on it.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
content server and kindle | TonytheBookworm | Calibre | 1 | 09-17-2010 02:04 AM |
Need help - content server | Sydney's Mom | Calibre | 0 | 08-28-2010 04:07 PM |
Any way to tag certain books not to be shared on my content server? | Timber | Calibre | 1 | 07-20-2010 04:54 PM |
Request: Allow/Disallow individual books showing in content server | sherman | Calibre | 4 | 05-10-2010 03:16 PM |
Content Server | thibaulthalpern | Calibre | 5 | 04-28-2009 12:56 PM |