You are here

Apostrophe in config file

3 posts / 0 new
Last post
IlMagnate29
Offline
Joined: 6 years
Last seen: 6 years
Apostrophe in config file

Hi, I've a NAS 24/7 that I configured to run WebGrabplus v2.1.5 beta every night. I'm creating my own config for and italian iptv m3u. I'm having problem with the recognition of apostrophe in config.xml. Mono v5.10.0.157 on Debian 9.

I attached my last log and as you can see only in Primafila section, some channels that have the apostrophe generate an error as "invalid token" during the parsing. I attached also the part of config.xml where is the Primafila section.

As well as ' , I tried also ' but give the same error. Thanks

IlMagnate29
Offline
Joined: 6 years
Last seen: 6 years

Thank you for your reply.

Now I understand how the config.xml works: in my config I use the tvg-name from the m3u inside the xmltv_id field so they correspond literally, and it works, but as you describe me I've to put the tvg-ID inside the xmltv_id, right?

I attach the part of Primafila section ( I omitted the links) and if is as I understand i've to use Primafila1.it , Primafila2.it .... Primafila19.it in my config.xml in xmltv_id

And, because i've some channels that are +1 and their tvg-ID is blank, there I can use the tvg-name right? So I can link them correctly.

( Sorry for some mistakes in the text but I come from italy :D )

Attachments: 
IlMagnate29
Offline
Joined: 6 years
Last seen: 6 years
Blackbear199 wrote:

if i remember correctly(i read this somewhere on  a site)..

tvg-ID= with ID as capitals is ignored.its suppost to be tvg-id=(all lower case).

so in this scenario you can have the xmltv_id="xx" different from the display name(tvg-name= and the name at the very end after the comma).

so the example of what i gave you above should work.

if i am wrong and tvg-ID=(with capitals) is correct then what you said would be true.

so in short

m3u                   webgrab

tvg-id           =     xmltv_id

tvg-name     =     displayname

if tvg-id is not present or ignored(spelled with capitals tvg-ID) that can be any vlaue you want.

i would try a few channels an import the epg and see if you can view it.thats the easy way to see what works.

Don't ask my why, but all voices in the m3u have tvg-ID with ID capitalized. 

Now I try few voices with tvg-ID for xmltv_id and also Primafila section so I see if the epg is recognized by the application.

Thank you for all and I'll let you know how it works.

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