VDR Portal
Register Calendar Members List Team Members Search Frequently Asked Questions Gallery Go to the Main Page

VDR Portal » Developer » VDR Plugins » Record on Server Plugin » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites
Post New Thread Post Reply
Go to the bottom of this page Record on Server Plugin
Author
Post « Previous Thread | Next Thread »
uxtuner
Veteran


images/avatars/avatar-1233.gif

Registration Date: 01.10.2002
Posts: 757

Record on Server Plugin Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hallo,

gibt es ein plugin, daß bei drücken der roten Taste eine Aufnahme auf dem Server veranlasst?

Problem:
Meine Clients haben nur eine Karte, der Server mehrere - schau ich mir was an und sehe, daß auf einem anderen Kanal was läuft was ich mir gerne anschauen möchte muß ich erstmal zum Server laufen und da die Aufnahme programmieren

__________________
Gruss
Uwe
----
Client I + II: Asus Pundit P4-P5N9300, Intel Core Duo 2,5Ghz,TBS 6920, Lirc CIR port, Bild/Ton via HDMI
Server: M3N WS, TBS 6920, TT-1600, DVB-C
Software: Ubuntu 9.10, Kernel 2.6.31, VDR 1.7.9, XBMC, vdpau, xineliboutput, xine (Installation siehe hier)

26.12.2005 11:10 uxtuner is offline Send an Email to uxtuner Search for Posts by uxtuner Add uxtuner to your Buddy List
uxtuner
Veteran


images/avatars/avatar-1233.gif

Registration Date: 01.10.2002
Posts: 757

Thread Starter Thread Started by uxtuner
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

soviele REAds aber keine Antwort ....

Ich hab mir mittlerweile mit einem Cron Script beholfen, das den lokalen Timer via svdrsend.pl jede Minute ausliest, anschließend die Timer auf dem Server einträgt und lokal dann löscht.

Funktioniert prima (wenns jemanden interessiert, kanns ichs posten), aber es fehlt z.B. noch eine Abfrage ob der Server die Kapazität zum Aufnehmen hat

__________________
Gruss
Uwe
----
Client I + II: Asus Pundit P4-P5N9300, Intel Core Duo 2,5Ghz,TBS 6920, Lirc CIR port, Bild/Ton via HDMI
Server: M3N WS, TBS 6920, TT-1600, DVB-C
Software: Ubuntu 9.10, Kernel 2.6.31, VDR 1.7.9, XBMC, vdpau, xineliboutput, xine (Installation siehe hier)

27.12.2005 16:20 uxtuner is offline Send an Email to uxtuner Search for Posts by uxtuner Add uxtuner to your Buddy List
svkn svkn is a male
Routinier


Registration Date: 28.07.2004
Posts: 484
Herkunft: Potsdam

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

quote:
Original von uxtuner
Funktioniert prima (wenns jemanden interessiert, kanns ichs posten), aber es fehlt z.B. noch eine Abfrage ob der Server die Kapazität zum Aufnehmen hat


na dann las doch mal sehen, eventuell kann mir das auch helfen. Ich habe in dem Client gar keine Karte. Möchte aber gern den Server vom Client aus programmieren.

Gruss Sven

__________________
VDR1 : PIII - 550 Mhz - 256MB - 160 GB + 250 GB - DVD Brenner - 2 * DVB-S Budget - DXR3 - Etch + e-tobi
VDR2 : PII - 233 Mhz - 256MB - diskless - DXR3 - c't VDR5 + e-tobi
VDR3 : S100 - zendeb
27.12.2005 16:30 svkn is offline Send an Email to svkn Search for Posts by svkn Add svkn to your Buddy List
uxtuner
Veteran


images/avatars/avatar-1233.gif

Registration Date: 01.10.2002
Posts: 757

Thread Starter Thread Started by uxtuner
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Quit&Dirty:

#!/bin/bash
SCMD="/usr/lib/vdrdevel/svdrpsend.pl"
SPORT="2001"
SCLT="localhost"
SSRV="servername"
SDIR="SERVER~"

IFS="
"
for recording in $($SCMD -d $SCLT -p $SPORT LSTT | grep "^250"|sed "s/250.//g" )
do
IFS=":"
check=($recording)
no=$(echo ${check[0]} | awk '{print $1}')
check[0]=$(echo ${check[0]} | awk '{print $2}')
NEWSTRING="${check[0]}:${check[1]}:${check[2]}:${check[3]}:${check[4]}:${ch
eck[5]}:${check[6]}:${SDIR}${check[7]}"
$SCMD -d $SSRV -p $SPORT NEWT "$NEWSTRING"
$SCMD -d $SCLT -p $SPORT MODT 1 off
$SCMD -d $SCLT -p $SPORT DELT 1
done

