Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viaplay for Kodi as Live TV/PVR source? (enhancement) #36

Open
DreamT80 opened this issue Mar 9, 2020 · 14 comments
Open

Viaplay for Kodi as Live TV/PVR source? (enhancement) #36

DreamT80 opened this issue Mar 9, 2020 · 14 comments

Comments

@DreamT80
Copy link

DreamT80 commented Mar 9, 2020

Hi!
First of all, thank you for a great product.
I have a suggestion that you maybe have thought of: Would it be possible to develop the plugin as a Live TV source/PVR client? I know that a real PVR setup expects a hardware interface in backend....But I think that, since Viaplay has channels in it's interface, wouldn't it be possible to map these to a "fake" PVR client in the foreground? This would probably be a good thing for Viasat customers, since they can't route their IPTV to Kodi.

@emilsvennesson
Copy link
Owner

Hi!

It would have been a nice enhancement indeed, but that would require support for Python based PVR addons in Kodi (or a complete C++ rewrite). I don't think that's likely to happen anytime in the near future unfortunately...

@Leatherface75
Copy link

Leatherface75 commented May 8, 2020

Here is an exemple of PVR addon using Python so maybe this can give some ideas.
With something like that you can add any service to same PVR addon CMore, Viaplay, DPlay etc.

https://gitlab.com/RunasSudo/pvr.python/

https://forum.kodi.tv/showthread.php?tid=263952

@Mariusz89B
Copy link

Mariusz89B commented Aug 8, 2021

A more simple solution would be generating an m3u list with the viaplay channels, that you could use in PVR Simple Client. This should be quite possible to implement with a little code tweaking.

EDIT:
I added a M3U generator in settings:
https://github.com/Mariusz89B/kodi-viaplay/releases/tag/2.1.6

EDIT2:
Just realized that the guid contains datestamp for epg starttime, I need to figure out how to play live programs and not programs from past, as the channel_guid won't work using as params in the get_stream() func.

EDIT3:
Now it's working:
https://github.com/Mariusz89B/kodi-viaplay/releases/

@Leatherface75
Copy link

Nice added features but creating M3U only adds TV3, TV6, TV8, TV10 not V Sport and Film channels.

@Mariusz89B
Copy link

Nice added features but creating M3U only adds TV3, TV6, TV8, TV10 not V Sport and Film channels.

I only have a basic free account on Viaplay, are these channels shown in the same category section as other live channels?

@Leatherface75
Copy link

Leatherface75 commented Aug 10, 2021

Nice added features but creating M3U only adds TV3, TV6, TV8, TV10 not V Sport and Film channels.

I only have a basic free account on Viaplay, are these channels shown in the same category section as other live channels?

I don't have those channels in the plugin so i don't understand where it get those channels from.
It should only create M3U for V Sport & V Film channels.
The other channels i have with Telenor subscription.

@Mariusz89B
Copy link

Mariusz89B commented Aug 10, 2021

@Leatherface75 I don't understand? Are those channels not in the plugin? M3U generator only generates available channels from the plugin.

@Leatherface75
Copy link

Leatherface75 commented Aug 11, 2021

@Leatherface75 I don't understand? Are those channels not in the plugin? M3U generator only generates available channels from the plugin.

I don't have those channels only V Sport and V Film channels because it's V Sport Premium subscription.
V Sport and V Film channels is there in the plugin but M3U generates TV3, TV6, TV8, TV10 channels that doesn't exist.

@Mariusz89B
Copy link

Mariusz89B commented Aug 11, 2021

@Leatherface75 Ok, so we need to add those channels to the live tv category. I would need this subscription for testing purposes, to make the addon recognize these channels.

@Leatherface75
Copy link

@Leatherface75 Ok, so we need to add those channels to the live tv category. I would need this subscription for testing purposes, to make the addon recognize these channels.

You can try 2 weeks for free for this purpose.
https://checkout.viaplay.se/register/116618

@Mariusz89B
Copy link

Mariusz89B commented Aug 11, 2021

@Leatherface75 Ok, so we need to add those channels to the live tv category. I would need this subscription for testing purposes, to make the addon recognize these channels.

You can try 2 weeks for free for this purpose.
https://checkout.viaplay.se/register/116618

I already have this subscription, those channels are not included. I won't buy a subscription just to fix the addon though.

@Leatherface75
Copy link

Leatherface75 commented Aug 11, 2021

@Leatherface75 Ok, so we need to add those channels to the live tv category. I would need this subscription for testing purposes, to make the addon recognize these channels.

You can try 2 weeks for free for this purpose.
https://checkout.viaplay.se/register/116618

I already have this subscription, those channels are not included. I won't buy a subscription just to fix the addon though.

You don't need to buy it's 2 weeks for free just cancel it within 2 weeks.
It's exactly what it says "Viaplay Film & Serier" "Prova 2 veckor fritt" https://checkout.viaplay.se/register/116618

Should be able to see V Film channels atleast.
Still don't understand where TV3, TV6, TV8, TV10 channels comes from.
I don't have subscription on those channels.
It grabs something that's not there.

@Mariusz89B
Copy link

Mariusz89B commented Aug 11, 2021

@Leatherface75 Det är ju det jag har gjort, jag har dessa 2 veckor prova fritt men saknar film kanaler, endast TV3, TV6, TV8, TV10 är tillgängliga i prov perioden.

@Leatherface75
Copy link

Leatherface75 commented Aug 11, 2021

@Leatherface75 Det är ju det jag har gjort, jag har dessa 2 veckor prova fritt men saknar film kanaler, endast TV3, TV6, TV8, TV10 är tillgängliga i prov perioden.

Skumt hmms alltså har inte tillgång till detta själv men hos en annan som har det som jag hjälpt.
Antar man måste ha Premium paketet eller fullt abonnemang för det då.
Konstigt att inte dessa kanaler du har inte ingår i Premium paketet när dom ingår i det fria för Film och Serier.
Har dessa kanaler redan genom TVheadend från mitt vanliga TV abonnemang för min egen del.
Däremot kunde jag önska att någon fixade ett Telenor Stream plugin speciellt då dom vägrar fixa AndroidTV stöd.
Fast detta är en annan diskussion ifall du har Telenor får du gärna ta en titt på det så kan vi ta den diskussionen annanstans :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants