AIMP Forum

AIMP for Windows => Вопросы / Questions => Topic started by: jfukuro on September 24, 2024, 09:58:54

Title: Audio converter
Post by: jfukuro on September 24, 2024, 09:58:54
I have a directory with several hundred subdirectories. Some subdirectories contain .flac files and some directories contain .mp3 files, and some contain both. I would like to convert to a single type, without duplicates. Can I easily do this? Thanks!
Title: Re: Audio converter
Post by: Artem on September 24, 2024, 15:30:47
Yep, I suggest you to:
1) Specify temporary output folder (a folder must be empty). It will be used to prevent files from auto-renaming if file formats are same
2) Switch on the "save folder structure folder when moving files to target path" option
3) Switch on the "delete source files after successful conversion" option. (Don't worry, AIMP will remove files to recycle bin, so you will able to restore the files if something goes wrong)
4) Add the directory to the converter and start the process
5) After conversion, copy temporary folder to the directory.
Title: Re: Audio converter
Post by: jfukuro on September 24, 2024, 20:01:51
Thank you! That solved my problem!! :)
Title: Re: Audio converter
Post by: RAG on September 28, 2024, 12:35:04
Доброго времечка всем!
Конвертирую альбом разбитый на два CD
Подскажите. Как прописать в "Переименовать файл" чтобы после конвертации было
артист/год - альбом/CD.../номер(01.02...)/название.

Прописал так %Artist\%Year - %Album\CD - %DiskNumber\%Index. %Title
Вроде бы работает но есть два НО
1.После конвертации CD - 1 и CD - 2 а в оригинале CD - 01 и CD - 02 но бывают же альбомы разбитые на несколько CD не просто с номером а ещё и с названием. Так вот как тут быть?
2.В CD - 1 первый трек как и положено имеет номер 01 а в CD - 2 первый и последующие пошли с 02,03 и.тд
Title: Re: Audio converter
Post by: Artem on September 28, 2024, 20:59:56
%Artist\%Year - %Album\CD - %DiskNumber\%Index. %Title

%Index - Это номер файла в списке. Вам нужен %TrackNumber. Для форматирования числа есть функция %Format(00,%TrackNumber)
Title: Re: Audio converter
Post by: RAG on September 28, 2024, 22:04:43
Спасибо!
Прописал %Artist\%Year - %Album\CD - %DiskNumber\%Format(00,%TrackNumber). %Title
В итоге нумерация треков приобрела надлежащий вид.
А вот как прописать чтобы CD... имели оригинальные названия?
Title: Re: Audio converter
Post by: Artem on September 28, 2024, 23:44:00
А вот как прописать чтобы CD... имели оригинальные названия?

что вы подразумеваете тут под оригинальными названиями?
Title: Re: Audio converter
Post by: RAG on September 29, 2024, 04:12:07
что вы подразумеваете тут под оригинальными названиями?
(https://imageup.ru/img23/thumb/09-294928500.jpg) (https://imageup.ru/img23/4928500/09-29.jpg.html)
Title: Re: Audio converter
Post by: Artem on September 29, 2024, 09:52:13
что вы подразумеваете тут под оригинальными названиями?

где они хранятся в самом файле? в каком поле тега?
Title: Re: Audio converter
Post by: RAG on September 29, 2024, 14:15:29
где они хранятся в самом файле? в каком поле тега?
Хранятся в поле тега "Альбом" и в cue.
Это итог который хотелось бы видеть после конвертации.
(https://imageup.ru/img59/4928761/2024-09-29_135409.jpg) (https://imageup.ru/img59/4928761/2024-09-29_135409.jpg.html)
Title: Re: Audio converter
Post by: ss.pl on September 29, 2024, 19:26:15
Нет там (https://rutracker.org/forum/viewtopic.php?t=4833184) "названия" ни в тегах, ни в имени папки, чтобы хоть как то поизгалятся.

(https://i.ibb.co/jr1Yq0w/1.png)  (https://i.ibb.co/tJJBd0w/2.png)

RAG, вы сюда пришли вопрос порешать или в угадайку играть и бумагу пачкать писаниной заниматься?
Что так сложно, сразу, дать все метаданные файлов и имена папок где эти файлы лежат?

Это итог который хотелось бы видеть после конвертации

содержание cue-файлов, прописанные теги в flac-файлах и оригинальные имена папок - "(с) в студию"
Title: Re: Audio converter
Post by: Glypharillon on October 19, 2024, 04:27:44
I have a similar question to the OP. I, too, have sub-folders with some with FLAC and others with MP3 files. I am looking to convert the FLAC's to MP3's to use in my phone, but leave the files that are already MP3's alone. In my case, I would like to convert the FLAC's into their own sub-directories using the existing directory structure, which is what I can use Artem's answer for (minus delete the existing since I want to keep the original FLAC's), but is there a way to skip the converting and writing into the new sub-directories those with existing MP3's and only convert the FLAC's?

Is what I'm trying to do even possible? I thought that maybe the %IF macro paired with the %Fileformat might work, but I'm not sure what the syntax should be.

Thanks,
Glyph
Title: Re: Audio converter
Post by: Artem on October 19, 2024, 10:19:39
is there a way to skip the converting and writing into the new sub-directories those with existing MP3's

I afraid no