smil and mplayer (playlist)

Thufir Hawat hawat.thufir at gmail.com
Thu Mar 1 09:51:05 UTC 2012


I was looking at playlists here:  http://gonze.com/playlists/playlist-
format-survey.html  and like smil, but can't get the hang of it.

GNOME mplayer, which is all I'm interested in using, opens the .pls 
and .m3u playlists fine, but neither of those support metadata, which, 
being xml, smil does.  Samples:

thufir at tleilax:~/Music$ 
thufir at tleilax:~/Music$ cat foo.m3u 
#EXTM3U

#EXTINF:station_one
http://yp.shoutcast.com/sbin/tunein-station.pls?id=212505

#EXTINF:station_two
http://yp.shoutcast.com/sbin/tunein-station.pls?id=1273220


thufir at tleilax:~/Music$ 
thufir at tleilax:~/Music$ cat foo.smil 
<smil>
<head>
<layout>
<root-layout width='320' height='160' background-color='#ffffff' />
<region id='logo' left='0' top='0' width='320' height='160' z-index='1' />
</layout>
</head>
<body>

<par>
<audio id='audio1' xsrc='http://yp.shoutcast.com/sbin/tunein-station.pls?
id=212505'/>
<img xsrc='http://search.rte.ie/webbug/image.php?document=http://
www.rte.ie/rams/radio/latest/rte-balfebatrte.smil' />
</par>

<par>
<audio id='audio2' xsrc='http://yp.shoutcast.com/sbin/tunein-station.pls?
id=1273220'/>
<img xsrc='http://search.rte.ie/webbug/image.php?document=http://
www.rte.ie/rams/radio/latest/rte-balfebatrte.smil' />
</par>



</body>
</smil>

thufir at tleilax:~/Music$ 


Specifically, what I want is to populate the "artist" and "album" fields 
which GNOME mplayer displays, so that, in a list of internet radio 
stations, I can see what's what.  I'm only interested in GNOME mplayer.



thanks,

Thufir





More information about the ubuntu-users mailing list