Page 1 of 2

NFS recording questions

Posted: Sun Jan 10, 2016 11:20 pm
by Clon
Hi,

I finaly got my NFS recording running yeee! :mrgreen:

Now i have a few question about it:

- At startup my TV will always tell me that there are new USB (local - where SamyGO is on it and virtual - where my recorings are listet) drives located... is there any way to ignor those messages?

- My recorings (.ts) will send to my NAS - OK / but there will also be a folder (CONTENS) and files like .cip .inf .srf and so on saved on my SamyGO USB which will be full after few records I think... is there any way to prevent those files?

- Will recordings work if I programm recordings at night (USB popup is shown?) and my startup script will start after 20sec. so is it possible to get the recording starting earlier to prevent missing beginnings?

- My channels will not be recognized? "2016.01.10_21h57_ - .ts" I've used the standard ts2filename file?

Clon

Re: NFS recoring questions

Posted: Mon Jan 11, 2016 11:11 am
by zoelechat
Clon wrote:- At startup my TV will always tell me that there are new USB (local - where SamyGO is on it and virtual - where my recorings are listet) drives located... is there any way to ignor those messages?
Yes: viewtopic.php?f=75&t=8828
Clon wrote:- My recorings (.ts) will send to my NAS - OK / but there will also be a folder (CONTENS) and files like .cip .inf .srf and so on saved on my SamyGO USB which will be full after few records I think... is there any way to prevent those files?
You need at least "buffer" for current recording, then you can automatically delete these files as soon as recording is finished by adding a line doing so to ts2filename script: viewtopic.php?f=63&t=8108&p=77762#p77762
Clon wrote:- Will recordings work if I programm recordings at night (USB popup is shown?) and my startup script will start after 20sec. so is it possible to get the recording starting earlier to prevent missing beginnings?
TV powers on 3min before record starts, so it's largely enough for "everything" to load in the background, popup doesn't matter.
To schedule some time before/after, check there: viewtopic.php?f=63&t=8244
Clon wrote:- My channels will not be recognized? "2016.01.10_21h57_ - .ts" I've used the standard ts2filename file?
Are you sure to have correctly extracted provided in archive libDumpTitles.so, in addition to ts2filename? It's mandatory to get channel/title (as well as correct EPG of course :) ).

Re: NFS recording questions

Posted: Mon Jan 11, 2016 5:49 pm
by Clon
Hi zoelechat,

Thanks for your fast replay. I'm not able to execute some commands :(

USB Problem:
VDLinux#> samyGOso -A -B -l /mnt/opt/privateer/usr/libso/libUSBPopDown_30s.so
samyGOso v1.2.2 (c) bugficks 2013
samyGOso: invalid option -- 'A'
usage: samyGOso -p PID {-c CONFIG | -l /full/path/to/inject.so [-r (=resident)]} [-d (=debug on)] [-a (=add libc addressoffset )] [arg0,...,argN]

Recording scedule:
VDLinux#> samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libZoelPVR.so
samyGOso v1.2.2 (c) bugficks 2013
samyGOso: invalid option -- 'A'
usage: samyGOso -p PID {-c CONFIG | -l /full/path/to/inject.so [-r (=resident)]} [-d (=debug on)] [-a (=add libc addressoffset )] [arg0,...,argN]

Naming of .ts and Buffer I will check now :)

Clon

EDIT: My recordings are now saved as: "20160111164956.ts" ? I do not know what I have changed?

Also deleting of files on my local USB does not work I've added the line here:
...
FileMask
OUT_PATH="${IN%/*}/${FILENAME}"
OUT_SUFFIX=""
OUT_NUM=1
while [ -e "${OUT_PATH}${OUT_SUFFIX}.ts" ] ; do
OUT_SUFFIX="(${OUT_NUM})"
OUT_NUM=$((OUT_NUM+1))
done
echo "[ts2filename] Renaming '$IN' to '${OUT_PATH}${OUT_SUFFIX}.ts'" >> /dtv/PVRtoTS.log
mv "$IN" "${OUT_PATH}${OUT_SUFFIX}.ts"
rm -f ${INF_FILE%.*}.*
exit 0
fi
done

Re: NFS recording questions

Posted: Mon Jan 11, 2016 6:07 pm
by zoelechat
ALWAYS use latest samyGOso: viewtopic.php?f=63&t=6186
ALWAYS use Notepad++ for edition, now you broken script :)

Re: NFS recording questions

Posted: Tue Jan 12, 2016 4:58 pm
by Clon
Hi,

Thank you for this hint :) everything is working now.

One little problem I got by renaming the files... on some channels the name will still be only the number of date+time.ts and will not contain the channel name and title... Is there any known issue with some channels where the script will not change the name as configured?

Clon

Re: NFS recording questions

Posted: Tue Jan 12, 2016 5:58 pm
by zoelechat
It's known at least by me, got the same issue :)
I've never been really bothered by it though. Maybe try to change 'sleep 1' in script to 2 or 3, it's possible that sometimes libDumpTitles is not as fast as expected.

Re: NFS recording questions

Posted: Tue Jan 12, 2016 6:16 pm
by Clon
zoelechat wrote:It's known at least by me, got the same issue :)
I've never been really bothered by it though. Maybe try to change 'sleep 1' in script to 2 or 3, it's possible that sometimes libDumpTitles is not as fast as expected.
Ok I will try :)

Now I've seen that a recording of this night was stopped by 4gb... is it configurable how big the file can be?

Clon

Re: NFS recording questions

Posted: Tue Jan 12, 2016 7:22 pm
by zoelechat
Yes, don't use FAT32 formatted drive where files can't be bigger than 4Gb :)

Re: NFS recording questions

Posted: Tue Jan 12, 2016 7:31 pm
by Clon
AHHH :lol:

I'm using FAT32 for the SamyGO USB stick which is attached to the TV. :?
Is it possible to:
- Turn of TV
- copy files on USB to PC
- format the USB drive to ... which format you prefeer?
- copy again the files from PC to USB
- attach the USB on TV
- Turn on the TV

- evrything is going as before?

Clon

Re: NFS recording questions

Posted: Tue Jan 12, 2016 7:36 pm
by zoelechat
Yes it should work with NTFS for example.