https://github.com/eat-sleep-code/vlc-web-audio-ui
Slim web VLC player
https://github.com/eat-sleep-code/vlc-web-audio-ui
raspberry-pi vlc-audio web-player
Last synced: about 1 month ago
JSON representation
Slim web VLC player
- Host: GitHub
- URL: https://github.com/eat-sleep-code/vlc-web-audio-ui
- Owner: eat-sleep-code
- Created: 2019-05-26T01:30:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-06T21:04:11.000Z (over 4 years ago)
- Last Synced: 2025-01-19T12:48:31.258Z (about 1 year ago)
- Topics: raspberry-pi, vlc-audio, web-player
- Language: JavaScript
- Homepage:
- Size: 77.1 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VLC Web Audio Player for Raspberry Pi (including Buster!)
After setting up a [Pimoroni pHAT BEAT](https://shop.pimoroni.com/products/phat-beat) to stream internet radio via VLC audio, I discovered that VLC apparently hasn't updated their web player since 1996. It is a mish-mash of tiny icons and features that don't apply on a headless Raspberry Pi.
___
The code in this repository removes unused features, improves the user experience. It also adds support for showing the actual song being played.

___
## Implementation
* Connect to your Raspberry Pi via SSH.
* Installation of the the software prerequisites can be completed with the following install commands.
```
wget -q https://raw.githubusercontent.com/eat-sleep-code/vlc-slim-web/master/install-prerequisites.sh -O ~/install-prerequisites.sh
sudo chmod +x ~/install-prerequisites.sh && ~/install-prerequisites.sh
```
* After the prequisites are installed – *or after an upgrade of VLC* – you may install the new UI with the following commands.
```
wget -q https://raw.githubusercontent.com/eat-sleep-code/vlc-slim-web/master/install-ui.sh -O ~/install-ui.sh
sudo chmod +x ~/install-ui.sh && ~/install-ui.sh
```
* After the Raspberry Pi reboots the second time, access http://[YOURIP]:8080
* If prompted for authentication, leave the username field blank. The default password is `raspberry`
___
## Support for extended M3U files
For the best user experience, update your playlist to use the extended M3U format. You can edit your playlist with `sudo nano /home/pi/.config/vlc/playlist.m3u` You will need to reboot your Raspberry Pi after making changes to the playlist.
The following is an example of the extended M3U file format:
```
#EXTM3U
#EXTINF:-1, Country Roads
http://rfcmedia.streamguys1.com/countryroads.mp3?aw_0_1st.playerid=RadioTime
#EXTINF:-1, Smooth Jazz
http://rfcmedia.streamguys1.com/smoothjazz.mp3?aw_0_1st.playerid=RadioTime
#EXTINF:-1, Today's Hits
http://rfcmedia.streamguys1.com/MusicPulse.mp3?aw_0_1st.playerid=RadioTime
```