FAQ  •  Register  •  Login

SvtPlay

<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Tue Jul 01, 2014 12:14 pm

Re: SvtPlay

kjesch wrote:I can now only see 6 entries in each category instead of up to 40 entries that I have specified and which I could see earlier. I have restarted my computer and I have checked it on 3 DLNA clients and there are only six entries in each category now.

Any ideas?


I'll have a look and will get back promptly.

It would be helpful if you could post at least one of the resource URL:s which you are using.

Regards

/ O
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Wed Jul 02, 2014 6:29 am

Re: SvtPlay



Kjell,

You need to use a browser and navigate to your preferred content, grab the current URL and edit your feeds to reflect the new structure of the site.

For you, these are the correct feeds:

http://www.svtplay.se/filmochdrama?tab=senaste
http://www.svtplay.se/dokumentar?tab=senaste
http://www.svtplay.se/kulturochnoje?tab=senaste
http://www.svtplay.se/samhalleochfakta?tab=senaste

Note that you no longer need the &sida=4 suffix to get more than 8 entries.

What I found when debugging is that you DO need to add the
  Code:
?tab=senaste
query string to get more than six items in the feed.
I'll look into automatically adding that query string when applicable.

Regards

/ O
<<

kjesch

Serviio newbie

Posts: 14

Joined: Thu Feb 21, 2013 1:08 pm

Post Thu Jul 03, 2014 8:15 am

Re: SvtPlay

Perfect!

Thank you Ottomatic!

Regards

/Kjell
<<

hjkl123

Serviio newbie

Posts: 1

Joined: Thu Jul 03, 2014 10:38 pm

Post Thu Jul 03, 2014 10:42 pm

Re: SvtPlay

Could you post the address for the news please.

I tried http://www.svtplay.se/nyheter?tab=senaste but it is not working.
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Fri Jul 04, 2014 3:30 pm

Re: SvtPlay

hjkl123 wrote:Could you post the address for the news please.

I tried http://www.svtplay.se/nyheter?tab=senaste but it is not working.


Hi,

That section does not follow the regular pattern, so I will have to adjust the plugin.

I may be able to do that this coming weekend.

Regards

/ O
<<

Kortaben

Serviio newbie

Posts: 2

Joined: Tue Jul 08, 2014 3:52 pm

Post Tue Jul 08, 2014 3:57 pm

Re: SvtPlay

I can't get this to work please help me.

The svtplay.groovy is in the plugins folder.

Serviio console - Library - Online sources - add - source type "web resource" - source url "http://www.svtplay.se/filmochdrama?tab=senaste" - add - save

But nothing comes up... what more do I have to do?
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Tue Jul 08, 2014 4:27 pm

Re: SvtPlay

Kortaben wrote:I can't get this to work please help me.

The svtplay.groovy is in the plugins folder.

Serviio console - Library - Online sources - add - source type "web resource" - source url "http://www.svtplay.se/filmochdrama?tab=senaste" - add - save

But nothing comes up... what more do I have to do?


Try replacing the ffmpeg binary in the libs folder with the latest statically build binary, for your platform, from
http://ffmpeg.zeranoe.com/builds/

Also, right click on the feed definition and select "force update".

Sometimes it takes a while for online feed items to appear in your client / browser, if your serviio service is busy indexing your local content (and you have a lot of media files with errors, suchj as MP3 files lacking ID3 tags).

HTH

/ O
<<

Kortaben

Serviio newbie

Posts: 2

Joined: Tue Jul 08, 2014 3:52 pm

Post Tue Jul 08, 2014 4:54 pm

Re: SvtPlay

Thank you ottomatic!

I found whats causing it, i disabled online category in presentation. :D
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Fri Sep 05, 2014 8:43 am

Re: SvtPlay

Hi everyone,

SvtPlay has restructured the markup, again, so the oplugin is currently broken.

I'm working on a fix.

Regards

/ O
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Fri Sep 05, 2014 11:35 am

Re: SvtPlay

Hi everyone,

New version of the plugin uploaded today.
This version accommodates for recent markup changes at the SvtPlay site.

It also gives better support for selecting your desired feed by clicking on a button ("Populäraste", "Senaste", "Sista chansen", "Klipp", "Regionala", etc) and copying the actual address from the browser window to use in your feed definition.

Regards

/ O
<<

kjesch

Serviio newbie

Posts: 14

Joined: Thu Feb 21, 2013 1:08 pm

Post Fri Sep 12, 2014 8:37 pm

Re: SvtPlay

Thanks again Ottomatic! Your work is much appreciated.

/Kjell
<<

d2freak

Serviio newbie

Posts: 5

Joined: Wed Sep 10, 2014 2:53 pm

Post Sun Sep 14, 2014 12:20 pm

Re: SvtPlay

Thanks a lot for the work you do on this plugin.
<<

kajojo

Serviio newbie

Posts: 2

Joined: Fri Oct 10, 2014 12:54 pm

Post Fri Oct 10, 2014 1:25 pm

Re: SvtPlay

I am having problems getting this to work on a raspberry pi. I can see the following in the serviio log when it tries to refresh:
  Code:
2014-10-10 14:49:23,654 DEBUG [OnlineLibraryManager] Resource http://www.svtplay.se/barn?tab=populara not in cache, (re)loading it
2014-10-10 14:49:23,664 DEBUG [WebResourceParser] Parsing web resource 'http://www.svtplay.se/barn?tab=populara'
2014-10-10 14:49:23,668 DEBUG [WebResourceParser] Found matching url extractor (SvtPlay) for resource http://www.svtplay.se/barn?tab=populara
2014-10-10 14:49:23,670 DEBUG [FeedItemUrlExtractor] SvtPlay: Starting parsing resource: http://www.svtplay.se/barn?tab=populara
2014-10-10 14:49:23,678 DEBUG [FeedItemUrlExtractor] SvtPlay: SvtPlay: extracting items for url: http://www.svtplay.se/barn?tab=populara , maxItemsToRetrieve: 20
2014-10-10 14:49:32,118 DEBUG [SearchManager] Committing search index
2014-10-10 14:49:53,678 WARN  [FeedUpdaterThread] An error occured while parsing the online resource http://www.svtplay.se/barn?tab=populara, waiting for expiry time to try again: Unexpected error while invoking plugin (SvtPlay): The operation took more than 30000 ms and has been cancelled.
org.serviio.library.online.metadata.OnlineResourceParseException: Unexpected error while invoking plugin (SvtPlay): The operation took more than 30000 ms and has been cancelled.
        at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:78)
        at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:181)
        at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:198)
        at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:185)
        at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:108)
Caused by: java.lang.RuntimeException: The operation took more than 30000 ms and has been cancelled.
        at org.serviio.library.online.PluginExecutionProcessor.execute(PluginExecutionProcessor.java:64)
        at org.serviio.library.online.WebResourceUrlExtractor.parseWebResource(WebResourceUrlExtractor.java:29)
        at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:76)
        ... 4 more

I have tried a bunch of different URLs with the same result. I can ping svtplay from the raspberry pi without issues. Anyone who has a clue on what I am doing wrong?
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Fri Oct 10, 2014 1:52 pm

Re: SvtPlay

kajojo wrote:I am having problems getting this to work on a raspberry pi. I can see the following in the serviio log when it tries to refresh:
  Code:
2014-10-10 14:49:23,654 DEBUG [OnlineLibraryManager] Resource http://www.svtplay.se/barn?tab=populara not in cache, (re)loading it
...

I have tried a bunch of different URLs with the same result. I can ping svtplay from the raspberry pi without issues. Anyone who has a clue on what I am doing wrong?


Hi,

I'm getting an error in my test script for the feed Url. Probably another markup change at the SvtPlay site which calls for a bug fix in the plugin.

I'll take a look and get back with more info.

Regards

/ O
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Fri Oct 10, 2014 2:37 pm

Re: SvtPlay

Hi everyone,

Posted a new version (1.1.18) of the plugin today which works with the latest markup at the SvtPlay site.

This version is the only one which works with the current site.

Regards

/ O
<<

kajojo

Serviio newbie

Posts: 2

Joined: Fri Oct 10, 2014 12:54 pm

Post Sat Oct 11, 2014 1:06 pm

Re: SvtPlay

Thanks now it works!

Unfortunately the Raspberry Pi seems to be to slow to handle it so the video gets choppy after a minute or so with ffmpeg using most of the CPU.
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Sat Oct 11, 2014 2:37 pm

Re: SvtPlay

Kajojo,

Did you try selecting a lower quality? And have you tried different clients? There is a significant difference between remuxing the stream and reencoding it. The latter takes some cpu /gpu and will be required if the original stream is not compatible with your client profile (that is: the capabilites of your client).
<<

maikolmich

Serviio newbie

Posts: 2

Joined: Mon Oct 20, 2014 5:15 pm

Post Mon Oct 20, 2014 6:10 pm

Re: SvtPlay

ciao a tutti....cosa bisogna fare per vedere i canali in streaming direttamente sulla tv con le fonti online???grazie
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Tue Oct 28, 2014 10:08 pm

Re: SvtPlay

Hi everyone,

I am considereing developing a new plugin for tv3play.se / tv6play.se / tv8play.se / tv10play.se

If you have any thoughts on this, please provide your input in this thread:

viewtopic.php?f=20&t=3442&p=95287#p95287

Regards

/ O
PreviousNext

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 9 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.