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
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
season banners suddenly gone.
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="gibman" data-source="post: 383686" data-attributes="member: 25430"><p>I debugged the latest plugin code and found the culprit.</p><p></p><p>in dbbase.cs;</p><p></p><p>method: getRandomBanner ()</p><p></p><p>we call;</p><p>randImage = Helper.PathCombine(Settings.GetPath(Settings.Path.banners), randImage);</p><p></p><p>randImage is "\\\\server\\E\\install\\_Movie\\DVB\\software players\\mediaportal\\shared\\Thumbs\\MPTVSeriesBanners\\Heroes\\-langen-graphical/79501-g16.jpg"</p><p></p><p>after the call to ; Helper.PathCombine, randImage now looks a bit different. double backslashes stripped away.</p><p>"\\server\\E\\install\\_Movie\\DVB\\software players\\mediaportal\\shared\\Thumbs\\MPTVSeriesBanners\\Heroes\\-langen-graphical/79501-g16.jpg"</p><p></p><p>This makes the call to System.IO.File.Exists(randImage) return false. This is the reason as to why I dont see any season banners.</p><p></p><p>If I avoid calling Helper.PathCombine, then all is good.</p><p></p><p>I guess the fix should be done in the "Helper.PathCombine" method.</p><p>It should support UNC paths without stripping away too many back slashes <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>my mediaportaldirs.xml is;</p><p></p><p> <Dir id = "Database"> </p><p> <Path>\\server\E\install\_Movie\DVB\software players\mediaportal\shared\Database\</Path></p><p>....</p><p></p><p>/gibman</p></blockquote><p></p>
[QUOTE="gibman, post: 383686, member: 25430"] I debugged the latest plugin code and found the culprit. in dbbase.cs; method: getRandomBanner () we call; randImage = Helper.PathCombine(Settings.GetPath(Settings.Path.banners), randImage); randImage is "\\\\server\\E\\install\\_Movie\\DVB\\software players\\mediaportal\\shared\\Thumbs\\MPTVSeriesBanners\\Heroes\\-langen-graphical/79501-g16.jpg" after the call to ; Helper.PathCombine, randImage now looks a bit different. double backslashes stripped away. "\\server\\E\\install\\_Movie\\DVB\\software players\\mediaportal\\shared\\Thumbs\\MPTVSeriesBanners\\Heroes\\-langen-graphical/79501-g16.jpg" This makes the call to System.IO.File.Exists(randImage) return false. This is the reason as to why I dont see any season banners. If I avoid calling Helper.PathCombine, then all is good. I guess the fix should be done in the "Helper.PathCombine" method. It should support UNC paths without stripping away too many back slashes :) my mediaportaldirs.xml is; <Dir id = "Database"> <Path>\\server\E\install\_Movie\DVB\software players\mediaportal\shared\Database\</Path> .... /gibman [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
season banners suddenly gone.
Contact us
RSS
Top
Bottom