| Author |
Message |
|
KAM
Joined: Wed Oct 01, 2003 6:09 pm Posts: 1142 Location: Location: Location:
|
 'Credits' in Album.xsl not working for one album
Strange one this. I've only just spotted it for an album I've had in the database for quite some time. When viewing the album.xsl display the 'Credits' link is shown as text only, not a link. And yet I have band members, composers & songwriters listed for every track. I haven't found any other album that shows similar symptoms and I'm completely stumped. Any ideas of where to start looking, anyone?
Ken
|
| Sat Apr 28, 2012 4:42 pm |
|
 |
|
hamsen
Joined: Sat Nov 22, 2003 7:47 pm Posts: 2547 Location: Denmark
|
 Re: 'Credits' in Album.xsl not working for one album
Hi Ken
Make an xml-file from album.xsl Then check the "counts" that is used in the template against the content of the xml-file.
That should point you in the right direction.
_________________ Kind regards Thomas Hamstrup HAP Software (http://www.hamstrup.dk)
Using Windows 8 PRO 64-bit and CATraxx 9.44
|
| Sat Apr 28, 2012 5:08 pm |
|
 |
|
LotsOCds
Joined: Fri Nov 14, 2003 6:15 pm Posts: 1425
|
 Re: 'Credits' in Album.xsl not working for one album
Hi Ken, That's very strange. Normally 'track' credits get consolidated into 'album' credits in the XML and that may not be the case or this one album. The best place to start is to right click on the album.xsl display in the explorer and choose Save as XML. The relevant code that displays the Credits link in album.xsl is below. When you look into the XML file you should see one or more sets of credits that will satisfy the test conditions. It there are none there then the problem is with that one album record. Otherwise we'll need to figure out why the code doesn't show the link. My guess is the former but let's take a look and see.
_________________ Cheers, Dave
|
| Sat Apr 28, 2012 5:10 pm |
|
 |
|
KAM
Joined: Wed Oct 01, 2003 6:09 pm Posts: 1142 Location: Location: Location:
|
 Re: 'Credits' in Album.xsl not working for one album
Thank you both for the very prompt responses. I'll be honest - I'm not entirely sure what I should be looking for or how to repair it.
I've saved two albumsworth of XML data and attached the files here. The Charlie Haden Quartet file is the broken one, the other is an example of one that works perfectly like all the others I've checked so far. There are clear differences in the two files in 'albumauthorcredits' and 'bandmembers' but I don't know how to account for them.
I've tried repairing the database but with no success.
Ken.
You do not have the required permissions to view the files attached to this post.
|
| Sat Apr 28, 2012 7:50 pm |
|
 |
|
LotsOCds
Joined: Fri Nov 14, 2003 6:15 pm Posts: 1425
|
 Re: 'Credits' in Album.xsl not working for one album
This is what I had suspected, the credits did not get consolidated from the trackdata up to the albumdata level. The credits under albumdata are empty. Why that happened I don't know. You might try cloning this album or transferring it to a new database (File>Transfer), checking it there and if it's okay transferring it back. If none of those things work I think Fredrik's help will be needed.
_________________ Cheers, Dave
|
| Sat Apr 28, 2012 8:24 pm |
|
 |
|
KAM
Joined: Wed Oct 01, 2003 6:09 pm Posts: 1142 Location: Location: Location:
|
 Re: 'Credits' in Album.xsl not working for one album
Thanks Dave - cloning and transferring were unsuccessful. Oh well.
|
| Sat Apr 28, 2012 8:55 pm |
|
 |
|
LotsOCds
Joined: Fri Nov 14, 2003 6:15 pm Posts: 1425
|
 Re: 'Credits' in Album.xsl not working for one album
Hi Ken,
I you like, send me the database with the one transferred album and I'll see what I can do. No guarantees...
_________________ Cheers, Dave
|
| Sat Apr 28, 2012 9:04 pm |
|
 |
|
KAM
Joined: Wed Oct 01, 2003 6:09 pm Posts: 1142 Location: Location: Location:
|
 Re: 'Credits' in Album.xsl not working for one album
Thanks for the offer of help. I didn't spot your post until this morning. (My last, uncharacteristically for Ken, brief post was because I was one my way out last night.) I've e-mailed the db to you.
Thanks again
Ken
|
| Sun Apr 29, 2012 9:41 am |
|
 |
|
LotsOCds
Joined: Fri Nov 14, 2003 6:15 pm Posts: 1425
|
 Re: 'Credits' in Album.xsl not working for one album
Hi Ken,
I found the problem and how to workaround it but this looks like something Fredrik will want to put on the fix-it list.
The problem is that the first track index number is not 1. That seems to prevent the track credits from being consolidated into the respective album credits. Only the first track index seems to matter. Open the album edit form and choose Track> Set Track Index and change the first track to index 1 (to renumber all the tracks click Auto), save and close. The credits link will work now album.xsl.
_________________ Cheers, Dave
|
| Sun Apr 29, 2012 3:49 pm |
|
 |
|
KAM
Joined: Wed Oct 01, 2003 6:09 pm Posts: 1142 Location: Location: Location:
|
 Re: 'Credits' in Album.xsl not working for one album
Fantastic! How did you ever tie that cause to that effect?! I've since checked a couple of other albums which, based on your detective work, should have shown the same problem, and sure enough they did. I just hadn't spotted them. I'm really grateful for your help - again.
Regards
Ken
|
| Sun Apr 29, 2012 4:45 pm |
|
|