[RELEASE] ITV Catchup (Video) Plugin

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
castalla Offline
Fan
Posts: 610
Joined: Aug 2011
Reputation: 11
Post: #251
There's a cosmetic error with the playing display - the itv logo on the left appears as a pixelated image.
find quote
pipps Offline
Member
Posts: 61
Joined: Dec 2010
Reputation: 0
Location: UK
Post: #252
I have the latest XBMC installed in Windows 7 - but I still get the 'script failed' error when trying to open any stream. Why is this, and how can I overcome it please?
find quote
SavellM Offline
Senior Member
Posts: 266
Joined: Feb 2011
Reputation: 3
Post: #253
Im getting this error:
Error Script Failed: Plugin.Video.ITV_1.0.5

On Eden build, is this affecting all Eden builds?
And is there a fix?

My full HTPC build log:
http://forum.xbmc.org/showthread.php?tid=129352
Core i3-2120T 2.6Ghz, 4gb Kingston DDR3, mSATA SSD, Moneual 312 Case, GT520 GPU
find quote
castalla Offline
Fan
Posts: 610
Joined: Aug 2011
Reputation: 11
Post: #254
Latest nightly and itv player working okay.
find quote
SavellM Offline
Senior Member
Posts: 266
Joined: Feb 2011
Reputation: 3
Post: #255
How did you install it?
I just used the zip and hoped it would work Smile

My full HTPC build log:
http://forum.xbmc.org/showthread.php?tid=129352
Core i3-2120T 2.6Ghz, 4gb Kingston DDR3, mSATA SSD, Moneual 312 Case, GT520 GPU
find quote
castalla Offline
Fan
Posts: 610
Joined: Aug 2011
Reputation: 11
Post: #256
I think you have to create two extra folders. See http://forum.xbmc.org/showpost.php?p=932...tcount=248

I think the location is in /Program Files ... etc.
find quote
DStu Offline
Junior Member
Posts: 43
Joined: Sep 2011
Reputation: 0
Post: #257
Hi,

Tried 1.0.5 on my ATV2 pre-Eden, but I just get script failed. The previous version worked fine.

