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
Development
General Development (no feature request here!)
Stacked files
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="Mr Hipp" data-source="post: 45181" data-attributes="member: 19440"><p>Hi everyone,</p><p></p><p>I have made a fix for a problem with stacked files.</p><p></p><p>When Media Portal shows a file list that contains stacked files, then only the size of the first file is shown (The sum of all stacked files should be show). I have made a simple fix that corrects this issue.</p><p></p><p>In GUIVideofiles.cs / LoadDirectory</p><p></p><p>...</p><p> if (Utils.ShouldStack(item1.Path, item2.Path))</p><p> {</p><p> if (String.Compare(item1.Path, item2.Path, true) > 0)</p><p> {</p><p> addItem = false;</p><p> // Update to reflect the stacked size</p><p> item2.FileInfo.Length +=item1.FileInfo.Length;</p><p> }</p><p> }</p><p>...</p><p></p><p>How do I get my change commited to CVS.</p><p></p><p>P.S I also have some other fixes that I would like to have added.</p></blockquote><p></p>
[QUOTE="Mr Hipp, post: 45181, member: 19440"] Hi everyone, I have made a fix for a problem with stacked files. When Media Portal shows a file list that contains stacked files, then only the size of the first file is shown (The sum of all stacked files should be show). I have made a simple fix that corrects this issue. In GUIVideofiles.cs / LoadDirectory ... if (Utils.ShouldStack(item1.Path, item2.Path)) { if (String.Compare(item1.Path, item2.Path, true) > 0) { addItem = false; // Update to reflect the stacked size item2.FileInfo.Length +=item1.FileInfo.Length; } } ... How do I get my change commited to CVS. P.S I also have some other fixes that I would like to have added. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Stacked files
Contact us
RSS
Top
Bottom