XBMC Community Forum
Video Devil plugin status? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: Video Devil plugin status? (/showthread.php?tid=58892)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


- Bootsy - 2011-02-22 19:48

dtviewer Wrote:Dont know if you have noticed but 'catagories' no longer works for xhamster.

(BTW, Thanks for all the work on the plug-in)

Thanks for the info! Fix will come soon...

Edit:

Version 1.6.9

- Updated: xhamster
- Added: youjizz

greets


- dtviewer - 2011-02-22 22:08

A (small) request....this plug in will not work with XBMC on an apple tv 2.

Is that something you may be willing to look into in the future?

Thanks in advance.


- rflores2323 - 2011-02-22 22:14

Bootsy Wrote:Thanks for the info! Fix will come soon...

Edit:

Version 1.6.9

- Updated: xhamster
- Added: youjizz

greets

Im on 1.6.9 and none of the sites are showing up for me. shows loading directory and then nothing.


- shahar25 - 2011-02-22 23:02

Scorpius Wrote:I think I found the reason of the problem. If I remove the listitem argument from the player, it never hangs. That is I changed the videodevil.py the playVideo function like this:
Code:
if flv_file != None and os.path.isfile(flv_file):
            if enable_debug:
                xbmc.output('Play: ' + str(flv_file))
#           xbmc.Player(player_type).play(str(flv_file), listitem)
            xbmc.Player().play(str(flv_file))
        else:
            if enable_debug:
                 xbmc.output('Play: ' + str(url))
#           xbmc.Player(player_type).play(str(url), listitem)
            xbmc.Player().play(str(url))

And that always work and no more hangs. This info is for the developer of course.

Bootsy plz change the videodevil.py as mentioned above as it prevents the hangs problem.

Tnx.


- Bootsy - 2011-02-23 01:11

shahar25 Wrote:Bootsy plz change the videodevil.py as mentioned above as it prevents the hangs problem.

Tnx.

I´m not going to change it that way. player_type is the predefined player type from the options and the listitem is the name of the video. the video would be titled like '38947564.wmv' if i´d remove the listitem, instead of 'nice girl talks about flowers (8:21)'. And that´s not what i want, sorry. I´ll try to fix that problem. The listitem shouldnt be a problem, it´s a normal command:
xbmc.Player( xbmc.PLAYER_CORE_MPLAYER ).play(url, listitem, windowed)

I´ll let the 2 lines in the code and you can change it if it runs more stable for you.

I also know about the download problem, but I dont have that much time atm...
I´m following this thread Wink

Greets


- dallasnights - 2011-02-23 01:12

good work hope to see support for ATV soon


- Bootsy - 2011-02-23 02:14

dtviewer Wrote:A (small) request....this plug in will not work with XBMC on an apple tv 2.

Is that something you may be willing to look into in the future?

Thanks in advance.

dallasnights Wrote:good work hope to see support for ATV soon

guys, it´s all python code...normally it should run on all platforms. maybe it uses a different python version...any xbmc developer out there?


- tiben20 - 2011-02-23 02:19

Bootsy Wrote:guys, it´s all python code...normally it should run on all platforms. maybe it uses a different python version...any xbmc developer out there?
I am but i didn't see any debug log yet from a user asking for support on atv2.


- dtviewer - 2011-02-23 02:35

tiben20 Wrote:I am but i didn't see any debug log yet from a user asking for support on atv2.

http://pastebin.com/PsqqD4rH


- dallasnights - 2011-02-23 05:20

I cant seem to get debug to work from my ATV for some reason, so here is the log hope it helps you all fix for ATV

21:18:03 T:124030976 M: 99594240 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.videodevil/)
21:18:03 T:124030976 M: 99594240 DEBUG: ParentPath = [addons://sources/video/]
21:18:03 T:191139840 M: 99594240 DEBUG: StartScript - calling plugin VideoDevil('plugin://plugin.video.videodevil/','0','')
21:18:03 T:191139840 M: 99594240 INFO: initializing python engine.
21:18:03 T:191139840 M: 99594240 DEBUG: Loading: /Applications/XBMC.frappliance/XBMCData/XBMCHome/system/python/python26-arm-osx.so
21:18:03 T:191139840 M: 99594240 DEBUG: PYTHONHOME -> /Applications/XBMC.frappliance/Frameworks/usr
21:18:03 T:191139840 M: 99594240 DEBUG: PYTHONPATH -> /Applications/XBMC.frappliance/Frameworks/usr
21:18:03 T:191139840 M: 99594240 DEBUG: Python wrapper library linked with system Python library
21:18:04 T:191139840 M: 99594240 DEBUG: new python thread created. id=5
21:18:04 T:189272064 M: 99590144 DEBUG: thread start, auto delete: 0
21:18:04 T:189272064 M: 99590144 DEBUG: Python thread: start processing
21:18:04 T:191139840 M: 99590144 DEBUG: WaitOnScriptResult - waiting on the VideoDevil plugin...
21:18:04 T:124030976 M: 99590144 DEBUG: ------ Window Init (DialogBusy.xml) ------
21:18:04 T:189272064 M: 99201024 NOTICE: -->Python Interpreter Initialized<--
21:18:04 T:189272064 M: 99201024 DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/default.py
21:18:04 T:189272064 M: 99201024 DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil:/var/mobile/Library/Preferences/XBMC/addons/script.module.beautifulsoup/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.mechanize/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.cryptopy/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.simplejson/lib:/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.elementtree/lib:/var/mobile/Library/Preferences/XBMC/addons/script.web.viewer/lib:/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/Applications/XBMC.frappliance/Frameworks/usr:/Applications/XBMC.frappliance/Frameworks/usr/lib/python26.zip:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/plat-darwin:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/plat-mac:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/lib-tk:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/lib-old:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/lib-dynload
21:18:04 T:189272064 M: 99201024 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil
21:18:05 T:191139840 M: 99426304 INFO: Loading skin file: DialogProgress.xml
21:18:05 T:191139840 M: 99409920 DEBUG: ------ Window Init (DialogProgress.xml) ------
21:18:06 T:124030976 M: 99045376 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
21:18:06 T:189272064 M: 99020800 INFO: -->Python script returned the following error<--
21:18:06 T:189272064 M: 99020800 ERROR: Error Type: <type 'exceptions.SyntaxError'>
21:18:06 T:189272064 M: 99020800 ERROR: Error Contents: ("Non-ASCII character '\\xc2' in file /var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/videodevil.py on line 327, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details", ('/var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/videodevil.py', 327, 0, None))
21:18:06 T:189272064 M: 99012608 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/default.py", line 26, in <module>
win = Main()
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/default.py", line 19, in __init__
self.run()
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/default.py", line 22, in run
import videodevil
SyntaxError: ("Non-ASCII character '\\xc2' in file /var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/videodevil.py on line 327, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details", ('/var/mobile/Library/Preferences/XBMC/addons/plugin.video.videodevil/videodevil.py', 327, 0, None))
21:18:06 T:189272064 M: 99012608 INFO: -->End of Python script error report<--
21:18:06 T:124030976 M: 99037184 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
21:18:06 T:189272064 M: 98865152 INFO: Python script stopped
21:18:06 T:189272064 M: 98865152 DEBUG: Thread 189272064 terminating
21:18:06 T:124030976 M: 98869248 DEBUG: python thread 5 destructed
21:18:06 T:191139840 M: 98869248 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
21:18:06 T:124030976 M: 98869248 ERROR: GetDirectory - Error getting plugin://plugin.video.videodevil/
21:18:06 T:124030976 M: 98869248 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.videodevil/) failed
21:18:06 T:124030976 M: 98869248 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/)
21:18:06 T:124030976 M: 98869248 DEBUG: ParentPath = []
21:18:06 T:124030976 M: 98869248 WARNING: GetLabel - Unknown nodetype requested 0
21:18:06 T:189272064 M: 98873344 DEBUG: thread start, auto delete: 0
21:18:06 T:189272064 M: 98906112 WARNING: Create - Unsupported protocol(script) in script://
21:18:06 T:124030976 M: 98906112 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
21:18:07 T:189272064 M: 99209216 WARNING: Create - Unsupported protocol(script) in script://
21:18:07 T:189272064 M: 99209216 DEBUG: Thread 189272064 terminating
21:18:11 T:124030976 M: 99332096 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
21:18:16 T:124030976 M: 99454976 INFO: Python, unloading python24.dll because no scripts are running anymore
21:18:16 T:124030976 M: 99459072 DEBUG: UnloadExtensionLibs, clearing python extension libraries
21:18:16 T:124030976 M: 99459072 DEBUG: Unloading: python26-arm-osx.so