[RELEASE] YleAreena (Video) Plugin - Finnish TV
#31
Well it took a few hours to wrap yle-dl around xbmc.Player() but now the very first prototype seems to be capable of playing rtmp stream from areena. Let's see what "security systems" the upcoming areena presents.

http://lartza.dy.fi/~lartza/plugin.video.yle
Reply
#32
Hi, I tried your plugin, installed RTMPDump-YLE but I'm getting errors:

Code:
14:04:14 T:8570688 M:865480704  NOTICE: DVDPlayer: Opening: rtmp://flashk.yle.fi/AreenaServer swfUrl=http://areena.yle.fi/player/Application.swf?build=2 pageUrl=http://areena.yle.fi/video/1310123777235 areenaparams=clip:1310123777235;fmsurl:rtmp://flashk.yle.fi/AreenaServer/;foreign_fmsurl:rtmp://flashu.yle.fi/AreenaServer/;language:fi;initialPreview:http://areena.yle.fi/resized/x700/yle.fi/progressive/areena2/img/2011/7/8/1310123777235_1310123777279.jpg;menu_recommended:true;
14:04:14 T:8570688 M:865480704 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:04:14 T:2931809136 M:865480704   DEBUG: Thread CDVDPlayer start, auto delete: 0
14:04:14 T:2931809136 M:865480704  NOTICE: Creating InputStream
14:04:14 T:2931809136 M:865480704    INFO: CDVDInputStreamRTMP: Using external libRTMP
14:04:14 T:2931809136 M:864718848    INFO: Parsing...
14:04:14 T:2931809136 M:864718848    INFO: Parsed protocol: 0
14:04:14 T:2931809136 M:864718848    INFO: Parsed host    : flashk.yle.fi
14:04:14 T:2931809136 M:864718848    INFO: Parsed app     : AreenaServer
14:04:14 T:2931809136 M:864718848   ERROR: Unknown option areenaparams
14:04:14 T:2931809136 M:864718848   ERROR: Valid RTMP options are:
14:04:14 T:2931809136 M:864718848   ERROR:      socks string   Use the specified SOCKS proxy
14:04:14 T:2931809136 M:864718848   ERROR:        app string   Name of target app on server
14:04:14 T:2931809136 M:864718848   ERROR:      tcUrl string   URL to played stream
14:04:14 T:2931809136 M:864718848   ERROR:    pageUrl string   URL of played media's web page
14:04:14 T:2931809136 M:864718848   ERROR:     swfUrl string   URL to player SWF file
14:04:14 T:2931809136 M:864718848   ERROR:   flashver string   Flash version string (default LNX 10,0,32,18)
14:04:14 T:2931809136 M:864718848   ERROR:       conn AMF      Append arbitrary AMF data to Connect message
14:04:14 T:2931809136 M:864718848   ERROR:   playpath string   Path to target media on server
14:04:14 T:2931809136 M:864718848   ERROR:   playlist boolean  Set playlist before play command
14:04:14 T:2931809136 M:864718848   ERROR:       live boolean  Stream is live, no seeking possible
14:04:14 T:2931809136 M:864718848   ERROR:  subscribe string   Stream to subscribe to
14:04:14 T:2931809136 M:864718848   ERROR:      token string   Key for SecureToken response
14:04:14 T:2931809136 M:864718848   ERROR:     swfVfy boolean  Perform SWF Verification
14:04:14 T:2931809136 M:864718848   ERROR:     swfAge integer  Number of days to use cached SWF hash
14:04:14 T:2931809136 M:864718848   ERROR:      start integer  Stream start position in milliseconds
14:04:14 T:2931809136 M:864718848   ERROR:       stop integer  Stream stop position in milliseconds
14:04:14 T:2931809136 M:864718848   ERROR:     buffer integer  Buffer time in milliseconds
14:04:14 T:2931809136 M:864718848   ERROR:    timeout integer  Session timeout in seconds
14:04:14 T:2931809136 M:864718848   ERROR: CDVDPlayer::OpenInputStream - error opening [rtmp://flashk.yle.fi/AreenaServer swfUrl=http://areena.yle.fi/player/Application.swf?build=2 pageUrl=http://areena.yle.fi/video/1310123777235 areenaparams=clip:1310123777235;fmsurl:rtmp://flashk.yle.fi/AreenaServer/;foreign_fmsurl:rtmp://flashu.yle.fi/AreenaServer/;language:fi;initialPreview:http://areena.yle.fi/resized/x700/yle.fi/progressive/areena2/img/2011/7/8/1310123777235_1310123777279.jpg;menu_recommended:true;]
14:04:14 T:2931809136 M:864718848  NOTICE: CDVDPlayer::OnExit()
Reply
#33
Which operating system are you using? It seems that your xbmc uses generic rtmpdump library instead of rtmpdump-yle. On archlinux rtmpdump and rtmpdump-yle conflict because both have /usr/lib/librtmp.so file in the package.

So, my librtmp.so was replaced automatically by rtmpdump-yle package therefore xbmc uses it instead of regular rtmpdump.

This means that you probably have to manually replace the librtmp.so used by xbmc with the rtmpdump-yle librtmp.so since the packaging of rtmpdump is different on your end. Try listing the contents of rtmpdump and rtmpdump-yle packages on your distribution so you can see where the yle version of librtmp.so is located. lddconfig path-to-xbmc-binary will display which library files xbmc links to.
Reply
#34
Would like to give it a try, but how do you install?
Do you have to create a directory with all files in then zip them and install that way..?

To answer my own question: yes, that is the way to do it :-)

