mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added two new events in README.md, and how zoff is pronounced (README.md and about-modal)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
Zoff
|
Zoff
|
||||||
====
|
====
|
||||||
|
|
||||||
Zoff is a shared (free) YouTube based radio service, built upon the YouTube API, with integrated casting with Chromecast.
|
Zoff (pronounced __søff__) is a shared (free) YouTube based radio service, built upon the YouTube API, with integrated casting with Chromecast.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
|||||||
@@ -46,6 +46,9 @@
|
|||||||
|
|
||||||
// Sends message to the host channel to change channel
|
// Sends message to the host channel to change channel
|
||||||
'id', {id: CHANNEL_ID, type: "channel", value: NEW_CHANNEL_NAME}
|
'id', {id: CHANNEL_ID, type: "channel", value: NEW_CHANNEL_NAME}
|
||||||
|
|
||||||
|
// Sends a video that triggered an error
|
||||||
|
'error_video', {channel: CHANNE_NAME, id: VIDEO_ID, title: VIDEO_TITLE}
|
||||||
```
|
```
|
||||||
|
|
||||||
### From server
|
### From server
|
||||||
@@ -71,7 +74,7 @@
|
|||||||
// Receives the messages sent on CHANNEL_ID above
|
// Receives the messages sent on CHANNEL_ID above
|
||||||
id, {type: STRING, value: VALUE}
|
id, {type: STRING, value: VALUE}
|
||||||
|
|
||||||
// Receives updates from channel. type is one of the following: list, added, deleted, vote, song_change
|
// Receives updates from channel. type is one of the following: list, added, deleted, vote, song_change, changed_values (see further down for better explanation here)
|
||||||
'channel', {type: TYPE, value: value, time: time_of_occurence}
|
'channel', {type: TYPE, value: value, time: time_of_occurence}
|
||||||
|
|
||||||
// Receives message from the server that its ready to send the playlist and info
|
// Receives message from the server that its ready to send the playlist and info
|
||||||
@@ -82,4 +85,7 @@ id, {type: STRING, value: VALUE}
|
|||||||
|
|
||||||
// Receives number of viewers on the current channel
|
// Receives number of viewers on the current channel
|
||||||
'viewers', VALUE
|
'viewers', VALUE
|
||||||
|
|
||||||
|
// Receives a newly updated video, that was checked for errors (song_generated contains .id which is the current id of the video, and a .new_id for the new video to change the video to)
|
||||||
|
'channel', {type: "changed_values", value: song_generated}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<div id="about" class="modal">
|
<div id="about" class="modal">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<h4>About</h4>
|
<h4>About</h4>
|
||||||
<p>Zoff is a shared (free) YouTube based radio service, built upon the YouTube API. <br><br>
|
<p>Zoff (pronounced <b>søff</b>) is a shared (free) YouTube based radio service, built upon the YouTube API. <br><br>
|
||||||
Zoff is mainly a web-based service. The website uses NodeJS with Socket.IO, MongoDB and express on the backend, with JavaScript, jQuery and Materialize on the frontend.<br><br>
|
Zoff is mainly a web-based service. The website uses NodeJS with Socket.IO, MongoDB and express on the backend, with JavaScript, jQuery and Materialize on the frontend.<br><br>
|
||||||
The team consists of Kasper Rynning-Tønnesen and Nicolas Almagro Tonne, and the project has been worked on since late 2014.<br><br>
|
The team consists of Kasper Rynning-Tønnesen and Nicolas Almagro Tonne, and the project has been worked on since late 2014.<br><br>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user