NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
1 2 3 4 5 … 93 Next »
is there a service?method which returns listings for multiple channels?

 
  • 0 Vote(s) - 0 Average
is there a service?method which returns listings for multiple channels?
mandai
Offline

Junior Member

UK
Posts: 9
Threads: 1
Joined: Nov 2020
#11
2022-04-10, 04:31 PM
I would like to get all listings for all channels
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,080
Threads: 957
Joined: May 2006
#12
2022-04-10, 04:45 PM (This post was last modified: 2022-04-10, 04:58 PM by mvallevand.)
There is another API for that channel.listings.current, but you may have forgotten that https://forums.nextpvr.com/showthread.ph...#pid558508 which should help generate an EPG XMLTV file.

Ultimately NextPVR isn't really a utility to feed the full EPG to other programs. In fact some data providers would forbid this use.

Martin
mandai
Offline

Junior Member

UK
Posts: 9
Threads: 1
Joined: Nov 2020
#13
2022-04-10, 06:44 PM
It's ok I can use channel.listings.current but this is only for now and next programmes. I'm just making a filter to see if there will be anything good on in the next few days.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,080
Threads: 957
Joined: May 2006
#14
2022-04-10, 06:53 PM (This post was last modified: 2022-04-10, 06:55 PM by mvallevand.)
Finding "good" content is hard although reading an xml or json file isn't that easy. What kind of filter do you use? You can search by genre in the web browser search under more options.

Martin
mandai
Offline

Junior Member

UK
Posts: 9
Threads: 1
Joined: Nov 2020
#15
2022-04-10, 07:36 PM
I am quite familiar with XML reading APIs, I am just checking if the name matches what I'm not looking for.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,080
Threads: 957
Joined: May 2006
#16
2022-04-10, 07:47 PM (This post was last modified: 2022-04-10, 07:51 PM by mvallevand.)
I meant what are you searching for in the xml? Loading the full EPG and then searching XML via an API is slow. If it is useful idea then it feels like something that should be done using sqlite, and potentially incorporating in the web search or recording with an advanced recording rule.

Martin
mandai
Offline

Junior Member

UK
Posts: 9
Threads: 1
Joined: Nov 2020
#17
2022-04-11, 04:30 PM
It is just the name of the programme. In my code which I have used it only takes 10 seconds to retrieve all listings for each channel id (multiple calls of channel.listings, it works fine this way). It's not like I'm using the function all the time either, maybe once then I can review the list. I can understand if the call was being made over the network it would be less efficient but this is local only.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  API request returns xml on error scJohn 4 1,990 2020-08-25, 05:41 PM
Last Post: sub
  NextPVR "Service" Backend? jcole998 5 4,880 2018-05-24, 01:17 PM
Last Post: jcole998
  Channels List by Channel Group Name scJohn 1 2,807 2018-01-05, 10:45 PM
Last Post: mvallevand
  Switching Audio Channels spitefulgod 0 2,037 2016-12-15, 08:42 PM
Last Post: spitefulgod
  Transcoding service mvallevand 27 12,443 2016-08-26, 07:43 PM
Last Post: sub
  Getting all channel listings - decimal channel numbers psycik 11 8,427 2015-12-13, 02:17 AM
Last Post: seejaydee
  Show artwork method psycik 31 12,089 2015-07-14, 07:06 AM
Last Post: aloxinh
  Time to make Touch web Service less experimental fred250 106 29,138 2014-06-15, 09:13 PM
Last Post: fred250
  Merged channels mvallevand 3 2,714 2014-04-11, 04:55 AM
Last Post: mvallevand
  couple of issues with recording.recurring.save method reven 10 4,831 2014-01-03, 11:11 PM
Last Post: reven

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

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

Linear Mode
Threaded Mode