Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import playlist from iPlay #62

Open
Ferrari248F1AQ opened this issue Feb 23, 2018 · 3 comments
Open

Unable to import playlist from iPlay #62

Ferrari248F1AQ opened this issue Feb 23, 2018 · 3 comments

Comments

@Ferrari248F1AQ
Copy link

Hi,
I'm trying to import a m3u playlist with iPlay but for every action made in this sub-menu I receive an error (Super favourites error - check log). This is the content of the log:

16:27:21.542 T:18446744071825652016 WARNING: CPythonInvoker(125): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
16:27:22.650 T:18446744071833979184   ERROR: GetDirectory - Error getting /storage/emulated/0/Documents/Super Favourites
16:27:22.783 T:18446744072078031152   ERROR: Joystick Translator: Can't find button button
16:27:59.449 T:18446744072000092464   ERROR: Previous line repeats 63 times.
16:27:59.450 T:18446744072000092464   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.NameError'>
                                            Error Contents: global name 'xbmcgui' is not defined
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.super.favourites/default.py", line 3301, in <module>
                                                doRefresh = iPlaylistBrowse()
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.super.favourites/default.py", line 2469, in iPlaylistBrowse
                                                playlist = playlist.getPlaylist()
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.super.favourites/playlist.py", line 53, in getPlaylist
                                                playlist = xbmcgui.Dialog().browse(1, utils.GETTEXT(30148), 'files', PLAYLIST_EXT, False, False, root)
                                            NameError: global name 'xbmcgui' is not defined
                                            -->End of Python script error report<--
16:27:59.551 T:18446744072078031152   ERROR: GetDirectory - Error getting plugin://plugin.program.super.favourites/?index=0&mode=3500
16:27:59.638 T:18446744072078031152   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.super.favourites/?index=0&mode=3500) failed

I receive this error both on Android than on MacOSX. I'm using last stable release of Kodi (17.6). I tried with a downgrade with version on Kodi repository (1.0.43) but it's the same...

@spoyser
Copy link
Owner

spoyser commented Feb 24, 2018

Oops!
If you are up for editting a file youself, just add
import xbmcgui

to the top of the playlist.py file
I will push an update when I get a channce

@Ferrari248F1AQ
Copy link
Author

Yes, it worked! Simpler than I thought! 👍

@spoyser
Copy link
Owner

spoyser commented Feb 24, 2018

👍

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

No branches or pull requests

2 participants