Sync from different PC's

Get answers about syncing the current release of MediaMonkey with iPods and other devices.

Moderator: Gurus

gblum
Posts: 67
Joined: Sun Jul 15, 2007 10:56 am
Location: Rhode Island

Sync from different PC's

Post by gblum » Mon Feb 26, 2018 10:52 am

Is there a way to sync to USB device from different PC's and have MMW recognize the existing files so as to not create duplicates? I have a network drive as my library and access it from both a desktop and laptop. When I insert a USB in my laptop that was sync'd from my desktop, for example, looking for it to just add the new/changed files, MMW wants to start over and duplicate the files. I update my library from either PC and would like to update my USB's from the PC that updated the library. It seems like each time I update the library, the USB I want to update was created on the other PC.

Thanks, for any assistance/advise.

Peke
Posts: 11203
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
Contact:

Re: Sync from different PC's

Post by Peke » Thu Mar 01, 2018 4:10 am

Hi,
This is bit confusing and I'm not sure that I follow and most likely the reason why there was no answers earlier.

Are you saying that you have Network Drive and you double sync files from either Desktop and Laptop?

Can you break your process of updating library to step by step process, so that we can see what and how you update library on both PCs. From what I understand you are really instruct MMW to add duplicates and MMW is acting correctly.
Best regards,
Pavle
MediaMonkey lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
How to add Images to forum

gblum
Posts: 67
Joined: Sun Jul 15, 2007 10:56 am
Location: Rhode Island

Re: Sync from different PC's

Post by gblum » Thu Mar 01, 2018 11:28 am

Thanks for reaching out. Sounds like I'm a little unusual, but here's what I do.

Background:
My library is stored on a network drive.
I access and update the library from either a laptop or desktop. Just an FYI, I switch between the two randomly depending on where I am and/or how much battery is left on laptop.
I have various external devices (USB's, iPod's, MP3 players, Phones, etc.) which I sync with different playlists all stored in the library.

Scenario:
Today, I update the library from my laptop and then sync a playlist (or two) to a new USB drive.
Tomorrow, I update the library from my desktop and then attempt to update the USB. MMW sync's a whole new set of songs instead of just add/removing the Playlist updates.

Question:
How can I get MMW to recognize the songs already on external device so as not to duplicate songs and only update as dictated by changes to the playlist?

Thanks.

Peke
Posts: 11203
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
Contact:

Re: Sync from different PC's

Post by Peke » Thu Mar 01, 2018 8:50 pm

Hi,
As i suspected, you are making one major mistake. You have two separate libraries on two PCs even your library is on network drive which make MMW to treat your library as two completely separate libraries, including Sync profiles (thus duplicates).

I do not know how big is your library, but solution for you would be that you use centralized MM.DB stored on network drive and use it on both PCs.

There is two downsides to this ATM (should be improved in Future) and that is that you can't reliably use Same DB on both PCs at same time and second one is that access speed and MMW Library experience would be limited to bandwidth of your local network* (See below).

CONS:
- First one is technical/design issue where once one PC locks MM.DB other one looses access. We are working on solutions to improve this for MM5 final where multiple clients can access same MM.DB safely
- Second one can be sort of workaround if you set that before MMW is started and then access locally copy of MM.DB (I use this approach and copy Network MM.DB to local SSD that reads MM.DB at speeds 300-470 MBytes/s). This would be perfect if you always remember that after close of MMW you copy MM.DB back to network location. Some backup apps can be set to backup file on PC Shutdown that automatize process.

PROS:
- Both PCs have access to same library
- All updates are reflected on both PCs
- All Device sync profiles are accessible on both PCs
- Sync to devices works as if you only use One PC
- No Duplicates
- Much easier Media Management

I hope I explained this better and easy to understand. Unfortunately setting this up is not Plug and Play and you need to know basics of LAN functionality and if you want to set it up future proof then it can be costly to setup (personally well worth the effort and money). Feel free to ask more info if/when needed.

* = Personally I have 4GBit network bandwidth to My QNAP NAS where my 120k library is located using 4 QNAP LAN Ports connected to L2 Switch and set to to use LAG LACP protocol to maximize bandwidth to full speed of 4GBits where transfer from to Network is almost twice as fast to regular HDDs around 100-150MBytes/s and my MM.DB is 700MB.
Best regards,
Pavle
MediaMonkey lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
How to add Images to forum

gblum
Posts: 67
Joined: Sun Jul 15, 2007 10:56 am
Location: Rhode Island

Re: Sync from different PC's

Post by gblum » Fri Mar 02, 2018 10:32 am

Thank you so much for the insight. I'll probably go with the workaround not so much to avoid the performance issues as my LAN is full gigabit, Desktop wouldn't see much degradation and even though laptop is limited by Wi-Fi speed I don't see many issues streaming from NAS. I also don't have need to simultaneously access the library, but I've experienced the locking issues you talk about with my Outlook PST's. When something goes wrong and the app doesn't close cleanly, clearing those locks can be a mess.

Just as an FYI, however, how would I tell MMW to look at my NAS for it's DB? I don't see that setting in Options or the 'ini' file. Is it in the registry?

Thanks again for the quick response and great insight!

Peke
Posts: 11203
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
Contact:

Re: Sync from different PC's

Post by Peke » Mon Mar 05, 2018 5:39 am

Hi,
It should be easy.
1. Install MMW as Portable on Both PCs (Select portable on install) to c:\MMWPortable and do not start after install just finish installation
2. Start MMW, Cancel wizard, and Enter License
3. Close MMW
4. Create "MediaMonkey Library" folder on NAS and use MAp drive to Map the Library folder to drive M: (for me it was \\QNAPNAS\MediaMonkey\)
5. Copy your existing c:\Users\[USERNAME]\Appdata\roaming\MediaMonkey\MM.DB (from one PC that you decide it should be the masted Library) to M:\MM.DB on both PCs
6. Open c:\MMWPortable\Portable\MediaMonkey.ini and under [System] add line "DBName=M:\MM.DB"
7. Check if All is OK and then close MMW
8. Repeats do steps 1,2,3,6 on second PC

If all set correctly you should now share same Library on Both PC from network location.

Even you have 1GBit it will not be enough for both Library share and playback and Sync.
In order to use local library instead of network steps are same except step 6 is different and needs to be done each time MMW is started:
6. Before MMW start copy M:\MM.DB to c:\MMWPortable\Portable\MM.DB

After this initial setup Steps to start MMW on either PC is:
1. Copy M:\MM.DB to c:\MMWPortable\Portable\MM.DB
2. Start MMW
...
3.Close MMW
4.copy c:\MMWPortable\Portable\MM.DB to M:\MM.DB to have it ready, updated for next MMW start on any PC and it will also serve as backup.

If you know you can create simple PowersShell script or Batch File to automate the process.
Best regards,
Pavle
MediaMonkey lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
How to add Images to forum

gblum
Posts: 67
Joined: Sun Jul 15, 2007 10:56 am
Location: Rhode Island

Re: Sync from different PC's

Post by gblum » Mon Mar 05, 2018 8:14 am

Thank you very much.

Post Reply