commit f1dbcadc7994c28cf4e490e67203a6b25b5285ee Author: Arindy Date: Sat May 10 12:57:00 2025 +0200 Initial Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dd011fc --- /dev/null +++ b/.gitignore @@ -0,0 +1,81 @@ +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +.idea +*.iml diff --git a/README.md b/README.md new file mode 100644 index 0000000..ded0e54 --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +# Song Requests Buddy + +A lightweight web interface that integrates with StreamerSongList to manage and display song requests for streamers. It provides a clean interface to view the song queue, search through available songs, and play videos either from YouTube or local sources. + +## Setup + +Save the `SongRequestBuddy.html` File into a folder next to your local video files + +### Streamer Configuration + +To configure the tool for your stream: + +1. Open the HTML file in a text editor +2. Locate the setup section at the top of the file +3. Change the `twitchName` constant to your Twitch username: +```javascript +const twitchName = "your_twitch_username"; +``` + +### Customizing Colors +The tool uses a customizable color scheme that can be modified in the CSS section. The following variables can be adjusted: +``` css +:root { + --bg-primary: #1a1a1a; /* Main background color */ + --bg-secondary: #242424; /* Secondary background color */ + --text-primary: #ebdffa; /* Main text color */ + --accent: #c1aed7; /* Accent color for buttons */ + --accent-primary: #51386e; /* Secondary accent color */ +} +``` +### Setting Up Videos in StreamerSongList +Videos can be added to songs in two ways using the "Capo" field in StreamerSongList: +1. **YouTube Videos**: + - Add the YouTube URL to the Capo field + - For multiple versions of the same song, separate URLs with spaces + - Example: `https://youtube.com/watch?v=XXXXX https://youtube.com/watch?v=YYYYY` + +2. **Local Videos**: + - Add the direct URL to your video file + - Example: `https://your-server.com/videos/song.mp4` + +Note: If no video is set in the Capo field, the interface will display a message with a link to search for the song on YouTube. diff --git a/SongRequestsBuddy.html b/SongRequestsBuddy.html new file mode 100644 index 0000000..87dfed6 --- /dev/null +++ b/SongRequestsBuddy.html @@ -0,0 +1,324 @@ + + + + Song Requests Buddy + + + + +
+

Song Requests Buddy

+ +
+

No Song selected

+
+
+ +

From StreamerSonglist Queue

+
+ +

Songs

+ +
+ + +
+ + + +