NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 19 20 21 22 23 … 43 Next »
XC Api

 
  • 0 Vote(s) - 0 Average
XC Api
Tunes0710
Offline

Member

United Kingdom
Posts: 123
Threads: 22
Joined: Feb 2020
#1
2020-04-28, 12:41 PM
Hiya,
Is there any plan to implement XC API access?
Many IPTV providers are not issuing M3U's anymore, and whilst it's possible to ascertain the M3U URL from the XC login details, panels are starting to monitor for this and block accounts if they see people are connected via M3U instead of XC (as they are expecting people to use the apps like tivimate/smarters/xciptv/etc).

If there is some way it can be included, I think it would help be an even more popular choice, as more and more providers lock down.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,666
Threads: 767
Joined: Nov 2003
#2
2020-04-28, 06:29 PM
From what I've seen, the XC API for getting the M3U url is as follows:

http://url:port/get.php?username=xxxx&password=xxxx&type=m3u_plus&output=ts

....which is pretty much what everyone is using for their M3U url anyway. So, I'm not really sure what I could possibly add on XC API front, other than building a different page letting the user enter their url:port/username/password, and building the string for them.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,847
Threads: 954
Joined: May 2006
#3
2020-04-28, 06:43 PM
I think the OP is saying to not use m3u and instead add custom access by IPTV much like libstalker fro Stalker/Ministra based IPTV services..

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,666
Threads: 767
Joined: Nov 2003
#4
2020-04-28, 06:47 PM
If he can point me at the XC API docs, and a screenshot of what he'd typically see in a login screen of another app that supports it, I'll look into it.
Tunes0710
Offline

Member

United Kingdom
Posts: 123
Threads: 22
Joined: Feb 2020
#5
2020-04-28, 11:44 PM
I'll see if I can find some docs. But XC went Open Source and the actual api.php can be found here https://github.com/tweakunwanted/OpenXC-...ir/api.php

It's in a diff language, but found another script which interacts with XC API if this is any use - https://github.com/tellytv/go.xtream-cod...m-codes.go

One of the biggest things that the IPTV players do, is when logging in via XC they support VOD and can separate Films/TV Series separately from live TV streams.
Looking at the last link it seems to be explained here

// For Live Streams the main format is
// http(s)://domain:port/live/username/password/streamID.ext ( In allowed_output_formats element you have the available ext )
// For VOD Streams the format is:
// http(s)://domain:port/movie/username/password/streamID.ext ( In target_container element you have the available ext )
// For Series Streams the format is
// http(s)://domain:port/series/username/password/streamID.ext ( In target_container element you have the available ext )

I don't know if it's feasible to add in to V5, but instead of having VOD as channels appearing in TV Guide, potentially adding a different section that would also split Movie and Series for the web interface?
How this would transfer to the Kodi plugin, I'm not sure, whether it would be separate sub-sections?

Sorry.. just rambling ideas here.

I'll see what I can find.
Tunes0710
Offline

Member

United Kingdom
Posts: 123
Threads: 22
Joined: Feb 2020
#6
2020-04-28, 11:45 PM
This is a typical XC login screen
[Image: 7.jpg]
Tunes0710
Offline

Member

United Kingdom
Posts: 123
Threads: 22
Joined: Feb 2020
#7
2020-04-28, 11:53 PM
Couple more links that may help?
https://github.com/zaclimon/xipl/blob/master/FAQ.md
https://github.com/zaclimon/xipl/wiki/Xtream-Codes-API
Tunes0710
Offline

Member

United Kingdom
Posts: 123
Threads: 22
Joined: Feb 2020
#8
2020-04-28, 11:57 PM
https://iptvdoc.com/viewtopic.php?f=11&t=12
This looks more helpful
urgodfather
Offline

Junior Member

United States
Posts: 1
Threads: 0
Joined: Sep 2021
#9
2021-09-03, 02:16 AM
(2020-04-28, 06:47 PM)sub Wrote: If he can point me at the XC API docs, and a screenshot of what he'd typically see in a login screen of another app that supports it, I'll look into it.

i can help you with that.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode