Skip to content

Segments cleanup - #738

Merged
naveed-ahmad merged 4 commits into
mainfrom
segments-cleanup
Aug 26, 2026
Merged

naveed-ahmad merged 4 commits into
mainfrom
segments-cleanup

Conversation

@naveed-ahmad

Copy link
Copy Markdown
Member

Restored the audio compare tool and removed the redundant ayah boundary detection tool. Also removed the manual sidekiq restart utils as we're starting sidekiq after each build now.

Comment on lines +649 to +657
document.getElementById(statsId).innerHTML = `
<h3>File Information</h3>
Name: ${fileName}</br>
Duration: ${duration}<br>
Sample Rate: ${sampleRate}<br>
Channels: ${channels}<br>
Encoding: ${encoding}<br>
<em>Click "Generate Waveform" to load full audio for analysis</em>
`;
const audioPlayerId = statsId.replace('stats', 'audioPlayer');
const audioPlayer = document.getElementById(audioPlayerId);
if (audioPlayer) {
audioPlayer.src = url;
Comment on lines +703 to +709
document.getElementById(statsId).innerHTML = `
<h3>File Information</h3>
Name: ${fileName}</br>
Source: URL<br>
URL: ${escapeHTML(url)}<br>
<em>Click "Generate Waveform" to load full audio for analysis</em>
`;
Comment thread app/views/community/compare_audio.html.erb Dismissed
@naveed-ahmad
naveed-ahmad merged commit 9ef64d5 into main Aug 26, 2026
2 of 3 checks passed
@naveed-ahmad
naveed-ahmad deleted the segments-cleanup branch August 26, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants