Linux, Wine & MediaMonkey: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
(→‎Misc notes and links: Added how to catch the debug output messages.)
(→‎Adding MediaMonkey + Wine: Remove Windows Media Player requirements.)
Line 17: Line 17:
After installing Wine, MediaMonkey can be installed without any problems. If you run MM now, you will have lots of trouble.
After installing Wine, MediaMonkey can be installed without any problems. If you run MM now, you will have lots of trouble.


MediaMonkey needs some libraries to run. Please use [http://wiki.winehq.org/winetricks winetricks] to install gecko, vb6run, vc6run, wmp10. More packages might be necessary, or maybe theses packages are creating problems. TODO:Check if wmp10 is really needed, as it does not give us nothing new.--[[User:Botijo|Botijo]] 02:42, 1 May 2008 (EDT)
MediaMonkey needs some libraries to run. Please use [http://wiki.winehq.org/winetricks winetricks] to install following items:
*''gecko'' as an Internet Explorer alternative
*''vb6run'' provides the OLE libraries
*''vcrun6'' provides the MFC42 libraries
*''wsh56'' provides support for VBScript, needed for scripts. ''vcrun6'' and ''vbrun6'' have to be installed before ''wsh56'' or installation will fail.


A Linux package is also needed. It is called winbind and provides ntlm_auth. In Ubuntu you can use Applications/System/Synaptyc Package Manager. Remember, search for winbind.
A Linux package is also needed. It is called ''winbind''. The synaptyc package manager should have this package. It provides ''ntlm_auth'' that is needed for OLE, I believe.


In order to reproduce MP3, the [http://www.mars.org/home/rob/proj/mpeg/mad-plugin/#install MAD plugin] is needed. You can delete in_wmp3.dll from the Plugins directory if you follow this path. I have the hunch that MP3 decoding through in_wmp3.dll can be done if the correct plugin is installed in wmp10. wmp10 might not be needed anymore (have to double check with new installation).
In order to reproduce MP3, the [http://www.mars.org/home/rob/proj/mpeg/mad-plugin/#install MAD plugin] is needed. You should delete the file '''i_wmp3.dll''' in the '''Plugins''' directory. The reason is that '''i_wmp3.dll''' requires Windows Media Player, plus the MP3 codecs for WMP. It is simpler to install the MAD plugin.


Wine needs a little bit of configuration before running. Go to Applications/Wine/Configuration. In the drive pane select Autodetect. In the audio pane, select whatever creates some sound to you.
In order to avoid "Player initialization errors", the files d_*.dll from the Plugins directory need to be deleted. No iPod integration for you! Other devices will also not be able to synchronize.


In order to avoid "Player initialization errors", the files d_*.dll from the Plugins directory need to be deleted. Sorry, no iPod integration for you!
Wine needs a little bit of configuration before running. Go to Applications/Wine/Configuration and follow these steps:
*In the drive pane select Autodetect
*In the audio pane, select whatever creates some sound to you.


==Function Tests==
==Function Tests==

Revision as of 17:39, 1 May 2008

Introduction

Can MediaMonkey 3 run on Linux via Wine?

This is a place where working notes about the attempt can be collected.

Inspired by botijo's original work via the forums.

Test Environment

Ubuntu Linux 8.04
MediaMonkey3 lastest beta v3.0.3.1164 for initial tests, debug version.
WINE version 0.9.60.

Adding Wine to Ubuntu

Please follow instructions at http://www.winehq.org/site/download-deb . Version tested here is 0.9.60.

Adding MediaMonkey + Wine

After installing Wine, MediaMonkey can be installed without any problems. If you run MM now, you will have lots of trouble.

MediaMonkey needs some libraries to run. Please use winetricks to install following items:

  • gecko as an Internet Explorer alternative
  • vb6run provides the OLE libraries
  • vcrun6 provides the MFC42 libraries
  • wsh56 provides support for VBScript, needed for scripts. vcrun6 and vbrun6 have to be installed before wsh56 or installation will fail.

A Linux package is also needed. It is called winbind. The synaptyc package manager should have this package. It provides ntlm_auth that is needed for OLE, I believe.

In order to reproduce MP3, the MAD plugin is needed. You should delete the file i_wmp3.dll in the Plugins directory. The reason is that i_wmp3.dll requires Windows Media Player, plus the MP3 codecs for WMP. It is simpler to install the MAD plugin.

In order to avoid "Player initialization errors", the files d_*.dll from the Plugins directory need to be deleted. No iPod integration for you! Other devices will also not be able to synchronize.

Wine needs a little bit of configuration before running. Go to Applications/Wine/Configuration and follow these steps:

  • In the drive pane select Autodetect
  • In the audio pane, select whatever creates some sound to you.

Function Tests

Botijo verified this to work with the settings set in this wiki.

Following items work:

  • Tag support
  • Database operations
  • File operations
  • Music output (my ears are itching for more music!)
  • Skins (Graphical glitches while changing skins, press Enter after doing so)
  • Scripts (some do, auto scripts are not loaded after restart?)
  • Plugins (Milkdrop shows!)
  • System tray icon
  • Installation packages .mmip (Show errors, but install correctly)
  • Playlist management, including saving
  • Reports (Statistics fail due to some obscure SDBUI error, file based reports work)

Following items do not work:

  • Device synchronization (is USB interface working?). iPod related plugins need to be deleted.
  • Opening webpages (gecko interface does not show anything, does MM rely so much on IE?)
  • CD Rom burning: If CD/DVD is not mounted, it does not show in MM. Blank CD/DVD cannot be mounted, so burning cannot be done. Burning form showed burning capabilites correctly, so device is being recognized correctly.
  • Autoplaylists
  • Party mode locks
  • URL entry to remote playlist: Wininet error
  • Auto tag from web

Misc notes and links

Debug version of MM works and can report errors to developers (I hope they see my email).

A way to know what MM is doing is catching all the KERNEL32 debug outputs. Of course you need the debug version of MM to do this. The usual Windows tool DebugView does not work. A crude way to do the same thing under WINE is:

WINEDEBUG=relay wine ./MediaMonkey.exe &> /tmp/MM.log 
grep Debug /tmp/MM.log > MM.log

Screenshots

MM on Wine!
Working script example
AlbumArt view
Extension management
Option window
Graphical glitch after skin change, press ENTER to close window
Script added a node to the tree, Album Art viewer
CD burner screen with CD drive being analyzed correctly
Milkdrop works too!