Audex/uk: Difference between revisions

From KDE UserBase Wiki
(Created page with "Отже, здебільшого цього має бути достатньо. Крім того, для точнішого налаштовування схем назв п...")
(Updating to match new version of source page)
Line 84: Line 84:
$artist/${title uppercase="true"}/$trackno - $ttile.$suffix</nowiki>}}
$artist/${title uppercase="true"}/$trackno - $ttile.$suffix</nowiki>}}


Your title name will be upcased or lowercased.
Your title name will be uppercased or lowercased.


This is interesting, too:
This is interesting, too:
Line 90: Line 90:
{{Input|1=<nowiki>${artist uppercase="true" left="1"}/$artist/$title/$trackno - $ttile.$suffix</nowiki>}}
{{Input|1=<nowiki>${artist uppercase="true" left="1"}/$artist/$title/$trackno - $ttile.$suffix</nowiki>}}


The parameter "left" means, that only the number of characters chosen, you set. In this example only the first upcased letter of the artist name is chosen to create a folder. Sometimes people sort their artists in alphabetic order in folders A, B, C, D, E...
The parameter "left" means, that only the number of characters chosen, you set. In this example only the first uppercased letter of the artist name is chosen to create a folder. Sometimes people sort their artists in alphabetic order in folders A, B, C, D, E...


Maybe this is useful:
Maybe this is useful:

Revision as of 18:21, 14 April 2015

Audex — програма для видобування даних зі звукових компакт-дисків.

Audex — проста у користуванні програма для видобування даних із звукових компакт-дисків. Загальні принципи користування audex є доволі очевидними. Під час першого запуску audex виконує пошук у вашій системі типових програм для кодування і автоматично створює типовий список профілів обробки.

Можливості

  • Видобування даних за допомогою CDDA Paranoia.
  • Підтримка Ogg Vorbis, FLAC, MP3, WAV, AAC та нетипових засобів кодування, керованих за допомогою командного рядка.
  • Різноманітні схеми назв файлів (див. розділ щодо схем назв файлів).
  • Засоби коригування метаданих (зокрема виправлення великих літер).
  • Видобування на основі профілів.
  • Отримання зображень обкладинок з інтернету.
  • Створення списків відтворення, обкладинок та шаблонів на основі файлів info.
  • Передавання файлів за допомогою допоміжних засобів введення-виведення KDE.
Надайте Audex змогу знайти ваші кодеки і показати вам можливі параметри

Схеми назв файлів

Схема назв файлів визначає шлях та назви звукових файлів, які буде створено Audex. Проста схема у Audex може виглядати так:

$artist/$title/$trackno - $ttile.$suffix

Якщо ви видобуваєте дані з компакт-диска виконавців «Metallica», а альбом називається «Metallica», файли буде збережено до теки /Metallica/Metallica у основній теці, яку вказано у загальних параметрах роботи програми. Якщо такої теки не існує, Audex створить її. Якщо видобування виконується до файлів flac, файли буде названо так: «1 - Enter Sandman.flac», «2 - Sad But True.flac», «3 - Holier Than You.flac»...

Ось список змінних, якими можна скористатися для визначення вашої нетипової схеми назв файлів:

Змінна Значення
$artist Виконавець компакт-диска. Якщо компакт-диск є компіляцією, здебільшого, ця мітка відповідає його назві.
$title Назва компакт-диска. Якщо компакт-диск є компіляцією, здебільшого, ця мітка відповідає підзаголовку.
$date Дата випуску компакт-диска. Майже завжди визначається роком.
$genre Жанр музики на компакт-диску.
$cdno Номер компакт-диска у багатодисковому альбомі. З декількох компакт-дисків часто складаються компіляції. Зауваження: якщо для поточного компакт-диска не встановлено прапорець багатодискового альбому, це значення буде порожнім.


Змінна Значення
$tartist Виконавець окремої композиції. Особливо важливо для компакт-дисків компіляцій.
$ttitle Назва композиції. Зазвичай, кожна композиція на диску має власну назву.
$trackno Номер доріжки. Перша доріжка має номер 1.


Отже, здебільшого цього має бути достатньо. Крім того, для точнішого налаштовування схем назв передбачено параметри змінних. Приклад:

$artist/$title/${trackno length="2" fillchar="0"} - $ttile.$suffix

As you might think, parameters in this example means, that the track numbers will be forced to a length of 2 digits and numbers less than 10 are filled up with "0". So in case of flac files the files will be named "01 - Enter Sandman.flac", "02 - Sad But True.flac", "03 - Holier Than You.flac"...

There is also an option for this in the user interface, which overrides parameters in the variable.

Another useful parameters might me this:

$artist/${title lowercase="true"}/$trackno - $ttile.$suffix
$artist/${title uppercase="true"}/$trackno - $ttile.$suffix

Your title name will be uppercased or lowercased.

This is interesting, too:

${artist uppercase="true" left="1"}/$artist/$title/$trackno - $ttile.$suffix

The parameter "left" means, that only the number of characters chosen, you set. In this example only the first uppercased letter of the artist name is chosen to create a folder. Sometimes people sort their artists in alphabetic order in folders A, B, C, D, E...

Maybe this is useful:

${artist replace_char_list="true" replace_char_list_from="@#$%*" replace_char_list_to="____+"}/$artist/$title/$trackno - $ttile.$suffix

Every character in the parameter "replace_char_list_from" will be replaced by the character in the parameter "replace_char_list_to". E.g. "*" is replaced by "+". Of course these two strings must be equal size.

And last, take a look at this:

${artist underscores="true"}_-_${title underscores="true"}/$trackno_-_$ttile.$suffix
$artist/$title/$trackno_-_${ttile fat32compatible="true"}.$suffix

Sometimes people don't like spaces in their filenames (mainly for historical reasons I think). If you set underscores as true within a variable parameter all spaces will be replaced by underscores "_". The parameter "fat32compatible" will remove all FAT32 incompatible characters (like "?"). Normally you won't use these two parameters, as there are options in the user interface for the complete filename.

Here is a complete overview of filename scheme variables and their possible parameters:

Variable Value Parameters
$artist The artist of the CD. If your CD is a compilation, then this tag represents the title in most cases. left, lowercase, uppercase, replace_char_list, replace_char_list_from, replace_char_list_to, underscores, fat32compatible
$title The title of the CD. If your CD is a compilation, then this tag represents the subtitle in most cases. left, lowercase, uppercase, replace_char_list, replace_char_list_from, replace_char_list_to, underscores, fat32compatible
$date The release date of the CD. In almost all cases this is the year. left, lowercase, uppercase, replace_char_list, replace_char_list_from, replace_char_list_to, underscores, fat32compatible
$genre The genre of the CD. left, lowercase, uppercase, replace_char_list, replace_char_list_from, replace_char_list_to, underscores, fat32compatible
$cdno The CD number of a multi-CD album. Often compilations consist of several CDs. Note: If the multi-CD flag is not set for the current CD, than this value will be just empty.
$suffix The filename extension (e.g. .ogg, .mp3), normally based on your encoder.


Variable Value Parameters
$tartist This is the artist of every individual track. It is especially useful on compilation CDs. left, lowercase, uppercase, replace_char_list, replace_char_list_from, replace_char_list_to, underscores, fat32compatible
$ttitle The track title. Normally each track on a CD has its own title, which is the name of the song. left, lowercase, uppercase, replace_char_list, replace_char_list_from, replace_char_list_to, underscores, fat32compatible
$trackno The track number. First track is 1. length, fillchar

Посилання


Довідку щодо програми можна отримати на сторінці обговорення англомовної версії сторінки цієї програми.