FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 03-01-2012, 08:51 AM
Thufir Hawat
 
Default smil and mplayer (playlist)

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@tleilax:~/Music$
thufir@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@tleilax:~/Music$
thufir@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@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


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 01:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org