You are here

Switch Title/Sub-Title

12 posts / 0 new
Last post
Kyopia
Offline
Joined: 5 years
Last seen: 2 years
Switch Title/Sub-Title

Using tvtv.us.ini, I was wondering if it's possible to switch the title and sub-title. I would like to see the actual match-up instead of the sport(Hockey,Baseball,Basketball and NFL Football) listed in the guide. I've seen that it's been done with Movies and was just wondering if it could be done with Sports.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 1 hour

ya it can b done.
add these 3 lines(see screenshot).

loop{('index_temp_8' ~ " vs " max=1)|2}
index_title.modify {set|'index_temp_8'}
index_temp_8.modify {clear}

Note: i changes vs. to just vs
i personally dont like the look of it with the period.
if u prefer vs. between the team names add it again on the first line in screenshot and in the line u add above.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 1 hour

you shud read my post again..
especially the part about vs. and vs

Kyopia
Offline
Joined: 5 years
Last seen: 2 years

Got it working. Thanks again.

TheTinkerer
Offline
Donator
Joined: 5 years
Last seen: 10 months

I'm sorry if it's against the rules to post your problems in an existing thread, but I have the exact same problem. I've been searching and trying for like three days now, and I just can't seem to get it work.

The same goes for movies. In which the title says movie and the subtitle has the name of the movie.

I've tried all the solutions I could find in the forums, including:

index_title.modify {replace("Movie")|'index_title'|'index_subtitle'}
index_subtitle.modify {remove('index_title')|'index_subtitle'}

and also

loop{('index_temp_8' ~ " vs " max=1)|2}
index_title.modify {set|'index_temp_8'}
index_temp_8.modify {clear}

But everything stays the same. If someone could help me it would be greatly appreciated.

mat8861
Offline
WG++ Team memberDonator
Joined: 8 years
Last seen: 3 hours
TheTinkerer wrote:

I'm sorry if it's against the rules to post your problems in an existing thread, but I have the exact same problem. I've been searching and trying for like three days now, and I just can't seem to get it work.
The same goes for movies. In which the title says movie and the subtitle has the name of the movie.
I've tried all the solutions I could find in the forums, including:
index_title.modify {replace("Movie")|'index_title'|'index_subtitle'}
index_subtitle.modify {remove('index_title')|'index_subtitle'}
and also
loop{('index_temp_8' ~ " vs " max=1)|2}
index_title.modify {set|'index_temp_8'}
index_temp_8.modify {clear}
But everything stays the same. If someone could help me it would be greatly appreciated.

Too difficult to open a post? Do you think we can emulate somehow what you say ?
Suggestion:
Open a post, indicate the siteini name,revision number, post the result(even a photo)of guide.xml of what you get and how you would like it. Siteini are not standard so another solution may fix it.

TheTinkerer
Offline
Donator
Joined: 5 years
Last seen: 10 months

yes it was very difficult. Anyway, thanks for replying. I appreciate it.

I will post my files as soon as I get home.

TheTinkerer
Offline
Donator
Joined: 5 years
Last seen: 10 months

< programme start="20190327000000 +0000" stop="20190327030000 +0000" channel="FX Networks East Coast">
< title lang="en">Movie< /title>
< sub-title lang="en">Hidden Figures< /sub-title>
< desc lang="en">Three African-American women are hired by NASA to calculate launch and landings for the first astronaut to make a complete orbit around the Earth. Working in a segregated department, they fight racial barriers to make history in more than one way< /desc>
< category lang="en">Movies< /category>
< category lang="en">Drama< /category>
< rating system="US">
< value>TVPG< /value>
< /rating>
< /programme>

I'd like to have the real title of the movie at < title> but I can't seem to get it to work.

With sports it's a hit or miss, for example:

< programme start="20190327203000 +0000" stop="20190327213000 +0000" channel="Fox Sports 2">
< title lang="en">Boxing Classics< /title>
< desc lang="en">Leo Santa Cruz vs. Abner Mares< /desc>
< category lang="en">Sports< /category>
< category lang="en">Boxing< /category>
< rating system="US">
< value>TV14< /value>
< /rating>
< /programme>

In this case i'd like to switch the < title> with the < desc>

But in this case, it's fine the way it is:

< programme start="20190327093000 +0000" stop="20190327100000 +0000" channel="Fox Sports 2">
< title lang="en">Red Bull Event Highlights< /title>
< sub-title lang="en">Hare Scramble (2014)< /sub-title>
< desc lang="en">Hard Enduro racing from Erzberg, Austria< /desc>
< category lang="en">Sports< /category>
< category lang="en">Extreme< /category>
< rating system="US">
< value>TVPG< /value>
< /rating>
< /programme>

I hope someone can help.

Attachments: 
Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 1 hour

the only one ur going to be able todo is when the title is "Movie"

loop{('index_title' "Movie" max=1)|1}
index_title.modify {set('index_subtitle' not "")|'index_subtitle'}
index_subtitle.modify {clear('index_title')}

the other 2 there no way when to know when u want to switch the title and subtitle.
webgrab cannot think,its all or nothing.

TheTinkerer
Offline
Donator
Joined: 5 years
Last seen: 10 months

Aah, thanks for the quick reply. I guess I could live with sports being shown like that.

Unfortunatly your solution didn't do the job. I still get the same results with 'Movie' as < title>
And now the whole subtitle is omitted.

Example:

< programme start="20190328215500 +0000" stop="20190329000000 +0000" channel="HBO Comedy HD - East">
< title lang="en">Movie< /title>
< desc lang="en">Thirteen years after their high school prom, Ted still has a crush on Mary. Finally deciding to act on his feelings, he hires Pat, a private investigator, to find her. Pat lies about what he's discovered because the sleazy detective has fallen for Mary< /desc>
< category lang="en">Movies< /category>
< category lang="en">Comedy< /category>
< rating system="US">
< value>TVMA< /value>
< /rating>
< /programme>

Attachments: 
Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 1 hour

change..
title.scrub{single|"seriesName"|:"|",|",}

to
title.modify {addstart|'index_title'}

the details title always overwrites the index title so "Movie" from the details page overwrite what u changed on the index page.

TheTinkerer
Offline
Donator
Joined: 5 years
Last seen: 10 months

Yes, that did the trick!
Thank you so much for your help. You're the best!

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