Am I correct in saying that MM scripting (even in the up-coming beta release) excludes direct interaction with the MP3 / WMA files. Also even wit the new device specific plugin's you will not be able to manage file transfers etc onto your portable device?
So - assuming other languages (like Perl) allow you to do these things - can they be used instead?
Graham
Limits to scripting
Mediamonkeys COM Object can be used to colaborate with any Languge and it has same functions as Scripting (http://www.mediamonkey.com/developers.htm) See for help on scripting and use it for COMObj in perl.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
I would like to see some examples in PHP that utilize MM, and sorry if I'll be lame but I'm curious: Is there any way to use COM in PHP? and If can what is needed to comply this?
In delphi it will look like this:
After that SDB acts like in vbscript that uses MM. is there any chance to use something like that in PHP?
In delphi it will look like this:
Code: Select all
var
SDB : Variant;
begin
SDB := CreateObject('SongsDB.SDBApplication');
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
Absolutely, it is this easy from within a PHP script:
Obviously you have to have PHP installed on a windows box to get that working. You can either run that using the php cli executable, or via a webserver if that is your preference. Once you have the COM object created it is pretty much the same as accessing via vbscript, except obviously using PHP object calling syntax:
It theoretically should also be possible to use the Activescript SAPI that comes with PHP on windows to get PHP to within the MM scriptlet control. I couldn't get it to work though, and there are questions about security if you register that DLL on your system. (i.e. it would be possible for a malicious website to host PHP code that would be run client side with no sandbox!)
Code: Select all
//Connect to MM
$objSDB = new COM ("SongsDB.SDBApplication") or die ("Cannot create MediaMonkey SDB Object");
Code: Select all
//Get Album List
$strSQL = "SELECT * FROM Albums";
$objIter = $objSDB->Database->OpenSQL($strSQL);
I'd like to know how to get ASP to work with MM. Does that mean I have to install the COM object on the webserver? And if so how would that be done?
Download MediaMonkey ♪ License ♪ Knowledge Base ♪ MediaMonkey for Windows 2024 Help ♪ MediaMonkey for Android Help
Lowlander (MediaMonkey user since 2003)
Lowlander (MediaMonkey user since 2003)
Thx
Download MediaMonkey ♪ License ♪ Knowledge Base ♪ MediaMonkey for Windows 2024 Help ♪ MediaMonkey for Android Help
Lowlander (MediaMonkey user since 2003)
Lowlander (MediaMonkey user since 2003)