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 1
WebService and Mobile Access
TV4Home - WCF Webservice for MediaPortal TV Server
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="DieBagger" data-source="post: 703601" data-attributes="member: 56421"><p>Are you sure it is a good idea to only allow one access at a time? Even downloading channel/program information can take quite some time for a client with a bad internet connection and this would block other clients that are e.g. in the lan and expect to get their info instantly.</p><p></p><p>Regarding the streaming, I didn't mean a fully fledged streaming component, just a way to download the recording so I can transfer it to the device. </p><p></p><p>[CODE]</p><p> public Stream FS_GetRecording(string path)</p><p> {</p><p> if (System.IO.File.Exists(path))</p><p> {</p><p> FileStream fs = File.OpenRead(path);</p><p> return fs;</p><p> }</p><p> return null;</p><p> }</p><p>[/CODE]</p><p></p><p>And yes, this could also be done through the gma webservice or streaming webservice but in cases where only the tv4home webservice is installed it would come in handy.</p><p></p><p></p><p></p><p>Yes that should be enough imo, although I don't quite get why DurationInMinutes is needed if you have StartTime and EndTime <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" />...</p><p></p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="DieBagger, post: 703601, member: 56421"] Are you sure it is a good idea to only allow one access at a time? Even downloading channel/program information can take quite some time for a client with a bad internet connection and this would block other clients that are e.g. in the lan and expect to get their info instantly. Regarding the streaming, I didn't mean a fully fledged streaming component, just a way to download the recording so I can transfer it to the device. [CODE] public Stream FS_GetRecording(string path) { if (System.IO.File.Exists(path)) { FileStream fs = File.OpenRead(path); return fs; } return null; } [/CODE] And yes, this could also be done through the gma webservice or streaming webservice but in cases where only the tv4home webservice is installed it would come in handy. Yes that should be enough imo, although I don't quite get why DurationInMinutes is needed if you have StartTime and EndTime ;)... :thx: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
TV4Home - WCF Webservice for MediaPortal TV Server
Contact us
RSS
Top
Bottom