MediaMonkey Portable Installation

Updates

Dec 2019. On the Toshiba Portege, Windows 10, latest updates, the visualization was a little wanky when connected to a Sony Brava TV, over HDMI using clone monitors option.  Kept getting song title over the animations.  Turned off all song animations etc, still had an issue.  Turned on Caffiene, most of the issues with song title animations when away.

Here is the procedure I use to update the portable install created in the process documented after “A work in Progress”

rem C:\mybat\updatePortMM.bat
@echo off
rem this does not take long
rem I use portable drives to backup my Music Library
rem updatePortMM.bat update the portable install with the latest monkey and copy over any new additions from the Master DB etc
rem see wordpress site for install MM instructions
rem do the MM install update first
rem https://garyjohnson53.wordpress.com/2017/11/25/mediamonkey-portable-installation/

rem see https://garyjohnson53.wordpress.com/2017/11/06/how-to-reorganize-a-media-monkey-library-with-lots-of-playlists/ for general maintenance tips

rem /s subdirs /r copies read only /y prompt to over wite ??? /q supress xcopy messages /d copy files newer than destination files

rem I get Update location of files updates notices in protonmail
rem latest update is stored in echo see “C:\Users\USER\Downloads\MMfiles\UpdateLocationOfFiles-2.3.1.58.mmip”

rem when this is done install and
rem run the Update Location of Files procdure

rem make sure you have a BackupF.txt on the destination drive
rem change me for so that it copies from C to the appropriate destination drive letter
@echo on

IF EXIST F:\BackupF.txt GOTO BKUP:
rem IF EXIST E:\BackupE.txt GOTO BKUP:

echo PLEASE FIX DRIVE ASSIGNMENTS FOR THE NEW DRIVES – No Backup, its not Drive F
GOTO MYEND:

:BKUP

@echo. Started > LastDoneWhen.txt
Time /t >> LastDoneWhen.txt
@echo on
@echo. Start of refresh music files
Time /t
xcopy “C:\Music\*.*” “F:\Music\*.*” /s /r /y /q /d
@echo. End of refresh music files
Time /t
copy C:\Users\US\AppData\Roaming\MediaMonkey\MM.DB F:\MediaMonkey\Portable\MM.DB
@echo. You should see one file copied
xcopy C:\Users\USER\AppData\Roaming\MediaMonkey\MetadataCache\*.* F:\MediaMonkey\Portable\MetadataCache\*.* /s /r /y /q /d
@echo. 0 files copied is okay

copy “C:\Users\US\Downloads\MMfiles\*.mmip” F:\*.*
@echo. You should see one file copied
rem copy my protable install bat files to the portable drive
copy “C:\mybat\copymusic.bat” F:\*.*
copy “C:\mybat\updatePortMM.bat” F:\*.*

:STOPP
@echo off
rem create date stamp

@echo. Ended >> LastDoneWhen.txt
Date /t >> LastDoneWhen.txt
Time /t >> LastDoneWhen.txt
@echo. Update the date stamp file – You should see one file copied
copy “LastDoneWhen.txt” “F:\LastDoneWhen.txt”

@echo on
Time /t
start “%ProgramFiles(x86)%\Windows Media Player\wmplayer.exe” “C:\Music\PublicDomain\Unknown\short Clips\42 – fanfare x.mp3”
:MYEND
pause


A work in Progress

  • Install media monkey as a portable install to a big usb 3. drive.
  • Copy your music library from x:\ to z:\
  • copy the database and cache to Media Monkey portable
    see dick sledge below
  • go here and get the extension>
    http://solair.eunet.rs/~zvezdand/UpdateLocationOfFiles.htm Note this can do it all for you;however; I have not tested that
  • Start portable MM as administrator and add the UpdateLocationOfFiles extension.
    Send they guy who wrote the extension some cash
  • I do not select the copy or move options, just the Update Paths in Database only.  Run the extension (under Tools-Scripts), pay attention to the dropdowns from the from part, make sure it says something like, 7000 files , fkfkf, 7000 missing,  It ran in a few seconds on my machine
  • run the library maintenance, just for grins, bobs your uncle

This needs more work but the above process should give you a general idea. I did a portable installation as the Backup of my music and library.

When You take your portable install to a new computer, you might have to run UpdateLocationOfFiles on the new machine


Setup your USB 3.x device

1) Format as NTFS or exFat
2) Properties – Customize = Optimize for Music
3) Device Manager
Disk Drives
Double click on the device for which you want to quit using the Safely Remove Hardware option.
Click Better Performance

You need to use Safely remove unit you change this option, but, its good when your doing big file copies.

I use a bat file with xcopy, with lines like
xcopy "C:\Music\Blues\*.*" "F:\Music\Blues\*.*" /s /r /y /q /d
I did not get album art when I used the procedure above.


Actually, a migration – backup from a hard disk installation.  Part 2 of my rethink of my music library. First part is here: The Reorg. The main part that is applicable to doing a portable install is that I moved all of my music files to a usb drive.

