Webhosted (php) m3u playlist generator. To play radio stream and latest podcast from RSS.
Source : https://github.com/fluaten/PlaylistRSS
Demo : http://playlistrss.fluate.net / Demo (FR) : http://playlistrss.fluate.net/fr
Author : Nicolas Boillot http://www.fluate.net
Made with Simplepie for converting RSS feed. http://simplepie.org/
A webhosting supporting PHP 5 and custom url rewriting.
-
Download zip : https://github.com/fluaten/PlaylistRSS/zipball/master
-
Extract and copy the folder by ftp on the website.
-
Create a subdomain (ex: http://radio.domain.com) pointing to the ftp folder.
-
Or modify the folder name (ex: http://www.domain.com/radio).
If PlaylistRSS is not in a subdomain but in a folder : 1. Open .htaccess in the folder. 2. Comment with ## in front of these 4 lines : ##RewriteBase / ##RewriteRule ^vlc\.m3u$ /playlist.php [L] ##RewriteRule ^Playlist_([^/]*)\.xspf$ /vlc_xspf.php [L] ##RewriteRule ^m$ /playlist.php?type=m [L] 3. Uncomment and change the path name to the folder (here /radio) : RewriteBase /radio/ RewriteRule ^vlc\.m3u$ /radio/playlist.php [L] RewriteRule ^Playlist_([^/]*)\.xspf$ /radio/vlc_xspf.php [L] RewriteRule ^m$ /radio/playlist.php?type=m [L] 4. Save .htaccess file on the ftp
-
Open config.php
-
Comment with //
$display = TRUE;
if you want to hide the list of each podcast and radio in html (mobile reader) -
Change
$urldomain
to subdomain or folder url. -
Choose Language (English or French), uncomment selected language.
-
Change title
$titledomainname
and description$description
of frontend page. -
Save config.php on the ftp.
-
Open playlist.php
-
Add/modify playlist element after
/* --- Playlist start ---- */
. -
Save playlist.php on the ftp.
-
Visit the website (ex: http://radio.domain.com or http://www.domain.com/radio)
-
Download the playlist, open it with VLC http://www.videolan.org/ or else.
-
Or copy paste website url in VLC (Media > Open network Stream)
Copy paste line below in playlist.php and change url and title.
playlist_space();
// Space in the playlist, 10s track to choose
category_title('Category title');
// Show a category title, 10s track to choose
playlist_radio_stream('Title of the radio', 'http://urlofthesoundstream');
// playlist_radio_stream(Title, url) (no space at the end)
playlist_podcast('Title of the podcast', 'http://urlofthepodcastrss', 10);
// playlist_podcast(Title, url, number of elements)
playlist_podcast_nospace('Title of the podcast', 'http://urlofthepodcastrss', 10);
// playlist_podcast(Title, url, number of elements) (no space at the end)
#####Youtube
playlist_youtube_user('Title', 'user ID', 20);
// playlist_youtube_user(Title, youtube username, number of elements);
playlist_youtube_user_favorite('Title', 'user ID', 20);
// playlist_youtube_user_favorite(Title, youtube username, number of elements);
playlist_youtube_normal('Title', 'http://urlofthevideorss', 10);
// playlist_youtube_normal(Title, feedurl, number of elements);
playlist_youtube_playlist('Title', 'Playlist ID', 20);
// playlist_youtube_playlist(Title, Playlist ID, number of elements); // Playlist ID ex : 39BF9545D740ECFF
#####Vimeo
playlist_vimeo_user('Title', 'vimeo userID', 20);
// playlist_vimeo_user(Title, vimeo username, number of elements);
playlist_vimeo_likes('Title', 'vimeo userID', 20);
// playlist_vimeo_likes(Title, vimeo username, number of elements);
playlist_vimeo_groups('Title', 'vimeo groupID', 20);
// playlist_vimeo_groups(Title, vimeo group name, number of elements);
playlist_vimeo_channels('Title', 'vimeo channelID', 20);
// playlist_vimeo_channels(Title, vimeo channel name, number of elements);
#####Dailymotion
playlist_dailymotion_user('Title', 'dailymotion userID', 20);
// playlist_dailymotion_user(Title, dailymotion username, number of elements);
playlist_dailymotion_search('Title', 'dailymotion search term', 20);
// playlist_dailymotion_user(Title, search term, number of elements);
playlist_dailymotion_playlist('Title', 'dailymotion playlistID', 20);
// playlist_dailymotion_playlist(Title, dailymotion playlist name, number of elements);
playlist_dailymotion_groups('Title', 'dailymotion groupID', 20);
// playlist_dailymotion_groups(Title, dailymotion group name, number of elements);