01:02:39 T:120983552 DEBUG: WaitOnScriptResult- plugin returned successfully
01:02:39 T:114946048 INFO: Scriptresult: Success
01:02:39 T:114946048 INFO: Python script stopped
01:02:39 T:114946048 DEBUG: Thread XBPyThread 114946048 terminating
01:02:39 T:804282368 DEBUG: Saving fileitems [plugin://plugin.video.itv]
01:02:39 T:804282368 DEBUG: -- items: 121, sort method: 0, ascending: false
01:02:39 T:123482112 DEBUG: Thread Background Loader start, auto delete: 0
01:02:39 T:804282368 DEBUG: waiting for python thread 3 to stop
01:02:39 T:804282368 DEBUG: python thread 3 destructed
01:02:39 T:804282368 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
01:02:39 T:804282368 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
01:02:40 T:123482112 INFO: Caching image from: http://www.itv.com/img/150x113/Coronatio...5e603a.jpg to special://masterprofile/Thumbnails/Video/0/0a95bcad.tbn with width 512 and height 512
01:02:40 T:123482112 DEBUG: SECTION:LoadDLL(libcurl.4.dylib)
01:02:40 T:123482112 DEBUG: Loading: /Applications/XBMC.frappliance/Frameworks/libcurl.4.dylib
01:02:40 T:123482112 DEBUG: FileCurl::Open(0x75c279c) http://www.itv.com/img/150x113/Coronatio...5e603a.jpg
01:02:40 T:123482112 INFO: easy_aquire - Created session to http://www.itv.com
01:02:41 T:123482112 DEBUG: Thread Background Loader 123482112 terminating
01:02:41 T:804282368 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.itv/?url=3467&mode=2&name=71+Degrees+North+-+2+Episodes+Available.)
01:02:41 T:804282368 DEBUG: ParentPath = [plugin://plugin.video.itv]
01:02:41 T:112242688 DEBUG: StartScript - calling plugin ITV('plugin://plugin.video.itv/','0','?url=3467&mode=2&name=71+Degrees+North+-+2+Episodes+Available.')
01:02:41 T:112242688 INFO: initializing python engine.
01:02:41 T:112242688 DEBUG: new python thread created. id=4
01:02:41 T:112242688 DEBUG: WaitOnScriptResult - waiting on the ITV plugin...
01:02:41 T:121778176 DEBUG: Thread XBPyThread start, auto delete: 0
01:02:41 T:121778176 DEBUG: Python thread: start processing
01:02:41 T:121778176 NOTICE: -->Python Interpreter Initialized<--
01:02:41 T:121778176 DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/plugin.video.itv_1.0.5/default.py
01:02:41 T:121778176 DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/plugin.video.itv_1.0.5:/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.common.plugin.cache/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.parsedom/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.elementtree/lib:/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/Applications/XBMC.frappliance/Frameworks:/Applications/XBMC.frappliance/Frameworks/lib/python26.zip:/Applications/XBMC.frappliance/Frameworks/lib/python2.6:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-darwin:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-tk:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-old:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-dynload:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/site-packages:
01:02:41 T:121778176 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/plugin.video.itv_1.0.5
01:02:41 T:121778176 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.itv" dependent on version 1.0 of the xbmc.python api
01:02:41 T:804282368 DEBUG: ------ Window Init (DialogBusy.xml) ------
01:02:42 T:121778176 ERROR: /var/mobile/Library/Preferences/XBMC/addons/plugin.video.itv_1.0.5/default.py:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import urllib,urllib2,re,sys,socket,os,md5,datetime,xbmcplugin,xbmcgui, xbmcaddon
01:02:42 T:121778176 ERROR: /var/mobile/Library/Preferences/XBMC/addons/plugin.video.itv_1.0.5/default.py:4: DeprecationWarning: os.getcwd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'
sys.path.insert(0, os.path.join(os.getcwd(), 'lib'))
01:02:42 T:121778176 ERROR: /var/mobile/Library/Preferences/XBMC/addons/plugin.video.itv_1.0.5/lib/httplib2.py:44: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
01:02:42 T:112242688 INFO: Loading skin file: DialogProgress.xml
01:02:42 T:112242688 DEBUG: DialogProgress::StartModal called
01:02:42 T:112242688 DEBUG: ------ Window Init (DialogProgress.xml) ------
01:02:42 T:121778176 NOTICE: Mode: 2
01:02:42 T:121778176 NOTICE: URL: 3467
01:02:42 T:121778176 NOTICE: Name: 71 Degrees North - 2 Episodes Available.
01:02:42 T:121778176 NOTICE: Getting Episodes: 3467
01:02:44 T:121778176 INFO: -->Python script returned the following error<--
01:02:44 T:121778176 ERROR: Error Type: <type 'exceptions.IOError'>
01:02:44 T:121778176 ERROR: Error Contents: (13, 'Permission denied', '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.itv/Images/285402.jpg')
01:02:44 T:121778176 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.itv_1.0.5/default.py", line 607, in <module>
EPS(url)
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.itv_1.0.5/default.py", line 271, in EPS
fw = open(outfile, 'w')
IOError: (13, 'Permission denied', '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.itv/Images/285402.jpg')
01:02:44 T:121778176 INFO: -->End of Python script error report<--
01:02:44 T:804282368 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
01:02:44 T:804282368 ERROR: Control 402 in window 10107 has been asked to focus, but it can't
01:02:44 T:121778176 INFO: Python script stopped
01:02:44 T:121778176 DEBUG: Thread XBPyThread 121778176 terminating
01:02:44 T:112242688 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
01:02:44 T:804282368 ERROR: GetDirectory - Error getting plugin://plugin.video.itv/?url=3467&mode=2&name=71+Degrees+North+-+2+Episodes+Available.
01:02:44 T:804282368 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.itv/?url=3467&mode=2&name=71+Degrees+North+-+2+Episodes+Available.) failed
01:02:44 T:804282368 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.itv)
01:02:44 T:804282368 DEBUG: ParentPath = [addons://sources/video/]
01:02:44 T:804282368 DEBUG: Loading fileitems [plugin://plugin.video.itv]
01:02:44 T:804282368 DEBUG: -- items: 121, directory: plugin://plugin.video.itv sort method: 0, ascending: false
01:02:44 T:124473344 DEBUG: Thread Background Loader start, auto delete: 0
01:02:45 T:804282368 DEBUG: waiting for python thread 4 to stop
01:02:45 T:804282368 DEBUG: python thread 4 destructed
01:02:45 T:804282368 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
01:02:45 T:804282368 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
01:02:49 T:804282368 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
01:02:53 T:124473344 DEBUG: Thread Background Loader 124473344 terminating
01:03:11 T:112852992 DEBUG: Thread Jobworker 112852992 terminating (autodelete)
01:03:11 T:120983552 DEBUG: Thread Jobworker 120983552 terminating (autodelete)
01:03:11 T:115879936 DEBUG: Thread Jobworker 115879936 terminating (autodelete)
01:03:11 T:804282368 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-arm-osx.so)
01:03:11 T:804282368 DEBUG: Unloading: ImageLib-arm-osx.so
01:03:11 T:804282368 INFO: CheckIdle - Closing session to http://www.itv.com (easy=0x4cd7000, multi=0x21a64f60)
01:03:14 T:112242688 DEBUG: Thread Jobworker 112242688 terminating (autodelete)
01:03:42 T:804282368 DEBUG: SECTION:UnloadDll(libcurl.4.dylib)
01:03:42 T:804282368 DEBUG: Unloading: libcurl.4.dylib
find quote
castalla Offline
Fan
Posts: 610
Joined: Aug 2011
Reputation: 11
Post: #258
Please, please .... use http://pastebin.com
find quote
irishmark Offline
Junior Member
Posts: 5
Joined: Oct 2011
Reputation: 0
Post: #259
DStu Wrote:01:02:44 T:121778176 ERROR: Error Contents: (13, 'Permission denied', '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.itv/Images/285402.jpg')

Check the images folder exists, then chmod/chown the whole plugins folder
find quote
DStu Offline
Junior Member
Posts: 43
Joined: Sep 2011
Reputation: 0
Post: #260
castella, apologies. I copied more than I thought!

irishmark, thanks! chown worked. It's such much nicer to have the better quality feeds!

Can someone tell me how to change the default icon? I did it previously by replacing the icon.png file. But it doesn't seem to have worked this time.
find quote
Post Reply