The MediaMonkey documentation is at :
http://www.mediamonkey.com/wiki/index.php/Portable_Mediamonkey
It does say much except, click on the portable install,

I downloaded the latest debug build from here:

http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=54426&sd=d

Click on the MediaMonkey_4.1.19.1859_Debug.exe. Of course, allow the “install” , “change”, elevate, access to private network requests.

Select Portable Installation and specify the drive you want to install it on ( I chose a USB, not the location in the following image)

2017-11-25 (1)

Eventually you get here:

2017-11-25 (2)

2017-11-25 (3)

I did not scan.  I unselected the the location it had by default clicked (Music)

2017-11-25 (4)

2017-11-25 (5)

I let it share, for the moment.

We get to the Monkey Startup and it asks if you want to:

Import Missing file playlist and rating from your other applications; however, MediaMonkey is not one of them.  I skipped this step.

It shows Media Servers for all users?

I changed a few default things:

Turned off : Volume Leveling
Tags and playlists: ID3v2 encoding ascii always.
Media Tree: turned on Classical Music
Search: Turned off Custom and other fields that I don’t care about


Now I want to migrate all of my , auto organize rules, playlists, Milkdrop 2 installation and custom scripts to the new portable install.

I have reviewed the forum posts for a search on “portable” and have narrowed down my first attempt to be based on the following post:

Portable install loses settings.

http://www.mediamonkey.com/forum/viewtopic.php?f=1&t=64297&p=436095&hilit=portable#p436095

Thank you – MediaMonkey Forum User DickSledge

When migrating from a local install to a portable install, do not follow the instructions on “moving to a new computer” that tell you to copy the .ini file. Only copy the .db file and the Metadata Cache folder. Overwriting the .ini file in the portable install will cause that install to look to your hard drive for the database.

It was that easy, I copied:

C:\Users\{USERNAME}\AppData\Roaming\MediaMonkey\MM.DB
To
X:\{your MM install location}\ Portable\MM.DB

and

C:\Users\{USERNAME}\AppData\Roaming\MediaMonkey\MetadataCache\
to
X:\{your MM install location}\Portable\MetadataCache

X: is the drive I had my music files on and installed portable MediaMonkey to.

BTW: my MetadataCache/Thumbnails directory was empty

I also adjusted skins, options, font size to 150% so I could comfortably read the MM screens.

Next, using my portable install on different computers. I connect it to a laptop, MM automagically adjusts for the new drive.  My scanning and editing {Tools – Options – Auto Organize}  Auto Organize rules still reflect the original drive letter I set them up for.  Example  If genre “Rock” ,

Main Directory I:\Rock\

In my case I alway plan on staging my new files for the library on the USB in a folder called “ToBeOrganized” .  Next thing is to test adding a new file with the Auto Organize rules, to see if it automatically adjusts.  In my case it would make sense to adjust the rules.  How do you code the “Main Directory” so it is not hard coded {I:\Rock} and defaults to the Rock Directory off the root?

2017-11-26

The other Auto Organize rules {Tools – Auto Organize} also reflect the prior installations drive letters.  That and the File Monitor {Tools – Options -Library – File Monitor} also needs to be adjusted.

I renamed this USB drive as music; however, I see it in safely remove drive as “Ultra MT Slim”.  I wonder if I can rename this or if I can rename it, if I do rename it, will it screw up the MM library?


Things of interest

Based upon:
How to export current settings? Where is settings file?
http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=87100&p=432698&hilit=portable#p432698

points to
Retrieve old MM environment?

http://www.mediamonkey.com/forum/viewtopic.php?f=1&t=86940&p=431752&hilit=portable#p431752

The documentation on where things are stored is here:

http://www.mediamonkey.com/support/index.php?/Knowledgebase/Article/View/16/0/modifying-the-mediamonkey-db-and-ini-files

Things worked fine, as along as I was on the original pc.  When I tested it on another machine, I had to update the driveID in the database. The following Third Party Addon can do this: http://www.mediamonkey.com/forum/viewtopic.php?f=2&t=63823

Hopefully, I will not be expanding to much on this:

Disadvantages of portable mode?

http://www.mediamonkey.com/forum/viewtopic.php?f=1&t=87379&p=434148&hilit=portable#p434148


I did my portable install on a “standard” computer config, with a C drive and a D optical (combo DVD /Cd) (it’s been a few years since we had a and b drives, but some things never change!) So my portable install ended up being drive E:  Now when I plug a usb stick in, it goes to drive F.  That’s okay, but it shows the drive E attached.  I attached to to a computer that has c,d,e,f and at G optical drive and it goes to I.  My portable installation showed up as drive H, and it worked.

If when you click on safely remove drives, it gets a little flaky, go to Windows File Explorer and eject the drive.

I turn the following settings for artwork and lyrics on. If I were are on a metered internet connection, I would turn these off:

Tags
Artwork – Save image to tag (if possible) otherwise save to folder

Search for missing lyrics automatically
Search for missing artwork automatically

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.