Bug 347415

Summary: cannot customize track names
Product: [Applications] AudioCD-KIO Reporter: Stephane Couturier <contact>
Component: GeneralAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: icefox, stefan.freyr, yurchor
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stephane Couturier 2015-05-08 09:24:08 UTC
Hi,

Using KDE 4.14.5, Dolphin 4.14.13, on Mageia 5 (RC version) 64bits.

I use the possibility to change the names before copying the tracks to back up my CDs as described in:
https://docs.kde.org/development/en/kdemultimedia/kioslave/audiocd/index.html


When I insert a CD, the audio track are accessible and the names are set as per default.
The address is     audiocd:/?device=/dev/sr0

But when I try to paste an address to get a custom track name, I cannot get the files.

Example of address: 
audiocd:/?fileNameTemplate=%{trackartist} - %{albumtitle} - %{number} - %{title}

expected result: I should see the tracks with the usual folders by format (mp3, flac...) following the name policy I typed. 

actual result:
only one folder appears, it is named:
 [DVDRW - unknown vendor - hp    DVDRAM GT30L]
it can be expanded but contains a folder with the same name,
and so on, and so on.
I recognize my DVD drive model.

Thank you,
Comment 1 Stefán Freyr Stefánsson 2015-06-30 10:20:00 UTC
The documentation for this is in dire need of updating.

What I found after googling was this:
https://docs.kde.org/trunk4/en/kdemultimedia/kioslave/audiocd/index.html

I couldn't find anything for a newer version.

As you can see the above documentation does not document what possible placeholders there are for the fileNameTemplate parameter.

Eventually I managed to find that when I found the source code:
http://code.metager.de/source/xref/kde/Multimedia/audiocd-kio/audiocd.cpp#1104

In addition, the documentation stated that you should use parameters of the form {%number}. I found that to be wrong. I needed to skip the curly brackets.

So the following URL worked for me:
audiocd:/?device=/dev/sr0&fileNameTemplate=%number - %title (%trackartist)

Which gets changed by Dolphin to:
audiocd:/?device=/dev/sr0&fileNameTemplate=%25number%20-%20%25title%20(%25trackartist)

Also, the documentation seems to hint at it being possible to change the default values for these parameters ("Note that the configuration dialog allows you to set a default value for this option."). However, I could not find any configuration dialog that allows me to do that.
Comment 2 Justin Zobel 2023-01-02 07:44:01 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2023-01-17 05:16:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2023-02-01 05:06:07 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!