• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 49
[RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins
#1
Video Plugins for playing Finnish television content containers.

Features:
  • browse all programs
  • add favourites series to main view
  • paging
  • grouping by publish date
  • show warning with remaining time of video before it is removed
  • subtitles support (YLE Areena)

Repository:
Download: repository.finnish-tv-1.0.1.zip

YLE Areena
Download: plugin.video.yleareena
Credit goes to Antti Ajanki for developing yle-dl library.

Ruutu.fi
Download: plugin.video.ruutu

Katsomo.fi
Download: plugin.video.katsomo
Known issue: some videos with poor quality

For bugs and feature requests, please use github's issues.

Anyone who wants to join me on github in development, is more that welcome! Just give your github username and I will add you to a project.Cool
Reply
#2
Thanks/Kiitos
At last working Areena plugin.
Once I thought I was mistaken, but I was mistaken.
Don't say thanks, if I helped, just rate my reputation =)
Reply
#3
Updated both plugins, added some usability improvements.
Reply
#4
Any chance to get these working on OSX? Areena does not start at all, Ruutu crashes and hangs in most places, uusimmat and suosituimmat seem to work a little bit.

Areena: 22:04:01 T:4618407936 ERROR: No module named Crypto.Cipher

One of the errors in Ruutu:

Code:
22:04:15 T:4597125120   ERROR: EXCEPTION: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
22:04:15 T:4597125120   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: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
                                            Traceback (most recent call last):
                                              File "/Users/anssi/Library/Application Support/XBMC/addons/plugin.video.ruutu/ruutu.py", line 308, in <module>
                                                ruutu.handle()
                                              File "/Users/anssi/Library/Application Support/XBMC/addons/plugin.video.ruutu/xbmcutil_v1_0_1.py", line 40, in handle
                                                hdlFunc(int(pg), params)
                                              File "/Users/anssi/Library/Application Support/XBMC/addons/plugin.video.ruutu/ruutu.py", line 238, in handleCategory
                                                self.listItems(items, pg, args, 'category', True)
                                              File "/Users/anssi/Library/Application Support/XBMC/addons/plugin.video.ruutu/ruutu.py", line 254, in listItems
                                                self.addVideoLink(self.GROUP_FORMAT % groupName, '', None)
                                              File "/Users/anssi/Library/Application Support/XBMC/addons/plugin.video.ruutu/xbmcutil_v1_0_1.py", line 74, in addVideoLink
                                                liz=xbmcgui.ListItem(title, iconImage=icon, thumbnailImage=img)
                                            TypeError: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
                                            -->End of Python script error report<--

Reply
#5
I do not have OSX, so I can not try it my self. For areena you need to install pycrypto. For ruutu try now from https://github.com/szymex/xbmc-finnish-tv, I did remove that None that was causing exception.

By the way, are you using Eden?
Reply
#6
All the Ruutu sections seem to work know, but i only tested very briefly. I have to look intp pycrypto. I'm using Frodo monthly 7.

Kiitos plugineista, jo oli aikakin saada XBMC:lle.
Reply
#7
I just downloaded the Areena plugin and tried to browse the "Suora" category, but I keep getting this exception:

Quote:08:07:05 T:2813033328 ERROR: EXCEPTION: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
08:07:05 T:2813033328 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: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
Traceback (most recent call last):
File "/home/sam/.xbmc/addons/plugin.video.yleareena/yleareena.py", line 257, in <module>
yleAreenaAddon.handle()
File "/home/sam/.xbmc/addons/plugin.video.yleareena/xbmcutil_v1_0_1.py", line 40, in handle
hdlFunc(int(pg), params)
File "/home/sam/.xbmc/addons/plugin.video.yleareena/yleareena.py", line 170, in handleLive
self.addVideoLink(' [COLOR blue]' + day + '[/COLOR]', '', None)
File "/home/sam/.xbmc/addons/plugin.video.yleareena/xbmcutil_v1_0_1.py", line 74, in addVideoLink
liz=xbmcgui.ListItem(title, iconImage=icon, thumbnailImage=img)
TypeError: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
-->End of Python script error report<--
08:07:05 T:2813033328 INFO: Python script stopped
08:07:05 T:2813033328 DEBUG: Thread XBPyThread 2813033328 terminating
08:07:05 T:2770037616 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
08:07:05 T:3019495200 ERROR: GetDirectory - Error getting plugin://plugin.video.yleareena/?view=live&link=http%3A%2F%2Fareena.yle.fi%2Ftv%2Fsuora.json%3Ffrom%3D0%26to%3D24&pg=0
08:07:05 T:3019495200 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.yleareena/?view=live&link=http%3A%2F%2Fareena.yle.fi%2Ftv%2Fsuora.json%3Ffrom%3D0%26to%3D24&pg=0) failed

