Skip to content

split-audio not working correctly on URL Input #73

@Bonboon229

Description

@Bonboon229

Before continuing with the bug report, does updating to the latest version fix this issue? No

Describe the bug
Attempting to use split-audio with a youtube url only outputs the outro section with no other parts output.

Debugging Information
pymusiclooper --debug split-audio --url https://www.youtube.com/watch?v=Zo2Wp0D4VU0
[download] Destination: C:\Users\GojiGoodra\Downloads\LooperOutput\Come On! (Faithful Cover) || Mario & Luigi: Sup[download] 100% of 1.72MiB in 00:00:00 at 5.98MiB/s:00
Done downloading, now post-processing...
[ExtractAudio] Destination: C:\Users\GojiGoodra\Downloads\LooperOutput\Come On! (Faithful Cover) || Mario & Luigi: Superstar Saga [Zo2Wp0D4VU0].opus
C:\Users\GojiGoodra\AppData\Local\Programs\Python\Python313\Lib\site-packages\audioread\rawread.py:16:
DeprecationWarning: aifc was removed in Python 3.13. Please be aware that you are currently NOT using standard
'aifc', but instead a separately installed 'standard-aifc'.
import aifc
C:\Users\GojiGoodra\AppData\Local\Programs\Python\Python313\Lib\site-packages\audioread\rawread.py:19:
DeprecationWarning: sunau was removed in Python 3.13. Please be aware that you are currently NOT using standard
'sunau', but instead a separately installed 'standard-sunau'.
import sunau
C:\Users\GojiGoodra\AppData\Local\Programs\Python\Python313\Lib\site-packages\librosa\core\convert.py:1869:
RuntimeWarning: divide by zero encountered in log10

  • 2 * np.log10(f_sq)
    Successfully exported "Come On! (Faithful Cover) || Mario & Luigi: Superstar Saga [Zo2Wp0D4VU0].opus"
    intro/loop/outro sections to "C:\Users\GojiGoodra\Downloads\LooperOutput"

Optionally, include some brief information about the file(s) being loaded if relevant (e.g. file type/extension, file size, length, does the audio have an obvious loop point that algorithm failed to find?)

Expected behavior
All audio splits output

Environment Information (please complete the following information):

  • OS: Windows 10
  • PyMusicLooper version being used (execute pymusiclooper --version in the terminal if unsure): pymusiclooper 3.5.1
  • Is FFmpeg installed and working? (execute ffmpeg --version in the terminal if unsure): Yes
    Additional context
    N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions