You are here

Cgates.tv ini creation

7 posts / 0 new
Last post
tbraktai
Offline
Donator
Joined: 1 month
Last seen: 1 week
Cgates.tv ini creation

Hello, I'm still quite new here to create something myself so I'm asking for help and this shouldn't be that hard (at least I hope so).
Note: there is already "cgates.lt.ini" that exists, but it's different from cgates.tv - it's outdated and includes way less metadata. What I need is cgates.tv.ini

Some information to make epg creation easier:
https://api.cgates.tv/public/epggrid/channels/561401/from/{EpochTimestamp}/to/{EpochTimestamp}/lang/lt
"channel_id" should be replaced with channel names from: https://cgates.tv/tv/all/ (so it's easier for me to use it on as many playlists)

How EPG should look in my opinion:
Titles: {title} S{season_no}E{episode_no}
Descriptions: {description}

No other metadata needed (at least for me)
If someone needs me to make {channel_id}={channel name} list, I can do it.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 21 hours

In Lithuania folder here:https://github.com/SilentButeo2/webgrabplus-siteinipack/tree/master/site...
The rest can be done with postprocess rex (add episode to title or simply exclude an element) or if you do not need elements just put * in front of the line, example you do not want category change into: *index_category......
PS
If you want to try do not look at the siteini, start doing it your self reading the instructions and we will be happy to assist you. Any question just ask :)

tbraktai
Offline
Donator
Joined: 1 month
Last seen: 1 week

Hey, thank you very much for taking your time and making this. So far it's very good, but it needs few adjustments.
-Season and series count should be together like S1E1 and not S1 E1
-Season and series count should be in the epg title, because otherwise my player shows "ProgrammeName. S1 E1" and there should be no dot.
- Not all programmes have series No. A lot of them are showing only season No (like S1 and not S1E1).

What adjustments should I make in the ini files to fix these three problems? Thanks

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 21 hours
tbraktai wrote:

Hey, thank you very much for taking your time and making this. So far it's very good, but it needs few adjustments.
-Season and series count should be together like S1E1 and not S1 E1
-Season and series count should be in the epg title, because otherwise my player shows "ProgrammeName. S1 E1" and there should be no dot.

- Not all programmes have series No. A lot of them are showing only season No (like S1 and not S1E1).
What adjustments should I make in the ini files to fix these three problems? Thanks

For the episode you can try remove the space in the pattern (index_episode line) that is the standard, but it can be changed.
For the rex config once you enable it in wg++_config postprocess grab="y" run="y">rex you can play with rex config to suite your needs, attached a sample.
You need to specify the output xml in rex_config. Then to test, change in wg++_config grab="n" run="y" rex to see the results
If you have doubts check the documented config or just ask.

Attachments: 
mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 21 hours

here a test changing siteini, modified pattern to be S1E2(Season or Episode or both when available), added one line to add episode to end of title, added another line to clear(remove) episode element.

Attachments: 
mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 21 hours

Here a change in index_episode to change S with Season and E with Episode (must be done after the standard process and sequence), then again add to title.

Attachments: 
tbraktai
Offline
Donator
Joined: 1 month
Last seen: 1 week

this is amazing. Thank you really much again. It's perfect, but still have the problem with showing only the episode number or only season number on some programmes.

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl