[RELEASE] Modland and reLive (Music) Plugins - Game Music Plugin & Demo Scene Plugin
#16
using Git:7e60803
on openSUSE 11.3 (i586), 2.6.34.7-0.7-pae i686). Built on Jan 13 2011

well, a lot of the songs didnt work (any protracker/tmfx for example). E.g.,
search: "barry leitch"
browse to lotus2-title.mod (or apidya, monkey island, etc.)

I assumed that the problem was in the parsing of the html. But I guess that it may be that i'm using git instead of the official dharma (however, there were only a couple of small commits since the tagging of dharma I believe)

If you like (or cant reproduce it) I can debug it further.
Reply
#17
I just tried on my dharma release and that tune played fine. i just checked the logs, and your ip I believe is currently throttled/barred temporarily. probably causing the fault. There is currently a limit of 40 tunes per 2 hour period. I will reset you, and see if it then works.

I know what the problem is. There is a svn revision check for older xbmc, and of course with the git revisions this check is no longer working. The check can be removed probably now anyway. Note that playback wont work though also if you hit the limit.
Reply
#18
the code that is running that shouldnt be will be removed from the next version. it is old compatibility code that is no longer needed.
Reply
#19
k thanks for the information. playing with the 'patch' (if you can call it that) works perfectly.

After a while the plugin refused to play any song, without generating any error. So I guess I then hit my 40 song limit, after a while it worked again (probably when you manually reset my ip). You might want to show a messagebox when you encounter this throttling problem, otherwise you will get many bug reports about this.
Reply
#20
Im not sure about many reports since I dont think that many people use itSmile but nice to know a few do.

Because i want to pass just the url to xbmc so that it can identify which item is playing, and not just pass it back to the plugin to handle, handling the throttle limit is tricky. probably the best fix is a small recording from the streaming backend saying the limit has been reached - then you can listen to the error.
Reply
#21
Hi exobuzz

My issue with Modland plugin not working on kodi 15.2 android installation was solved following your indication:


exobuzz Wrote:looks like a problem in python on your android set up. Please use the
forum though - I do not offer email support and it would be a bad idea
since no-one else could benefit from my answers.

Also you don't need to manually install it from github, it is included
in the main Kodi repository.

To work around it you could edit default.py and change the line that says

__user_agent__ = 'XBMC/' + __xbmc_version__ + ' (' + platform.platform()
+ ') Modland/' + __version__

to

__user_agent__ = 'XBMC/' + __xbmc_version__ + ' ( Android ) Modland/' +
__version__

which avoids the python platform.platform() call that is throwing an error.


