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 Films
AMC Updater v0.8.0 Now Available!
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="Guzzi" data-source="post: 604343" data-attributes="member: 55213"><p><strong>AW: AMC Updater v0.8.0 Now Available!</strong></p><p></p><p>rechecked an old bug, that is still in:</p><p></p><p>5.) Audiobitrate and Videobitrate are incorrectly written to DB:</p><p></p><p>As mentioned and confirmed by Orionhall, the audiobitrate retrieved from mediainfo.dll is incorrectly calculated; it is divided by 1024, but should be divided by 1000 to write correct values in DB.</p><p>See also <a href="https://forum.team-mediaportal.com/my-films-164/amc-updater-v0-8-0-now-available-46463/index19.html#post382025" target="_blank">https://forum.team-mediaportal.com/my-films-164/amc-updater-v0-8-0-now-available-46463/index19.html#post382025</a></p><p>How to reproduce:</p><p>Import a movie (or use "test-tab") with e.g. AC3 audio - it shows 438 kbps - instead 448. Same error for all other bitrates.</p><p></p><p>Checked the latest Sources I could find (I think 0.7.x or 0.8.x) it's the following lines in Module1.vb:</p><p></p><p></p><p> Case "videobitrate" 'divide by 1024</p><p> Try</p><p> TempString = MI.Get_(StreamKind.Visual, 0, "Bitrate")</p><p> Integer.TryParse(TempString, TempInteger)</p><p> If TempInteger <> 0 Then</p><p> ReturnValue = CInt(TempInteger / 1024).ToString</p><p></p><p></p><p> Case "audiobitrate" 'divide</p><p> Try</p><p> TempString = MI.Get_(StreamKind.Audio, 0, "Bitrate")</p><p> Integer.TryParse(TempString, TempInteger)</p><p> If TempInteger <> 0 Then</p><p> ReturnValue = CInt((TempInteger / 1024)).ToString</p><p></p><p>So it's only changing those 2 lines to </p><p> "ReturnValue = CInt(TempInteger / 1000).ToString"</p><p>to fix that <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>Guzzi</p><p></p><p></p><p>PS: Can you post the latest sources from AMCupdater (and MyFilms) somewhere? (Or check then in to Sourcefourge MP-Plugins) ... the last available Sources are very old...</p></blockquote><p></p>
[QUOTE="Guzzi, post: 604343, member: 55213"] [b]AW: AMC Updater v0.8.0 Now Available![/b] rechecked an old bug, that is still in: 5.) Audiobitrate and Videobitrate are incorrectly written to DB: As mentioned and confirmed by Orionhall, the audiobitrate retrieved from mediainfo.dll is incorrectly calculated; it is divided by 1024, but should be divided by 1000 to write correct values in DB. See also [url]https://forum.team-mediaportal.com/my-films-164/amc-updater-v0-8-0-now-available-46463/index19.html#post382025[/url] How to reproduce: Import a movie (or use "test-tab") with e.g. AC3 audio - it shows 438 kbps - instead 448. Same error for all other bitrates. Checked the latest Sources I could find (I think 0.7.x or 0.8.x) it's the following lines in Module1.vb: Case "videobitrate" 'divide by 1024 Try TempString = MI.Get_(StreamKind.Visual, 0, "Bitrate") Integer.TryParse(TempString, TempInteger) If TempInteger <> 0 Then ReturnValue = CInt(TempInteger / 1024).ToString Case "audiobitrate" 'divide Try TempString = MI.Get_(StreamKind.Audio, 0, "Bitrate") Integer.TryParse(TempString, TempInteger) If TempInteger <> 0 Then ReturnValue = CInt((TempInteger / 1024)).ToString So it's only changing those 2 lines to "ReturnValue = CInt(TempInteger / 1000).ToString" to fix that :) Guzzi PS: Can you post the latest sources from AMCupdater (and MyFilms) somewhere? (Or check then in to Sourcefourge MP-Plugins) ... the last available Sources are very old... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My Films
AMC Updater v0.8.0 Now Available!
Contact us
RSS
Top
Bottom