yavdr-0.3

  • Hi, I am sorry if this have been answered somewhere already (perhaps in german ;)) ..


    Anyway.


    1. Wouldnt it be nice if a option to sleep before VDR is started is added? Now I added a sleep 10 in the vdr upstart script, but it would be nice if this was a option so I dont have to change everytime the script is updated.


    2. Running yavdr in "XBMC-mode" with VNSI plugin sometimes xbmc crashes, and then VDR pops up, and I have to start XBMC again. Would be good if XBMC starts up again without user interaction.


    Maybe one (or both) of these things can be done today already, then please point me in the right direction.


    Thanks for a great distro, first time I am happy with my HTPC!

  • Zitat

    Original von smurfb
    1. Wouldnt it be nice if a option to sleep before VDR is started is added? Now I added a sleep 10 in the vdr upstart script, but it would be nice if this was a option so I dont have to change everytime the script is updated.


    Hi,


    we changed a lot of things in yaVDR 0.3 to make sure that the vdr is only started when everything's ready (i.e. all DVB devices are up). This works quite well so far.


    Question is: Do you really need the "sleep 10"? Did you try without it?


    regards
    Holger

  • This is definitly not required for dvb devices. If it is about some plugin which doesnt work else - there is a better workaround then a sleep. I can provide more details today evening

    VDR User: 87 - LaScala LC14B - LG/Phillipps 6,4" VGA Display | Asrock H61/U3S3 | G630T | 1x 16GB Mobi Mtron 3035 1x WD 750GB 2,5" |1x L4m DVB-S2 Version 5.4

  • Zitat

    Original von steffen_b
    This is definitly not required for dvb devices. If it is about some plugin which doesnt work else - there is a better workaround then a sleep. I can provide more details today evening


    We really look forward to that information :)


    ciao gerd

    vdr => p8b75-m lx / pentium g2020t / 8 GB Ram / zotac gt 630 / cine S2 V5.5 / 60 gb ocz ssd / 640 gb wd scorpio blue / display noritake 256x64-3900 / chenbro PC71023 gehaeuse / yavdr stable / softhddevice


    spielsystem => p8b75-m le / intel core i3 3220T / ubuntu lts 14.04 / 16 GB ram / zotac gt 630 / cine S2 V6.2 / yavdr stable pakete / softhddevice / pulseaudio+alsa


    spielwiese => Zotac Zbox ID45 / 120 GB mSATA / via Satip => Octopus Net / yavdr stable / softhddevice

  • i could imagine something like this helps:


    http://pastebin.com/aBWkj1PN


    Code
    # vdr-network.conf
    start on starting vdr 
    
    
    task
    
    
    script 
      while ! status network-interface INTERFACE=eth0 | grep -q running ; do sleep 1 ; done
    end script


    put to /etc/init/vdr-network.conf.


    This should delay vdr until network is up. Think we had the discussion earlier. (for example mcli plugin should need that, other maybe too)

    VDR User: 87 - LaScala LC14B - LG/Phillipps 6,4" VGA Display | Asrock H61/U3S3 | G630T | 1x 16GB Mobi Mtron 3035 1x WD 750GB 2,5" |1x L4m DVB-S2 Version 5.4

  • shure that i have only to insert this script in /etc/init/ ?
    because it doesn't do his job :(

    vdr => p8b75-m lx / pentium g2020t / 8 GB Ram / zotac gt 630 / cine S2 V5.5 / 60 gb ocz ssd / 640 gb wd scorpio blue / display noritake 256x64-3900 / chenbro PC71023 gehaeuse / yavdr stable / softhddevice


    spielsystem => p8b75-m le / intel core i3 3220T / ubuntu lts 14.04 / 16 GB ram / zotac gt 630 / cine S2 V6.2 / yavdr stable pakete / softhddevice / pulseaudio+alsa


    spielwiese => Zotac Zbox ID45 / 120 GB mSATA / via Satip => Octopus Net / yavdr stable / softhddevice

  • Try this one, sorry didnt see your post ...


    Code
    start on starting vdr
    
    
    task
    
    
    script
    until status network-interface INTERFACE=eth0 | grep -q running ; do sleep 1 ; done
    end script


    and yes this should be enough, it says that this task needs to be completed before vdr starts (start on starting vdr) (tested this and it works)

    VDR User: 87 - LaScala LC14B - LG/Phillipps 6,4" VGA Display | Asrock H61/U3S3 | G630T | 1x 16GB Mobi Mtron 3035 1x WD 750GB 2,5" |1x L4m DVB-S2 Version 5.4

    Einmal editiert, zuletzt von steffen_b ()

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!