[fixed] BassPlayer bug (3 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    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,633
    2,457
    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,258
    2,528
    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,633
    2,457
    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,633
    2,457
    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

    • Sticky
    All good now!!
    All good now!!
    We have just released MediaPortal 1.36 - Polar Express x86 and x64 version. Highlights of this release Bugfixes: [MP1-5229] -...
    Replies
    2
    Views
    938
    • Sticky
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the next release. We allocate about one month for Pre Release testing. In that time we will only fix bugs, after which comes the final release! Highlights of this release Bugfixes: [MP1-5221] - Core: Fix...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    0
    Views
    2K
    We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core: Fix FrameGrabbing for EVR [MP1-5222] - TV Server: Fix ISO-8859-10/14 DVB text encodings [MP1-5224] - Fix Card "CancelTune" request Since Pre-Release : New: Since Pre-Release : Improvement / Rework...
    We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core...
    We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core...
    Replies
    0
    Views
    2K
    When I tested MP 2.5 some months ago using TVE3.5, I found that "scan for channels" failed to find any channels when I selected a DVB-T2 tuner (a TBS 6284) :(, but succeeded when I used a DVB-T tuner (a Pinnacle 2000i) :). Obviously the Pinnacle found only those channels broadcast in DVB-T MUXes (in the UK we have both DVB-T MUXes and...
    When I tested MP 2.5 some months ago using TVE3.5, I found that "scan for channels" failed to find any channels when I selected a...
    Hi all Running 1.7.1.0 TV Server as part of a full upgrade to MP2 2.5 setup After some problems with retuning (solved -...
    Replies
    3
    Views
    796
    Playing audio cd's keeps stopping at random in the middle of songs. It can happen on the first song or sometimes after a few songs have played. If I press Next, it will start playing the next song. This happens with BASS and Wasapi players. It does not happen if I use Internal dshow player (which doesn't sound as good as either of...
    Playing audio cd's keeps stopping at random in the middle of songs. It can happen on the first song or sometimes after a few songs...
    Playing audio cd's keeps stopping at random in the middle of songs. It can happen on the first song or sometimes after a few songs...
    Replies
    0
    Views
    767
    Top Bottom