You are here

remove text

5 posts / 0 new
Last post
Grabber66
Offline
Joined: 6 years
Last seen: 5 years
remove text

Hi,

I'm using the m.tvtoday.ini
All is fine, but i want to cut the subtitle.

Now the subtitle is something like this:

Actionserie, USA 2017, Willkommen im Dschungel, Staffel 3, Folge 7/18 (40), (50 Min.)

And I want to shorten it:
Willkommen im Dschungel

I've looked in the guide.xml and this format is used everywhere.
So I have to cut all before the second "," and all after the third ","

Is there a chance to do it ?

thx

Grabber66
Offline
Joined: 6 years
Last seen: 5 years

Sorry but I did not understand how to use it.

I think i have to modify the subtitle.scrub:

This is the original
subtitle.scrub {regex||(.*?)||}

If i change it to
subtitle.scrub {single(seperator=", " include=3)||(.*?)||}
I have no subtile in xml.

Grabber66
Offline
Joined: 6 years
Last seen: 5 years

Sorry, i can't find any txt file.

Grabber66
Offline
Joined: 6 years
Last seen: 5 years

Thanks for this.
No it works, and i think i have understand it.

Grabber66
Offline
Joined: 6 years
Last seen: 5 years

Shit,
with your code it cuts the episode-num out of the guide.xml
Any Ideas for this ?

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