Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

API change in upcoming kodi v17 #23

Open
fritsch opened this issue Jan 13, 2016 · 5 comments
Open

API change in upcoming kodi v17 #23

fritsch opened this issue Jan 13, 2016 · 5 comments

Comments

@fritsch
Copy link

fritsch commented Jan 13, 2016

Please replace: xbmc.Player( xbmc.PLAYER_CORE_MPLAYER ).play( url, item )
with: xbmc.Player().play( url, item )

Best regards
fritsch

@hackel
Copy link

hackel commented Jan 8, 2017

Unfortunately this change actually hard-crashes Kodi (17.0-rc2):

17:50:22.337 T:18446744072848152864  NOTICE: Trying to open: 44100 samplerate 12 channelMask 4 encoding
17:50:27.805 T:18446744072853190944  NOTICE: Pandora: Initializing v2.3.2
17:50:27.805 T:18446744072853190944  NOTICE: Pandora: sys.platform = linux2
17:50:33.838 T:18446744072853190944 WARNING: CSkinInfo: failed to load skin settings
17:50:34.026 T:18446744072853190944  NOTICE: Pandora: Window Initalized
17:50:34.729 T:18446744072853190944  NOTICE: Pandora: START: station_id = x
17:50:34.745 T:18446744072853190944  NOTICE: Pandora: getting more songs
17:50:35.727 T:18446744072853190944  NOTICE: Pandora: Adding song '...'
17:50:35.993 T:18446744072853190944  NOTICE: Pandora: Adding song '...'
17:50:36.031 T:18446744072853190944  NOTICE: Pandora: Adding song '...'
17:50:36.495 T:18446744072853190944  NOTICE: Pandora: Adding song '...'
17:50:39.852 T:18446744072688253216   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
17:50:39.853 T:18446744072688253216 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
17:50:41.008 T:18446744072688253216   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
17:50:41.009 T:18446744072688253216 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
17:50:41.884 T:18446744072688253216   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403

@fritsch
Copy link
Author

fritsch commented Jan 9, 2017

You need to adjust your add-on. That's why I told it 12 months ago.

@hackel
Copy link

hackel commented Jan 11, 2017

@fritsch I'm not sure what you mean. The report above is what I experienced after removing the xbmc.PLAYER_CORE_MPLAYER parameter from resources/lib/pandaplayer.py as you suggested. I guess something else must be going on to cause Kodi to crash entirely. Curl should definitely not be capable of doing so.

@fritsch
Copy link
Author

fritsch commented Jan 11, 2017 via email

@Katzekonig
Copy link

following.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants