Page 1 of 1

Rename movie files

Posted: 2013-04-15 07:47:47
by al0203
Is it any way to make the AMC rename the movies files with the information that get from Internet. If you have a file named Matrix (1999).Hdrip.Ac3.ripped by manolete.avi, can AMC change the name of the file with the name of the movie and the year like Matrix (1999).avi, so if later you need to rescan all the movies AMC will easily find it in his data base?

Posted: 2013-04-15 09:09:47
by rs232
AMC has never been good manipulating filesystem. e.g. you can't open the video from it or delete/rename with the software out of the box. Having said that the video file can be called whatever you want as the aim of AMC is actually to find information in the database and link it to the real filename.

If I can add something: renaming all your media is a tedious task! Especially if done automatically, the risk of errors is pretty high. If I can give you an advice I would stick to the original filename and refer to AMC for any info you might want to find. To keep things organised you might want to keep the directory name *clean* and free from useless information e.g. webrip, axxxo, a.s.o.. I personally just leave the title and the year and info it's pretty easy to find.

my 2 cents

Posted: 2013-04-15 10:54:34
by soulsnake
Hi al0203, rs232
al0203 wrote:Is it any way to make the AMC rename the movies files with the information that get from Internet. If you have a file named Matrix (1999).Hdrip.Ac3.ripped by manolete.avi, can AMC change the name of the file with the name of the movie and the year like Matrix (1999).avi
You can rename your files with a little script if you have stored the full file path or just filename in a field (e.g. URL, Source).

You can use the script RenameFiles to rename files (Tools -> Scripting -> select script RenameFiles).
This script has been done by myself for my personnal use at the beginning. So use it with caution.
First of all, use script option to choose how to format the new file name.
When you run the script, first choose the field where the file name is stored (e.g. URL, Source).
Second, you can enter a folder path if you just have the filename stored in the selected field and not the full file path.
You can also modify script for your personnal use if you want.
al0203 wrote:..., so if later you need to rescan all the movies AMC will easily find it in his data base?
When you import movies, you can select a key field (e.g. field URL where the file path of movie is stored) to compare movies and to not reimport movies already in catalog ;).
rs232 wrote:AMC has never been good manipulating filesystem. e.g. you can't open the video from it or delete/rename with the software out of the box.
This is not true ! If you store file path of movie in field URL or a custom field of type URL you can open the file directly by pressing enter in the field or using the drop down box at right of the field !
And if you use HTML display, you can modify the template to add a link on the field where you store the file path of movie (e.g. "<a href="$$ITEM_URL">$$ITEM_URL</a>") to open it directly by clicking on it.
Also you can manage files/folders with a little script if you need in last version of AMC.

Soulsnake.