Page 1 of 1

[App] PVR to NFS ES series

Posted: Sat Jun 18, 2016 10:15 pm
by slodki
I've created simple script to mount NFS share as separate virtual USB device recognized as PVR ready.
NFS share could be empty or can be copy of real USB device previously used with TV (CONTENTS dir and .cm* files must be copied).
New USB device is added after SamyGO Virt, registered as xfs formatted (as expected in ES). Correct NFS share size and free space is displayed.

Script can add and remove PVR share on demand without TV reset with start/stop command.

Usage:
  • First root and install latest samyGO as usual.
  • Setup vusb - check if SamyGO Virt. device is working.
  • Extract attached archives and copy 80_80_PVRtoNFS.init to /mnt/etc/init.d
  • Edit PVRSERVER and PVRPATH in script to your needs.
  • To add new virtual USB PVR device and mount NFS share execute

    Code: Select all

    sh /mnt/etc/init.d/80_80_PVRtoNFS.init start
  • To remove device and unmount share execute

    Code: Select all

    sh /mnt/etc/init.d/80_80_PVRtoNFS.init stop
  • Autostart - change permisions

    Code: Select all

    chmod +x /mnt/etc/init.d/80_80_PVRtoNFS.init
Actions are logged to /dtv/PVRtoNFS.log.
SpoilerShow

Code: Select all

Started...
Using /dtv/usb/sdk for nas:/c/pvr
mount -o soft,tcp,nolock nas:/c/pvr /dtv/usb/sdk
Adding sdk USB device to usblog
PVR ready to save on nas:/c/pvr using /dtv/usb/sdk
Stopped...
Removing sdk USB device from usblog
NFS share unmounted
PRV on nas:/c/pvr using /dtv/usb/sdk removed
Device is registered in /dtv/usb/usblog as:

Code: Select all

[sdk]
Vendor : SamyGO Virt.
Product : PVR
Serial : Q80VQLFL
Devpath : 11
Lun : 0
ScsiDevicePath : /dev/sdk
MountDir : /dtv/usb/sdk
FileSystem : xfs
Tested on ES6800.

Re: [App] PVR to NFS ES series

Posted: Sat Jun 18, 2016 10:21 pm
by zoelechat
Errr... sorry, but I don't think samyGOso is needed. samyGOso is not SamyGO, you can remove that requirement :)

ps: samyGOso (=binary) use is to inject .so libs. SamyGO (=root) itself has no version number.

Re: [App] PVR to NFS ES series

Posted: Sun Jun 19, 2016 9:28 am
by slodki
Yeah, it was copy/paste... corrected.

Re: [App] PVR to NFS ES series

Posted: Sun Nov 13, 2016 10:01 am
by meiser
Works nicely, thanks!

Re: [App] PVR to NFS ES series

Posted: Sun Aug 26, 2018 2:21 pm
by meet37
Hello ! please tell me, I want to make the record is saved to the hard disk of computers running Windows , how do I properly fill out the config ? I do a config of a type 192.168.1.73:/f/samsvideo, I opened the General access to this folder, but nothing turns out
thanks in advance !!

Re: [App] PVR to NFS ES series

Posted: Sun Aug 26, 2018 8:02 pm
by notengo13
meet37 wrote: Sun Aug 26, 2018 2:21 pm Hello ! please tell me, I want to make the record is saved to the hard disk of computers running Windows , how do I properly fill out the config ? I do a config of a type 192.168.1.73:/f/samsvideo, I opened the General access to this folder, but nothing turns out
thanks in advance !!
You need few things to do before.
1st config file: yourIP://format C:/Install Linux/configNFS/mounts/pathToYourHDD/samsvideo