Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Now Playing to txt file #2605

Closed
2 tasks done
ne0lines opened this issue Nov 15, 2024 · 4 comments
Closed
2 tasks done

[Feature Request]: Now Playing to txt file #2605

ne0lines opened this issue Nov 15, 2024 · 4 comments
Labels
wontfix This will not be worked on

Comments

@ne0lines
Copy link

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description

I want to be able for my stream viewers to use the command ie. !song in chat to get information of currently playing song.

Proposed Solution

Make functionality or plugin for saving information about current playing song (artist, track, album name, album cover URL, video file URL) to a text file which can be presented in OBS.

Alternatives Considered

I tried making a script in Streamer.bot for this using c#, but I'm not that comfortable with programming to do this.

Additional Information

No response

@ArjixWasTaken
Copy link
Contributor

The plugin api-server provides the endpoint /api/v1/song-info which gives you details about the now playing song.
You can easily make a script to poll info and save it to a txt file.

@ne0lines
Copy link
Author

The plugin api-server provides the endpoint /api/v1/song-info which gives you details about the now playing song. You can easily make a script to poll info and save it to a txt file.

I'm having trouble with this. I can connect to the API server from my browser and see current playing song, but I'm not able to connect over websocket using Streamer.bot.

@h-banii
Copy link
Contributor

h-banii commented Nov 16, 2024

Make functionality or plugin for saving information about current playing song (artist, track, album name, album cover URL, video file URL) to a text file which can be presented in OBS.

I think that's exactly what tuna-obs does

  • enable tuna-obs plugin in youtube-music
  • install tuna plugin in OBS
  • configure tuna in OBS (there are instructions in the forum)
  • add the text sources pointing to the txt files generated by tuna

In this example I'm saving the title+artist to ~/title.txt and timestamp to ~/meta.txt, then displaying it in obs with a text source. (as well as the cover and progress bar)
image

@ne0lines
Copy link
Author

ne0lines commented Nov 16, 2024

Make functionality or plugin for saving information about current playing song (artist, track, album name, album cover URL, video file URL) to a text file which can be presented in OBS.

I think that's exactly what tuna-obs does

  • enable tuna-obs plugin in youtube-music
  • install tuna plugin in OBS
  • configure tuna in OBS (there are instructions in the forum)
  • add the text sources pointing to the txt files generated by tuna

In this example I'm saving the title+artist to ~/title.txt and timestamp to ~/meta.txt, then displaying it in obs with a text source. (as well as the cover and progress bar)

I'm using Amuse to show the currently playing song in OBS, I just want a !song command for chat. Don't want to clutter my OBS with more plugins than absolutely needed, so I got the youtube-music API-server to work together with Streamer.bot. So now I'm sending out an automated chat message every time there's a song change if more than 10 messages have been sent to chat since the last song update. Also added !song command in Streamer.bot for users who missed the automated message during song change.

@JellyBrick JellyBrick added the wontfix This will not be worked on label Dec 13, 2024
@JellyBrick JellyBrick closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants