home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Electronic Program Guide
xmlTV
WebGrab+Plus a new xmltv grabber
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="WG++Maker" data-source="post: 849566" data-attributes="member: 107812"><p>I assumed the value was /104. Should have known better. For ./104. the solution becomes:</p><p> </p><p>*end loop</p><p>temp_4.modify {addstart('episode' not ~ "staffel")|.} * extra . if no staffel</p><p>temp_4.modify {remove(".")|'temp_4'} * clear if only .</p><p>temp_3.modify {substring(type=char)|'temp_4' 0 2} *get the first two chars</p><p>episode.modify {remove|'episode'}</p><p>episode.modify {addstart|'temp_4'.}</p><p>episode.modify {remove('temp_3' "./")|'episode'} * clear if first two chars are ./</p><p> </p><p>This completely removes the episode-num element (it's rubbish , don't you agree?)</p><p>If you just want to remove the / (assuming episode 106 is meant = .106.) the last line becomes:</p><p> </p><p>episode.modify {remove('temp_3' "./" type=char)|'episode' 1 1} * clear the / if first two chars are ./</p><p> </p><p>WG++Maker .. Jan</p></blockquote><p></p>
[QUOTE="WG++Maker, post: 849566, member: 107812"] I assumed the value was /104. Should have known better. For ./104. the solution becomes: *end loop temp_4.modify {addstart('episode' not ~ "staffel")|.} * extra . if no staffel temp_4.modify {remove(".")|'temp_4'} * clear if only . temp_3.modify {substring(type=char)|'temp_4' 0 2} *get the first two chars episode.modify {remove|'episode'} episode.modify {addstart|'temp_4'.} episode.modify {remove('temp_3' "./")|'episode'} * clear if first two chars are ./ This completely removes the episode-num element (it's rubbish , don't you agree?) If you just want to remove the / (assuming episode 106 is meant = .106.) the last line becomes: episode.modify {remove('temp_3' "./" type=char)|'episode' 1 1} * clear the / if first two chars are ./ WG++Maker .. Jan [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
xmlTV
WebGrab+Plus a new xmltv grabber
Contact us
RSS
Top
Bottom