Hi,
Hi I'm writing a XSL file for the write metadata file DSP and I'm having problems getting the TOC right:
This is what a have so far, everything is working except the "<Raw_cd_toc>"
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" encoding="UTF-8"/>
<xsl:template match="/">
<IDTags>
<Album><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Album"/></Album>
<AlbumArtist><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/AlbumArtist"/></AlbumArtist>
<AlbumArtistSort><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/AlbumArtistSort"/></AlbumArtistSort>
<Artist><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Artist"/></Artist>
<ArtistSort><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/ArtistSort"/></ArtistSort>
<Composer><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Composer"/></Composer>
<ComposerSort><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/ComposerSort"/></ComposerSort>
<Conductor><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Conductor"/></Conductor>
<ConductorSort><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/ConductorSort"/></ConductorSort>
<Orchestra><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Orchestra"/></Orchestra>
<Soloists><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Soloists"/></Soloists>
<Chorus><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Chorus"/></Chorus>
<Broadcaster><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Broadcaster"/></Broadcaster>
<Label><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Label"/></Label>
<DiscNumber><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Disc"/></DiscNumber>
<Title><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Title"/></Title>
<Track><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Track"/></Track>
<Duration><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Length"/></Duration>
<ISRC><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/ISRC"/></ISRC>
<UPC><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/UPC"/></UPC>
<ReplayTrackGain><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/replaygain_track_gain"/></ReplayTrackGain>
<ReplayTrackPeak><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/replaygain_track_peak"/></ReplayTrackPeak>
<Raw_cd_toc><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/TOC"/></Raw_cd_toc>
</IDTags>
</xsl:template>
</xsl:stylesheet>
Another question is, if it's possible to get the musicbrainz ID's s part of the metadata?
Kind regards
Carlosdk
Hi I'm writing a XSL file for the write metadata file DSP and I'm having problems getting the TOC right:
This is what a have so far, everything is working except the "<Raw_cd_toc>"
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" encoding="UTF-8"/>
<xsl:template match="/">
<IDTags>
<Album><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Album"/></Album>
<AlbumArtist><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/AlbumArtist"/></AlbumArtist>
<AlbumArtistSort><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/AlbumArtistSort"/></AlbumArtistSort>
<Artist><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Artist"/></Artist>
<ArtistSort><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/ArtistSort"/></ArtistSort>
<Composer><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Composer"/></Composer>
<ComposerSort><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/ComposerSort"/></ComposerSort>
<Conductor><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Conductor"/></Conductor>
<ConductorSort><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/ConductorSort"/></ConductorSort>
<Orchestra><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Orchestra"/></Orchestra>
<Soloists><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Soloists"/></Soloists>
<Chorus><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Chorus"/></Chorus>
<Broadcaster><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Broadcaster"/></Broadcaster>
<Label><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Label"/></Label>
<DiscNumber><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Disc"/></DiscNumber>
<Title><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Title"/></Title>
<Track><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Track"/></Track>
<Duration><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/Length"/></Duration>
<ISRC><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/ISRC"/></ISRC>
<UPC><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/UPC"/></UPC>
<ReplayTrackGain><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/replaygain_track_gain"/></ReplayTrackGain>
<ReplayTrackPeak><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/replaygain_track_peak"/></ReplayTrackPeak>
<Raw_cd_toc><xsl:value-of select="AudioMetadata/ConvertedFile/IDTags/TOC"/></Raw_cd_toc>
</IDTags>
</xsl:template>
</xsl:stylesheet>
Another question is, if it's possible to get the musicbrainz ID's s part of the metadata?
Kind regards
Carlosdk
Comment