[PR #2105] [MERGED] feat: support embeds #2071

Closed
opened 2026-02-26 03:33:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/2105
Author: @phanan
Created: 9/18/2025
Status: Merged
Merged: 9/18/2025
Merged by: @phanan

Base: masterHead: embed


📝 Commits (1)

📊 Changes

120 files changed (+2492 additions, -374 deletions)

View changed files

app/Enums/EmbeddableType.php (+43 -0)
app/Enums/FavoriteableType.php (+32 -0)
app/Http/Controllers/API/Embed/EmbedController.php (+45 -0)
app/Http/Controllers/API/Embed/EmbedOptionsController.php (+21 -0)
📝 app/Http/Controllers/API/PlaylistSongController.php (+3 -4)
📝 app/Http/Controllers/Download/DownloadPlaylistController.php (+1 -3)
app/Http/Controllers/StreamEmbedController.php (+15 -0)
app/Http/Requests/API/Embed/EmbedOptionsEncryptRequest.php (+24 -0)
app/Http/Requests/API/Embed/ResolveEmbedRequest.php (+23 -0)
📝 app/Http/Requests/API/Favorites/Concerns/ValidatesFavoriteableType.php (+2 -1)
📝 app/Http/Resources/AlbumResource.php (+9 -4)
📝 app/Http/Resources/ArtistResource.php (+7 -3)
app/Http/Resources/EmbedOptionsResource.php (+33 -0)
app/Http/Resources/EmbedResource.php (+60 -0)
📝 app/Http/Resources/PlaylistResource.php (+10 -8)
📝 app/Http/Resources/SongResource.php (+32 -18)
📝 app/Http/Resources/UserResource.php (+2 -1)
📝 app/Models/Album.php (+4 -1)
📝 app/Models/Artist.php (+4 -1)
app/Models/Concerns/MorphsToEmbeds.php (+14 -0)

...and 80 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/2105 **Author:** [@phanan](https://github.com/phanan) **Created:** 9/18/2025 **Status:** ✅ Merged **Merged:** 9/18/2025 **Merged by:** [@phanan](https://github.com/phanan) **Base:** `master` ← **Head:** `embed` --- ### 📝 Commits (1) - [`028909f`](https://github.com/koel/koel/commit/028909fc393c9ec1e9640ba44f3a8dae59768d5b) feat: embed ### 📊 Changes **120 files changed** (+2492 additions, -374 deletions) <details> <summary>View changed files</summary> ➕ `app/Enums/EmbeddableType.php` (+43 -0) ➕ `app/Enums/FavoriteableType.php` (+32 -0) ➕ `app/Http/Controllers/API/Embed/EmbedController.php` (+45 -0) ➕ `app/Http/Controllers/API/Embed/EmbedOptionsController.php` (+21 -0) 📝 `app/Http/Controllers/API/PlaylistSongController.php` (+3 -4) 📝 `app/Http/Controllers/Download/DownloadPlaylistController.php` (+1 -3) ➕ `app/Http/Controllers/StreamEmbedController.php` (+15 -0) ➕ `app/Http/Requests/API/Embed/EmbedOptionsEncryptRequest.php` (+24 -0) ➕ `app/Http/Requests/API/Embed/ResolveEmbedRequest.php` (+23 -0) 📝 `app/Http/Requests/API/Favorites/Concerns/ValidatesFavoriteableType.php` (+2 -1) 📝 `app/Http/Resources/AlbumResource.php` (+9 -4) 📝 `app/Http/Resources/ArtistResource.php` (+7 -3) ➕ `app/Http/Resources/EmbedOptionsResource.php` (+33 -0) ➕ `app/Http/Resources/EmbedResource.php` (+60 -0) 📝 `app/Http/Resources/PlaylistResource.php` (+10 -8) 📝 `app/Http/Resources/SongResource.php` (+32 -18) 📝 `app/Http/Resources/UserResource.php` (+2 -1) 📝 `app/Models/Album.php` (+4 -1) 📝 `app/Models/Artist.php` (+4 -1) ➕ `app/Models/Concerns/MorphsToEmbeds.php` (+14 -0) _...and 80 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:33:12 +03:00
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/koel-koel#2071
No description provided.