und dazugehörige crontab:
* * * * * /etc/vdrdevel/command-hooks/record_on_server.sh

__________________
Gruss
Uwe
----
Client I + II: Asus Pundit P4-P5N9300, Intel Core Duo 2,5Ghz,TBS 6920, Lirc CIR port, Bild/Ton via HDMI
Server: M3N WS, TBS 6920, TT-1600, DVB-C
Software: Ubuntu 9.10, Kernel 2.6.31, VDR 1.7.9, XBMC, vdpau, xineliboutput, xine (Installation siehe hier)

This post has been edited 1 time(s), it was last edited by uxtuner: 27.12.2005 18:38.

27.12.2005 18:38 uxtuner is offline Send an Email to uxtuner Search for Posts by uxtuner Add uxtuner to your Buddy List
uxtuner
Veteran


images/avatars/avatar-1233.gif

Registration Date: 01.10.2002
Posts: 757

Thread Starter Thread Started by uxtuner
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

ich hab das script jetzt neu in perl geschrieben ...

Mit dieser Version wird zusätzlich geprüft ob:
- der zu sendende Timer nicht bereits auf dem Server existiert
- ob die Aufnahme überhaupt gemacht werden kann, da vielleicht andere Timer in der Zeit schon existieren

Attachment:
unknown record_on_server.pl.gz (1.02 KB, 640 downloads)


__________________
Gruss
Uwe
----
Client I + II: Asus Pundit P4-P5N9300, Intel Core Duo 2,5Ghz,TBS 6920, Lirc CIR port, Bild/Ton via HDMI
Server: M3N WS, TBS 6920, TT-1600, DVB-C
Software: Ubuntu 9.10, Kernel 2.6.31, VDR 1.7.9, XBMC, vdpau, xineliboutput, xine (Installation siehe hier)

05.01.2006 21:53 uxtuner is offline Send an Email to uxtuner Search for Posts by uxtuner Add uxtuner to your Buddy List
svkn svkn is a male
Routinier


Registration Date: 28.07.2004
Posts: 484
Herkunft: Potsdam

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

danke, werde das demächst mal ausprobieren.

Sven

__________________
VDR1 : PIII - 550 Mhz - 256MB - 160 GB + 250 GB - DVD Brenner - 2 * DVB-S Budget - DXR3 - Etch + e-tobi
VDR2 : PII - 233 Mhz - 256MB - diskless - DXR3 - c't VDR5 + e-tobi
VDR3 : S100 - zendeb
06.01.2006 09:27 svkn is offline Send an Email to svkn Search for Posts by svkn Add svkn to your Buddy List
theonlychriss theonlychriss is a male
Haudegen


Registration Date: 30.10.2003
Posts: 657
Herkunft: Bonn

Script angepasst Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hallo Uwe,

Dein Script gefiel mir so gut, dass ich es angepasst und (meiner Meinung nach) weiterentwickelt habe. Es liegt auf http://lcr.vdr-developer.org/downloads/remote_timers-0.1.tgz.
Wenn Du nichts dagegen hast, würde ich auch ein Announce damit machen, damit alle streamdev-user es nutzen könnten.

Viele Grüße
Chriss

__________________
Server: VDR 1.7.0, Gentoo, 2.6.31 Kernel
HW: AMD X2 4850, 2GB RAM, TT-S2-3200 + SkyStar 2, Asus M3A-H/HDMI, FritzCard-PCl., SeaSonic S12II 330W, WD 1,5TB Caviar Green, iMon-LCD, xine
Dienste: Router, Samba, DHCP, DNS, Mail, (T)FTP, HylaFax, VBox, LAMP, Portage-Mirror, VDR-Server für
Client: P3 1200MHz, DXR3, diskless, VDR 1.7.0, Gentoo, 2.6.16.14 Kernel
Desktop: AMD BE2400, xine, VDR 1.7.0, Gentoo
http://lcr.vdr-developer.org/

14.01.2006 15:49 theonlychriss is offline Send an Email to theonlychriss Search for Posts by theonlychriss Add theonlychriss to your Buddy List
uxtuner
Veteran


images/avatars/avatar-1233.gif

Registration Date: 01.10.2002
Posts: 757

Thread Starter Thread Started by uxtuner
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

kein Problem ...

PS: freut mich, war mein erstes Perl Script smile

__________________
Gruss
Uwe
----
Client I + II: Asus Pundit P4-P5N9300, Intel Core Duo 2,5Ghz,TBS 6920, Lirc CIR port, Bild/Ton via HDMI
Server: M3N WS, TBS 6920, TT-1600, DVB-C
Software: Ubuntu 9.10, Kernel 2.6.31, VDR 1.7.9, XBMC, vdpau, xineliboutput, xine (Installation siehe hier)

