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
    60
    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
    60
    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
    60
    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
    60
    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

    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
    460
    Works also, removed the "section" entry from MediaPortal.xml ;) (y)
    Works also, removed the "section" entry from MediaPortal.xml ;) (y)
    This plugin is alternate version to the original World Weather plugin developed by @Micropolis. Is compatible with MediaPortal...
    Replies
    33
    Views
    3K
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work. Spotify desktop app installed on same computer as you are going to use with MediaPortal Getting ready Create an app at spotify, use this link: Dashboard | Spotify for Developers, you have to login. Click...
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
    Replies
    0
    Views
    1K
    Check this web page for the informations about he plugin. To fix the issue, I recommend to uninstal and install the plugin again (if you need it).
    Check this web page for the informations about he plugin. To fix the issue, I recommend to uninstal and install the plugin again...
    I've just installed MP 1.31 with Streamed skin, IMDB+ plugin, Moving Pictures and MP-TV Series. First time starting up MP to...
    Replies
    5
    Views
    587
    Well, currently the plugin shows the sun/moon times in user's local time. As you said, It would require to add time zone parameter to the profile. I'll try to add this option in the next version. PS: please use official thread
    Well, currently the plugin shows the sun/moon times in user's local time. As you said, It would require to add time zone parameter...
    I have the current (1.0.2.0 level) World Weather Lite plugins installed on x86 and x64 different MP1 copies. When Location is...
    Replies
    7
    Views
    840
    Top Bottom