You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When searching for a term with quotes using yewtube, an error occurs while preloading streams. The search works after pressing Ctrl+C, but without intervention, it throws a TypeError: 'NoneType' object is not subscriptable in streams.py.
Command Entered:
/its raining tacos 'topic'
The 'topic' parameter is added to get the audio version of a music file.
Expected Behavior
The search should correctly handle terms enclosed in quotes without needing to press Ctrl+C or encountering errors, and the appropriate audio stream should preload without issues.
Actual Behavior
The program throws a TypeError when trying to access stream['url'], indicating that the stream object is None. After pressing Ctrl+C, the search results are displayed correctly, but the error indicates improper handling of streams during the preloading process.
Issue / Suggestion
When searching for a term with quotes using
yewtube
, an error occurs while preloading streams. The search works after pressingCtrl+C
, but without intervention, it throws aTypeError: 'NoneType' object is not subscriptable
instreams.py
.Command Entered:
The
'topic'
parameter is added to get the audio version of a music file.Expected Behavior
The search should correctly handle terms enclosed in quotes without needing to press
Ctrl+C
or encountering errors, and the appropriate audio stream should preload without issues.Actual Behavior
The program throws a
TypeError
when trying to accessstream['url']
, indicating that the stream object isNone
. After pressingCtrl+C
, the search results are displayed correctly, but the error indicates improper handling of streams during the preloading process.Environment
/home/Sahil/.config/mps-youtube
Error
The text was updated successfully, but these errors were encountered: