INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Syncing via "local" copy  (Read 337 times)

Mr Swordfish

  • World Citizen
  • ***
  • Posts: 148
Syncing via "local" copy
« on: October 24, 2024, 04:32:49 pm »

I've never been able to successfully use the sync function in MC to go directly from Windows to Android, instead I sync to a local folder on the same hard drive as the library. That way data is only copied from one place on the disc to another and it is fast and works reliably.  I then use Resilio Sync to syncronize the Android player with the local copy.  I can't say I'm thrilled with Resilio, but it works.

My issue right now is that I'm running out of storage - my PC has a 1TB SSD, and my android player has a 1TB SD card, but with needing two copies of the synced material on the hard drive means I'm limited to half of whatever storage is left after all my other files.

A quick fix would be to just get another SD card, and use that to hold the local copy. Assuming that works. The file copy would be entirely within windows on the same PC, but it would be moving from one physical media to another and I'm not sure where the bottleneck is that makes the direct sync to Android fail - different OS or different physical media?

Wondering if anyone else has tried a similar approach? Comments appreciated. Thanks.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Syncing via "local" copy
« Reply #1 on: October 24, 2024, 05:15:42 pm »

Syncthing + syncthing-fork for android (for data and power saving features). No more wires.
Logged

Mr Swordfish

  • World Citizen
  • ***
  • Posts: 148
Re: Syncing via "local" copy
« Reply #2 on: October 24, 2024, 05:21:13 pm »

That seems like a candidate to replace Resilio Sync, but as far as I can tell it doesn't have the features that MC has, e.g. sync these playlists and make .m4a files to go along with them.

Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Syncing via "local" copy
« Reply #3 on: October 24, 2024, 05:51:20 pm »

That seems like a candidate to replace Resilio Sync, but as far as I can tell it doesn't have the features that MC has, e.g. sync these playlists and make .m4a files to go along with them.

Just buy a bigger hard drive, it will save you a lot of headaches. Even better, get an SSD and your "handheld" syncs will take a fraction of the time.
Logged

Mr Swordfish

  • World Citizen
  • ***
  • Posts: 148
Re: Syncing via "local" copy
« Reply #4 on: October 25, 2024, 09:18:16 am »

Yeah, that's the plan. I'm on Windows 10 and it turns into a pumpkin in a year, so replacing the entire PC hardware is scheduled for next summer.  I was thinking I could throw $50 at the problem now and kick the can down the road for a few months.

I have an SSD hard drive now, and plan to move it to the new PC to hold the local copy for syncing.  Again, the question is how much of a performance hit will I take by syncing to a different physical media vs copying files to the same drive.  I'm thinking "not much", but am curious if anyone else is using this approach and what their experience might be.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2663
Re: Syncing via "local" copy
« Reply #5 on: October 25, 2024, 09:52:34 am »

Theoretically copying to a separate drive should be faster than copying to the same drive since you aren't read/writing simultaneously to the same drive. But if that separate drive is a microSD card then it will be dog slow (don't do that to yourself when you are dealing with TBs of data). It sounds like you aren't keen on doing a full disk clone right now, if that's the case I would buy a 1-2TB external SSD to house your handheld sync files and then sync that wirelessly via syncthing to your phone. You can also attach it directly via OTG for the initial sync. That would only be $75-$150 depending on speed/capacity and you can easily replicate the setup on the new machine or use it for an external backup (or both).
Logged

Mr Swordfish

  • World Citizen
  • ***
  • Posts: 148
Re: Syncing via "local" copy
« Reply #6 on: October 29, 2024, 09:12:24 am »

Thanks.  That's the info I was looking for.
Logged

MikeO3

  • World Citizen
  • ***
  • Posts: 101
Re: Syncing via "local" copy
« Reply #7 on: October 30, 2024, 06:52:05 am »

A bit late joining in to the post but thought I would share what I have resolved to. Like you guys, been hit and miss sync direct to portable or memory cards and error free sync’ rate degrading with these large 1Tb memory cards. The time it takes is slow and frequent destinations full’s because files are not deleted or removed correctly.

I am fortunate enough to have a MS Storage space SSD volume set where I have created a raid0 partition of 1.1Tb (IE - the ~ target storage size with some space) and sync to that target for staging. Before I had this, I used an external Type-C SSD drive then this M2 enclosure this which works well for nvme storage. Nvme is cheap…. Card reader target is Type-C with memory card formatted as exFat.

Sync to local enables full speed from the NAS>Network>PC>SATA>RAID moving the bottleneck to the disk write (E:\). Then I overnight transfer to the card reader target (F:\) with robocopy which pegs the USB port but that's ok since we are now full throttle.

Code: [Select]
**** CHECK DRIVE LETTERS *****
robocopy E:\ F:\ /xd $Recycle.bin Boot "System Volume Information" "#Recycle" /E /MIR /R:2 /W:5 /Z /J /NP /NOOFFLOAD /MT:12

Code: [Select]
CHATGPT Recommendation
robocopy E:\ F:\ /xd $Recycle.bin Boot "System Volume Information" "#Recycle" /E /MIR /R:1 /W:1 /J /NP /NOOFFLOAD /MT:16

Code: [Select]
rsync --rsync-path="/usr/bin/rsync" --delete --ignore-errors --progress --exclude=\*.[C-c]ache --exclude=\*/Trash --exclude=\*/.thumbnails -ahvx /sourcepath /destpath
Hope this is helpful for someone. 😊
Logged
Pages: [1]   Go Up