• Aryan Noshirvnai's avatar
    Skip embedded ID3v2 cover art when streaming audio for playback · 2f562691
    Aryan Noshirvnai authored
    Uploaded mp3s carry an ID3v2 tag that's almost entirely embedded cover
    art - tens to hundreds of KB a player must get through before reaching
    the first real audio frame, even though the player already gets artwork
    from the separate coverart field and never touches the embedded copy.
    Adds a shared stream_audio_file() helper that computes the tag's byte
    offset and serves everything after it as the logical resource (Range
    math included, so seeking is unaffected), and wires it into all 5
    playback-stream endpoints that previously used plain FileResponse.
    Also adds a long-lived Cache-Control, since every file lives at a
    unique generated path and is never rewritten after upload.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    2f562691
Name
Last commit
Last update
..
fixtures Loading commit data...
conftest.py Loading commit data...
test_audio_processing.py Loading commit data...
test_auth.py Loading commit data...
test_channels.py Loading commit data...
test_database.py Loading commit data...
test_discovery.py Loading commit data...
test_dm.py Loading commit data...
test_docs_auth.py Loading commit data...
test_home.py Loading commit data...
test_library.py Loading commit data...
test_media_stream.py Loading commit data...
test_music.py Loading commit data...
test_music_identification.py Loading commit data...
test_privacy_settings.py Loading commit data...
test_remix.py Loading commit data...
test_remix_engine.py Loading commit data...
test_rooms_websocket.py Loading commit data...
test_social.py Loading commit data...
test_soundmarks.py Loading commit data...
test_telegram_scan.py Loading commit data...
test_telegram_sync.py Loading commit data...