NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 2 3 4 5 … 20 Next »
Tempest EPG Generator

 
  • 0 Vote(s) - 0 Average
Tempest EPG Generator
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,826
Threads: 954
Joined: May 2006
#21
2022-02-10, 01:20 PM
Ok, I didn't know I had to copy site_config files no I get a dropdown but nothing gets generated.

Code:
[Thu Feb 10 08:18:07 2022] [::1]:65233 Accepted
[Thu Feb 10 08:18:07 2022] [::1]:65233 [200]: POST /tempest.php - Uncaught Error: Call to undefined function mime_content_type() in D:\php\Tempest-EPG-Generator\tempest.php:4
Stack trace:
#0 {main}
  thrown in D:\php\Tempest-EPG-Generator\tempest.php on line 4
[Thu Feb 10 08:18:07 2022] [::1]:65233 Closing

Martin
kvanc
Offline

Junior Member

Turkey
Posts: 39
Threads: 1
Joined: Feb 2022
#22
2022-02-10, 02:24 PM (This post was last modified: 2022-02-10, 02:26 PM by kvanc.)
(2022-02-10, 01:20 PM)mvallevand Wrote: Ok, I didn't know I had to copy site_config files no I get a dropdown but nothing gets generated.

Code:
[Thu Feb 10 08:18:07 2022] [::1]:65233 Accepted
[Thu Feb 10 08:18:07 2022] [::1]:65233 [200]: POST /tempest.php - Uncaught Error: Call to undefined function mime_content_type() in D:\php\Tempest-EPG-Generator\tempest.php:4
Stack trace:
#0 {main}
  thrown in D:\php\Tempest-EPG-Generator\tempest.php on line 4
[Thu Feb 10 08:18:07 2022] [::1]:65233 Closing

Martin
Hi Martin;

It is security check of Tempest to prevent any unrelated file loading and mime_content_type is a built-in function of php since php4.0. Thats why it is not included in my required module check at startup but somehow it looks like It is disabled in your php.ini file. Unfortunately i cannot enable it from script side you need to open your php.ini and uncomment "fileinfo" from extensions list(you will delete the semicolon ( ; ) in front of it) and reload the file or restart server for Windows.


Attached Files Thumbnail(s)
       
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,826
Threads: 954
Joined: May 2006
#23
2022-02-10, 02:59 PM
Ok thank actually thanks several extension modules needed to be installed plus the install dir

Code:
extension=curl
extension=fileinfo
extension=mbstring
extension=openssl

Now I just get No Channel Block Found for Canadian channels, not sure it understands postal code.

However I tried a US zip code and those work but it is not manageable to edit the 9500+ channels for the one city. Typically here in North America there is a a secondary filter to choose the provider. Even then when I am looking at the OTA source in the list the names are cryptic, there usually is a channel number and an alternate "friendly" name.

For OTA I expect most users would add all, it is typically under 100 channels.

Martin
kvanc
Offline

Junior Member

Turkey
Posts: 39
Threads: 1
Joined: Feb 2022
#24
2022-02-10, 04:14 PM
(2022-02-10, 02:59 PM)mvallevand Wrote: Ok thank actually thanks several extension modules needed to be installed plus the install dir

Code:
extension=curl
extension=fileinfo
extension=mbstring
extension=openssl

Now I just get  No Channel Block Found for Canadian channels, not sure it understands postal code.

However I tried a US zip code and those work but it is not manageable to edit the 9500+ channels for the one city.  Typically here in North America  there is a a secondary filter to choose the provider.  Even then when I am looking at the OTA source in the list the names are cryptic, there usually is a channel number and an alternate "friendly" name. 

For OTA I expect most users would add all, it is typically under 100 channels.

Martin
Seems like It is all up and running now for you, Martin.  Smile
For Canada, you need to use codes, that I gave in canada_codes.txt. also if you run channel generator without userkey, this txt file will be dynamicly generated and updated if there is any change. I tested with toronto/on this morning before uploading but very later on noticed some parsing error (seems like server side) on some other areas due to their incredible amount of data response for each request. So I will try to fix it or make an alternative solution possibly on Saturday or Sunday. I modifed it to add provider tags to name of each channel in square brackets such as [local the air] wgbct. Unfortunately if you visit the website, you will see there is no channel name but only that cryptic callsign which is 5-6 digits short codes. Maybe after fixing that parse issue may try to assign names manually for you with some kind of batch replace but making it dynamic is impossible as long as They are not defined in your source
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,826
Threads: 954
Joined: May 2006
#25
2022-02-10, 04:38 PM
I am basically doing this for others since I am very happy paying for the Schedules Direct support but the tvtv.ca data is very good, almost as good as zap2it. Whatever you do it has to be easier then this to get North Americans to use it. I do know there are many regions in the world were it is hard to get EPG data so there is no other choice.

The data is there. In this json https://www.tvtv.ca/gn/d/v1.1/lineups/CA...ageSize=Sm there is a lot of data and I think you should be showing the affiliateCallSign and the channel if you can.

Martin
kvanc
Offline

Junior Member

Turkey
Posts: 39
Threads: 1
Joined: Feb 2022
#26
2022-02-10, 04:56 PM
(2022-02-10, 04:38 PM)mvallevand Wrote: I am basically doing this for others since I am very happy paying for the Schedules Direct support but the tvtv.ca data is very good, almost as good as zap2it.  Whatever you do it has to be easier then this to get North Americans to use it.  I do know there are many regions in the world were it is hard to get EPG data so there is no other choice.

The data is there.  In this json https://www.tvtv.ca/gn/d/v1.1/lineups/CA...ageSize=Sm there is a lot of data and I think you should be showing the affiliateCallSign and the channel if you can.

Martin
I know how to do it and it is not so different for me from tvtv.us which i done and shared last week for Usa folder but I have a little problem with tvtv.ca as in attachment  Smile  i have a premium vpn membership which supports also Canada but currently I have only my headless raspberry pi which is not a perfect device for debugging Smile so I will need a little more time for it


Attached Files Thumbnail(s)
   
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,826
Threads: 954
Joined: May 2006
#27
2022-02-10, 05:34 PM
If I change tvtv.ca to tvtv.us and get the same results.

Martin
kvanc
Offline

Junior Member

Turkey
Posts: 39
Threads: 1
Joined: Feb 2022
#28
2022-02-10, 05:45 PM
(2022-02-10, 05:34 PM)mvallevand Wrote: If I change tvtv.ca to tvtv.us and get the same results. 

Martin

You mean content is same and belongs to Canada?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,826
Threads: 954
Joined: May 2006
#29
2022-02-10, 05:46 PM
Yes I can get my Canadian provider info from tvtv.us Even that URL for the above works as us https://www.tvtv.us/gn/d/v1.1/lineups/CA...ageSize=Sm

Martin
kvanc
Offline

Junior Member

Turkey
Posts: 39
Threads: 1
Joined: Feb 2022
#30
2022-02-10, 06:04 PM
(2022-02-10, 05:45 PM)kvanc Wrote:
(2022-02-10, 05:34 PM)mvallevand Wrote: If I change tvtv.ca to tvtv.us and get the same results. 

Martin

You mean content is same and belongs to Canada?

I have blindly generated Canada version and uploaded to github. Do you want to try with your zip code? Because i have no idea about what it can be without seeing  Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 2 3 4 5 … 8 Next »
Jump to page 


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

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

Linear Mode
Threaded Mode