home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Language specific support
Deutsches MediaPortal Forum
Plugins & Skins für das MediaPortal
Plugins & Erweiterungen
Wie starte ich den Tvservice per Wshshell ?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Golf4" data-source="post: 287392" data-attributes="member: 44559"><p>Hi,</p><p>brauche für mein Updatesript via -PVRS und DVBviewer mal ne kleine Hilfe.</p><p>Momentan habe ich dieses script in Arbeit:</p><p></p><p>####</p><p>' VB Script Document</p><p>option explicit</p><p></p><p>dim oWmi, sWmiO, oQResult, oProcess, WshShell, iRet</p><p></p><p>Set oWmi = GetObject("winmgmts:")</p><p>sWmio = "select * from Win32_Process where name='TvService.exe'"</p><p>Set oQResult = oWmi.Execquery(sWmio)</p><p> For Each oProcess In oQResult</p><p> iRet = oProcess.Terminate(1)</p><p> Next</p><p>Set oWmi = Nothing</p><p></p><p>set WshShell = WScript.CreateObject("WScript.Shell")</p><p></p><p>WScript.Sleep 5000</p><p></p><p>WshShell.Run """C:\Program Files\DVBViewer\dvbviewer2xmltv.exe""", 0, true</p><p></p><p>WScript.Sleep 5000</p><p></p><p>WshShell.Run """C:\Program Files\Team MediaPortal\MediaPortal TV Server\TvService.exe""", 9</p><p></p><p>WScript.Sleep 5000</p><p>####</p><p></p><p></p><p>Ich möchte aus Sicherheit den Tvservice vor dem Update stoppen danach wieder starten.</p><p> </p><p>Der Start und Update funktionieren soweit, nur beim Start des TvService kommt diese Meldung:</p><p></p><p><a href="http://www.bilder-hosting.info/viewer.php?id=bwy1217155260c.jpg" target="_blank"><img src="http://www.bilder-hosting.info/vorschau/bwy1217155260c.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Ich habe es auch schon mit "Start Tvservice" oä, versucht aber irgendwo mach ich einen Fehler.</p><p></p><p>Hat jemand Ahnung von WshShell?</p><p></p><p>Danke!</p></blockquote><p></p>
[QUOTE="Golf4, post: 287392, member: 44559"] Hi, brauche für mein Updatesript via -PVRS und DVBviewer mal ne kleine Hilfe. Momentan habe ich dieses script in Arbeit: #### ' VB Script Document option explicit dim oWmi, sWmiO, oQResult, oProcess, WshShell, iRet Set oWmi = GetObject("winmgmts:") sWmio = "select * from Win32_Process where name='TvService.exe'" Set oQResult = oWmi.Execquery(sWmio) For Each oProcess In oQResult iRet = oProcess.Terminate(1) Next Set oWmi = Nothing set WshShell = WScript.CreateObject("WScript.Shell") WScript.Sleep 5000 WshShell.Run """C:\Program Files\DVBViewer\dvbviewer2xmltv.exe""", 0, true WScript.Sleep 5000 WshShell.Run """C:\Program Files\Team MediaPortal\MediaPortal TV Server\TvService.exe""", 9 WScript.Sleep 5000 #### Ich möchte aus Sicherheit den Tvservice vor dem Update stoppen danach wieder starten. Der Start und Update funktionieren soweit, nur beim Start des TvService kommt diese Meldung: [URL=http://www.bilder-hosting.info/viewer.php?id=bwy1217155260c.jpg][IMG]http://www.bilder-hosting.info/vorschau/bwy1217155260c.jpg[/IMG][/URL] Ich habe es auch schon mit "Start Tvservice" oä, versucht aber irgendwo mach ich einen Fehler. Hat jemand Ahnung von WshShell? Danke! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Language specific support
Deutsches MediaPortal Forum
Plugins & Skins für das MediaPortal
Plugins & Erweiterungen
Wie starte ich den Tvservice per Wshshell ?
Contact us
RSS
Top
Bottom