Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


Donate Now Goal amount for this month: 100 EUR, Received: 100 EUR (100%)
Donate to support this site...

Results 1 to 5 of 5
  1. #1
    Junior Member Friend
    RDI - Board Default Avatar

    Join Date
    May 2007
    Location
    Viena, Austria
    Posts
    25
    Posts Thanks / Likes

    Default Telnet Start/Stop Ngrab recording

    As dori sa creez un script care sa se conecteze prin telnet la dreambox si sa porneasca sau sa opreasca Ngrab recording dar nu stiu care este comanda pentru ngrab.

    Se poate porni Ngrab recording din telnet fara sa intri in meniu de pe telecomanda? Daca da, cum?

  2. #2
    Member Mentor
    Join Date
    Mar 2003
    Location
    Romania
    Posts
    857
    Posts Thanks / Likes

    Default

    Se poate cu comenzi din webif, de ex. cu ceva de genul:

    Code:
    wget http://parola:[email protected]/cgi-bin/videocontrol?command=record
     
    wget http://parola:[email protected]/cgi-bin/videocontrol?command=stop
    am scris comenzile din memorie, sper ca nu am gresit sintaxa
    Evident 192.168.0.100 se inlocuieste cu IP-ul de la dream, si parola este parola de la dream.

    La fel se pot emula si comenzile de la telecomanda, in loc de videocontrol?command se foloseste: rc?codul_tastei_de_pe_telecomanda


    Quote Originally Posted by WEBcast View Post
    As dori sa creez un script care sa se conecteze prin telnet la dreambox si sa porneasca sau sa opreasca Ngrab recording dar nu stiu care este comanda pentru ngrab.

    Se poate porni Ngrab recording din telnet fara sa intri in meniu de pe telecomanda? Daca da, cum?

  3. #3
    Junior Member Friend
    RDI - Board Default Avatar

    Join Date
    May 2007
    Location
    Viena, Austria
    Posts
    25
    Posts Thanks / Likes

    Default

    Sugestia ta este buna numai ca in acest caz pornesc inregistrarea nativa din dreambox care se face pe partitia mount-ata (Metoda DVR).

    Eu doresc sa trimit "inregistrarea" catre serverul Ngrab (Metoda NGRAB).

    Am vazut ca in interfata web la meniul "Add Timer Event" poti selecta metoda de inregistrare DVR, NGRAB sau ZAP si deci exista undeva o comanda care poate fi setata ori din telnet ori prin serverul web cum ai sugerat tu.

    Subiectul ramane deschis, multumesc.

  4. #4
    Member Mentor
    Join Date
    Mar 2003
    Location
    Romania
    Posts
    857
    Posts Thanks / Likes

    Default

    Nu stiu mare lucru despre ngrab dar am vazut ca exista 2 pluginuri: ngrabstart si ngrabstop. Daca astea se folosesc ptr. a porni si opri inregistrarea, se poate utiliza webif ptr. a rula aceste pluginuri:
    Code:
    http://192.168.0.100/cgi-bin/startPlugin?path=/var/tuxbox/plugins/&name=ngrabstart.cfg
    
    http://192.168.0.100/cgi-bin/startPlugin?path=/var/tuxbox/plugins/&name=ngrabstop.cfg
    Se poate si cu AddTimerEvent:

    Code:
    http://192.168.0.100/addTimerEvent?type=regular&ref=' + channel + '&sday=' + sday + '&smonth=' + smonth + '&syear=' + syear + '&shour=' + shour + '&smin=' + smin + '&eday=' + eday + '&emonth=' + emonth + '&eyear=' + eyear + '&ehour=' +
     ehour + '&emin=' + emin + '&descr=' + descr + '&after_event=' + after_event + '&action=' + action
    In acest caz action poate fi dvr, ngrab sau zap

  5. #5
    Junior Member Friend
    RDI - Board Default Avatar

    Join Date
    May 2007
    Location
    Viena, Austria
    Posts
    25
    Posts Thanks / Likes

    Default

    Multumesc mult bbox, merge foarte bine solutia ta via http, asta mi-a rezolvat problema dar tot mai astept, de curiozitate, si o eventuala rezolvare prin telnet.

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to Top