2008-02-07, 02:36
So I am writing a generic image scraper plugin aimed at giving access to all of a web-comics content on the xbmc. The scraper has been completed and currently works with the following sites (gives latest comic and full archive):
['Comics.com', 'Cooper', 'Sheldon', 'Checker Board Nightmare', 'Little Gamers', 'Something Positive', 'Megatokyo', 'Joe and Monkey', 'Sam and Max', 'Evil Comic', 'Erfworld', 'White Ninja', 'Dunk', 'Perry Bible Fellowship', 'Nothing Nice To Say', 'Ctrl+alt+del', 'Mac Hall', 'Player vs Player', 'Apple Geeks Lite', 'Punks and Nerds', 'Yirmumah', 'The Forge', '8-bit Theater', '2P Start', 'LoL Dogs', 'Dueling Analog Positions', 'Scary Go Around', 'Questionable Content', 'Achewood', 'VG Cats', 'LoL Cats', 'Penny-Arcade', 'Apple Geeks', 'Real Life Comices', 'Chugworth Academy', 'Order of the Stick', 'Photoshop Phriday', 'Goats']
The plugin works (i.e. lists folders) when you are testing it in the browser (i.e. Add Source -> Browse -> Picture Plugins -> plugin -> Site...). However, the script causes my xbox to hang whenever I run it on the source window and try to select anything that will move out of the current window (decend/ascend directory, return to main, settings, etc...). It puts up the busy dialog and that is that. The only relevant portion of the log is:
00:34:05 M: 39866368 ERROR: DIRECTORY::CPluginDirectory::AddItem called with an invalid handle.
00:34:05 M: 39845888 ERROR: DIRECTORY::CPluginDirectory::AddItem called with an invalid handle.
00:34:05 M: 39845888 ERROR: DIRECTORY::CPluginDirectory::EndOfDirectory called with an invalid handle.
Furthermore, when I move down through the directory entries, not descending just hovering over, the script is called like I attempted to descend (trying to get folder thumbnails) which makes navigation laggy.
Anyways, here is the code, anyone got any ideas:
http://www.rarhost.com/download-g2ftsa.html
['Comics.com', 'Cooper', 'Sheldon', 'Checker Board Nightmare', 'Little Gamers', 'Something Positive', 'Megatokyo', 'Joe and Monkey', 'Sam and Max', 'Evil Comic', 'Erfworld', 'White Ninja', 'Dunk', 'Perry Bible Fellowship', 'Nothing Nice To Say', 'Ctrl+alt+del', 'Mac Hall', 'Player vs Player', 'Apple Geeks Lite', 'Punks and Nerds', 'Yirmumah', 'The Forge', '8-bit Theater', '2P Start', 'LoL Dogs', 'Dueling Analog Positions', 'Scary Go Around', 'Questionable Content', 'Achewood', 'VG Cats', 'LoL Cats', 'Penny-Arcade', 'Apple Geeks', 'Real Life Comices', 'Chugworth Academy', 'Order of the Stick', 'Photoshop Phriday', 'Goats']
The plugin works (i.e. lists folders) when you are testing it in the browser (i.e. Add Source -> Browse -> Picture Plugins -> plugin -> Site...). However, the script causes my xbox to hang whenever I run it on the source window and try to select anything that will move out of the current window (decend/ascend directory, return to main, settings, etc...). It puts up the busy dialog and that is that. The only relevant portion of the log is:
00:34:05 M: 39866368 ERROR: DIRECTORY::CPluginDirectory::AddItem called with an invalid handle.
00:34:05 M: 39845888 ERROR: DIRECTORY::CPluginDirectory::AddItem called with an invalid handle.
00:34:05 M: 39845888 ERROR: DIRECTORY::CPluginDirectory::EndOfDirectory called with an invalid handle.
Furthermore, when I move down through the directory entries, not descending just hovering over, the script is called like I attempted to descend (trying to get folder thumbnails) which makes navigation laggy.
Anyways, here is the code, anyone got any ideas:
http://www.rarhost.com/download-g2ftsa.html