[PR #2120] [MERGED] feat: keep track of song/transcode sizes #2085

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

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/2120
Author: @phanan
Created: 10/6/2025
Status: Merged
Merged: 10/6/2025
Merged by: @phanan

Base: masterHead: size


📝 Commits (1)

  • 1ef8a1d feat: keep track of song/transcode sizes

📊 Changes

15 files changed (+102 additions, -46 deletions)

View changed files

📝 app/Models/Song.php (+2 -0)
📝 app/Models/Transcode.php (+8 -1)
📝 app/Services/AuthenticationService.php (+1 -3)
📝 app/Services/Transcoding/CloudTranscodingStrategy.php (+8 -2)
📝 app/Services/Transcoding/LocalTranscodingStrategy.php (+8 -1)
📝 app/Services/Transcoding/SftpTranscodingStrategy.php (+8 -1)
📝 app/Services/Transcoding/TranscodingStrategy.php (+18 -8)
📝 app/Values/Scanning/ScanInformation.php (+5 -0)
📝 database/factories/SongFactory.php (+2 -0)
database/migrations/2025_10_06_195925_add_file_size_to_songs_and_transcodes.php (+19 -0)
📝 tests/Integration/Services/Scanners/FileScannerTest.php (+4 -0)
📝 tests/Integration/Services/SongServiceTest.php (+1 -0)
📝 tests/Integration/Services/Transcoding/CloudTranscodingStrategyTest.php (+9 -22)
📝 tests/Integration/Services/Transcoding/LocalTranscodingStrategyTest.php (+6 -8)
📝 tests/Integration/Services/Transcoding/SfpTranscodingStrategyTest.php (+3 -0)

📄 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/2120 **Author:** [@phanan](https://github.com/phanan) **Created:** 10/6/2025 **Status:** ✅ Merged **Merged:** 10/6/2025 **Merged by:** [@phanan](https://github.com/phanan) **Base:** `master` ← **Head:** `size` --- ### 📝 Commits (1) - [`1ef8a1d`](https://github.com/koel/koel/commit/1ef8a1d31ee141e84611f34cb78adf19049a57ac) feat: keep track of song/transcode sizes ### 📊 Changes **15 files changed** (+102 additions, -46 deletions) <details> <summary>View changed files</summary> 📝 `app/Models/Song.php` (+2 -0) 📝 `app/Models/Transcode.php` (+8 -1) 📝 `app/Services/AuthenticationService.php` (+1 -3) 📝 `app/Services/Transcoding/CloudTranscodingStrategy.php` (+8 -2) 📝 `app/Services/Transcoding/LocalTranscodingStrategy.php` (+8 -1) 📝 `app/Services/Transcoding/SftpTranscodingStrategy.php` (+8 -1) 📝 `app/Services/Transcoding/TranscodingStrategy.php` (+18 -8) 📝 `app/Values/Scanning/ScanInformation.php` (+5 -0) 📝 `database/factories/SongFactory.php` (+2 -0) ➕ `database/migrations/2025_10_06_195925_add_file_size_to_songs_and_transcodes.php` (+19 -0) 📝 `tests/Integration/Services/Scanners/FileScannerTest.php` (+4 -0) 📝 `tests/Integration/Services/SongServiceTest.php` (+1 -0) 📝 `tests/Integration/Services/Transcoding/CloudTranscodingStrategyTest.php` (+9 -22) 📝 `tests/Integration/Services/Transcoding/LocalTranscodingStrategyTest.php` (+6 -8) 📝 `tests/Integration/Services/Transcoding/SfpTranscodingStrategyTest.php` (+3 -0) </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:14 +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#2085
No description provided.