Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't play live stream video #22

Closed
froggologies opened this issue Dec 27, 2020 · 1 comment
Closed

Can't play live stream video #22

froggologies opened this issue Dec 27, 2020 · 1 comment

Comments

@froggologies
Copy link

Traceback (most recent call last):
File "/usr/bin/yterm", line 8, in
details = self.get_url_and_name(index)
File "/home/frog/.local/lib/python3.9/site-packages/yTermPlayer/music_api.py", line 159, in get_url_and_name
self.playlist['items'][int(index)]['pafy'].getbestaudio().url,
sys.exit(main())
ValueError: cannot convert float NaN to integer

During handling of the above exception, another exception occurred:

File "/home/frog/.local/lib/python3.9/site-packages/yTermPlayer/main.py", line 28, in main
Traceback (most recent call last):
File "/home/frog/.local/lib/python3.9/site-packages/yTermPlayer/music_api.py", line 225, in play_at_index
loop.run()
File "/home/frog/.local/lib/python3.9/site-packages/urwid/main_loop.py", line 286, in run
details = self.get_url_and_name(index)
File "/home/frog/.local/lib/python3.9/site-packages/yTermPlayer/music_api.py", line 159, in get_url_and_name
self.playlist['items'][int(index)]['pafy'].getbestaudio().url,
self._run()
ValueError: cannot convert float NaN to integer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/frog/.local/lib/python3.9/site-packages/urwid/main_loop.py", line 384, in _run
File "/home/frog/.local/lib/python3.9/site-packages/yTermPlayer/music_api.py", line 225, in play_at_index
details = self.get_url_and_name(index)
File "/home/frog/.local/lib/python3.9/site-packages/yTermPlayer/music_api.py", line 159, in get_url_and_name
self.event_loop.run()
File "/home/frog/.local/lib/python3.9/site-packages/urwid/main_loop.py", line 788, in run
self.playlist['items'][int(index)]['pafy'].getbestaudio().url,
ValueError: cannot convert float NaN to integer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/frog/.local/lib/python3.9/site-packages/yTermPlayer/music_api.py", line 225, in play_at_index
self._loop()
File "/home/frog/.local/lib/python3.9/site-packages/urwid/main_loop.py", line 821, in _loop
details = self.get_url_and_name(index)
File "/home/frog/.local/lib/python3.9/site-packages/yTermPlayer/music_api.py", line 159, in get_url_and_name
alarm_callback()
File "/home/frog/.local/lib/python3.9/site-packages/urwid/main_loop.py", line 172, in cb
self.playlist['items'][int(index)]['pafy'].getbestaudio().url,
ValueError: cannot convert float NaN to integer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/frog/.local/lib/python3.9/site-packages/yTermPlayer/music_api.py", line 225, in play_at_index
callback(self, user_data)
File "/home/frog/.local/lib/python3.9/site-packages/yTermPlayer/ui.py", line 87, in update_name
details = self.get_url_and_name(index)
File "/home/frog/.local/lib/python3.9/site-packages/yTermPlayer/music_api.py", line 159, in get_url_and_name
self.list[int(self.player_object.get_index())].set_attr_map({
ValueError: cannot convert float NaN to integer

@vaibkumr
Copy link
Owner

vaibkumr commented Jan 8, 2021

This project is only capable of streaming youtube playlists. Livestreams are not supported. Please see larger projects like mps-youtube for more features.

@vaibkumr vaibkumr closed this as completed Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants