- sfaxman - 2009-01-16
Yes, XBOX and Windows are OK
sfaxman...
- sfaxman - 2009-01-16
BTW, this is the current file to test
sfaxman...
- newsilentsilver - 2009-01-16
XBMC on ATV ist crashing with all the fixes, too:
Code: 22:08:14 T:2684407808 M: 14155776 INFO: Loading skin file: DialogPluginSettings.xml
22:08:14 T:2684407808 M: 14155776 DEBUG: Load DialogPluginSettings.xml: 6.48ms
22:08:14 T:2684407808 M: 14155776 DEBUG: Alloc resources: 7.14ms (6.80 ms skin load, 0.22 ms preload)
22:08:19 T:2684407808 M: 13594624 DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
22:08:19 T:2684407808 M: 13594624 DEBUG:
22:08:19 T:2684407808 M: 13594624 DEBUG: -------------------
22:08:21 T:2684407808 M: 14397440 DEBUG: Clearing cached fileitems [plugin://video/VideoMonkey/]
22:08:21 T:2684407808 M: 14397440 DEBUG: CGUIMediaWindow::GetDirectory (plugin://video/VideoMonkey/)
22:08:21 T:2684407808 M: 14397440 DEBUG: ParentPath = [plugin://video/]
22:08:21 T:2684407808 M: 14397440 DEBUG: GetDirectory - URL for plugin settings: VideoMonkey/
22:08:21 T:2684407808 M: 14397440 DEBUG: GetDirectory - calling plugin /Users/frontrow/Library/Application Support/XBMC/plugins/video/VideoMonkey/default.py('plugin://video/VideoMonkey/','0','')
22:08:21 T:2684407808 M: 14397440 INFO: initializing python engine.
22:08:21 T:2684407808 M: 14397440 DEBUG: Loading: /Applications/XBMC.app/Contents/Resources/XBMC/system/python/python24-osx.so
22:08:23 T:2684407808 M: 13029376 DEBUG: new python thread created. id=1
22:08:23 T:43894784 M: 13021184 DEBUG: Running thread 43894784
22:08:23 T:43894784 M: 13021184 DEBUG: thread start, auto delete: 0
22:08:23 T:43894784 M: 13021184 DEBUG: Python thread: start processing
22:08:23 T:2684407808 M: 12787712 DEBUG: WaitOnScriptResult - waiting on the VideoMonkey plugin...
22:08:23 T:43894784 M: 12783616 NOTICE: -->Python Interpreter Initialized<--
22:08:23 T:43894784 M: 12783616 NOTICE:
22:08:25 T:2684407808 M: 9900032 INFO: Loading skin file: DialogProgress.xml
22:08:25 T:2684407808 M: 9900032 DEBUG: Load DialogProgress.xml: 3.46ms
22:08:25 T:2684407808 M: 9900032 DEBUG: ------------------- GUI_MSG_WINDOW_INIT
22:08:25 T:2684407808 M: 9900032 DEBUG: Fortschrittsdialog
22:08:25 T:2684407808 M: 9900032 DEBUG: -------------------
22:08:25 T:2684407808 M: 9834496 DEBUG: Alloc resources: 2.21ms (0.10 ms skin load, 0.20 ms preload)
22:08:26 T:43894784 M: 9314304 INFO: Stating open file
22:08:26 T:43894784 M: 9314304 INFO: Stating open file
22:08:26 T:43894784 M: 9252864 INFO: Stating open file
With sfaxmans current version I get this:
Code: 22:14:47 T:2684407808 M: 12804096 DEBUG: Clearing cached fileitems [plugin://video/VideoMonkey/]
22:14:47 T:2684407808 M: 12804096 DEBUG: CGUIMediaWindow::GetDirectory (plugin://video/VideoMonkey/)
22:14:47 T:2684407808 M: 12804096 DEBUG: ParentPath = [plugin://video/]
22:14:47 T:2684407808 M: 12804096 DEBUG: GetDirectory - URL for plugin settings: VideoMonkey/
22:14:47 T:2684407808 M: 12791808 DEBUG: GetDirectory - calling plugin /Users/frontrow/Library/Application Support/XBMC/plugins/video/VideoMonkey/default.py('plugin://video/VideoMonkey/','0','')
22:14:47 T:2684407808 M: 12787712 INFO: initializing python engine.
22:14:47 T:2684407808 M: 12787712 DEBUG: Loading: /Applications/XBMC.app/Contents/Resources/XBMC/system/python/python24-osx.so
22:14:50 T:2684407808 M: 7340032 DEBUG: new python thread created. id=1
22:14:50 T:43905536 M: 7331840 DEBUG: Running thread 43905536
22:14:50 T:43905536 M: 7340032 DEBUG: thread start, auto delete: 0
22:14:50 T:43905536 M: 7340032 DEBUG: Python thread: start processing
22:14:50 T:2684407808 M: 7286784 DEBUG: WaitOnScriptResult - waiting on the VideoMonkey plugin...
22:14:50 T:43905536 M: 6897664 NOTICE: -->Python Interpreter Initialized<--
22:14:50 T:43905536 M: 6905856 NOTICE:
22:14:52 T:2684407808 M: 4485120 INFO: Loading skin file: DialogProgress.xml
22:14:52 T:2684407808 M: 4300800 DEBUG: Load DialogProgress.xml: 23.14ms
22:14:52 T:2684407808 M: 4300800 DEBUG: ------------------- GUI_MSG_WINDOW_INIT
22:14:52 T:2684407808 M: 4300800 DEBUG: Fortschrittsdialog
22:14:52 T:2684407808 M: 4300800 DEBUG: -------------------
22:14:52 T:2684407808 M: 4235264 DEBUG: Alloc resources: 2.16ms (0.10 ms skin load, 0.21 ms preload)
22:14:53 T:43905536 M: 3448832 INFO: Stating open file
22:14:53 T:43905536 M: 3444736 INFO: Stating open file
22:14:54 T:43905536 M: 3317760 INFO: Stating open file
- sfaxman - 2009-01-16
newsilentsilver Wrote:XBMC on ATV ist crashing with all the fixes, too: It works under linux
sfaxman...
- sfaxman - 2009-01-16
@jtatum: Can you test it
I think newsilentsilver has another problem than you
@newsilentsilver: Did you enabled the debug logging in the plugin settings
sfaxman...
- Evil Elvis - 2009-01-16
The XBOX problem might simply be because it's not correctly ignoring the BOM field. The BOM really isn't necessary since we're manually decoding/encoding to utf-8. You could try removing the places where the BOM is written, see how it works, and decide which way you prefer.
I believe calling encode('utf-8') is indeed necessary to keep python from writing out the unicode using unicode escape characters (\uXXXX).
Making sure to wrap all the reads in smart_unicode may or may not be necessary. Especially depending on how you're using the data, which I didn't look over too thoroughly. I chose to err on the side of caution.
- newsilentsilver - 2009-01-16
sfaxman Wrote:@newsilentsilver: Did you enabled the debug logging in the plugin settings
Yes, both logs are enabled.
- sfaxman - 2009-01-16
Evil Elvis Wrote:The XBOX problem might simply be because it's not correctly ignoring the BOM field. The BOM really isn't necessary since we're manually decoding/encoding to utf-8. You could try removing the places where the BOM is written, see how it works, and decide which way you prefer.
I believe calling encode('utf-8') is indeed necessary to keep python from writing out the unicode using unicode escape characters (\uXXXX).
Making sure to wrap all the reads in smart_unicode may or may not be necessary. Especially depending on how you're using the data, which I didn't look over too thoroughly. I chose to err on the side of caution.
OK. New version uploaded. XBOX and Windows are OK
sfaxman...
- sfaxman - 2009-01-16
And linux seems to be OK
ATV
sfaxman...
- kareem613 - 2009-01-16
I'm on windows and its not working just yet. There's progress though.
When I load it now, I get the update option. I selected that, and it downloaded a bunch of files. Then it sat there with the same update item in the list. I went up a level, then back into the plugin. It stays stuck on the loading directory/retrieving items dialog.
I restarted XBMC and tried loading the plugin again. This time, it went straight to the loading directory dialog and froze again.
Here are the last few lines from my log file. Not very helpful it looks.
Quote:19:13:59 T:3260 M:626085888 NOTICE: My Videos: Scanning for video info using worker thread, operation took 00:21
19:14:12 T:1384 M:638361600 WARNING: CUtil::GetMatchingSource... no matching source found for [Video Plugins]
19:14:19 T:2184 M:624279552 NOTICE: -->Python Interpreter Initialized<--
19:14:19 T:2184 M:624279552 NOTICE:
Here is the top of the log file showing the folder paths.
Quote:19:13:31 T:1384 M:691118080 NOTICE: Mapping drive Z to C:\Documents and Settings\kareem\Application Data\XBMC\cache
19:13:31 T:1384 M:691089408 NOTICE: Mapping drive T to C:\Documents and Settings\kareem\Application Data\XBMC\userdata
19:13:31 T:1384 M:691089408 NOTICE: Mapping drive Q to C:\Program Files\XBMC
19:13:31 T:1384 M:691089408 NOTICE: Mapping drive U to C:\Program Files\XBMC
I hope this is helpful.
- Evil Elvis - 2009-01-16
The update overwrote the modified videomonkey.py file.
- sfaxman - 2009-01-16
Evil Elvis Wrote:The update overwrote the modified videomonkey.py file.
Yes. I just uploaded a new file (same link) where the update function is deactivated to eliminate the risk that it causes problems.
Can you please since now post the XBMC revision when you post a report (I must be able to reproduce this behavior under windows).
sfaxman...
- kricker - 2009-01-16
Latest from sfaxman is working great for me. Now I can watch fxguide...which as an fx guy is wonderful!
- randywaterhouse - 2009-01-16
hey sfaxman,
no luck here, your latest version still crashes xbmc on atv at the same line...
randy.
- newsilentsilver - 2009-01-16
I fall from my chair ... after updating to the latest version of the script it WORKS on ATV (2.2)!?
|