Re: [Rhythmbox-devel] Syntax for Internet Radio



On Mon, 2004-05-10 at 19:54, Brad Taylor wrote:
> Hi,
> 
> On Mon, 2004-05-10 at 15:55, Brian Armstrong wrote:
> > I need an example text for the internet radio property dialog box.  Would the 
> > text for the "location" be something like below:
> > 
> > http://192.168.1.98:6008
> > 
> > Of course, the above is made up.  But, does this example work (I do not have 
> > an example that works)?
> 
> Rhythmbox needs the location to the actual pls file, not just the url. 

Actually either should work.

> I believe only pls files are supported, but I'm not entirely sure. 

Anything that lib/rb-playlist.c can parse, which at present is
basically:

/* These ones need a special treatment, mostly playlist formats */
static PlaylistTypes special_types[] = {
	{ "audio/x-mpegurl", rb_playlist_add_m3u },
	{ "audio/x-ms-asx", rb_playlist_add_asx },
	{ "audio/x-scpls", rb_playlist_add_pls },
	{ "application/x-smil", rb_playlist_add_smil },
#if HAVE_LIBGNOME_DESKTOP
	{ "application/x-gnome-app-info", rb_playlist_add_desktop },
#endif	
	{ "video/x-ms-wvx", rb_playlist_add_asx },
	{ "video/x-ms-wax", rb_playlist_add_asx },
};

/* These ones are "dual" types, might be a video, might be a playlist */
static PlaylistTypes dual_types[] = {
	{ "audio/x-real-audio", rb_playlist_add_ra },
	{ "audio/x-pn-realaudio", rb_playlist_add_ra },
	{ "application/vnd.rn-realmedia", rb_playlist_add_ra },
	{ "audio/x-pn-realaudio-plugin", rb_playlist_add_ra },
	{ "text/plain", rb_playlist_add_ra },
	{ "video/x-ms-asf", rb_playlist_add_asf },
	{ "video/x-ms-wmv", rb_playlist_add_asf },
};

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]