Seems to be a character encoding problem. When attempting to view the Uutiset category I'm getting this fairly similar error:

Quote:08:12:15 T:2880437104 ERROR: EXCEPTION: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
08:12:15 T:2880437104 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: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
Traceback (most recent call last):
File "/home/sam/.xbmc/addons/plugin.video.yleareena/yleareena.py", line 257, in <module>
yleAreenaAddon.handle()
File "/home/sam/.xbmc/addons/plugin.video.yleareena/xbmcutil_v1_0_1.py", line 40, in handle
hdlFunc(int(pg), params)
File "/home/sam/.xbmc/addons/plugin.video.yleareena/yleareena.py", line 238, in handleSerie
self.addVideoLink(self.GROUP % groupName, '', None)
File "/home/sam/.xbmc/addons/plugin.video.yleareena/xbmcutil_v1_0_1.py", line 74, in addVideoLink
liz=xbmcgui.ListItem(title, iconImage=icon, thumbnailImage=img)
TypeError: argument "thumbnailImage" for method "XBMCAddon::xbmcgui::ListItem" must be unicode or str
-->End of Python script error report<--
08:12:15 T:2880437104 INFO: Python script stopped
08:12:15 T:2880437104 DEBUG: Thread XBPyThread 2880437104 terminating
08:12:15 T:2813033328 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
08:12:15 T:3019495200 ERROR: GetDirectory - Error getting plugin://plugin.video.yleareena/?view=serie&link=http%3A%2F%2Fareena.yle.fi%2Ftv%2Fuutiset%2Fkaikki.json%3Fjarjestys%3Duusin&grouping=True&pg=1
08:12:15 T:3019495200 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.yleareena/?view=serie&link=http%3A%2F%2Fareena.yle.fi%2Ftv%2Fuutiset%2Fkaikki.json%3Fjarjestys%3Duusin&grouping=True&pg=1) failed
Reply
#8
Try to download again, just made fixed zip files.
Reply
#9
(2012-11-07, 09:00)szymex Wrote: Try to download again, just made fixed zip files.

Thanks, I'll try it out when I get home.
Reply
#10
Now those plugins are even better.
I used last night without "none lines" script when I watched live feed and it works Win7 64-bit.

But I jump to the different thing....
Can you make szymex katsomo-plugin too?
I found code, but it looks like Dharma-code and wont work with Eden.
https://github.com/miok/nettiteevee-xbmc...default.py
Maybe you can look at it and make working plugin?
It isnt nice code, but urls works ^^

But thanks again those plugins.
Once I thought I was mistaken, but I was mistaken.
Don't say thanks, if I helped, just rate my reputation =)
Reply
#11
(2012-11-07, 14:49)JPXNET Wrote: Can you make szymex katsomo-plugin too?
I found code, but it looks like Dharma-code and wont work with Eden.
https://github.com/miok/nettiteevee-xbmc...default.py
Maybe you can look at it and make working plugin?
It isnt nice code, but urls works ^^

But thanks again those plugins.

Of course I am thinking on doing katsomo plugin, but do not want to give any promises. Maybe somebody wants to participate so we could develop together?
Reply
#12
Thanks for these plugins!
Yle-plugin works fine but I can't get that ruutu-plugin to start playing. It lists clips but when I select one to play, it just rotates that working indicator for a while and then nothing happens.

It would be nice if yle-plugin could download subtitles. IIRC yle-dl has an option for that already.
Reply
#13
@szymex: I tried the latest version (downloaded and installed the ZIP again) but I'm still getting the same errors as posted above.
Reply
#14
I believe plugin was made for Stable Release: 11.0 “Eden”.

Maybe problem is Frodo?
Nightly Builds:
Only for the brave. You should expect breakage when running these builds.

Once I thought I was mistaken, but I was mistaken.
Don't say thanks, if I helped, just rate my reputation =)
Reply
#15
(2012-11-08, 01:39)JPXNET Wrote: I believe plugin was made for Stable Release: 11.0 “Eden”.

Maybe problem is Frodo?
Nightly Builds:
Only for the brave. You should expect breakage when running these builds.

Yes I'm using Frodo. If a plugin doesn't work with it yet it's about time to start fixing it since Frodo will be released relatively soon.
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 49

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins8