stream url expires quickly
Posted: Tue Mar 13, 2012 12:14 pm
Hi everyone,
I have a nice website which offers hundreds of tv shows http://serialepenet.ro It is paied and pretty good.
I have managed to make a plugin for it and it works, problem is that the URLs to the streams are available only for about 2 hours, and as I have loads of movies with loads of episodes, library refresh and cache take more than half an hour for only about 5 movies. And i would need to refresh it every 2 hours...
What I'm thinking is whether it is possible to not cache it at all, except for the thumbnail and somehow tell Serviio that the stream is always live and make the web requests to retrieve the actual stream url only when I press play on the TV?
Is it possible to specify something like that in the WebResourceItem class ?
Does the extractUrl method of the WebResourceUrlExtractor class gets executed when I press play on the TV ?
I would appreciate any ideas
I have a nice website which offers hundreds of tv shows http://serialepenet.ro It is paied and pretty good.
I have managed to make a plugin for it and it works, problem is that the URLs to the streams are available only for about 2 hours, and as I have loads of movies with loads of episodes, library refresh and cache take more than half an hour for only about 5 movies. And i would need to refresh it every 2 hours...
What I'm thinking is whether it is possible to not cache it at all, except for the thumbnail and somehow tell Serviio that the stream is always live and make the web requests to retrieve the actual stream url only when I press play on the TV?
Is it possible to specify something like that in the WebResourceItem class ?
Does the extractUrl method of the WebResourceUrlExtractor class gets executed when I press play on the TV ?
I would appreciate any ideas