Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ex Falso: remove leading zeros #636

Closed
lazka opened this issue Mar 14, 2015 · 3 comments
Closed

Ex Falso: remove leading zeros #636

lazka opened this issue Mar 14, 2015 · 3 comments

Comments

@lazka
Copy link
Member

lazka commented Mar 14, 2015

Original issue 636 created by alextasikas on 2010-12-29T16:06:08.000Z:

Maybe there is already a way and I don't know it, so this is just a question
Maybe there is no way, so this is a feature request...

I am often using the "Tags From Paths" feature and it suits me!!!
But is there a way to remove leading zeros from tracknumber?

e.g.
Due to the way I organise my directories, I am often using this option: "<artist> - <album> - <year>/<tracknumber> - <title>", but the result is a "trcknumber" like 01 or 05...
What can I do to have the same results but removing leading zeros?

thank you

@lazka
Copy link
Member Author

lazka commented Mar 14, 2015

Comment #1 originally posted by reiter.christoph on 2010-12-29T16:34:13.000Z:

You could use <~#track> (http://code.google.com/p/quodlibet/wiki/InternalTags)

@lazka
Copy link
Member Author

lazka commented Mar 14, 2015

Comment #2 originally posted by alextasikas on 2011-01-01T14:56:11.000Z:

Even though I found little bit confusing (the explanations) in the wiki page you provided, I made some tests and <~#track> is what I needed... thank you reiter.christoph !!!

I also found the <~#year> tag and another question came to me:
Is there a way to replace the "-" character with the "." in the date tag (eg "2003-10-28" --> "2003.10.28") ?
and furthermore is this o matter of ExFalso or a matter of Mutagen library?

thanx in advance

@lazka
Copy link
Member Author

lazka commented Mar 14, 2015

Comment #3 originally posted by joe.wreschnig on 2011-01-01T16:53:52.000Z:

The ID3 standard mandates that date format for date fields. Mutagen will understand nearly any separator (-, T, :, /, ., or whitespace), but forces ID3 timestamps to use - for days, : for times, and T to separate date and time, to comply with the standard.

Ex Falso could allow it for non-ID3 formats, but one of the goals of EF/QL was to pick the highest sensible lowest common denominator of formats and design its UI around that - hence, it forces all formats to use ID3-style timestamps for date-related fields. In the case of dates, this has the practical benefit of bytewise sort always working for date fields.

@lazka lazka closed this as completed Mar 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant