Track Number

Tell us about your wildest feature dreams. Or just harmless suggestions for improvement.

Track Number

Postby Heuni » Tue Aug 19, 2008 4:04 pm

Hello everyone,
it's only a simple request, but I it's important for me.
Is it possible to enable the track numbers of each track in the info display?
Like
1. Track Name One
2. Track Name Two
3. and so on

That would be very great.
Heuni
Heuni
Junior Member
Junior Member
 
Posts: 2
Joined: Tue Aug 19, 2008 4:01 pm

Re: Track Number

Postby Conor » Wed Aug 20, 2008 3:18 am

Thank you for the feedback. You can modify the CSS of the template for the info view to include numbers. If you ctrl-click CDpedia and choose package contents you can navigate to CDpedia.app/Contents/Resources/WebViewFiles/en/Collection.html (this is the default template) open it in a text editor and change:
Code: Select all
<!--IFtracks
<div class="links">
<ul>
to
Code: Select all
<!--IFtracks
<div class="links">
<ul style="list-style-type:decimal">

Don't use TextEdit as it will try to display it as HTML instead of text. If you use TextEdit use the open command and check the "ignore rich text commands" option.

After that you will want to move the modified template to your data folder so it does not get overwritten with an update of CDpedia. Move it from there to your home folder ~/Library/Application Support/CDpedia/InfoTemplates (you will have to create the "InfoTemplates" folder). Also rename the file so that it's not named the same as the original CDpedia one and copy the entire "Images" folder from where the original template was into "InfoTemplates" as well.
User avatar
Conor
Top Dog
 
Posts: 5269
Joined: Sat Jul 03, 2004 12:58 pm

Re: Track Number

Postby Heuni » Thu Aug 28, 2008 5:07 pm

That's it. Great. It took a moment, but it works. Thanks a lot.
Dominik
Heuni
Junior Member
Junior Member
 
Posts: 2
Joined: Tue Aug 19, 2008 4:01 pm


Return to Feature Requests