0
Hi Germi,
I've been updating the views/album/view.feed.php file to customise the XSPF playlist data, specifically;
[ol]
[li]insert the URL for each song into the XSPF's link tag[/li]
[li]add a custom, shortened description of each song from their reviews into the XSPF annotation tag[/li]
insert the songwriters field of each song into the XSPF creator tag instead of the song or album artist name.
[/ol]
My only problem is, the XSPF link tag is not added to the track info in the playlist. I'm console.logging the song object every time an item is played for debugging however, as you can see below, the link parameter is left blank.
Everything is working fine in the XSPF file in that I can see the correct info displayed - for example, here is the rendered XSPF for one of the songs in the playlist;
Where can I set this to read from the XSPF file so that I can ensure that it is in the song object?
Many thanks,
Gez
I've been updating the views/album/view.feed.php file to customise the XSPF playlist data, specifically;
[ol]
[li]insert the URL for each song into the XSPF's link tag[/li]
[li]add a custom, shortened description of each song from their reviews into the XSPF annotation tag[/li]
insert the songwriters field of each song into the XSPF creator tag instead of the song or album artist name.
[/ol]
My only problem is, the XSPF link tag is not added to the track info in the playlist. I'm console.logging the song object every time an item is played for debugging however, as you can see below, the link parameter is left blank.
author: "Written, Performed and Recorded by students from Hawthorn high School, RCT, South Wales/Streetcare Services, RCTCBC"
date: ""
description: "Test description shortened from the review."
duration: 223
file: "songs/ev-rct11/s/1-01 Criminal.m4a"
image: "https://lts-site-content.s3.amazonaws.com/images/albums/1309773483_evsq-rct-2011-cd-fr.jpg"
index: 0
link: ""
mediaid: ""
provider: "rtmp"
start: 0
streamer: "rtmp://streaming.learnthrusong.co.uk/cfx/st/"
tags: ""
title: "Criminal"
type: "rtmp"
Everything is working fine in the XSPF file in that I can see the correct info displayed - for example, here is the rendered XSPF for one of the songs in the playlist;
Criminal
https://www.learnthrusong.co.uk/the-envirovision-song-quest-rct/2011/audio-track/criminal.html
Test description shortened from the review.
Written, Performed and Recorded by students from Hawthorn high School, RCT, South Wales/Streetcare Services, RCTCBC
songs/ev-rct11/s/1-01 Criminal.m4a
https://lts-site-content.s3.amazonaws.com/images/albums/1309773483_evsq-rct-2011-cd-fr.jpg
223
rtmp://streaming.learnthrusong.co.uk/cfx/st/
Where can I set this to read from the XSPF file so that I can ensure that it is in the song object?
Many thanks,
Gez
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »