Page 1 of 1

Track Number

Posted: Tue Aug 19, 2008 4:04 pm
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

Re: Track Number

Posted: Wed Aug 20, 2008 3:18 am
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.

Re: Track Number

Posted: Thu Aug 28, 2008 5:07 pm
by Heuni
That's it. Great. It took a moment, but it works. Thanks a lot.
Dominik