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
Support
Watch / Listen Media
Listen Music
Wrong duration shown
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="hwahrmann" data-source="post: 175432" data-attributes="member: 10391"><p>Had a quick look at your files.</p><p>The problem is that the MPEG Header in those files doesn't start at a position that can be divided by 4.</p><p>Due to the way how we search for the header, by always reading chunks of 4 bytes, we miss the first, correct header. Later on when we find, by accident, a valid header, we get the wrong bitrate and this causes a wrong duration shown.</p><p></p><p>Why does "Now Playing" show the duration correcty, because at that time we get the duration from the Music Player and this is reading it correctly.</p><p></p><p>i'll try fixing the reading issue, however this needs some testing, as i don't want to f*ck up the complete system.</p></blockquote><p></p>
[QUOTE="hwahrmann, post: 175432, member: 10391"] Had a quick look at your files. The problem is that the MPEG Header in those files doesn't start at a position that can be divided by 4. Due to the way how we search for the header, by always reading chunks of 4 bytes, we miss the first, correct header. Later on when we find, by accident, a valid header, we get the wrong bitrate and this causes a wrong duration shown. Why does "Now Playing" show the duration correcty, because at that time we get the duration from the Music Player and this is reading it correctly. i'll try fixing the reading issue, however this needs some testing, as i don't want to f*ck up the complete system. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
Wrong duration shown
Contact us
RSS
Top
Bottom