Kodi Community Forum

Full Version: [RELEASE] YleAreena (Video) Plugin - Finnish TV
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
Hello,

Here's a video plugin for streaming media from YleAreena. It's a finnish media portal by one of the major TV channels here, so the user base for this plugin might be pretty limited. Smile

The plugin was requested here.

Oh, btw. the plugin doesn't stream the media in XP for me, but works ok in XBOX. Don't know what's up with that, but it's enough for me that it works in XBOX. I'll fix it if someone got some ideas.

Also, it's not possible to forward / rewind the streams. I don't know if that's a bug in my end on how the stream is setup or a feature in xbmc / mplayer in general.

Credits goes to all XBMC developers and some things I lent from VideoMonkey plugin, thanks to you all!

EDIT: Changed download url to google code project
Thanks for the plugin but like you said it doesn't seem to work atleast on XP. Got any new ideas on what might be wrong with it?

I don't really have experience with Python but I can probably offer atleast some help. How can you see a plugin's log? It's quite simple with scripts but I haven't found it for plugins.
it may be something to do with dvdplayer. xbox probably uses mplayer for the streams. can you post a trac bug report with a test stream from there.

thanks
Not sure if there's need for bug reports yet but atleast here's standard mplayer's log from console when I'm trying to open a video address I copied from the YleAreena plugin:
Code:
Playing http://mediak.yle.fi/kotimaa/areena/1/67/30/1673022_999481.wmv?MSWMExt=.asf.
Resolving mediak.yle.fi for AF_INET6...
Couldn't resolve name for AF_INET6: mediak.yle.fi
Resolving mediak.yle.fi for AF_INET...
Connecting to server mediak.yle.fi[195.248.86.140]: 80...
Cache size set to 320 KBytes
And it just keeps repeating that.
Hiya,

I tested script on WinVista and noticed that plugin list's video and audio, which i think is bad. Sad If plugin would be seperated to plugins for audio and video mode, that would be ok.

Also, there is also podcasts, radio channels and live streams like upcoming Independence Day of Finland's reception, so there is lots of content unused at the moment in plugin. Laugh Don't know however that does XBMC support for live streams, does it?

I've been coding for my own version of this some weeks ago, i have been however busy with plugin for TVkaista and i reinstalled vista some weeks ago so it's quite unfinished.

However, kudos to you, sir! Laugh Your plugin would be ace if you just add at least podcasts.

Some text in finnish about my own plugin / Kirjoitusta suomeksi omasta plugarista:
http://janil.jaiku.com/presence/50042311#comments

One picture of my own plugin:
http://jarppa.net/galleria/v/YLEAreenaForXBMC/
Hello and thanks for the feedback.

Unfortunately, I don't have any fixes for the playback issue in WinXP.

@JaniL:

I haven't used YleAreena my self, so I really don't even know what's in there Smile I just made the plugin as it was requested and thought it was pretty fast to come up with. I can make it list audio streams separately from video and list also podcasts etc, but could you give me a little help with it?

Could you provide the URLs where these various things are posted at, so I could take a look at the HTML and see what I can parse from it. Also, do you know already how you can differentiate video stream from audio stream in the html of the lists that are currently used by the video plugin? This kind of info would speed it up so I don't need to dig up YleAreena's portal my self so much Smile
doze Wrote:I can make it list audio streams separately from video and list also podcasts etc, but could you give me a little help with it?

I myself seperated them with checking amount of videos/audios and if amount != 0, then list it.
Amounts are in:
Code:
<td class="count video">10</td><td class="count audio">0</td>

There are filters that can make a list of just video or audio in program's browse.

http://areena.yle.fi/hae?pid=175730&filter=1,1 for just videos
http://areena.yle.fi/hae?pid=175730&filter=1,2 for just audio

Podcasts are at http://areena.yle.fi/podcast and live streams at http://areena.yle.fi/suora

In live streams, there are YLE's radio channels, but they sometimes have some live feeds for (music/sports) events. Also, you might want to add YleX's video stream, because it hasn't only have webcam of the studio, they also sometimes stream some events from it.
Ok, I'll make new versions with audio and video in their own plug-ins.. not sure if I can get all that in next version, but lets see..
My svn trunk contains new versions of the Yle Areena plugins (separate video and music), but I have still some minor things to do (such as add the date parsing for podcast items), so I won't be uploading the zips just yet. If you are in a hurry, you can check out the trunk and start testing Smile ..
New versions can be found via the link at the first post.

There are separate music and video plugins.

Music plugins supports a-z program listing, pre-set categories, podcasts, internet radio channels and search

Video plugin supports a-z program listing, ylex tv stream, pre-set categories and search

If you want to see a better change log, view the SVN commit log.

I will look into getting "elävä arkisto" support for the plugins next.

Please test and report!
I am trying to use this plugin but none of the videos start or the music.

I am using Atlantis 8.10 on kubuntu 8.10. Has anyone got this working on linux?

Do you need to be in Finland for this to work and if you do can the plugin be set up to go through a proxy.

I am trying to set this up for my wife who is Finnish but we like in the UK.
I don't think you need to be in Finland for this to work, but unfortunately I haven't been able to get the video streams playing anywhere other than XBOX.

In XBOX, all the streams plays nicely, but for example in WinXp I get "Playlist playback aborted. Too many consecutive failed items." error when trying to play anything. The only thing that works in WinXp xbmc is the podcast streams.

I think it could be some kind of a bug with WinXp xbmc mplayer, but don't know what..

The streams are .asx files like this:
http://www.yle.fi/java/areena/dispatcher...?bitrate=1
Code:
<ASX><ENTRY><TITLE></TITLE>
<REF HREF="http://mediak.yle.fi/media/areena/1/72/36/1723628_1019113.wmv"></REF>
<REF HREF="http://mediau.yle.fi/media/areena/1/72/36/1723628_1019113.wmv"></REF>
</ENTRY></ASX>
New 1.0.2 versions available with minor fixes: Program title parsing (what is shown in pre-set categories view and in search) was fixed so that the script doesn't choke if title is not set. Pre-set categories were moved to own folder not to clutter the "main view".

NOTE: I'd really like to get some help with that stream playback issue for other platforms. Anyone have any ideas?

Also, stream seeking would be nice. Don't know why mplayer doesn't support it. It could be done by saving the stream to a file temporarily and reading from there.. but I don't really like that option.
SlugO Wrote:Not sure if there's need for bug reports yet but atleast here's standard mplayer's log from console when I'm trying to open a video address I copied from the YleAreena plugin:
Code:
Playing http://mediak.yle.fi/kotimaa/areena/1/67/30/1673022_999481.wmv?MSWMExt=.asf.
Resolving mediak.yle.fi for AF_INET6...
Couldn't resolve name for AF_INET6: mediak.yle.fi
Resolving mediak.yle.fi for AF_INET...
Connecting to server mediak.yle.fi[195.248.86.140]: 80...
Cache size set to 320 KBytes
And it just keeps repeating that.

same problem here,even with 1.0.2 version.Can't open any stream..
realjobe Wrote:same problem here,even with 1.0.2 version.Can't open any stream..

Problem "sovled". Use official Atlantis version only, this one works.
Can anyone tell me where to find (trunk?) similar Finn plugins
SubTV & Nelonen video plugs?
Smile
Pages: 1 2 3 4 5 6