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
Graveyard
MPWebServices
Updated version for MediaPortal 1.1.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="vuego" data-source="post: 695672" data-attributes="member: 23741"><p>Thanks Oxan. Nice to skip the file copying of the old versions <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>I've got problems with displaying TV logos. It might be that I've changed the streaming port, I dunno.</p><p></p><p>If I change Utils.cs</p><p>[CODE]</p><p> string fn = paths.tv + "\\" + name + ".png";</p><p> if (File.Exists(fn))</p><p> ret = [COLOR="Red"]Utils.GetStreamURL() + [/COLOR]"/PictureStreamer.aspx?tvlogo=" + HttpUtility.UrlEncode(name);</p><p> }</p><p>[/CODE]</p><p>to</p><p>[CODE]</p><p> string fn = paths.tv + "\\" + name + ".png";</p><p> if (File.Exists(fn))</p><p> ret = "/PictureStreamer.aspx?tvlogo=" + HttpUtility.UrlEncode(name);</p><p> }</p><p>[/CODE]</p><p>it works just fine and I can see all logos correctly.</p><p></p><p>Do you know why Utils.GetStreamURL() won't work for me and do we need it at all?</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="vuego, post: 695672, member: 23741"] Thanks Oxan. Nice to skip the file copying of the old versions :) I've got problems with displaying TV logos. It might be that I've changed the streaming port, I dunno. If I change Utils.cs [CODE] string fn = paths.tv + "\\" + name + ".png"; if (File.Exists(fn)) ret = [COLOR="Red"]Utils.GetStreamURL() + [/COLOR]"/PictureStreamer.aspx?tvlogo=" + HttpUtility.UrlEncode(name); } [/CODE] to [CODE] string fn = paths.tv + "\\" + name + ".png"; if (File.Exists(fn)) ret = "/PictureStreamer.aspx?tvlogo=" + HttpUtility.UrlEncode(name); } [/CODE] it works just fine and I can see all logos correctly. Do you know why Utils.GetStreamURL() won't work for me and do we need it at all? :thx: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Graveyard
MPWebServices
Updated version for MediaPortal 1.1.2
Contact us
RSS
Top
Bottom