For example, the title format is
EP01 ******
EP103 *****
I want to move the EP and the following digital content to the end of the title.
****** EP01
***** EP103
Brought to you by Jan van Straaten
Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl
episode.modify {substring(type=regex)|'title' "\s*(EP\d+)"}
title.modify {remove('episode' not "")| 'episode'}
title.modify {addend('episode' not "")| 'episode'}
\s*(EP\d+)
\s* - zero or more spaces
( - start of capture
EP\d+ - the letters EP followed by 1 or more numbers
) - end of capture
The results have not changed.
u got what u asked for..
like usual u provide half the information thats needed.
if this is the index elements they all need index_ added...
and you also have to do it for details title like above.
if a details pages exists(and has this same episode info) the details title always overwrites the index title so if you do the above to the index title and not the details title it will be overwritten with the unedited title from the details page.
episode.modify {substring(type=regex)|'index_title' "\s*(EP\d+)"}
index_title.modify {remove('episode' not "")| 'episode'}
index_title.modify {addend('episode' not "")| 'episode'}
?
u have to add index_ to episode element also..all 5 places.
Another problem is how to adjust the data time collected by the system five minutes slower than that of the TV channel.
thats a very unusual thing to happen...
so u need the start time reduced by 5 minutes in the epg data?
index_start.modify {calculate(format=time,HH:mm)|00:05 -}
if you also have stop time u need to do the same for it.
According to your method, the result is that the start time has not changed, the end time has been reduced by 5 minutes, how to make the start time 5 minutes earlier?
index_duration.modify {calculate(debug format=time,HH:mm)|00:05 -}
index_duration.modify {calculate(format=time,HH:mm)|00:05 -}
that wont do anything except make the ending 5 minutes earlier.
post the debug from your log for this..
index_start.modify {calculate(debug format=time,HH:mm)|00:05 -}
u may have to do it this way..
index_start.modify {calculate(debug format=time,HH:mm)|'index_start' 00:05 -}
ur all messed up,here howto do it..
index_start.scrub {single|"displayDateTime":"||.0"|.0"}
index_duration.scrub {single|"displayDuration":"||:00",|:00",}
index_start.modify {calculate(format=date,unix)}
index_start.modify {calculate(debug format=F0)|300 -}
unix time is in seconds..
5 min x 60sec/min = 300
OK solved it.
btw does ur sort work for index_showsplit?
any messages in log about this?
see 4.6.4.9 Sort in the manual.