The issue was plugin doesn' start.
Same problem in 2 different kodi 15.2 android installations and plugin from main Kodi repository
Code:
00:55:01 T:1107184056   DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/audio/)
00:55:01 T:1107184056   DEBUG:   ParentPath = []
00:55:01 T:2009373416  NOTICE: Thread BackgroundLoader start, auto delete: false
00:55:01 T:2009373416   DEBUG: Saving fileitems [addons://sources/audio]
00:55:01 T:2009373416   DEBUG:   -- items: 7, sort method: 0, ascending: false
00:55:01 T:2009373416   DEBUG: Thread BackgroundLoader 2009373416 terminating
00:55:01 T:1107184056   DEBUG: RetrieveMusicInfo() took 50 msec
00:55:01 T:2048660648  NOTICE: Thread BackgroundLoader start, auto delete: false
00:55:01 T:1107184056   DEBUG: Unfocus WindowID: 10501, ControlID: 50
00:55:01 T:2048660648   DEBUG: Thread BackgroundLoader 2048660648 terminating
00:55:02 T:2008921256  NOTICE: Thread Timer start, auto delete: false
00:55:02 T:2008921256   DEBUG: Thread Timer 2008921256 terminating
00:55:03 T:1107184056   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.audio.modland/)
00:55:03 T:1107184056   DEBUG:   ParentPath = [addons://sources/audio]
00:55:03 T:1821512056   DEBUG: bool XFILE::CPluginDirectory::StartScript(const string&, bool) - calling plugin Modland('plugin://plugin.audio.modland/','1','')
00:55:03 T:1821512056   DEBUG: bool XFILE::CPluginDirectory::WaitOnScriptResult(const string&, int, const string&, bool) - waiting on the Modland (id=9) plugin...
00:55:03 T:2008921256  NOTICE: Thread LanguageInvoker start, auto delete: false
00:55:03 T:2008921256    INFO: initializing python engine.
00:55:03 T:2008921256   DEBUG: CPythonInvoker(9, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.modland/default.py): start processing
00:55:03 T:2008921256  NOTICE: -->Python Interpreter Initialized<--
00:55:03 T:2008921256   DEBUG: CPythonInvoker(9, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.modland/default.py): the source file to load is "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.modland/default.py"
00:55:03 T:2008921256   DEBUG: CPythonInvoker(9, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.modland/default.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.modland:/:/data/app/org.xbmc.kodi-2/base.apk/assets/python2.6/lib/python26.zip:/data/app/org.xbmc.kodi-2/base.apk/assets/python2.6/lib/python2.6:/data/app/org.xbmc.kodi-2/base.apk/assets/python2.6/lib/python2.6/plat-linux3:/data/app/org.xbmc.kodi-2/base.apk/assets/python2.6/lib/python2.6/lib-tk:/data/app/org.xbmc.kodi-2/base.apk/assets/python2.6/lib/python2.6/lib-old:/data/app/org.xbmc.kodi-2/base.apk/assets/python2.6/lib/python2.6/lib-dynload
00:55:03 T:2008921256   DEBUG: CPythonInvoker(9, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.modland/default.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.modland
00:55:03 T:2008921256   DEBUG: CPythonInvoker(9, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.modland/default.py): instantiating addon using automatically obtained id of "plugin.audio.modland" dependent on version 2.1.0 of the xbmc.python api
00:55:03 T:2008921256   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IOError'>
                                            Error Contents: [Errno 21] Is a directory: '/'
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.modland/default.py", line 14, in <module>
                                                __user_agent__ = 'XBMC/' + __xbmc_version__ + ' (' + platform.platform() + ') Modland/' + __version__
                                              File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/platform.py", line 1513, in platform
                                              File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/platform.py", line 147, in libc_ver
                                            IOError: [Errno 21] Is a directory: '/'
                                            -->End of Python script error report<--
00:55:03 T:2008921256    INFO: Python script stopped
00:55:03 T:2008921256   DEBUG: Thread LanguageInvoker 2008921256 terminating
00:55:03 T:1821512056   DEBUG:  bool XFILE::CPluginDirectory::WaitOnScriptResult(const string&, int, const string&, bool) - plugin exited prematurely - terminating
00:55:03 T:1107184056   ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting plugin://plugin.audio.modland/
00:55:03 T:1107184056   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.modland/) failed
00:55:03 T:1107184056   DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/audio)
00:55:03 T:1107184056   DEBUG:   ParentPath = []
00:55:03 T:2010693280  NOTICE: Thread BackgroundLoader start, auto delete: false
00:55:03 T:2010693280   DEBUG: Loading items: 6, directory: addons://sources/audio sort method: 0, ascending: false
00:55:03 T:2010693280   DEBUG: Saving fileitems [addons://sources/audio]
00:55:03 T:2010693280   DEBUG:   -- items: 7, sort method: 0, ascending: false
00:55:03 T:2010693280   DEBUG: Thread BackgroundLoader 2010693280 terminating
00:55:03 T:1107184056   DEBUG: RetrieveMusicInfo() took 30 msec
00:55:03 T:2008377576  NOTICE: Thread BackgroundLoader start, auto delete: false
00:55:03 T:1107184056   DEBUG: Unfocus WindowID: 10501, ControlID: 50
00:55:03 T:1107184056   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
00:55:03 T:2008377576   DEBUG: Thread BackgroundLoader 2008377576 terminating
00:55:04 T:1107184056    INFO: void XCURL::DllLibCurlGlobal::CheckIdle() - Closing session to http://www.cutandpasta.it (easy=0x793231d8, multi=0x0)
00:55:05 T:2048587608  NOTICE: Thread Timer start, auto delete: false
00:55:05 T:2048587608   DEBUG: Thread Timer 2048587608 terminating

Thanks for all!!! Smile
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Modland and reLive (Music) Plugins - Game Music Plugin & Demo Scene Plugin0