16.01.2006 19:43 uxtuner is offline Send an Email to uxtuner Search for Posts by uxtuner Add uxtuner to your Buddy List
LithiW
Jungspund


Registration Date: 11.12.2005
Posts: 44

RE: Script angepasst Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

quote:
Original von theonlychriss
Hallo Uwe,

Dein Script gefiel mir so gut, dass ich es angepasst und (meiner Meinung nach) weiterentwickelt habe. Es liegt auf http://lcr.vdr-developer.org/downloads/remote_timers-0.1.tgz.
Wenn Du nichts dagegen hast, würde ich auch ein Announce damit machen, damit alle streamdev-user es nutzen könnten.

Viele Grüße
Chriss


Hallo Chriss,

würde das dann auch mit einer MediaMVP funktionieren ??? Wo könnte man denn da das Script hinterlegen ? Hab gerade erst die Hardware bestellt und gehe bisher davon aus das ein rom auf die mvp geschoben wird und man da keine Scripte mitschieben kann...das wärs eigentlich was noch fehlt bei dieser Streaminglösung (ausser Timeshift...)

Gruß LithiW

__________________
Server: EasyVDR 0.602
P4 3,2/ 2GB / 3 x 750GB Raid5 / IMBA-9454G Motherboard mit 6 PCI-Slots
DVB-S: 1 x Hauppauge Nexus-S + 2xSkystar 2
-
Reelbox Avantgarde mit Netceiver extern ausgelagert
2 x Dual-DVB-S / 1 x DVB-S2
-
zus. Clients: MediaMVP m. Vomp / VLC

16.01.2006 19:58 LithiW is offline Send an Email to LithiW Search for Posts by LithiW Add LithiW to your Buddy List
theonlychriss theonlychriss is a male
Haudegen


Registration Date: 30.10.2003
Posts: 657
Herkunft: Bonn

RE: Script angepasst Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi LithiW,

weiss ich leider nicht, weil ich mich mit der MediaMVP nicht auskenne.
Sofern dort drauf ein VDR SVDRP-Kommandos empfangen kann, wäre es _möglich_, die Scripts zu nutzen (wenn ich jetzt keine Details übersehe). Auf dem VDR-Server müsste aber schon Perl laufen und die Scipts müssten dort abgelegt werden.

Viele Grüße
Chriss

__________________
Server: VDR 1.7.0, Gentoo, 2.6.31 Kernel
HW: AMD X2 4850, 2GB RAM, TT-S2-3200 + SkyStar 2, Asus M3A-H/HDMI, FritzCard-PCl., SeaSonic S12II 330W, WD 1,5TB Caviar Green, iMon-LCD, xine
Dienste: Router, Samba, DHCP, DNS, Mail, (T)FTP, HylaFax, VBox, LAMP, Portage-Mirror, VDR-Server für
Client: P3 1200MHz, DXR3, diskless, VDR 1.7.0, Gentoo, 2.6.16.14 Kernel
Desktop: AMD BE2400, xine, VDR 1.7.0, Gentoo
http://lcr.vdr-developer.org/

16.01.2006 20:14 theonlychriss is offline Send an Email to theonlychriss Search for Posts by theonlychriss Add theonlychriss to your Buddy List
LithiW
Jungspund


Registration Date: 11.12.2005
Posts: 44

RE: Script angepasst Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Leider hörts da schon mit meinen Kentnissen auf, keine Ahnung mal abwarten wenn ich das Teil ans laufen gebracht habe, evtl. kann ja auch jemand was dazu schreiben der sich mit der mvp auskennt. Perl auf LinVDR geht glaube ich. Trotzdem danke.

Gruß LithiW

__________________
Server: EasyVDR 0.602
P4 3,2/ 2GB / 3 x 750GB Raid5 / IMBA-9454G Motherboard mit 6 PCI-Slots
DVB-S: 1 x Hauppauge Nexus-S + 2xSkystar 2
-
Reelbox Avantgarde mit Netceiver extern ausgelagert
2 x Dual-DVB-S / 1 x DVB-S2
-
zus. Clients: MediaMVP m. Vomp / VLC

16.01.2006 20:34 LithiW is offline Send an Email to LithiW Search for Posts by LithiW Add LithiW to your Buddy List
Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
VDR Portal » Developer » VDR Plugins » Record on Server Plugin

www.vdr-portal.de VDR Portal © 2002-2006 by genka
Forum Software: Burning Board 2.3.4, Developed by WoltLab GmbH