XSPFPHP and OGG

View: New views
5 Messages — Rating Filter:   Alert me  

XSPFPHP and OGG

by Thomas R Bailey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Seems to work fine for me but the JW player I'm using won't play them. :-(

<track>
<title>Tromboon sound clip  </title>
<creator>Gregory Maxwell <gmaxwell@...>  </creator>
<album>No Album</album>
<trackNum>9999</trackNum>
<duration>29</duration>
<annotation>Gregory Maxwell <gmaxwell@...>  No Album  Track: 0  0:29  106 kbps</annotation>
<location>http://www.trbailey.net/xspf/music/Tromboon-sample.ogg</location>
<image>http://www.trbailey.net/xspf/music/-noimage.jpg</image>
<info>http://www.trbailey.net/xspf/music/Tromboon-sample.ogg</info>
<link rel="http://www.trbailey.net/xspf/music/Tromboon-sample.ogg">http://www.trbailey.net/xspf/music/Tromboon-sample.ogg</link>
</track>

-Tom


_______________________________________________
Playlist mailing list
Playlist@...
http://lists.musicbrainz.org/mailman/listinfo/playlist

Re: XSPFPHP and OGG

by Saoshyant :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 3/21/09, Tom <siggma@...> wrote:
> Seems to work fine for me but the JW player I'm using won't play them. :-(

Adobe purposely does not allow Flash to play Vorbis or other Ogg
formats.  Even Speex playback in Flash 10 is limited.  Good news is
that newer browsers play them just fine (e.g. Firefox 3.5).

-Ivo

_______________________________________________
Playlist mailing list
Playlist@...
http://lists.musicbrainz.org/mailman/listinfo/playlist

Re: XSPFPHP and OGG

by Lucas Gonze-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ivo Emanuel Gonçalves wrote:
> On 3/21/09, Tom <siggma@...> wrote:
>> Seems to work fine for me but the JW player I'm using won't play them. :-(
>
> Adobe purposely does not allow Flash to play Vorbis or other Ogg
> formats.  Even Speex playback in Flash 10 is limited.  Good news is
> that newer browsers play them just fine (e.g. Firefox 3.5).

Well, the Flash 10 sound API does make it possible.  But the JW player
hasn't implemented that method, and Flash 10 isn't that widespread at
this point.




_______________________________________________
Playlist mailing list
Playlist@...
http://lists.musicbrainz.org/mailman/listinfo/playlist

Re: XSPFPHP and OGG

by Sebastian Pipping-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tom wrote:
> Seems to work fine for me but the JW player I'm using won't play them. :-(
>
> <track>
> <title>Tromboon sound clip  </title>
> <creator>Gregory Maxwell <gmaxwell@...>  </creator>

The angle brackets in there are not valid.
Or was it </> originally?


> <album>No Album</album>
> <trackNum>9999</trackNum>
> <duration>29</duration>
> <annotation>Gregory Maxwell <gmaxwell@...>  No Album  Track: 0  0:29  106 kbps</annotation>

Same as above.


> <location>http://www.trbailey.net/xspf/music/Tromboon-sample.ogg</location>
> <image>http://www.trbailey.net/xspf/music/-noimage.jpg</image>
> <info>http://www.trbailey.net/xspf/music/Tromboon-sample.ogg</info>
> <link rel="http://www.trbailey.net/xspf/music/Tromboon-sample.ogg">http://www.trbailey.net/xspf/music/Tromboon-sample.ogg</link>

Info and Link are not used as intended.  Please read the related spec
part again, I'll try answer your questions after.  Okay?



Sebastian


_______________________________________________
Playlist mailing list
Playlist@...
http://lists.musicbrainz.org/mailman/listinfo/playlist

Re: XSPFPHP and OGG

by Thomas R Bailey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sebastian Pipping wrote:
Tom wrote:
  
Seems to work fine for me but the JW player I'm using won't play them. :-(

<track>
<title>Tromboon sound clip  </title>
<creator>Gregory Maxwell gmaxwell@...  </creator>
    

The angle brackets in there are not valid.
Or was it &lt;/&gt; originally?


  
<album>No Album</album>
<trackNum>9999</trackNum>
<duration>29</duration>
<annotation>Gregory Maxwell gmaxwell@...  No Album  Track: 0  0:29  106 kbps</annotation>
    

Same as above.


  
It was that way in the original .ogg file sample. I've added a hack in my code to encode certain troublesome characters so they validate correctly. Otherwise a simple "&" tosses the validation and sometimes even confuses or breaks the player. & being silly; some people use tags as a KameLShowCase or an 'imfinetoday noticeme' public notepad. See YouTube, Myspace Video, BlipTV, Yahoo etc. :-(
Did you hear that thing TrombOOn thing?
:-)
<location>http://www.trbailey.net/xspf/music/Tromboon-sample.ogg</location>
<image>http://www.trbailey.net/xspf/music/-noimage.jpg</image>
<info>http://www.trbailey.net/xspf/music/Tromboon-sample.ogg</info>
<link rel="http://www.trbailey.net/xspf/music/Tromboon-sample.ogg">http://www.trbailey.net/xspf/music/Tromboon-sample.ogg</link>
    

Info and Link are not used as intended.  Please read the related spec
part again, I'll try answer your questions after.  Okay?
  
Ok. I read it about 100 times.
4.1.1.2.14.1.1.1.6 info
URL of a place where this resource can be bought or more info can be found.
That's not specifically exclusive of a direct download link and in this context it's intended to provides a mechanism for activating a download link in a player. Any number of embedding means prevent flash links from working even if it's in the playlist & it's relatively easy to disable, or difficult to enable, depending on one's javascript embedding skills, . From my testing it will only function if a player is embedded using javascript.

Since the scope and intent of a dynamic playlist precludes user customized link data for each item and I didn't see any reference to a 'publisher uri' in the ID3 spec I added it as a configuration option and am awaiting feedback. I'm working from this get_id3() document as a guide to what's available: http://www.trbailey.net/xspf/id3/structure.txt
In this context this might be is a good candidate for a site specific custom URI feature, perhaps on a per-directory per album, artist or other logical file grouping.
4.1.1.2.14.1.1.1.11 link
The link element allows non-XSPF web resources to be included in xspf:track elements without breaking XSPF validation.
It's there for testing and to garner feedback so I can get a better idea how the community at large uses it. In this context It might be completely superfluous. But it doesn't seem to break anything. It also might be more correct to use a site URL but without the user specifying such a URL, id be sending children into the dark without supervision or even a flashlight.
;-)

Feedback?

-Tom

_______________________________________________
Playlist mailing list
Playlist@...
http://lists.musicbrainz.org/mailman/listinfo/playlist