Kodi Community Forum
[RELEASE] ITV Catchup (Video) Plugin - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] ITV Catchup (Video) Plugin (/showthread.php?tid=32897)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


- bertybassett - 2011-09-12

MacLondon Wrote:Mike, to get it to work, get the old version of the plugin from http://www.megaupload.com/?d=46PTHD5V.

Then these 3 file need to be copied into the plugin folder:
  1. addon.xml

  2. default.py

  3. utils.py - make sure it's saved as 'utils.py' and not as 'utils.txt' (or 'utils.py.txt')

The first 2 files are replacements, and the 3rd file (taken from the BBC plugin) is new to the ITV plugin.

Finally in your 'userdata/addon_data' folder, you need to create a new folder called "plugin.video.itv". Then in this new folder, create two subfolders called "Images" & "Subtitles".

I can confirm that using my test Windows PC these instructions worked like a treat. This week I will try and make this work on the XBMC live PC that I use as my living and report back.

Thumbs up for the instructions. Any chance of adding this to the main repository someone?


- LAGMonkey - 2011-09-15

Ive got it running on my XBMC live setup and you NEED to update the rtmpdump by using the following code (post #10 http://ubuntuforums.org/showthread.php?t=1537278 )

andrew.46 @ ubuntu forums Wrote:sudo apt-get -y install build-essential checkinstall libssl-dev && \
wget http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.3.tgz && \
tar xvf rtmpdump-2.3.tgz && cd rtmpdump-2.3 && \
make SYS=posix && \
sudo checkinstall && sudo ldconfig

After that, i now have a problem with VDAPU where watching the rugby it artifacts the bottom 1/4 of the screen. Turning to software rendering fixes that issue but its a work-around. I also have a problem with the system dropping back to the menu screen with out buffering, at random intervals after the following error.
Quote:19:37:17 T:139768046466816 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
As well as python moaning about depreciated modules
Quote:19:37:17 T:139768067446528 ERROR: /home/xbmc/.xbmc/addons/plugin.video.itv/default.py:1: DeprecationWarning: the md5 module is deprecated; use hashlib ins$
import urllib,urllib2,re,sys,socket,os,md5,datetime,xbmcplugin,xbmcgui
19:37:17 T:139768067446528 ERROR: /home/xbmc/.xbmc/addons/plugin.video.itv/default.py:4: DeprecationWarning: os.getcwd() currently lies to you so please u$
sys.path.insert(0, os.path.join(os.getcwd(), 'lib'))
19:37:17 T:139768067446528 ERROR: /home/xbmc/.xbmc/addons/plugin.video.itv/lib/httplib2.py:44: DeprecationWarning: the sha module is deprecated; use the h$
import sha


EDIT:: i started a thread about my problem, im thinking there is a problem with RTMP.... can anyone test this by watching one fo the rugby games (specifically the Scotland v Georga game) and see if it dropps back to the menu?

http://forum.xbmc.org/showthread.php?tid=110197

EDIT2:: I have since found that its a really good idea to complie rtmpdump from git and use the latest v2.4.


- mallettron - 2011-09-16

MacLondon Wrote:Mike, to get it to work, get the old version of the plugin from http://www.megaupload.com/?d=46PTHD5V.

Then these 3 file need to be copied into the plugin folder:
  1. addon.xml

  2. default.py

  3. utils.py - make sure it's saved as 'utils.py' and not as 'utils.txt' (or 'utils.py.txt')

The first 2 files are replacements, and the 3rd file (taken from the BBC plugin) is new to the ITV plugin.

Finally in your 'userdata/addon_data' folder, you need to create a new folder called "plugin.video.itv". Then in this new folder, create two subfolders called "Images" & "Subtitles".


Hi there thanks for the info but I am still getting Error Script failed : plugin.video.itv

Im getting the main programs list and the thumbnail but it wont go into the sub menu, just the error

Running ATV2

Thanks

Ronnie


- cherzo - 2011-09-17

mallettron Wrote:Hi there thanks for the info but I am still getting Error Script failed : plugin.video.itv

Im getting the main programs list and the thumbnail but it wont go into the sub menu, just the error

Running ATV2

Thanks

Ronnie

make sure you do this part

'Finally in your 'userdata/addon_data' folder, you need to create a new folder called "plugin.video.itv". Then in this new folder, create two subfolders called "Images" & "Subtitles".'


- mallettron - 2011-09-17

Yes I have done that (i noticed the change from userdata to userdata/addon_data folder)

Im using the latest build for atv2

I used the link in the message for utils.py, should I use the one from my working iplayer setup??

Thanks


- mallettron - 2011-09-17

just copied my utils.py from iplayer over, still the same

methinks Im missing something


- daedalia - 2011-09-19

For the AT2 (and other iOS devices), the directory where you create the plugin.video.itv/Images and plugin.video.itv/Subtitles folders should be in /var/mobile/Library/Preferences/XBMC/userdata/addon_data and not the userdata folder in the application directory. The owner should be mobile and permissions 755.

The librtmp.dll shouldn't be needed as it's complied for windows. I messed around with XBMC alot before I found the above and got it working. I replaced /private/var/stash/Applications/XBMC.app/Frameworks/librtmp.0.dylib with the file here at some point:
http://code.google.com/p/bluecop-xbmc-repo/downloads/detail?name=librtmp.0.dylib

If after doing the first step you still have no joy; try replacing librtmp.0.dylib. All the best, Bryn.


- daedalia - 2011-09-20

Quick n dirty logo for it, copy into plugin directory.
http://db.tt/pVk5cEC


- mallettron - 2011-09-20

The owner should be mobile and permissions 755

thats the important part

everything now works, many thanks from a numptie Confused


- Kalakuta - 2011-09-20

The owner of what should be mobile, and where do these settings go?

I've added the files to the correct directory using ssh in a linux terminal, but where do I find/adjust these permissions and owner details?


- Kalakuta - 2011-09-20

Now sorted - for those working from terminal:

change owner with: chown mobile plugin.video.itv
change permissions with chmod 755 plugin.video.itv

Thanks all! Now watching Appropriate Adult.

All I need now is for the youtube plugin to connect to 4oD and Demand 5...


- daedalia - 2011-09-20

I type too slow, you've answered yourself.

There must be something with a GUI for Linux, maybe CyberDuck?

For YouTube use the stock one in the add addons section, if you subscribe to the 4OD n Five channels with you login you can sign in to the plugin and pull them through.


aTV 2 - Bandaids - 2011-09-20

Hi all,

Has anyone been able to get this to work on aTV 2. I have followed the directions in post #196, however I too get a script error.

The plugin seems to load all the shows finem however when you click on a show, no episodes come up, it just says "script error".

Could someone who has is working on aTV2, please post some step by step instructions on a fix, please??

Cheers,

:confused2:


- mallettron - 2011-09-21

Hi
Try following post 202, I had the same problem and it was the permissions that caused the problem

If you are familiar with winscp you should be able to set the directories correctly

It was the one bit of information that I dont think was posted before

Any problems ask on here and we will try and walk you though it

BTW got 4OD via youtube, just trying to sort out channel 5 now


- LAGMonkey - 2011-09-21

Does anyone have a problem with the stream failing to complete properly? At the moment i can watch for a while but at random intervals i get dumped back into the menu.

Does ITV give different feeds for different quality levels? A bit like the BBC. Id love to be able to reduce the quality a little. For me I run the BBC plugin at 1500k instead of 3200k and i get no problems with playback.