Kodi Community Forum
[RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - 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] Finnish TV: YleAreena and Ruutu (Video) plugins (/showthread.php?tid=144457)

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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - BoxFreak - 2015-04-28

(2015-04-27, 20:59)teemue Wrote:
(2015-04-27, 19:11)BoxFreak Wrote: Yle Areena stopped working today.

That's because Yle Areena has been updated. A quick fix which works so far is to replace every occurrence of "areena.yle.fi" to "areena-v3.yle.fi" in both yleareena.py and lib/yle-dl.py files.

Thank you, I´ll try this!


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - Raitsa - 2015-04-29

If anyone wants to share the updated, working files, please do so Smile


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - Wild Penguin - 2015-04-29

Code:
#!/bin/bash
cd ~/.kodi/addons/plugin.video.yleareena
cat yleareena.py | sed 's/areena.yle.fi/areena-v3.yle.fi/g' > yleareena.py.new
mv yleareena.py yleareena.py.ori
ln -s yleareena.py.new yleareena.py
cd lib
cat yle-dl.py | sed 's/areena.yle.fi/areena-v3.yle.fi/g' > yle-dl.py.new
mv yle-dl.py yle-dl.py.ori
ln -s yle-dl.py.new yle-dl.py

Untested. Please do not run unless you know what it does. Meant for the lazy people Wink


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - BoxFreak - 2015-04-29

(2015-04-29, 17:58)Raitsa Wrote: If anyone wants to share the updated, working files, please do so Smile

Just unzip the original install file, edit those two files with wordpad (replace all), and re-zip. Install and enjoy!

Here you are: http://www.filedropper.com/pluginvideoyleareena-172 ( this is fixed already Smile )


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - szymex - 2015-05-02

Now it is fixed in github, you should be getting auto update. I would recommend to use github for such fixes, this was it is faster to everybody to get updates.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - Anagonda - 2015-05-02

Hi, has any one problems with ruutu plugin? Or did I miss something while installing?

When I try to load any show list it gives me an error like: Attribute "strip" missing.
I can try to get the whole error if required.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - BoxFreak - 2015-05-06

HD seems to work now with Yle Areena. Picture quality is quite nice.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - teemue - 2015-05-07

Yle has released an open API.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - szymex - 2015-05-07

Interesting.., one downside is that it requires API key for each user.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - perplex - 2015-05-07

(2015-05-02, 15:59)szymex Wrote: Now it is fixed in github, you should be getting auto update. I would recommend to use github for such fixes, this was it is faster to everybody to get updates.

I am having problems with this new update.. Using Raspberry PI 2 with the newest OSMC

Yle areena LIVE is not working (was working with previous version of finnish-tv and manual 'areena.yle.fi' -> 'areena-v3.yle.fi' changes)

20:18:05 T:1700906016 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.yleareena/yleareena.py", line 456, in <module>
yleAreenaAddon.handle()
File "/home/osmc/.kodi/addons/plugin.video.yleareena/xbmcutil.py", line 54, in handle
self.playVideo(link)
File "/home/osmc/.kodi/addons/plugin.video.yleareena/yleareena.py", line 383, in playVideo
resolvedVideoLink, subtitleFiles = scrapVideo(link)
File "/home/osmc/.kodi/addons/plugin.video.yleareena/yleareena.py", line 67, in scrapVideo
clip = playlist[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
-->End of Python script error report<--


Also when hovering with mouse over TV1/TV2/TEEMA/FEM channel options gives:

20:20:31 T:1690682400 DEBUG: CurlFile::Open(0x6a9b77d8) http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-tv2.jpg
20:20:31 T:1450177568 DEBUG: CurlFile::Open(0x6751bca0) http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-fem.jpg
20:20:31 T:1709294624 DEBUG: CurlFile::Open(0x6ac2d700) http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-teema.jpg
20:20:31 T:1690682400 DEBUG: CCurlFile::Open - effective URL: <http://yle.fi/aihe/yleisradio>
20:20:31 T:1690682400 ERROR: COMXImageFile::ReadFile http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-tv2.jpg m_image_size zero
20:20:31 T:1690682400 DEBUG: CCurlFile::GetMimeType - http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-tv2.jpg -> x-directory/normal
20:20:31 T:1690682400 DEBUG: CurlFile::Open(0x6751c160) http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-tv2.jpg
20:20:31 T:1450177568 DEBUG: CCurlFile::Open - effective URL: <http://yle.fi/aihe/yleisradio>
20:20:31 T:1450177568 ERROR: COMXImageFile::ReadFile http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-fem.jpg m_image_size zero
20:20:31 T:1709294624 DEBUG: CCurlFile::Open - effective URL: <http://yle.fi/aihe/yleisradio>
20:20:31 T:1709294624 ERROR: COMXImageFile::ReadFile http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-teema.jpg m_image_size zero
20:20:31 T:1690682400 DEBUG: CCurlFile::Open - effective URL: <http://yle.fi/aihe/yleisradio>
20:20:31 T:1690682400 ERROR: COMXImageFile::ReadFile http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-tv2.jpg m_image_size zero
20:20:31 T:1690682400 NOTICE: LoadJpeg: unable to load http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-tv2.jpg
20:20:31 T:1690682400 DEBUG: CurlFile::Open(0x6751bca0) http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-tv2.jpg
20:20:31 T:1450177568 DEBUG: CCurlFile::GetMimeType - http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-fem.jpg -> x-directory/normal
20:20:31 T:1450177568 DEBUG: CurlFile::Open(0x6ac2d700) http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-fem.jpg
20:20:31 T:1709294624 DEBUG: CCurlFile::GetMimeType - http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-teema.jpg -> x-directory/normal
20:20:31 T:1709294624 DEBUG: CurlFile::Open(0x67543758) http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-teema.jpg
20:20:31 T:1690682400 DEBUG: CCurlFile::Open - effective URL: <http://yle.fi/aihe/yleisradio>
20:20:31 T:1450177568 DEBUG: Previous line repeats 1 times.
20:20:31 T:1450177568 ERROR: COMXImageFile::ReadFile http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-fem.jpg m_image_size zero
20:20:31 T:1450177568 NOTICE: LoadJpeg: unable to load http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-fem.jpg
20:20:31 T:1450177568 DEBUG: CurlFile::Open(0x6ac2d700) http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-fem.jpg
20:20:31 T:1709294624 DEBUG: CCurlFile::Open - effective URL: <http://yle.fi/aihe/yleisradio>
20:20:31 T:1709294624 ERROR: COMXImageFile::ReadFile http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-teema.jpg m_image_size zero
20:20:31 T:1709294624 NOTICE: LoadJpeg: unable to load http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-teema.jpg
20:20:31 T:1709294624 DEBUG: CurlFile::Open(0x67543758) http://yle.fi/yleisradio/sites/default/files/styles/inline-medium/public/yle-teema.jpg
20:20:31 T:1450177568 DEBUG: CCurlFile::Open - effective URL: <http://yle.fi/aihe/yleisradio>

Anybody else have the same problem ?


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - laurent-c - 2015-05-08

I have exactly same error messages on my PC (Ubuntu 14.04 with Kodi 14.2).
And, I still don't try again on my Boxee Box : I suppose that the issue with Python-Crypto is still not fixed.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - lemonadeCBC - 2015-05-15

I had also problem with some videos in Ubuntu and Kodi 14.2. After doing some debugging, found out that despite I had chosen not to use socks in settings it used anyways for some videos. This is most likely caused by some variable type mismatch in comparison.

Fixed it by changing one line in yleareena.py:

Old:
Code:
if useSocks > 0 and ( (clip != None and clip['international'] == False) or useSocks == 1):

New:
Code:
if int(useSocks) > 0 and ( (clip != None and clip['international'] == False) or int(useSocks) == 1):



RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - jii0 - 2015-05-20

(2015-05-07, 19:28)perplex Wrote:
(2015-05-02, 15:59)szymex Wrote: Now it is fixed in github, you should be getting auto update. I would recommend to use github for such fixes, this was it is faster to everybody to get updates.

I am having problems with this new update.. Using Raspberry PI 2 with the newest OSMC

Yle areena LIVE is not working (was working with previous version of finnish-tv and manual 'areena.yle.fi' -> 'areena-v3.yle.fi' changes)

20:18:05 T:1700906016 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.yleareena/yleareena.py", line 456, in <module>
yleAreenaAddon.handle()
File "/home/osmc/.kodi/addons/plugin.video.yleareena/xbmcutil.py", line 54, in handle
self.playVideo(link)
File "/home/osmc/.kodi/addons/plugin.video.yleareena/yleareena.py", line 383, in playVideo
resolvedVideoLink, subtitleFiles = scrapVideo(link)
File "/home/osmc/.kodi/addons/plugin.video.yleareena/yleareena.py", line 67, in scrapVideo
clip = playlist[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
-->End of Python script error report<--

It seems that there's still some old addresses in one python file.

Code:
xbmc@xbmc:~/.kodi/addons/plugin.video.yleareena$ find . -name "*.py" | xargs grep -l "areena.yle.fi"
./lib/yle-dl.py

As instructed in earlier messages I also did the following.

Code:
xbmc@xbmc:~/.kodi/addons/plugin.video.yleareena$ cd lib/
xbmc@xbmc:~/.kodi/addons/plugin.video.yleareena/lib$ mv yle-dl.py yle-dl.py.bak
xbmc@xbmc:~/.kodi/addons/plugin.video.yleareena/lib$ cat yle-dl.py.bak | sed s/areena.yle.fi/areena-v3.yle.fi/g > yle-dl.py



RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - perplex - 2015-05-21

(2015-05-20, 19:56)jii0 Wrote:
(2015-05-07, 19:28)perplex Wrote:
(2015-05-02, 15:59)szymex Wrote: Now it is fixed in github, you should be getting auto update. I would recommend to use github for such fixes, this was it is faster to everybody to get updates.

I am having problems with this new update.. Using Raspberry PI 2 with the newest OSMC

Yle areena LIVE is not working (was working with previous version of finnish-tv and manual 'areena.yle.fi' -> 'areena-v3.yle.fi' changes)

20:18:05 T:1700906016 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.yleareena/yleareena.py", line 456, in <module>
yleAreenaAddon.handle()
File "/home/osmc/.kodi/addons/plugin.video.yleareena/xbmcutil.py", line 54, in handle
self.playVideo(link)
File "/home/osmc/.kodi/addons/plugin.video.yleareena/yleareena.py", line 383, in playVideo
resolvedVideoLink, subtitleFiles = scrapVideo(link)
File "/home/osmc/.kodi/addons/plugin.video.yleareena/yleareena.py", line 67, in scrapVideo
clip = playlist[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
-->End of Python script error report<--

It seems that there's still some old addresses in one python file.

Code:
xbmc@xbmc:~/.kodi/addons/plugin.video.yleareena$ find . -name "*.py" | xargs grep -l "areena.yle.fi"
./lib/yle-dl.py

As instructed in earlier messages I also did the following.

Code:
xbmc@xbmc:~/.kodi/addons/plugin.video.yleareena$ cd lib/
xbmc@xbmc:~/.kodi/addons/plugin.video.yleareena/lib$ mv yle-dl.py yle-dl.py.bak
xbmc@xbmc:~/.kodi/addons/plugin.video.yleareena/lib$ cat yle-dl.py.bak | sed s/areena.yle.fi/areena-v3.yle.fi/g > yle-dl.py

This fixed the live feeds.. thanks!


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - Raitsa - 2015-05-21

If you guys have an updated & working version, please share it cos v1.80 of the plugin does not work anymore.