You are here

Change the titlename to something mediacenter friendly

2 posts / 0 new
Last post
FlyGuy94
Offline
Joined: 6 years
Last seen: 6 years
Change the titlename to something mediacenter friendly

Hi I'm trying to get my enigma 2 recordings named in a way my mediacenter knows what I just recorded.

I want to achive something like this. "Komen Eten UK S1E17 Newport" So title season episode subtile

What I have so far is this "Komen Eten UK "season":1,"episode":17, Newport" The problem lies in the formatting of the season and episode.

I tried to edit this line in the site ini episode.scrub {regex(pattern=""season":'S1',"episode":'E1',"""season":'S1',"""episode":'E1',")||"season":\d+,"episode":\d+,||}

I think this line defines how the tekst is formatted. The problem is as soon as I try to change the bold bit. it it stops putting the season and episode in altogether.

 

 

Attachments: 
FlyGuy94
Offline
Joined: 6 years
Last seen: 6 years
Blackbear199 wrote:

sorry,another small change.this line need to have the comma removed after \d{4,}

episode.modify {remove(type=regex)|"episode":\d{4,},}

to

episode.modify {remove(type=regex)|"episode":\d{4,}}

 

I did take your advice and used rex instead It works wonderfull now. 

Just one more problem the name webgrab++ spits out is fine when its just an episode like <episode-num system="onscreen">E7</episode-num>

But when its a season or a season and episode there is always a comma after the season number like this.  <episode-num system="onscreen">S1,E19</episode-num>

I tried to change this line "episode.modify {remove(type=regex)|"season":\d{4,}}" like the one for the episode in the quote but that didn't work. Any other ideas?

Attachments: 
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