Bug 480463 - Audiotube is suddenly terminated when the user tries to play specific tracks.
Summary: Audiotube is suddenly terminated when the user tries to play specific tracks.
Status: REPORTED
Alias: None
Product: audiotube
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jonah Brüchert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-28 22:33 UTC by João Lucas
Modified: 2024-01-30 22:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
A video showing the described behavior. (366.26 KB, video/mp4)
2024-01-28 22:38 UTC, João Lucas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description João Lucas 2024-01-28 22:33:45 UTC
SUMMARY
***
Audiotube unexpectadly crashes when trying to play specific tracks or albuns. Two examples are the albuns "Head Hunters", from Herbie Hancock and "Bitches Brew", from Miles Davis. 
***


STEPS TO REPRODUCE
1. Type "Head Hunters" on the search field.
2. Select the option "Head Hunters" from the field "albuns"  to be played.

OBSERVED RESULT
Audiotube is suddenly terminated.

EXPECTED RESULT
The application should play the album, as it works for many others examples I have tested it. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 23.10
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION

- I am running on X11.
- Audiotube is installed as flatpak. 
- When running Audiotube via command line, the following log is outputted after the application be terminated.

[youtube] Extracting URL: WtORTuLJw7o
[youtube] WtORTuLJw7o: Downloading webpage
[youtube] WtORTuLJw7o: Downloading ios player API JSON
[youtube] WtORTuLJw7o: Downloading android player API JSON
[youtube] WtORTuLJw7o: Downloading m3u8 information
futuresql: Running "insert or replace into songs (video_id, title, artist, album) values (?, ?, ?, ?)"
futuresql: Running "insert or ignore into played_songs (video_id, plays) values (?, ?)"
futuresql: Running "update played_songs set plays = plays + 1 where video_id = ? "
futuresql: Running "select * from played_songs natural join songs"
futuresql: Running "select * from played_songs natural join songs order by plays desc limit 10"
Unable to cast Python instance of type <class 'NoneType'> to C++ type 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >'⏎
Comment 1 João Lucas 2024-01-28 22:38:49 UTC
Created attachment 165318 [details]
A video showing the described behavior.