![]() ![]() This is only syncing the files! There is no easy way to sync also the metadata between the two Plex. It does not work for the Series as each folder (season) contains obviously several episodes. Than, to be sure I don't have the same movie twice on the Unraid Server (with distinct encoding or resolution), I run this command in a SSH console on Unraid: find /mnt/user/Movies -type f -iname '*.mkv' -printf '%h\n'|sort|uniq -c | awk '$1 > 1'^C ![]() Next, on Synology, I move all movies and series respectively from /volume1/plex/new Movies and /volume1/plex/new Series into /volume1/plex/Movies or /volume1/plex/Series (* ). Rsync -ignore-existing -h -v -r -P -t /volume1/plex/New\ Movies/ /volume1/mount/Movies/Įcho "Cannot sync new Movies as Zeus is not mounted on /mount/Movies" If grep -qs '/volume1/mount/Movies ' /proc/mounts Rsync -ignore-existing -h -v -r -P -t /volume1/plex/New\ Series/ /volume1/mount/Series/Įcho "Cannot sync new Series as Zeus is not mounted on /mount/Series" If grep -qs '/volume1/mount/Series ' /proc/mounts Once I have a few new media, I turn on my Unraid Server and launch the following script in a SSH console (using Putty) on the Synology: #!/bin/bash According to Plex best practices, each movie is in its own folder. This is a guarantee that all are well uniquely identified with the title, year, resolution, season, episode, encoding, etc. ![]() On the Synology NAS, I have mounted the shares of the Unraid Server as CIFS Shared Folder:Įach time I have a new movie or serie, I copy it onto my Synology, respectively into /volume1/plex/new Movies or /volume1/plex/new Series.Īll movies and series are first renamed using filebot. On Unraid, I have two shares Moviesand Series to access respectively mnt/user/Movies and /mnt/user/Series. On Unraid, each library includes only one folder: Series TV includes /volume1/plex/Series and /volume1/plex/new Series.Movies includes /volume1/plex/Movies and /volume1/plex/new Movies.On Synology, each library includes two folders: In each Plex, I have two libraries: Movies and Series TV ATTENTION: this is only to sync the files, not the metadata. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |