Track Number

Tell us about your wildest feature dreams. Or just harmless suggestions for improvement.
Post Reply
Heuni
Junior Member
Junior Member
Posts: 2
Joined: Tue Aug 19, 2008 4:01 pm

Track Number

Post by Heuni »

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
User avatar
Conor
Top Dog
Posts: 5345
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: Track Number

Post by Conor »

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.
Heuni
Junior Member
Junior Member
Posts: 2
Joined: Tue Aug 19, 2008 4:01 pm

Re: Track Number

Post by Heuni »

That's it. Great. It took a moment, but it works. Thanks a lot.
Dominik
Post Reply