[GH-ISSUE #107] YouTube (not Music) integration #52

Open
opened 2026-02-27 19:28:08 +03:00 by kerem · 6 comments
Owner

Originally created by @mr-manuel on GitHub (Jan 4, 2026).
Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/107

Previously I used Logitech/Lyron Media Server and there was a plugin (https://github.com/philippe44/LMS-YouTube) where you could search and play YouTube videos. Music Assistant has a YouTube Music integration, but that is not the same. With the YouTube integration it was possible to play the audio of any video/playlist.

That would be one of the biggest free sources for music (obviously the quality is not always that good) and some other stuff.

Would be nice if that could be added directly to the Lox Audio Server and shown as a separate Spotify account.

Image Image Image
Originally created by @mr-manuel on GitHub (Jan 4, 2026). Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/107 Previously I used Logitech/Lyron Media Server and there was a plugin (https://github.com/philippe44/LMS-YouTube) where you could search and play YouTube videos. Music Assistant has a YouTube Music integration, but that is not the same. With the YouTube integration it was possible to play the audio of any video/playlist. That would be one of the biggest free sources for music (obviously the quality is not always that good) and some other stuff. Would be nice if that could be added directly to the Lox Audio Server and shown as a separate Spotify account. <img width="949" height="774" alt="Image" src="https://github.com/user-attachments/assets/904732c2-27de-4fdc-b4c2-405a721bcf69" /> <img width="946" height="408" alt="Image" src="https://github.com/user-attachments/assets/ded8e263-613d-41c2-a558-8551ce27446b" /> <img width="946" height="701" alt="Image" src="https://github.com/user-attachments/assets/09ea98d7-d637-4e5d-8f40-21f324ea5f54" />
Author
Owner

@martinsefcik commented on GitHub (Jan 12, 2026):

In my case, it was exactly the same. I was also using this plugin in LMS. So I would be glad if it could be implemented in Lox-audioserver as well.

<!-- gh-comment-id:3740408490 --> @martinsefcik commented on GitHub (Jan 12, 2026): In my case, it was exactly the same. I was also using this plugin in LMS. So I would be glad if it could be implemented in Lox-audioserver as well.
Author
Owner

@rudyberends commented on GitHub (Jan 16, 2026):

How would you suggest we map this?
We can map search, and that works just fine, but what about albums, artists, and tracks?
Should these be left empty?

Also, could you explain what the advantage is over YouTube Music, which appears to have a much better mapping to structured content?

<!-- gh-comment-id:3761386548 --> @rudyberends commented on GitHub (Jan 16, 2026): How would you suggest we map this? We can map search, and that works just fine, but what about albums, artists, and tracks? Should these be left empty? Also, could you explain what the advantage is over YouTube Music, which appears to have a much better mapping to structured content?
Author
Owner

@mr-manuel commented on GitHub (Jan 16, 2026):

As you see in the screenshot, the biggest list elements are only seaches.

My subscriptions and My playlists is only filled, when you enter a client ID and client secret in the settings.

For me it would be also fine if albums, artists and tracks are empty. If you want to fill it and idea could be:

No client ID and secret

  • Albums: Show three playlists (sorty by last video added) from the last 10 watched channels as albums and the videos of the playlists as the songs. E.g.: Channel Name - Playlist Name
  • Artists: Show the last 10 watched channels as artist and the videos as songs
  • Tracks: Show the last 50 watched videos

Client ID and secret available

  • Albums: Show the subscribed channels and their playlists
  • Artists: Show the subscribed channels and all their videos
  • Tracks: Show all videos of subscribed channels and the last 10 videos you watched

I don't know how much effort this is. Just using the search and playing the items would be awesome! The numbers are only estimated, what could fit, while not beeing to much content.

I'm not sure, if YouTube Music is free and has an API. In Music Assistant for example you have to copy a Cookie to login, which does not seem really reliable.

Anyway for me the main reason to use YouTube and not YouTube music, is that I can play whatever I want. Not beeing restricted to music and podcasts. For example how to's, DIY, nature sounds, tech talks, discussions and much more videos that are not classified as music or podcast.

Maybe you want to implement YouTube Music completely and for YouTube only the search is available. Would be also fine for me.

<!-- gh-comment-id:3761716341 --> @mr-manuel commented on GitHub (Jan 16, 2026): As you see in the screenshot, the biggest list elements are only seaches. `My subscriptions` and `My playlists` is only filled, when you enter a client ID and client secret in the settings. For me it would be also fine if albums, artists and tracks are empty. If you want to fill it and idea could be: ### No client ID and secret - **Albums:** Show three playlists (sorty by last video added) from the last 10 watched channels as albums and the videos of the playlists as the songs. E.g.: `Channel Name - Playlist Name` - **Artists:** Show the last 10 watched channels as artist and the videos as songs - **Tracks:** Show the last 50 watched videos ### Client ID and secret available - **Albums**: Show the subscribed channels and their playlists - **Artists**: Show the subscribed channels and all their videos - **Tracks:** Show all videos of subscribed channels and the last 10 videos you watched I don't know how much effort this is. Just using the search and playing the items would be awesome! The numbers are only estimated, what could fit, while not beeing to much content. I'm not sure, if YouTube Music is free and has an API. In Music Assistant for example you have to copy a Cookie to login, which does not seem really reliable. Anyway for me the main reason to use YouTube and not YouTube music, is that I can play whatever I want. Not beeing restricted to music and podcasts. For example how to's, DIY, nature sounds, tech talks, discussions and much more videos that are not classified as music or podcast. Maybe you want to implement YouTube Music completely and for YouTube only the search is available. Would be also fine for me.
Author
Owner

@martinsefcik commented on GitHub (Jan 17, 2026):

Last two days, I’ve been playing with it a bit and took it as an opportunity to get familiar with the source code.
Right now, I have only a basic provider setup and search functionality in place—no playback support yet.

If you want, I can continue working on it and try to bring it to a usable state but probably it will take some time, as JavaScript/TypeScript is not my primary programming language and I also have no prior experience in the audio streaming area.

Image Image
<!-- gh-comment-id:3762255822 --> @martinsefcik commented on GitHub (Jan 17, 2026): Last two days, I’ve been playing with it a bit and took it as an opportunity to get familiar with the source code. Right now, I have only a basic provider setup and search functionality in place—no playback support yet. If you want, I can continue working on it and try to bring it to a usable state but probably it will take some time, as JavaScript/TypeScript is not my primary programming language and I also have no prior experience in the audio streaming area. <img width="911" height="534" alt="Image" src="https://github.com/user-attachments/assets/b93c27b4-a389-4b40-9f89-fcabf5a08155" /> <img width="1606" height="645" alt="Image" src="https://github.com/user-attachments/assets/96c75822-dfeb-4f67-914a-b14a6e7e6d82" />
Author
Owner

@rudyberends commented on GitHub (Jan 17, 2026):

Nice work. I already did a proof of concept on my side, but I want to be sure about the functionality first. I’ll leave this with you for now.

Just let me know if you’d like me to handle the streaming part.

<!-- gh-comment-id:3762878172 --> @rudyberends commented on GitHub (Jan 17, 2026): Nice work. I already did a proof of concept on my side, but I want to be sure about the functionality first. I’ll leave this with you for now. Just let me know if you’d like me to handle the streaming part.
Author
Owner

@martinsefcik commented on GitHub (Jan 19, 2026):

Just let me know if you’d like me to handle the streaming part.

I’ll try to implement it, and if it’s beyond my abilities, I’ll let you know.

<!-- gh-comment-id:3768364244 --> @martinsefcik commented on GitHub (Jan 19, 2026): > Just let me know if you’d like me to handle the streaming part. I’ll try to implement it, and if it’s beyond my abilities, I’ll let you know.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lox-audioserver#52
No description provided.