Pandora Plugin not advancing to the next song (1 Viewer)

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    There shouldn't be anything like cross-fade in this case.
    BASS is notified that a song ended and will fire a respective message, which is consumed by the Pandora Plugin, which then starts playback of the next song.

    So from our point there is no skipping.

    maybe the logs show something?
     

    Cam

    Portal Pro
    February 28, 2012
    360
    97
    61
    Georgia
    Home Country
    United States of America United States of America
    Here are some logs and a Music setting pic
     

    Attachments

    • Pandora 1.jpg
      Pandora 1.jpg
      281.7 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    The plugin detects skipping based on this condition:
    https://github.com/kwill1429/pandor...rce/MediaPortalPlugin/GUI/MusicBoxGUI.cs#L172
    Code:
    bool isSkip = PlayingRadio && !ignoreSkip;

    ignoreSkip has and is always going to be false in this case, so the change in behaviour seems most likely to be as a result of a change in the "PlayingRadio" part of the condition. The code for that property is:
    https://github.com/kwill1429/pandor...urce/MediaPortalPlugin/GUI/MusicBoxGUI.cs#L23
    Code:
    private bool PlayingRadio { get { return g_Player.Playing && Core.MusicBox.CurrentSong != null && g_Player.CurrentFile == Core.MusicBox.CurrentSong.AudioURL; } }

    I would guess that the issue is that g_Player.Playing is still true and/or g_Player.CurrentFile is not set null before OnPlaybackEnded() is invoked... and it may not have been that way in the past.
     

    Cam

    Portal Pro
    February 28, 2012
    360
    97
    61
    Georgia
    Home Country
    United States of America United States of America
    Weird?:unsure:
    On another computer it is working just fine, up to about 6 in a row, want logs for this computer?

    Well it stoppped after about 8
     
    Last edited:

    Cam

    Portal Pro
    February 28, 2012
    360
    97
    61
    Georgia
    Home Country
    United States of America United States of America
    you are very polite![DOUBLEPOST=1463872957][/DOUBLEPOST]Hold your horses wrong logs sorry, here are the current ones
     

    Attachments

    • Pandora 2.jpg
      Pandora 2.jpg
      427.7 KB

    Cam

    Portal Pro
    February 28, 2012
    360
    97
    61
    Georgia
    Home Country
    United States of America United States of America
    Do you think this can be fixed?
    This plug-in is a great addition to mediaportal for music, the sound quality is excellent.

    Thanks
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    As usual, I'm not able to fix this. I can identify the probable source of issues in the code sometimes, but my knowledge of how MediaPortal's player - and in particular: the music player - should work is non-existent. @hwahrmann is the person you need.
     

    Users who are viewing this thread

    Similar threads

    The only changes I see are: Updated Marcel Groothuis version of the plugin to now support Media Portal 2.5 I can't say anything about the functionality of this plugin, I don't use TV Part, but if there are any changes that can be simply transferred, then I can try. But I can't give any guarantees.
    The only changes I see are: Updated Marcel Groothuis version of the plugin to now support Media Portal 2.5 I can't say anything...
    I am a long-time user of MediaPortal to watch TV. I use the Media Portal TV Server as a backend, and Kodi (previously known as...
    Replies
    15
    Views
    2K
    First thing to say is that I use MP1, whereas I believe that you use MP2. @ge2301 has just posted that MP2 has a "folder view" in addition to the "library view", so you should be able to set up your system as I describe below, but the details will differ. In MP1, the folders that are to appear on the "Videos" panel are defined in "MP...
    First thing to say is that I use MP1, whereas I believe that you use MP2. @ge2301 has just posted that MP2 has a "folder view" in...
    Help Please. Yesterday upon switch-on, I had this issue with MP2: When I clicked on the [REC] icon in the following Image...
    Replies
    18
    Views
    1K
    • Sticky
    @ltfearme @m3rcury @Edalex
    @ltfearme @m3rcury @Edalex
    Due to the release of the x64 version, and the need to recompile plugins, we have created a separate repository (for plugins that...
    Replies
    1
    Views
    1K
    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
    756
    The UseSSL trick made MediaPortal great again, thanks.
    The UseSSL trick made MediaPortal great again, thanks.
    Hi, Trakt has work perfectly for me for over 10 years, but for some reason this week it will not Authorize my account. I can log...
    Replies
    10
    Views
    965
    Top Bottom