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: 1156585" data-attributes="member: 106003"><p>Thank you very much <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>You changed the ResourceProvider. I reused some code of that, so could you explain a bit more why you changed it? What the problem was?</p><p>Maybe this part could also be implemented in a more general way so that it can be reused? </p><p><a href="https://github.com/FreakyJ/MediaPortal-2/blob/FEAT_WifiRemoteForMP2/MediaPortal/Incubator/MP2Extended/ResourceAccess/WSS/stream/BaseClasses/BaseSendData.cs" target="_blank">https://github.com/FreakyJ/MediaPortal-2/blob/FEAT_WifiRemoteForMP2/MediaPortal/Incubator/MP2Extended/ResourceAccess/WSS/stream/BaseClasses/BaseSendData.cs</a></p><p><a href="https://github.com/FreakyJ/MediaPortal-2/blob/FEAT_WifiRemoteForMP2/MediaPortal/Incubator/MP2Extended/ResourceAccess/WSS/stream/Control/RetrieveStream.cs" target="_blank">https://github.com/FreakyJ/MediaPortal-2/blob/FEAT_WifiRemoteForMP2/MediaPortal/Incubator/MP2Extended/ResourceAccess/WSS/stream/Control/RetrieveStream.cs</a></p><p></p><p>I know it is ugly to copy code, but I didn't know how to do it otherwise...</p><p></p><p></p><p>I guess that is nor problem as long as you use the ffmpeg from FFMPeglib <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> And you used:</p><p>[code]using (ServiceRegistration.Get<IImpersonationService>().CheckImpersonationFor(((ILocalFsResourceAccessor)data.TranscodeData.InputResourceAccessor).CanonicalLocalResourcePath))[/code] Perfect!! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite23" alt=":sneaky:" title="Sneaky :sneaky:" loading="lazy" data-shortname=":sneaky:" /></p><p></p><p></p><p></p><p>That is a great idea <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> I pushed the latest changes to FFMPeg lib.</p><p>I think it should be implemented in a general way so that the calling fucntion can receive the output? What do you think?</p></blockquote><p></p>
[QUOTE="FreakyJ, post: 1156585, member: 106003"] Thank you very much :) You changed the ResourceProvider. I reused some code of that, so could you explain a bit more why you changed it? What the problem was? Maybe this part could also be implemented in a more general way so that it can be reused? [URL]https://github.com/FreakyJ/MediaPortal-2/blob/FEAT_WifiRemoteForMP2/MediaPortal/Incubator/MP2Extended/ResourceAccess/WSS/stream/BaseClasses/BaseSendData.cs[/URL] [URL]https://github.com/FreakyJ/MediaPortal-2/blob/FEAT_WifiRemoteForMP2/MediaPortal/Incubator/MP2Extended/ResourceAccess/WSS/stream/Control/RetrieveStream.cs[/URL] I know it is ugly to copy code, but I didn't know how to do it otherwise... I guess that is nor problem as long as you use the ffmpeg from FFMPeglib :) And you used: [code]using (ServiceRegistration.Get<IImpersonationService>().CheckImpersonationFor(((ILocalFsResourceAccessor)data.TranscodeData.InputResourceAccessor).CanonicalLocalResourcePath))[/code] Perfect!! :sneaky: That is a great idea :) I pushed the latest changes to FFMPeg lib. I think it should be implemented in a general way so that the calling fucntion can receive the output? What do you think? [/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