https://bugs.kde.org/show_bug.cgi?id=475121

            Bug ID: 475121
           Summary: Importing a playlist causes an immediate application
                    crash
    Classification: Applications
           Product: audiotube
           Version: 23.08.1
          Platform: Flatpak
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: j...@kaidan.im
          Reporter: smste...@proton.me
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

When attempting to import a playlist from YouTube/YouTube Music, Audiotube
crashes and closes immediately. A split second before the crash, an empty
playlist called "Unknown" is created, and then the entire application crashes.

Looking at the output of `flatpak run org.kde.audiotube` shows this at the
moment of the crash:

futuresql: Running "select video_id from playlist_entries where playlist_id = ?
order by random() limit 4"
Exception: Server returned HTTP 400: Bad Request.
Request contains an invalid argument.
At:
  /app/lib/python3.10/site-packages/ytmusicapi/ytmusic.py(142): _send_request
  /app/lib/python3.10/site-packages/ytmusicapi/mixins/playlists.py(109):
get_playlist

STEPS TO REPRODUCE
1. Open Audiotube, either via `flatpak run org.kde.audiotube` or via rofi
2. Attempt to import a playlist with the URL generated by YouTube/YouTube Music
3. App crashes immediately after creating empty "Unknown" playlist

OBSERVED RESULT
Audiotube creates an empty playlist called "Unknown" and then immediately force
closes


EXPECTED RESULT
The playlist will be created inside Audiotube from the shareable link generated
from YouTube/YouTube Music


SOFTWARE/OS VERSIONS
Arch Linux
Hyprland
Audiotube 23.08.1 flatpak from Flathub
KDE Application Platform branch 5.15-22.08 from Flathub

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to