View Single Post
Old 09-07-2012, 07:21 AM   #15
adun
Member
adun began at the beginning.
 
Posts: 23
Karma: 12
Join Date: May 2010
Device: iPad
Quote:
Originally Posted by BetterRed View Post
Put a file link to the MP3 in the Comments - it's HTML so something like
Code:
<a href="file:///whatever.mp3/">MP3 File</a>
should do the trick. You'd then play it from Book Details - click on it and it should invoke whatever program you have associated with MP3's - WMP, WinAmp, Squawkbox etc - Note Calibre needs to have triple slash in file & folder URI's.

...

Calibre can be stretched quite a long way via the use of URI links to files, folders, Internet Web & FTP sites etc. A Custom Column of long text, can act as the container because it is HTML. I'm surprised its not 'more widely' used - maybe it is - and I've just not seen it mentioned. I haven't tried any Javascript yet,

...

BR
Thanks a lot for this trick!!
It is indeed very powerful; but please post at least an small HOWTO. Did you manage the Javascript part?
adun is offline   Reply With Quote