It is currently March 28th, 2024, 6:03 pm



Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: File size in subject.
PostPosted: March 10th, 2019, 6:41 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 242
Hi bro
is that possible to add file size in subject(title) auto for some sites

like this
Code:
Web Series S02 720p HDRip x264 Web Series AAC [400MB]


thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: File size in subject.
PostPosted: March 10th, 2019, 7:09 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
At the moment no, but might add this option.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: File size in subject.
PostPosted: March 22nd, 2019, 1:37 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
1.18:
* Added ability to use {#folderSize#} tag in subject (can be added with replacement).

Add replacement in "Replacements" tab -> "Subject":

Search for:
Code:
$


Replace with:
Code:
 [{#folderSize#}]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: File size in subject.
PostPosted: March 28th, 2019, 10:19 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 242
possible to use this remplacement for some forums not all in tp


Top
 Profile  
Reply with quote  
 Post subject: Re: File size in subject.
PostPosted: March 29th, 2019, 8:23 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
This replacement should be used in themaCreator (themaPoster has no idea about any sizes).

You can remove the size at the end in themaPoster for needed forums if needed.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: File size in subject.
PostPosted: March 29th, 2019, 6:27 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 242
ho to do that bro ,any regex code for this in tp


Top
 Profile  
Reply with quote  
 Post subject: Re: File size in subject.
PostPosted: March 29th, 2019, 7:46 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
To remove the size from the end:

Search for:
Code:
(.+)\[.+?\]$


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: File size in subject.
PostPosted: July 20th, 2019, 9:28 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
Freddy wrote:
To remove the size from the end:

Search for:
Code:
(.+)\[.+?\]$


Replace with:
Code:
$1


Enable regex search.

help me this one please
Code:
input
Red Rock S03E29 HDTV x264-GIMINI ~ 191.89 MB

output:
Red Rock S03E29 HDTV x264-GIMINI


Top
 Profile  
Reply with quote  
 Post subject: Re: File size in subject.
PostPosted: July 20th, 2019, 5:40 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
~.+$


Replace with:
Code:
(leave empty)


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC