LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-18-2017, 10:48 AM   #1
sljunkie
Member
 
Registered: Nov 2008
Location: Brazil
Distribution: Manjaro
Posts: 105

Rep: Reputation: 18
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 =
 
Old 01-21-2017, 05:37 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,879
Blog Entries: 9

Rep: Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514Reputation: 3514
no, it's not possible.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to check and remove leading zeroes from the buffer using c program amit_pansuria Programming 4 11-11-2008 06:31 PM
music on console tony_stevens SUSE / openSUSE 1 10-10-2007 10:26 AM
music on console patch tony_stevens Linux - Software 1 09-20-2007 10:22 AM
Do you play music in console? konsolebox Linux - General 35 08-09-2006 09:01 PM
music player console Longinus Linux - Software 5 05-09-2004 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration