[fixed] BassPlayer bug (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,523
    10,466
    France
    Home Country
    France France
    Does skip step works on the same button as FF/REW (TOPBER/Remote etc.) when option is checked. ?
    I can't test right now but if yes, maybe remove it / change wiki and hide this option and enable it by default is the good way to do :)
    But why it was working before the rework and why wasapi is ok ? (just question :) )
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    Does skip step works on the same button as FF/REW (TOPBER/Remote etc.) when option is checked. ?

    Yes, it works with the same buttons.


    But why it was working before the rework and why wasapi is ok ? (just question )

    WASAPI doesn't rely on the buffer. it works more direct with the device.

    The whole BASS rework made the player much more stable and introduced new features, like WASAPI.
    I don't want to make now any changes just because of the REW.
    In fact using a lower buffer would work anyhow.

    We were having skip steps in versions pre 1.2 only and then someone decided that he would like to have FF / REW the same way like on a DVD player. for whatever reason.
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    So @hwahrmann

    based on testing, do you feel that

    - 0004463: [Music] Wrong error message on thumbs create during music folder scan (hwahrmann) - ready for testing.
    - 0004466: [Music] FF and REW produces wrong result wiith standard BASS Player (hwahrmann) - ready for testing.
    - 0004451: [Music] GetStreamTags() has been removed as part of BASS Rework by accident (hwahrmann) - ready for testing.

    are all safe and ready to merge?
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,257
    2,533
    Birmingham
    Home Country
    United Kingdom United Kingdom
    @hwahrmann could you just explain what
    Code:
    		TimeSpan ts = DateTime.Now - _seekUpdate;
    		if (_speed > 1 && ts.TotalMilliseconds > 120)
    		{
    		  SeekForward(80 * _speed);
    		  _seekUpdate = DateTime.Now;
    		}
    		else if (_speed < 0 && ts.TotalMilliseconds > 120)
    		{
    		  SeekReverse(80 * -_speed);
    		  _seekUpdate = DateTime.Now;
    		}
    	  }
    does.
    Is the TimeSpan just to prevent skipping too often? (so if it has been last than 120 seconds since process was last called then this gets ignored?)

    In terms of REW would it work if we added ts.TotalMilliseconds to the value passed to SeekReverse ?
    else without this if Process is called every 20 ms then the skip would be called every 7 calls so ts.TotalMiilliseconds = 140 and if you are running at 2x REW then we are currently trying to seek to 80 * -2 = -160 ms but we have jumped forward 160 ms so the net result is we are basically back where we started ??
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    Unfortunatley / Fortunatley this code is not from me. :)
    The timespan is there to prevent skipping to often.
    I am looking already into a way, like you described in your above post.
    I have now about 2 hours time and will sort that out.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    Using the suggestions given by Mike above solved the issue.
    Changes have been commited to the branch. Please test and let me know, so that it can be merged to master.
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 1.38 Titan Skin Bug DE
    I fixed the bug, the file menu should work again now! You just need to copy the attached DialogFile.xml to the Titan folder and the graphic files to the corresponding media folder! ;) There also seems to be a problem with the background displayed, which @ajs might be able to fix! ;)
    I fixed the bug, the file menu should work again now! You just need to copy the attached DialogFile.xml to the Titan folder and the...
    MP 32bit 1.38.003 A bug is in the videos section. I use the folder-view. When I try to move a file to another folder, I get the...
    Replies
    9
    Views
    1K
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    We have just released MediaPortal 1.37 - Willow x86 and x64 version. Highlights of this release Bugfixes: [MP1-5232] - GPU...
    Replies
    4
    Views
    2K
    As easy as that ;). Restarted HTPC and 'out of memory' errors have disappeared, thank you!
    As easy as that ;). Restarted HTPC and 'out of memory' errors have disappeared, thank you!
    Just installed the MediaPortal 1.37 Pre-Release. Client takes a long time to start up because it is looking for the...
    Replies
    4
    Views
    1K
    MP1 MP2 Not working! DE
    O Frabjous Joy! That seems to have done the trick. Thank you so much for your help and advice, CyberSimian. I hadn't thought of deleting the various folders, but I'll bear that in mind for any future disasters. Now I can record King & Conqueror on Sunday! Cheers Ralph
    O Frabjous Joy! That seems to have done the trick. Thank you so much for your help and advice, CyberSimian. I hadn't thought of...
    I've been running MediaPortal on my PC for several years, but the most recent update "MediaPortal 1.38 Release " does...
    Replies
    5
    Views
    2K
    I'm using all related TV skin files provided and current, with no change since our last discussion over the skin issue. If you do not have problems with using it, then I must conclude it's not a skin problem, it's a deeper problem. and seems to be somewhat repeatable. It might be related to the combination of my network tuners...
    I'm using all related TV skin files provided and current, with no change since our last discussion over the skin issue. If you do...
    I'm having a small issue. (with MP 1.7 final (and also 1.8 pre-test)) - In Basic Home and various modules, when I have live (OTA)...
    Replies
    6
    Views
    941
    Top Bottom