K-vanc / Tempest-EPG-Generator

The fastest XMLTV formatted EPG Generator with GUI and the lowest memory usage
https://hub.docker.com/r/kvanc/tempest_epg
Other
100 stars 17 forks source link

Turkish Site Configurations #94

Closed UzunMuhalefet closed 3 months ago

UzunMuhalefet commented 3 months ago

Issue Type

Please choose your issue type

Hi mate,

I assumed both of us were from Turkey actually :) but I will write my request in English to make everybody can understand :)

First of all, thanks for the generator. It is working very well. Eline sağlık.

I already generated more than 10 new site configurations for mostly Turkish and Azerbaijani channels. I will create a pull request for them.

I have several requests from you but will mention them all in this issue.

  1. Could you please replicate tvplus.com.tr configs for Turkish Cypriot channels because Turkish Cypriot channels belong to UTC+02 but Turkish channels belong to UTC+03. Since the files are encrypted I can not change them by myself.

  2. For HTML parsing Regex is doing great but for JSON responses I admit that I am struggling. Is there any chance that you can find a JSON-based solution for the site configurations? Let me give one example:

Another example:

  1. Strange HTML layouts. Although I did a lot of new configurations, I could not manage to do that for several websites.
K-vanc commented 3 months ago

Eyvallah hocam. Evet, Türküm ama İngilizce devam edelim ki başkalarıda anlasın.

Thanks for your good words. Let's go case by case on your queries. It is good to hear that you are already more than an ordinary user and also a siteconfig creator. Gratz. Unfortunately I am not accepting pull requests for user-made siteconfigs. As you can imagine, it is already more than enough annoying for me to deal siteconfigs that i made and dont want to also deal with user made problems here 😀

For the others;

1) i checked tvplus for brt1, I guess this is what you mean as Cyprus channel but data on the website is Utc+03. I dont have any Cyprus channel to verify but has to accept what is provided by source as correct.

Screenshot_20240309_180632_Chrome.jpg

Also only 1 timezone can be set for each siteconfig so if you want to change show times of specific channels only, i have an offset command, can be set through Tempest Configurator. So below command will help you to resolve that;

Screenshot_20240309_182308_Samsung Notes.jpg

2) I am really surprised that you are happy about html but complain about json 😀 usually this should be reverse since html is an irregular structure while json is regular and easy to find repeating patterns. I have probably +350 siteconfigs in this repo with json structure and most of the time, i am not even trying to parse. Just capturing all page and exploding it with split command.

Rehber TV, i already have and using it for long time;

rehbertv.com.tr_0.siteconfig.txt

Just rename extension as php. For other websites, i will check when i have time.

As you can see show pattern of above siteconfig, possibilities and methods are almost unlimited so Just dont expect to be master on Tempest with 10 siteconfigs only 😀 i did +1000 and still learning new ways

K-vanc commented 3 months ago

2 of them added into Turkey folder. Couldnt find time to check last one

UzunMuhalefet commented 3 months ago

Thanks for your explanation and quick support :)

I will try all of your work and suggestions now.

K-vanc commented 3 months ago

and all added into Turkey folder