MediaMonkey for ebooks?

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: MediaMonkey for ebooks?

Re: MediaMonkey for ebooks?

by Peke » Sat Jul 23, 2011 9:46 am

What do you mean MM sends Short Filename I have not observed that?

Re: MediaMonkey for ebooks?

by Clouseau » Thu Jan 07, 2010 12:52 pm

:D WooooHoooo!! :D
LIT files open now! Wrote a very short VBS and compiled the IN_LIT.dll to pass the short filename to it (OpenShortFile.vbs). The script gets the long filename and does a ShellExecute and, voila, up pops MS Reader with the eBook.

OpenShortFile.vbs

Code: Select all

option explicit

dim oArgs, fn
dim objShell

set oArgs = Wscript.Arguments  

if oArgs.count=0 then  
    wscript.echo "No argument given"  
    wscript.quit  
end if  

fn = oArgs.item(0)

set objShell = CreateObject("Shell.Application")
objShell.ShellExecute LongName(fn), "", "", "open", 1
set objShell = nothing

'===================================================

Function LongName(ShortName)
    With CreateObject("WScript.Shell")
        With .CreateShortcut("dummy.lnk")
            .TargetPath = ShortName
            LongName = .TargetPath
        End with
    End with
End Function

Re: MediaMonkey for ebooks?

by Clouseau » Wed Jan 06, 2010 3:35 pm

OK, never mind about the slashes... it's not that... Microsoft Reader :evil: DOES NOT LIKE SHORT FILE NAMES :evil: , and that's what gets passed from MediaMonkey. I just don't know how to get a long file name using ANSI-C. I've tried compiling using Visual C++ and it's a no-go. I'll probably have to kludge it using compiled KixScript or something that will look up the long file name and launch Microsoft Reader. Any suggestions welcome!

Re: MediaMonkey for ebooks?

by Clouseau » Tue Jan 05, 2010 2:42 pm

Ok, I've made some headway on the LIT problem. Apparently, I need to do a string replace in C to double all "\" characters in the path. Don't know why PDF and TXT files work fine but LIT fails (thanks Microsloth). Having compiler issues (can't use malloc for some reason). If anyone can get me some C code for a find/replace on strings that I can make work, it would be helpfull.

BTW, I've moved my MediaMonkey.ini into the MediaMonkey directory and made a copy called MediaMonkey-eBooks... now I (after modifying the second ini) I have two separate instances of MediaMonkey, one for music and one for eBooks. things are looking up! :D

Re: MediaMonkey for ebooks?

by rovingcowboy » Sat Jan 17, 2009 9:59 pm

yes but msreader is old.

i know he wanted to open it with mediamonkey, since he got the monkey to list the ebooks in the playlist he just needed to open the ebook to see it and read it.

but since hes a programmer he could program deskbot to open with a script. in monkey anytime he opens his ebook in monkey. the options in deskbot allow to have deskbot load on screen at its start up and show the agent.

so all he would need to do is open the ebook by clicking on the file in the playlist or the libray node have it auto copy to the clipboard and bingo deskbot starts reading the ebook.

but programming the script to run all that is something i can't do.

Re: MediaMonkey for ebooks?

by Zealot » Sat Jan 17, 2009 10:19 am

rovingcowboy wrote:
Clouseau wrote:I think I'm part way there for getting MediaMonkey to be my eBook repository. I used the WinAmp SDK sample for IN_RAW and modified it to make plugin dll's for TXT and LIT files which I place in my Plugins directory. MediaMonkey will now search for and catalog TXT and LIT files in my database, and the TXT files open up fine. The LIT files open up MSReader but it only opens to the Library view (not the ebook that opened the reader... strange).

I'll gladly post the resulting dll's and/or code if anyone is interested. And if anyone can help with opening LIT files I'd appreciate it. I'm trying to use:

Code: Select all

ShellExecute(NULL,"open",fn,NULL,NULL,SW_SHOWNORMAL);
where fn is the passed file name.
try getting deskbot from bellcraft.com and an msagent of your liking set it up on xp computers you need to get the sapi 4 from microsoft.com/msagents and a voice engine from there too, so you can hear the agents voice other wise you don't get any,in xp. in vista you get the default voice when you use msagents no matter what the agent is, its always the same voice..

you will need to make the deskbot load first and then you can open your ebooks and copy them to the clip board. the deskbot will read them for you. same thing can be done with txt files any thing that is copied to the clipboard will be read by the deskbot if the deskbot is loaded and on the screen first.

its only hard to get the ebooks copied to the clipboard. but as a programmer you should beable to do that. after all i'm not a programmer and i thought of it so it can't be that hard? :roll:
MSReader will read your books aloud, but I don't think that's what Clouseau meant. MSReader also keeps track of all the .lit files it has ever opened, and if you just open reader (as opposed to double clicking on the icon), it will open in "Library" mode, and display all your titles. I believe that Clouseau was trying to get it to open to the specific title that he clicked on in Mediamonkey instead.

Regards,
Z

Re: MediaMonkey for ebooks?

by rovingcowboy » Sat Jan 17, 2009 8:19 am

Clouseau wrote:I think I'm part way there for getting MediaMonkey to be my eBook repository. I used the WinAmp SDK sample for IN_RAW and modified it to make plugin dll's for TXT and LIT files which I place in my Plugins directory. MediaMonkey will now search for and catalog TXT and LIT files in my database, and the TXT files open up fine. The LIT files open up MSReader but it only opens to the Library view (not the ebook that opened the reader... strange).

I'll gladly post the resulting dll's and/or code if anyone is interested. And if anyone can help with opening LIT files I'd appreciate it. I'm trying to use:

Code: Select all

ShellExecute(NULL,"open",fn,NULL,NULL,SW_SHOWNORMAL);
where fn is the passed file name.
try getting deskbot from bellcraft.com and an msagent of your liking set it up on xp computers you need to get the sapi 4 from microsoft.com/msagents and a voice engine from there too, so you can hear the agents voice other wise you don't get any,in xp. in vista you get the default voice when you use msagents no matter what the agent is, its always the same voice..

you will need to make the deskbot load first and then you can open your ebooks and copy them to the clip board. the deskbot will read them for you. same thing can be done with txt files any thing that is copied to the clipboard will be read by the deskbot if the deskbot is loaded and on the screen first.

its only hard to get the ebooks copied to the clipboard. but as a programmer you should beable to do that. after all i'm not a programmer and i thought of it so it can't be that hard? :roll:

Re: MediaMonkey for ebooks?

by Zealot » Fri Jan 16, 2009 9:14 pm

I've only recently begun using MM, but using it for ebooks sounds like a god send.

Clouseau,
I'm not a professional coder, but I've managed to figure out a few things in Python and VBA. Does your plugin support anything else besides TXT and LIT? PDF would be great. Does it lump the files in with the music list or does it create a new directory?

Thanks,
Z

Re: MediaMonkey for ebooks?

by Clouseau » Sat Jan 03, 2009 3:46 pm

I think I'm part way there for getting MediaMonkey to be my eBook repository. I used the WinAmp SDK sample for IN_RAW and modified it to make plugin dll's for TXT and LIT files which I place in my Plugins directory. MediaMonkey will now search for and catalog TXT and LIT files in my database, and the TXT files open up fine. The LIT files open up MSReader but it only opens to the Library view (not the ebook that opened the reader... strange).

I'll gladly post the resulting dll's and/or code if anyone is interested. And if anyone can help with opening LIT files I'd appreciate it. I'm trying to use:

Code: Select all

ShellExecute(NULL,"open",fn,NULL,NULL,SW_SHOWNORMAL);
where fn is the passed file name.

by Steegy » Wed Apr 25, 2007 5:52 am

You guys must be dreaming....
you first have to walk well before you can run.

by Blake » Tue Apr 24, 2007 6:42 pm

Don't get your hopes high.

Support more file types

by GH » Tue Apr 24, 2007 11:16 am

MediaMonkey has the potential to be "Multi-purpose Manager for Serious Collectors". I'm also trying to find MediaMonkey for ebooks, and I feel that MediaMonkey is the best solution for managing any media. Hopefully MediaMonkey will support more file types (e.g. .pdf, .doc, etc...) and this will end the finding for the ultimate media manager.

Found better software.

by gannon » Thu Mar 01, 2007 8:58 am

OK for anyone interested in organizing their eBooks... MediaMan is far superior to eLibPro. It does cost $40, so I would still like to know of good alternatives if anyone knows anything. Funny, all I had to do was replace Monkey with Man! It took countless hours to find out about this damned software. >_<

by gannon » Wed Feb 28, 2007 1:43 am

Hahaha, actually, it turns out you can just drag and drop your files into the window and they all get added automatically (that -- or -- make a .txt file with all the ISBNs and open it). As for the pictures being scaled poorly, I'll just do a batch resize on them. And I'll be editing the template for displaying the book info to suit my needs. eLibPro is definitely the solution for organizing your eBooks... (They don't really point these features out to you, which is how I missed them. >_<) Oh and I used Resource Hacker to change "Favorites" to "Want List", heh. So actually the only thing I wish the program did was use the PDF and CHM icons on your system instead of their green book icon, but oh well -- close enough...

by gannon » Wed Feb 28, 2007 1:02 am

Oh, actually it does have a details view as well as the cover view; don't know how I missed it.

Top