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
MediaPortal 1 Plugins
Pandora Plugin not advancing to the next song
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="mm1352000" data-source="post: 1184891" data-attributes="member: 82144"><p>The plugin detects skipping based on this condition:</p><p><a href="https://github.com/kwill1429/pandora-musicbox/blob/master/Source/MediaPortalPlugin/GUI/MusicBoxGUI.cs#L172" target="_blank">https://github.com/kwill1429/pandora-musicbox/blob/master/Source/MediaPortalPlugin/GUI/MusicBoxGUI.cs#L172</a></p><p>[code]bool isSkip = PlayingRadio && !ignoreSkip;[/code]</p><p></p><p>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:</p><p><a href="https://github.com/kwill1429/pandora-musicbox/blob/master/Source/MediaPortalPlugin/GUI/MusicBoxGUI.cs#L23" target="_blank">https://github.com/kwill1429/pandora-musicbox/blob/master/Source/MediaPortalPlugin/GUI/MusicBoxGUI.cs#L23</a></p><p>[code]</p><p>private bool PlayingRadio { get { return g_Player.Playing && Core.MusicBox.CurrentSong != null && g_Player.CurrentFile == Core.MusicBox.CurrentSong.AudioURL; } }</p><p>[/code]</p><p></p><p>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.</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1184891, member: 82144"] The plugin detects skipping based on this condition: [URL]https://github.com/kwill1429/pandora-musicbox/blob/master/Source/MediaPortalPlugin/GUI/MusicBoxGUI.cs#L172[/URL] [code]bool isSkip = PlayingRadio && !ignoreSkip;[/code] 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: [URL]https://github.com/kwill1429/pandora-musicbox/blob/master/Source/MediaPortalPlugin/GUI/MusicBoxGUI.cs#L23[/URL] [code] private bool PlayingRadio { get { return g_Player.Playing && Core.MusicBox.CurrentSong != null && g_Player.CurrentFile == Core.MusicBox.CurrentSong.AudioURL; } } [/code] 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. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Pandora Plugin not advancing to the next song
Contact us
RSS
Top
Bottom