2022-04-10, 04:31 PM
I would like to get all listings for all channels
2022-04-10, 04:31 PM
I would like to get all listings for all channels
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
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.
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
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.
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
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.
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
API request returns xml on error | scJohn | 4 | 1,627 |
2020-08-25, 05:41 PM Last Post: sub |
|
NextPVR "Service" Backend? | jcole998 | 5 | 4,425 |
2018-05-24, 01:17 PM Last Post: jcole998 |
|
Channels List by Channel Group Name | scJohn | 1 | 2,553 |
2018-01-05, 10:45 PM Last Post: mvallevand |
|
Switching Audio Channels | spitefulgod | 0 | 1,836 |
2016-12-15, 08:42 PM Last Post: spitefulgod |
|
Transcoding service | mvallevand | 27 | 11,410 |
2016-08-26, 07:43 PM Last Post: sub |
|
Getting all channel listings - decimal channel numbers | psycik | 11 | 7,438 |
2015-12-13, 02:17 AM Last Post: seejaydee |
|
Show artwork method | psycik | 31 | 10,470 |
2015-07-14, 07:06 AM Last Post: aloxinh |
|
Time to make Touch web Service less experimental | fred250 | 106 | 24,584 |
2014-06-15, 09:13 PM Last Post: fred250 |
|
Merged channels | mvallevand | 3 | 2,369 |
2014-04-11, 04:55 AM Last Post: mvallevand |
|
couple of issues with recording.recurring.save method | reven | 10 | 4,253 |
2014-01-03, 11:11 PM Last Post: reven |