mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #13486] Add Waveform bar api endpoint #13596
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/13486
Author: @FrenchGithubUser
Created: 2/3/2025
Status: 🔄 Open
Base:
master← Head:waveform-bar📝 Commits (10+)
234eb00create pcm data from audio file0eb2a1cchanged output file to .dat generated with audiowaveformea9eb90using ffprobe instead of audiowaveform (bbc)4d4a5dfdynamic samplerate, using RMS_peakc6421c2raw value restoration, using item.GetMediaStreams for sample rate, escaped special chars in filename, returning json instead of csv929e5faproper metadata manager and db entry, using temp dir for csv file, ffprobe timeout503fb42Update Jellyfin.Server.Implementations/AudioWaveform/AudioWaveformManager.cs0e16294Update Jellyfin.Server.Implementations/AudioWaveform/AudioWaveformManager.cs04b15fdUpdate Jellyfin.Server.Implementations/AudioWaveform/AudioWaveformManager.cs4512192small changes📊 Changes
8 files changed (+268 additions, -10 deletions)
View changed files
📝
CONTRIBUTORS.md(+1 -0)📝
Jellyfin.Api/Controllers/AudioController.cs(+43 -10)📝
Jellyfin.Api/Helpers/AudioHelper.cs(+1 -0)➕
Jellyfin.Data/Entities/AudioWaveformInfo.cs(+29 -0)➕
Jellyfin.Server.Implementations/AudioWaveform/AudioWaveformManager.cs(+160 -0)📝
Jellyfin.Server.Implementations/JellyfinDbContext.cs(+5 -0)📝
Jellyfin.Server/CoreAppHost.cs(+3 -0)➕
MediaBrowser.Controller/AudioWaveform/IAudioWaveformManager.cs(+26 -0)📄 Description
Changes
Added an API endpoint Audio/itemId/audiowaveform to generate a .dat file to create audiowaveforms. Following this library's standard : https://github.com/bbc/audiowaveform
This is my first PR and first experience with C#. I tried my best at following guidelines and existing code. Please tell me anything I should change, I don't expect this PR from passing.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.