However, all playback fails for me on the ATV2. Will try to post logs later.
--
XBMC HUB - THE NEW HOME FOR ADD-ONS and PLUGINS
Read how my ATV2 installation went
ATV2 one week on ... it's getting better all the time
XBMC/ATV2 - Feeling the love
--
XBMC:
Platform - Darwin iOS (11.0.0 AppleTV2,1, Version 4.3 (Build 8F305)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Platform - Darwin OSX (8.8.2 i386, Version 10.4.7 (Build 8N6014)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Reply
#35
I'm, using XBMV live distro. I could not find file librtmp.so that would come from RTMPDump-YLE (I installed it from deb file.), only one with version 2.3-2. How to get that library?

Reply:
It seems that in order to get updated librtmp.so library it needs to be compiled: make SHARED=yes
Reply
#36
szymex Wrote:I'm, using XBMV live distro. I could not find file librtmp.so that would come from RTMPDump-YLE (I installed it from deb file.), only one with version 2.3-2. How to get that library?

Reply:
It seems that in order to get updated librtmp.so library it needs to be compiled: make SHARED=yes

Cheers! This worked for me. I'm also using xbmc live. I also had to fiddle with permissions to make it install.
Reply
#37
If anyone interested here is a simply addon for ruutu.fi: http://dl.dropbox.com/u/2755245/plugin.video.ruutu.zip
Reply
#38
szymex Wrote:If anyone interested here is a simply addon for ruutu.fi: http://dl.dropbox.com/u/2755245/plugin.video.ruutu.zip

This is great! Are you planning on adding more than just "newest episodes"?
Reply
#39
Yes, when I have some time.
Reply
#40
szymex Wrote:If anyone interested here is a simply addon for ruutu.fi: http://dl.dropbox.com/u/2755245/plugin.video.ruutu.zip

Thanks.
--
XBMC HUB - THE NEW HOME FOR ADD-ONS and PLUGINS
Read how my ATV2 installation went
ATV2 one week on ... it's getting better all the time
XBMC/ATV2 - Feeling the love
--
XBMC:
Platform - Darwin iOS (11.0.0 AppleTV2,1, Version 4.3 (Build 8F305)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Platform - Darwin OSX (8.8.2 i386, Version 10.4.7 (Build 8N6014)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Reply
#41
Revisited the Areena plugin today, but couldn't update that due to invalid directory structure. (Beta 2 ATV2)
Was wondering whether Katsomo would be easy to make a plugin for.
Perhaps I could have a crack at it ... though never coded for XBMC before.

Any help appreciated.
--
XBMC HUB - THE NEW HOME FOR ADD-ONS and PLUGINS
Read how my ATV2 installation went
ATV2 one week on ... it's getting better all the time
XBMC/ATV2 - Feeling the love
--
XBMC:
Platform - Darwin iOS (11.0.0 AppleTV2,1, Version 4.3 (Build 8F305)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Platform - Darwin OSX (8.8.2 i386, Version 10.4.7 (Build 8N6014)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Reply
#42
I was just wondering what is the need for this PlugIn, browsers and all at close range, but then it hit me: raspberry pi xbmc needs this.
Reply
#43
Anything needs it if you don't want to XBMC to watch this stuff.
--
XBMC HUB - THE NEW HOME FOR ADD-ONS and PLUGINS
Read how my ATV2 installation went
ATV2 one week on ... it's getting better all the time
XBMC/ATV2 - Feeling the love
--
XBMC:
Platform - Darwin iOS (11.0.0 AppleTV2,1, Version 4.3 (Build 8F305)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Platform - Darwin OSX (8.8.2 i386, Version 10.4.7 (Build 8N6014)).
11.0-RC2 - Built on Mar 1 2012 (Git:20120229-f38655f)
Reply
#44
jabba_29 Wrote:Revisited the Areena plugin today, but couldn't update that due to invalid directory structure. (Beta 2 ATV2)
Was wondering whether Katsomo would be easy to make a plugin for.
Perhaps I could have a crack at it ... though never coded for XBMC before.

Any help appreciated.

Check out webvideo http://users.tkk.fi/~aajanki/vdr/webvideo/

It supports areena, ruutu.fi, katsomo and subtv.
Reply
#45
Hei!

I have made simple plugin for YLE Areena: http://dl.dropbox.com/u/2755245/plugin.v...na-0.1.zip
It requires installing latest yle-dl: http://users.tkk.fi/~aajanki/rtmpdump-yle/index-en.html

You can add more rss links by editing file: plugin.video.yleareena/categories.txt

Terveisin
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] YleAreena (Video) Plugin - Finnish TV0