LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   music on console FormatString - leading zeroes on tracknumber? (https://www.linuxquestions.org/questions/linux-software-2/music-on-console-formatstring-leading-zeroes-on-tracknumber-4175597735/)

sljunkie 01-18-2017 10:48 AM

music on console FormatString - leading zeroes on tracknumber?
 
Moc - Music On Console - is a very nifty music application. You can configure how the file's tags show up on the playlist by customizing the option FormatString in your ~/.moc/config file. The format is very similar to printf's, so I wonder if it's possible to add leading zeros on the track number tag.

Here's my current configuration:

Code:

# Read tags on startup?
ReadTags = no

# Default FormatString
FormatString = "%(n:%n :)%(a:%a - :)%(A:\[%A\] - :)%(t:%t:)"

# Theme
Theme = transparent-background

# XTerm Theme
XTermTheme = transparent-background

# Layout
Layout1 = directory(0,0,100%,100%)
Layout2 = playlist(0,0,100%,100%)
Layout3 = ""

# FastDir settings
#Fastdir2 =
#Fastdir3 =
#Fastdir4 =
#Fastdir5 =
#Fastdir6 =
#Fastdir7 =
#Fastdir8 =
#Fastdir9 =
#Fastdir10 =


ondoho 01-21-2017 05:37 AM

no, it's not possible.


All times are GMT -5. The time now is 11:10 PM.