Home / 03_PiPlayerDemon
Name Modified Size InfoDownloads / Week
Parent folder
OTVA_Pi_PlayServer-0.0.3.tar.gz 2016-12-23 17.3 kB
OTVA_Pi_PlayServer-0.0.2.tar.gz 2016-12-20 13.3 kB
Totals: 2 Items   30.7 kB 0
--------------- ENG ----------------------------------------------
FIRST OF ALL YOU HAVE TO MOUNT THE STORAGE [WHERE TO PUT CONTENT TO BROADCAST]
NB: better if the mount point was the same for all the machines

1) make a mount point for OTVA media root:
mkdir /mnt/Qnap2OTVA/

2) make an hidden file to store credentials to the shared folder:
vi /root/.credQnap2

writ in those two lines:
username=yourshareuseraccount
password=yoursharepass
save with ESC and then :wq (write and quit command)

3) add that line to your fstab with:
vi /etc/fstab

insert the line:
//ip_of_your_NAS_unit/OTVA_share  /mnt/Qnap2OTVA  cifs credentials=/root/.credQnap2,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

ESC+ :wq to write and quit editor. Now reboot to mount the share

--------------- ITA ----------------------------------------------
PRIMA DI TUTTO DOVRETE MONTARE LO STORAGE [DOVE METTERE I CONTENUTI CHE VERRANNO TRASMESSI]
NB: sarebbe bene che il nome del punto di mount fosse lo stesso per tutte le macchine

1) creare un punto di mount per la cartella dei media di OTVA:
mkdir /mnt/Qnap2OTVA/

2) creare un file nascosto non le credenziali d'accesso allo storage:
vi /root/.credQnap2
e metteteci dentro queste due linee (ovviamente mettete username e password opportuni):
username=yourshareuseraccount
password=yoursharepass
salvate cone ESC e poi :wq (ovvero il comando write e quit)

3) aggiungete una riga al vostro fstab:
vi /etc/fstab
mettendoci una cosa del tipo:
//192.168.1.61/OTVA_Media_Root  /mnt/Qnap2OTVA  cifs credentials=/root/.credQnap2,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

ovviamente salvate e riavviate la vostra macchina
Source: readme.txt, updated 2013-03-21