|
@@ -58,12 +58,108 @@ export default class Homepage extends Component {
|
|
|
|
|
|
official.push({
|
|
|
"_id": "59b522222634af57e8e2dbcf",
|
|
|
- "name": "kridsads",
|
|
|
- "displayName": "KrisVossad130",
|
|
|
- "description": "Test123asd",
|
|
|
+ "name": "pr_o",
|
|
|
+ "displayName": "PrivateOfficial",
|
|
|
+ "description": "Test official station. Private.",
|
|
|
"type": "official",
|
|
|
"queue": [],
|
|
|
"locked": false,
|
|
|
+ "privacy": "private",
|
|
|
+ "blacklistedGenres": [],
|
|
|
+ "genres": [],
|
|
|
+ "playlist": [],
|
|
|
+ "startedAt": 0,
|
|
|
+ "pausedAt": 0,
|
|
|
+ "timePaused": 0,
|
|
|
+ "currentSongIndex": 0,
|
|
|
+ userCount: 0,
|
|
|
+ "currentSong": {
|
|
|
+ "songId": "60ItHLz5WEA",
|
|
|
+ "title": "Faded - Alan Walker",
|
|
|
+ "duration": 212,
|
|
|
+ "skipDuration": 0,
|
|
|
+ "skipVotes": [],
|
|
|
+ "dislikes": -1,
|
|
|
+ "likes": -1,
|
|
|
+ "artists": [],
|
|
|
+ thumbnail: "/assets/images/notes-transparent.png"
|
|
|
+ },
|
|
|
+ "paused": false,
|
|
|
+ "__v": 0
|
|
|
+ });
|
|
|
+
|
|
|
+ official.push({
|
|
|
+ "_id": "59b522222634af57e8e2dbcf",
|
|
|
+ "name": "un_o",
|
|
|
+ "displayName": "UnlistedOfficial",
|
|
|
+ "description": "Test official station. Unlisted.",
|
|
|
+ "type": "official",
|
|
|
+ "queue": [],
|
|
|
+ "locked": false,
|
|
|
+ "privacy": "unlisted",
|
|
|
+ "blacklistedGenres": [],
|
|
|
+ "genres": [],
|
|
|
+ "playlist": [],
|
|
|
+ "startedAt": 0,
|
|
|
+ "pausedAt": 0,
|
|
|
+ "timePaused": 0,
|
|
|
+ "currentSongIndex": 0,
|
|
|
+ userCount: 0,
|
|
|
+ "currentSong": {
|
|
|
+ "songId": "60ItHLz5WEA",
|
|
|
+ "title": "Faded - Alan Walker",
|
|
|
+ "duration": 212,
|
|
|
+ "skipDuration": 0,
|
|
|
+ "skipVotes": [],
|
|
|
+ "dislikes": -1,
|
|
|
+ "likes": -1,
|
|
|
+ "artists": [],
|
|
|
+ thumbnail: "/assets/images/notes-transparent.png"
|
|
|
+ },
|
|
|
+ "paused": false,
|
|
|
+ "__v": 0
|
|
|
+ });
|
|
|
+
|
|
|
+ official.push({
|
|
|
+ "_id": "59b522222634afe7e8e2dbcf",
|
|
|
+ "name": "pu_o",
|
|
|
+ "displayName": "PublicOfficial",
|
|
|
+ "description": "Test official station. Public.",
|
|
|
+ "type": "official",
|
|
|
+ "queue": [],
|
|
|
+ "locked": false,
|
|
|
+ "privacy": "public",
|
|
|
+ "blacklistedGenres": [],
|
|
|
+ "genres": [],
|
|
|
+ "playlist": [],
|
|
|
+ "startedAt": 0,
|
|
|
+ "pausedAt": 0,
|
|
|
+ "timePaused": 0,
|
|
|
+ "currentSongIndex": 0,
|
|
|
+ userCount: 0,
|
|
|
+ "currentSong": {
|
|
|
+ "songId": "60ItHLz5WEA",
|
|
|
+ "title": "Faded - Alan Walker",
|
|
|
+ "duration": 212,
|
|
|
+ "skipDuration": 0,
|
|
|
+ "skipVotes": [],
|
|
|
+ "dislikes": -1,
|
|
|
+ "likes": -1,
|
|
|
+ "artists": [],
|
|
|
+ thumbnail: "/assets/images/notes-transparent.png"
|
|
|
+ },
|
|
|
+ "paused": false,
|
|
|
+ "__v": 0
|
|
|
+ });
|
|
|
+
|
|
|
+ community.push({
|
|
|
+ "_id": "59b522222634afe7e8e2dbcf",
|
|
|
+ "name": "pu_c",
|
|
|
+ "displayName": "PublicCommunity",
|
|
|
+ "description": "Test community station. Public.",
|
|
|
+ "type": "community",
|
|
|
+ "queue": [],
|
|
|
+ "locked": false,
|
|
|
"privacy": "public",
|
|
|
"blacklistedGenres": [],
|
|
|
"genres": [],
|
|
@@ -72,6 +168,71 @@ export default class Homepage extends Component {
|
|
|
"pausedAt": 0,
|
|
|
"timePaused": 0,
|
|
|
"currentSongIndex": 0,
|
|
|
+ userCount: 0,
|
|
|
+ "currentSong": {
|
|
|
+ "songId": "60ItHLz5WEA",
|
|
|
+ "title": "Faded - Alan Walker",
|
|
|
+ "duration": 212,
|
|
|
+ "skipDuration": 0,
|
|
|
+ "skipVotes": [],
|
|
|
+ "dislikes": -1,
|
|
|
+ "likes": -1,
|
|
|
+ "artists": [],
|
|
|
+ thumbnail: "/assets/images/notes-transparent.png"
|
|
|
+ },
|
|
|
+ "paused": false,
|
|
|
+ "__v": 0
|
|
|
+ });
|
|
|
+
|
|
|
+ community.push({
|
|
|
+ "_id": "59b522222634afe7e8e2dbcf",
|
|
|
+ "name": "un_c",
|
|
|
+ "displayName": "UnlistedCommunity",
|
|
|
+ "description": "Test community station. Unlisted.",
|
|
|
+ "type": "community",
|
|
|
+ "queue": [],
|
|
|
+ "locked": false,
|
|
|
+ "privacy": "unlisted",
|
|
|
+ "blacklistedGenres": [],
|
|
|
+ "genres": [],
|
|
|
+ "playlist": [],
|
|
|
+ "startedAt": 0,
|
|
|
+ "pausedAt": 0,
|
|
|
+ "timePaused": 0,
|
|
|
+ "currentSongIndex": 0,
|
|
|
+ userCount: 0,
|
|
|
+ "currentSong": {
|
|
|
+ "songId": "60ItHLz5WEA",
|
|
|
+ "title": "Faded - Alan Walker",
|
|
|
+ "duration": 212,
|
|
|
+ "skipDuration": 0,
|
|
|
+ "skipVotes": [],
|
|
|
+ "dislikes": -1,
|
|
|
+ "likes": -1,
|
|
|
+ "artists": [],
|
|
|
+ thumbnail: "/assets/images/notes-transparent.png"
|
|
|
+ },
|
|
|
+ "paused": false,
|
|
|
+ "__v": 0
|
|
|
+ });
|
|
|
+
|
|
|
+ community.push({
|
|
|
+ "_id": "59b522222634afe7e8e2dbcf",
|
|
|
+ "name": "pr_c",
|
|
|
+ "displayName": "PrivateCommunity",
|
|
|
+ "description": "Test community station. Private.",
|
|
|
+ "type": "community",
|
|
|
+ "queue": [],
|
|
|
+ "locked": false,
|
|
|
+ "privacy": "private",
|
|
|
+ "blacklistedGenres": [],
|
|
|
+ "genres": [],
|
|
|
+ "playlist": [],
|
|
|
+ "startedAt": 0,
|
|
|
+ "pausedAt": 0,
|
|
|
+ "timePaused": 0,
|
|
|
+ "currentSongIndex": 0,
|
|
|
+ userCount: 0,
|
|
|
"currentSong": {
|
|
|
"songId": "60ItHLz5WEA",
|
|
|
"title": "Faded - Alan Walker",
|