You are here

musor.tv ini title grabbing wrong?

3 posts / 0 new
Last post
mthqwork
Offline
Donator
Joined: 4 years
Last seen: 2 years
musor.tv ini title grabbing wrong?

Dear Members,

I have a problem about musor.tv ini file.
I have two "title" entry almost for each show.

XML looks like:
<programme start="20200620013000 +0200" stop="20200620014500 +0200" channel="Kiwi TV">
<title lang="hu">Rubi Szivárványiában</title>
<title lang="hu">Rainbow Ruby</title>
<sub-title lang="hu">koreai-kanadai-amerikai animációs sorozat</sub-title>
<desc lang="hu">Rainbow Ruby-ra minden barát számíthat, ha segítségre van szüksége! Amikor Choco maci rubint szíve izzani kezd, indulhatnak is a varázslatos útra Szivárványiába, hogy találkozhassanak a bajba jutott játékokkal. Rainbo$
<date>2019</date>
<icon src="https://www.musor.tv/img/normal/99/9904/Rubi_Szivarvanyiaban.jpg" />
<rating system="HU">
<value>12+</value>
</rating>
</programme>

The second "title" entry is wrong. It's the original title, and it's not 'hu' but english.
My main concern is that my EPG parser grabs the second "title" tag, as it maybe overloads the first one.

I did not had this problem with earlier ini files.

See the attached screenshot.

Thanks

Attachments: 
mthqwork
Offline
Donator
Joined: 4 years
Last seen: 2 years

Maybe anyone? :)

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 2 hours

edit..
titleoriginal.modify {addstart|'description'}
to
titleoriginal.modify {addstart('description' not "" lang=en)|'description'}

this will make the english title use lang="en" instead of lang="hu"
or
if you want to remove the english title completely simple disable the above line by adding a * to the beginning of the line.

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