Re: [Banshee-List] New kid in town/Customized file names in Banshee



Hi,

Thanks for your feedback, and for your kind words.
Some answers included in the text below.

On Mon, Apr 15, 2013 at 4:12 AM, Edu Camargo <edumusico gmail com> wrote:
Hi all. Before anything, greetings to all the people through out the world
subscribed to this list. Saudações brasileiras.

I'm gradually moving to Linux and I'm experimenting with Banshee, since it
is the best player for me in terms of features, flexibility and even
accessibility. I can use it comfortably with Orca screen reader. Yeah, a
blind user. Although I miss some facilities like having a shortcut key for
seeking, or at least a way to seek the same way you can adjust the volume
when you press enter while the slider is in focus, it is the best I found
for playing my music on Linux, ripping CDs, changing music information and
etc. I've been using Foobar2000 on my Windows machine and I love the tools
it offers.

You're right, it seems it's impossible to seek using just the
keyboard. It's already filed in our bugtracker, and I've just added
your suggestion on the bug:
https://bugzilla.gnome.org/show_bug.cgi?id=672666

Anyway, recently I've discovered that you can setup file name conventions
beyond what's offered by the banshee GUI. Basically what I'm trying to do
is:
When you have an album that is comprised of a single disc, like "21" by
Adele, it is normaly named like this: "02 - Rumour Has It.flac"
But when it's a multi-cd like Pink Floyd's "The Wall "you can have it named
like this: "2-01 - Hey You.flac"

I'm trying to acomplish this in a form of condition, when disc count is
greater than 1 it names dynamically, just like it happens in iTunes. I was
able to get the same result with Foobar2000.
How can I acomplish this in Banshee? anything on gconf-editor or similar
would do the trick. If is there any technical documentation explaining the
necessary codes and arguments to be used to get the results I'm interested
in, please let me know as well.

You can set a custom folder and file name pattern using gconf-editor.
The relevant keys are /apps/banshee-1/library/folder_pattern and
/apps/banshee-1/library/file_pattern
Sadly, those patterns are not documented properly. They are list in
the source code here, hopefully their name is self-explanatory:
https://git.gnome.org/browse/banshee/tree/src/Core/Banshee.Services/Banshee.Library/MusicFileNamePattern.cs#n67

If a token is between { } it will be omitted if the corresponding
field is empty. So, for your example, you could use the following
pattern :
{%track_number%-}{%disc_number% -} %title%

But that will only get the result you want if the disc number is not
set for single disc albums. There's currently no way to have a
condition on those patterns.
But maybe it would make sense to special-case the disc number, and
consider a value of 1 to be the same as "empty" if the disc count is
also 1 ?

I hope this helps !

--
Bertrand


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]