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
MediaPortal 2
Plugin Development
Featured Plugins
UPnP / DLNA Media Server
UPnP / DLNA Media Server for MediaPortal 2
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="FreakyJ" data-source="post: 1152879" data-attributes="member: 106003"><p>[USER=17886]@MJGraf[/USER] </p><p>I have two issues with the ProcessUtils.TryExecuteAsync:</p><p>1) I can't abort the process: <a href="https://github.com/MediaPortal/MediaPortal-2/commit/9ae2a1ed5c4c2899f5be2c234a9b5717f638027c#diff-8319435bd663bff8ec96d34820d3b914R2350" target="_blank">https://github.com/MediaPortal/MediaPortal-2/commit/9ae2a1ed5c4c2899f5be2c234a9b5717f638027c#diff-8319435bd663bff8ec96d34820d3b914R2350</a></p><p>I can check "executionResult.IsCanceled", but I don't have any possibility to actually cancel the task <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>2) ProcessUtils.TryExecuteAsync assumes that the standard output is a string, but that is not always the case. FFMpeg uses the Standard Output to stream binary data and uses the standard Error for all text messages.</p><p>I tried to implement this, but it looked so hacked that I wanted to ask you for your input <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="FreakyJ, post: 1152879, member: 106003"] [USER=17886]@MJGraf[/USER] I have two issues with the ProcessUtils.TryExecuteAsync: 1) I can't abort the process: [URL]https://github.com/MediaPortal/MediaPortal-2/commit/9ae2a1ed5c4c2899f5be2c234a9b5717f638027c#diff-8319435bd663bff8ec96d34820d3b914R2350[/URL] I can check "executionResult.IsCanceled", but I don't have any possibility to actually cancel the task :( 2) ProcessUtils.TryExecuteAsync assumes that the standard output is a string, but that is not always the case. FFMpeg uses the Standard Output to stream binary data and uses the standard Error for all text messages. I tried to implement this, but it looked so hacked that I wanted to ask you for your input :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Featured Plugins
UPnP / DLNA Media Server
UPnP / DLNA Media Server for MediaPortal 2
Contact us
RSS
Top
Bottom