It is currently July 20th, 2025, 1:32 pm



Post new topic Reply to topic  [ 125 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9  Next
Author Message
 Post subject: Re: Replacements help.
PostPosted: December 8th, 2024, 5:16 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
Forgot the comma mistake again, just add the comma at the start in replace with.
Code:
,$1


Don't forget to press "Update" button.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: January 5th, 2025, 9:30 am 

Joined: November 23rd, 2014, 6:31 am
Posts: 308
Hi,

I need some help with removing a date part of a filename in the finished post in TC.

But will TC check for duplicate before or after applying the replacement ?
I am worried if the date is removed and I try again later to upload the same files it will not see the duplicates.

Filename before:
Code:
starpovvip - 2024-12-05 Had a lot of fun 1
starpovvip - 2024.12.05 Had a lot of fun 2


wanted output:

Code:
starpovvip - Had a lot of fun 1
starpovvip - Had a lot of fun 2


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: January 5th, 2025, 2:18 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
The duplicate by subject is checked in the posts which are in the program (if you remove the date it will be saved without date, that will be used for duplicate checking later [without date]).

If you select he same file the date will be removed as well before checking for duplicate (it will be found as duplicate).

You can enable in checking for duplicates by files MD5 in "Settings" -> "Process" -> "General" -> "Check for duplicate by MD5". Subjects won't matter then (but it will be slower and is probably not needed in your case).

Search for:
Code:
[0-9]{4}.[0-9]{2}.[0-9]{2}\s?


Replace with:
Code:
(leave empty)


Enable regex search.

Make sure to add the replacement under "Subject" tab.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Remove characters from file names.
PostPosted: February 13th, 2025, 7:48 am 

Joined: February 10th, 2021, 3:07 am
Posts: 25
Hello,
I would like to use the original file name as the title and only change the file name when uploading.

before:
Code:
EBWH-187 A Former Local TV Weather Girl Who Couldn’t Have Sex With Anyone Because She Wanted To Protect Her Image As A Pure And Innocent Woman Has Her Libido Collapse And She Turns To AV! A 20-year-old, Slender, Big-breasted, Transparent Body, Nozomi Osaka, Makes Her AV Debut


after:
Code:
EBWH-187


I would be grateful if you could help.


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove characters from file names
PostPosted: February 13th, 2025, 8:59 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
Add replacement in "REPLACEMENTS" tab -> "Subject" tab -> with "Apply to" set as "Filename":

Search for:
Code:
^(\w+-[0-9]+).+


Replace with:
Code:
$1


Enable regex search.

Make sure "Apply to" is really set to "Filename" (then replacement is only for uploading).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: March 24th, 2025, 3:45 pm 

Joined: January 13th, 2014, 7:59 pm
Posts: 149
Hi Freddy!

I need a replacement to change the folder name before packing it and sending it to Host, generally these changes should be in the file on the host as well as in the link

Beforr
Code:
Common.Side.Effects.S01E09.Cliffs.Edge.720p.AMZN.WEB-DL.DDP5.1.H.264-VARYG

Suits.L.A.2025.S01E05.Youre.On.Your.Own.1080p.AMZN.WEB-DL.DDP5.1.H.264-FLUX

Watson.S01E07.Teeth.Marks.2160p.AMZN.WEB-DL.DDP5.1.H.265-RAWR



After

Code:
Common.Side.Effects.S01E09.720p.AMZN.WEB-DL.DDP5.1.H.264-VARYG

Suits.L.A.2025.S01E05.1080p.AMZN.WEB-DL.DDP5.1.H.264-FLUX

Watson.S01E07.2160p.AMZN.WEB-DL.DDP5.1.H.265-RAWR


Take care


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: March 24th, 2025, 9:48 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
Add it under "Subject" tab with "Apply to" selected as "Filename":

Search for:
Code:
(S[0-9]+E[0-9]+.).+?(720|1080|2160)p


Replace with:
Code:
$1$2p


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: March 24th, 2025, 10:44 pm 

Joined: January 13th, 2014, 7:59 pm
Posts: 149
OK, it works, but I didn't take into account that if I have a name without the episode title, it removes the dot replacement

Code:
Tracker.2024.S02E14.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb


after this change

Code:
Tracker.2024.S02E14720p.AMZN.WEB-DL.DDP5.1.H.264-NTb


is there any way to solve this, for example by adding a second replacement after this one to insert a dot in this place S02E14.720p

Thanks in advance for your help


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: March 25th, 2025, 6:40 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
Update that replacement to this (both "search for" and "replace with" are different):

Search for:
Code:
(S[0-9]+E[0-9]+).+?(720|1080|2160)p


Replace with:
Code:
$1.$2p


Enable regex search.

Make sure to update (don't have two).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: June 7th, 2025, 8:09 am 

Joined: November 23rd, 2014, 6:31 am
Posts: 308
Hi,
I have many files that have different fonts.
Is there any way / regex to apply that can change the fonts to something normal ?

Example

Current: 𝐄𝐥𝐢𝐳𝐚𝐛𝐞𝐭𝐡 𝐓𝐚𝐤𝐞𝐬 𝐀 𝐏𝐨𝐮𝐧𝐝𝐢𝐧𝐠
Wanted: Elizabeth Takes A Pounding

I tried adding the filenames to excel sheet and change font but that doesnt work.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: June 7th, 2025, 9:30 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
Hi,

sent me some of those files via PM on some host

Will take a look.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: June 7th, 2025, 12:25 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 308
I sent it,

looks like your reply is on hold and I am not authorized to see it.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: June 7th, 2025, 12:47 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
Nothing should be on hold (there should be no such thing in forum PMs, your Inbox might be full, you would need to delete some old PMs then).

Sent the reply again.

If you can't read it email me to: creator@themasoftware.com

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: June 7th, 2025, 12:59 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 308
inbox was full, deletede some and waiting for the replies to go to my inbox now


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help.
PostPosted: June 7th, 2025, 1:49 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13246
Location: Earth
Those are not really "fonts", those are unicode characters.

It's not possible to do anything for them with replacements.

As you could see even pasting to "Excel" is keeping the style (because it's not font, it's unicode character itself).

What you could use is "Unicode Text Normalizer", for example this tool online (there are more as well):
https://onlinetools.com/unicode/normalize-unicode-text
https://inputoutput.dev/unicode-text-normalizer/
https://thetoolsfoundry.com/normalize-u ... text-free/

If you paste the filenames on the left -> it will show with normal letters (not those special unicode) on the right.

Edit:

Added an option to make it automatic:

v.3.48
* Added option in "Settings" -> "Process" -> "Files" -> "Normalize unicode filenames".

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 125 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9  Next

Who is online

Users browsing this forum: No registered users and 7 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