mengoshmink
mengoshmink, I just wanted to let you know I finished the script that allows me to host my media from an NFS server while allowing my WD TV Live to have it's library, write meta data/cover art to the directory without giving the TV Live write access to my movie files.
Here's the current test environment I have set up on my system. cat /etc/exports /home/garrett/VideoTest/Videos1 *(rw,async) Video Directories and permissions drwxrwxrwx 4 garrett garrett 4096 Jun 1 14:50 Videos1 # WD TV Live writeable, houses hard links to files drwxr-xr-x 2 garrett garrett 4096 Apr 8 14:53 Videos2 # secure, houses movie files Movie file in writeable directory(Videos1) -rw-r--r-- 3 garrett garrett 1775807500 Jan 16 2014 Star Wars Episode 2.mkv Movie file in secure RO movie directory(Videos2) -rw-r--r-- 3 garrett garrett 1775807500 Jan 16 2014 Star Wars Episode 2.mkv script #!/bin/bash SOURCEPATH="/home/garrett/VideoTest/Videos2/" TARGETPATH="/home/garrett/VideoTest/Videos1/" cd ${SOURCEPATH} ls *mkv | while read LSRESULTS do cd ${TARGETPATH} if [ ! -a "${LSRESULTS}" ]; then ln "${SOURCEPATH}${LSRESULTS}" "${TARGETPATH}${LSRESULTS}" fi done #END# |
|
All times are GMT -5. The time now is 10:14 PM. |