Kodi Community Forum

Full Version: Music plugin playback problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
XBMC Version: Gotham

Hey everyone,

I'm experiencing some strange behavior with xbmc's music plugin playback.

My sequence of events that lead to the problem are as follows:

  1. Start by running a music plugin url (A) in xbmc.
  2. The resolution process begins
  3. Parameters from plugin url (A) are used to determine the plugin url for the next item (B)
  4. The xbmc playlist is cleared, and the item (B) is added
  5. Plugin url A is resolved as a failed plugin url
  6. The xbmc player aborts playback and ignores item B

The expected behavior is that if url A is flagged as failed, and the playlist should continue on to item B

If at all possible, How can this problem resolved?

PS: Due to the nature of my work, It is preferable that I do not post any code.
At the very least, here is a snippet of the log file.

Quote:'''
Plugin launches, debug message prints parameters for plugin url
'''
17:24:13 T:1907460840 NOTICE: ----------------------------------------------------------------------------------------------------
17:24:11 T:1907460840 NOTICE: PluginUrl A: {Redacted}
17:24:13 T:1907460840 NOTICE: ----------------------------------------------------------------------------------------------------
'''
Playlist is cleared
'''
17:24:12 T:1907460840 DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
17:24:12 T:1907460840 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
17:24:13 T:1907460840 NOTICE: ----------------------------------------------------------------------------------------------------
17:24:13 T:1907460840 NOTICE: PluginUrl B: {Redacted}
17:24:13 T:1907460840 NOTICE: ----------------------------------------------------------------------------------------------------
'''
PluginUrl B is added
'''
17:24:13 T:1907460840 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
17:24:13 T:1907460840 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
'''
Set plugin resolution to succeeded=False
'''
17:24:13 T:1689631736 DEBUG: bool XFILE::CPluginDirectory::WaitOnScriptResult(const CStdString&, int, const CStdString&, bool)- plugin returned failure
17:24:13 T:1689631736 ERROR: Playlist Player: skipping unplayable item: 0, path [PluginUrl A: Redacted]
'''
XBMC doesn't continue playing PluginUrl B after PluginUrlA is flagged as failed.
'''
17:24:13 T:1689631736 DEBUG: Playlist Player: no more playable items... aborting playback
17:24:13 T:1907460840 NOTICE: ----------------------------------------------------------------------------------------------------
'''
End of script
'''