Skip to content

🎧 Webhosted m3u playlist generator from RSS. To play in VLC radio stream and latest podcast, youtube, vimeo.

Notifications You must be signed in to change notification settings

fluaten/PlaylistRSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playlist Rss

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/

VLC

Required

A webhosting supporting PHP 5 and custom url rewriting.

Install

  1. Download zip : https://github.com/fluaten/PlaylistRSS/zipball/master

  2. Extract and copy the folder by ftp on the website.

  3. Create a subdomain (ex: http://radio.domain.com) pointing to the ftp folder.

  4. 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
    
  5. Open config.php

  6. Comment with // $display = TRUE; if you want to hide the list of each podcast and radio in html (mobile reader)

  7. Change $urldomain to subdomain or folder url.

  8. Choose Language (English or French), uncomment selected language.

  9. Change title $titledomainname and description $description of frontend page.

  10. Save config.php on the ftp.

  11. Open playlist.php

  12. Add/modify playlist element after /* --- Playlist start ---- */.

  13. Save playlist.php on the ftp.

  14. Visit the website (ex: http://radio.domain.com or http://www.domain.com/radio)

  15. Download the playlist, open it with VLC http://www.videolan.org/ or else.

  16. Or copy paste website url in VLC (Media > Open network Stream)

VLCnetwork

How to create/modify a playlist

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)

Video playlist with youtube, vimeo, dailymotion (experimental)

#####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);

Simplified BSD License

https://en.wikipedia.org/wiki/BSD_licenses

About

🎧 Webhosted m3u playlist generator from RSS. To play in VLC radio stream and latest podcast, youtube, vimeo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published