<info> not working as before

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

<info> not working as before

Keith Purtell
I could had sworn the enclosed playlist was working fine, but now the
Flash player shows a non-existent song it calls "undefined" and my
playlist when pasted into the online validator gets an invalid rating
with the cryptic message:

Line Col Error
40 1 Element http://xspf.org/ns/0/ info not allowed.

By the way, that link in the info tag works perfectly when pasted into a
browser.

<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<title>Leon Russell</title>
<trackList>

<track>
<location>http://www.keithpurtell.com/kthings/music/russell/Leon-Russell-Delta-Lady.mp3</location>
<title>Delta Lady</title>
<album>Leon Russell</album>
<creator>Leon Russell</creator>
<image>http://www.keithpurtell.com/kthings/images/leoncover1.jpg</image>
<info>http://www.amazon.com/Leon-Russell/dp/B000002TYM/ref=sr_1_3?s=music&amp;ie=UTF8&amp;qid=1297654814&amp;sr=1-3</info>
</track>

<track>
<location>http://www.keithpurtell.com/kthings/music/russell/Leon-Russell-Beware-of-Darkness.mp3</location>
<title>Beware of Darkness</title>
<album>Leon Russell and the Shelter People</album>
<creator>Leon Russell</creator>
<image>http://www.keithpurtell.com/kthings/images/leoncover2.jpg</image>
<info>http://www.amazon.com/Shelter-People-Leon-Russell/dp/B000002TYO/ref=sr_1_5?s=music&amp;ie=UTF8&amp;qid=1297654814&amp;sr=1-5</info>
</track>

<track>
<location>http://www.keithpurtell.com/kthings/music/russell/Leon-Russell-My-Cricket.mp3</location>
<title>My Cricket</title>
<album>Carney</album>
<creator>Leon Russell</creator>
<image>http://www.keithpurtell.com/kthings/images/leoncover3.jpg</image>
<info>http://www.amazon.com/Carney-Leon-Russell/dp/B000002U04/ref=sr_1_6?s=music&amp;ie=UTF8&amp;qid=1297654814&amp;sr=1-6</info>
</track>

<track>
<location>http://www.keithpurtell.com/kthings/music/russell/Leon-Russell-She-Thinks-I-Still-Care.mp3</location>
<title>She Thinks I Still Care</title>
<album>Hank Wilson's Back</album>
<creator>Leon Russell</creator>
<image>http://www.keithpurtell.com/kthings/images/leoncover4.jpg</image>
</track>
<info>http://www.amazon.com/Hank-Wilsons-Back-Leon-Russell/dp/B000002U03/ref=sr_1_13?s=music&amp;ie=UTF8&amp;qid=1297655011&amp;sr=1-13</info>
</trackList>
</playlist>


- Keith Purtell
  http://www.keithpurtell.com/


_______________________________________________
Playlist mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/playlist
Reply | Threaded
Open this post in threaded view
|

Re: <info> not working as before

Chris Herdt
Keith,

I believe you want the info element at line 40 moved so that it is a child of the track element. Right now it is a child of the trackList element. When I make that change, the file validates.



On Sun, Jul 10, 2011 at 8:00 AM, <[hidden email]> wrote:
Date: Sat, 09 Jul 2011 21:57:58 -0500
From: Keith Purtell <[hidden email]>
Subject: [Playlist] <info> not working as before
To: XSPF Playlist Discussion <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=ISO-8859-1

I could had sworn the enclosed playlist was working fine, but now the
Flash player shows a non-existent song it calls "undefined" and my
playlist when pasted into the online validator gets an invalid rating
with the cryptic message:

Line    Col      Error
40      1        Element http://xspf.org/ns/0/ info not allowed.

By the way, that link in the info tag works perfectly when pasted into a
browser.

<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<title>Leon Russell</title>
<trackList>

<track>
<location>http://www.keithpurtell.com/kthings/music/russell/Leon-Russell-Delta-Lady.mp3</location>
<title>Delta Lady</title>
<album>Leon Russell</album>
<creator>Leon Russell</creator>
<image>http://www.keithpurtell.com/kthings/images/leoncover1.jpg</image>
<info>http://www.amazon.com/Leon-Russell/dp/B000002TYM/ref=sr_1_3?s=music&amp;ie=UTF8&amp;qid=1297654814&amp;sr=1-3</info>
</track>

<track>
<location>http://www.keithpurtell.com/kthings/music/russell/Leon-Russell-Beware-of-Darkness.mp3</location>
<title>Beware of Darkness</title>
<album>Leon Russell and the Shelter People</album>
<creator>Leon Russell</creator>
<image>http://www.keithpurtell.com/kthings/images/leoncover2.jpg</image>
<info>http://www.amazon.com/Shelter-People-Leon-Russell/dp/B000002TYO/ref=sr_1_5?s=music&amp;ie=UTF8&amp;qid=1297654814&amp;sr=1-5</info>
</track>

<track>
<location>http://www.keithpurtell.com/kthings/music/russell/Leon-Russell-My-Cricket.mp3</location>
<title>My Cricket</title>
<album>Carney</album>
<creator>Leon Russell</creator>
<image>http://www.keithpurtell.com/kthings/images/leoncover3.jpg</image>
<info>http://www.amazon.com/Carney-Leon-Russell/dp/B000002U04/ref=sr_1_6?s=music&amp;ie=UTF8&amp;qid=1297654814&amp;sr=1-6</info>
</track>

<track>
<location>http://www.keithpurtell.com/kthings/music/russell/Leon-Russell-She-Thinks-I-Still-Care.mp3</location>
<title>She Thinks I Still Care</title>
<album>Hank Wilson's Back</album>
<creator>Leon Russell</creator>
<image>http://www.keithpurtell.com/kthings/images/leoncover4.jpg</image>
</track>
<info>http://www.amazon.com/Hank-Wilsons-Back-Leon-Russell/dp/B000002U03/ref=sr_1_13?s=music&amp;ie=UTF8&amp;qid=1297655011&amp;sr=1-13</info>
</trackList>
</playlist>


- Keith Purtell
 http://www.keithpurtell.com/




------------------------------

_______________________________________________
Playlist mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/playlist

End of Playlist Digest, Vol 76, Issue 1
***************************************



--
Chris Herdt
Web Applications Developer
267-603-1066 (home)
734-754-3585 (mobile)
http://osric.com/chris/

_______________________________________________
Playlist mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/playlist
Reply | Threaded
Open this post in threaded view
|

Re: <info> not working as before

Keith Purtell
In reply to this post by Keith Purtell
On 7/11/2011 7:00 AM, [hidden email] wrote:

> Date: Sun, 10 Jul 2011 10:57:40 -0400
> From: Chris Herdt <[hidden email]>
> Subject: Re: [Playlist] <info> not working as before
> To: [hidden email]
> Message-ID:
> <CAFUsNGJeScpQUbxP6t8fXzpixUsc=[hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Keith,
>
> I believe you want the info element at line 40 moved so that it is a child
> of the track element. Right now it is a child of the trackList element. When
> I make that change, the file validates.
>
>
Doh! It's the simple things that trip me up. Thanks.

- KP


_______________________________________________
Playlist mailing list
[hidden email]
http://lists.musicbrainz.org/mailman/listinfo/playlist