[App] PVR+ v1.xx - 2.xx by geo650

Here are software that related with Samsung B series TVs. Like hex editors, new version of BusyBox or internal software, app programs that will run in your TV hardware.:!:This forum is NOT FOR USER QUESTIONS or Problems.

rinaldinicri
Posts: 27
Joined: Tue Oct 04, 2011 12:12 am

Re: Record TV over USB

Post by rinaldinicri »

Not working even with full path.

I confirm you that:
-the script called from the shell works perfectly (/bin/sh /mtd_tlib/GGame/PVRplus/scripts/blue.sh)
-If I run the script pushing the blue button it do not work, but I can see the script running with "ps" command.

Please help
Thanks
rinaldinicri
Posts: 27
Joined: Tue Oct 04, 2011 12:12 am

Re: Record TV over USB

Post by rinaldinicri »

Hello,

any feedback about my problem? (see above: telnet command within the /mtd_tlib/GGame/PVRplus/scripts/blue.sh script)
I cannot understand why it fails? :-(
I think it is related to the way the script is submitted from PVRPlus
Please help ;)
Thanks
geo650
Official SamyGO Developer
Posts: 303
Joined: Wed Oct 07, 2009 12:03 pm

Re: Record TV over USB

Post by geo650 »

rinaldinicri wrote:...any feedback about my problem? (see above: telnet command within the /mtd_tlib/GGame/PVRplus/scripts/blue.sh script)
I cannot understand why it fails? :-(
I think it is related to the way the script is submitted from PVRPlus
I have no idea how to solve your problem but here are my 2 cents of how PVR+ calls your script. It creates a proxy script which calls such commands:

Code: Select all

opwd=`pwd`
cd /mtd_tlib/GGame/PVRplus/scripts
/mtd_tlib/GGame/PVRplus/scripts/blue.sh
cd $opwd
Proxy script is called using system() command.
Script execution ends after that proxy script reaches its end (or waits up to 10 seconds).


An idea: maybe it is easier to make and use an executable file for sending key buttons/codes without listening on TCP/IP port ?
rinaldinicri
Posts: 27
Joined: Tue Oct 04, 2011 12:12 am

Re: Record TV over USB

Post by rinaldinicri »

My need is to send a command to my Synology NAS on the network.
Therefore I need telnet.
The sending key it was just a test/debug step.

I also tryed now with PVR+ 3.0 but unfortunately I had always the same problem.
It is this problem ommon to everybody or is it only for me?

Thanks for help
geo650
Official SamyGO Developer
Posts: 303
Joined: Wed Oct 07, 2009 12:03 pm

Re: Record TV over USB

Post by geo650 »

rinaldinicri wrote:My need is to send a command to my Synology NAS on the network.
Therefore I need telnet.
The sending key it was just a test/debug step.

I also tryed now with PVR+ 3.0 but unfortunately I had always the same problem.
It is this problem ommon to everybody or is it only for me?

Thanks for help
You actually don't need telnet (I mean busybox telnet command). You need an application which can send a command through TCP/IP. It is possible to create such application and then call it from the script. The application has to be built for ARM CPU, of course.

EDIT:

One more idea:
1. Create a script that works well in a commandline; test it.
2. Call this script from within blue.sh script directly or with "&" at the end.
rinaldinicri
Posts: 27
Joined: Tue Oct 04, 2011 12:12 am

Re: Record TV over USB

Post by rinaldinicri »

I tested a blue.sh script as follow:

Code: Select all

#!/bin/sh
#
sh blue_my.sh &
blue_my.sh script use busybox telnet...

If I call blue.sh or blue_my.sh manually from shell it work perfectly.
If a call blue.sh pressing the blue button IT DO NOT WORK > I do not have telnet working...!?!?!?


The only difference that I see from ps command is in the STAT field:
script called by PVR:

Code: Select all

 1535 root        328 S N sh blue_my.sh 
 1572 root        180 S N sleep 30 
script manually called from shell:

Code: Select all

 1578 root        328 S   sh blue_my.sh 
 1619 root        180 S   sleep 30 
Any idea?
Can you please let me know if this problem is common for everybody or it happen only to me.

Thanks
steve-austin
Posts: 79
Joined: Tue Oct 20, 2009 8:04 pm

Re: Record TV over USB

Post by steve-austin »

ilie321 wrote:hello to all I'm new here and i want to say greeeeeeeeat job with PVR+

2. with NTFS-3G i can record only few secs even with low space warning off and the recording cant be found after tv is off or on PC

Requests :D : if is possible add ntfs support in new versions pls pls pls (tv reads ntfs hdds it cant write them?)
Same here, NTFS support will be great.
55B650 and 37B650 with patched firmware
mattberlin
SamyGO Project Donor
Posts: 140
Joined: Sun Jan 24, 2010 6:18 pm
Location: Germany

Re: Record TV over USB

Post by mattberlin »

Great application! It looks a lot better than the older samygopvr

Just one question: with the older samygopvr one could specify a specific folder in the ini file, e.g.:
; Recording directory search order.
; $(USB) in the beginning means the first available /dtv/usb/sd* directory
#TARGET=$(USB)/pvr:$(USB)
TARGET=/dtv/usb/sda1/Video/TV/!Recorded
In my case I chose a network drive which was mounted to a USB stick folder.

How can a specify a specific folder for recording in the new PVR+ 3.0 application?

Best regards
mattberlin
my TV: LE32B679

Post Reply

Return to “[B] Software”