Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Doesn't play youtube or soundcloud songs #224

Description

@Sforg26

Hello, thank for your works! I assume that the issue could be for some steps that I didn't make, i'm new in the bot usage, so thanks for the support.
I'm using botamusique 7.1 on Kubuntu 20.
When I put some youtube or soundcloud video they result in the queue and the bot show the message which it take them, but then they don't play neither with !skip or !play.
The radios, instead, works flawless.
When i try do download an url, this is an example of the terminal messages that appears:

[Nov 08 17:48:32 INFO] bot: start preparing item in thread: [url] SHOOTIN' IN DA CLUB (https://soundcloud.com/berrymane/shootin-in-da-club)
Exception in thread Prepare-8bb48f2:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "mumbleBot.py", line 445, in _download
item.prepare()
File "/home/myfolder/botamusique/media/cache.py", line 160, in prepare
ret = self.item().prepare()
File "/home/myfolder/botamusique/media/url.py", line 112, in prepare
return self._download()
File "/home/myfolder/botamusique/media/url.py", line 144, in _download
media.system.clear_tmp_folder(var.tmp_folder, var.config.getint('bot', 'tmp_folder_max_size'))
File "/home/myfolder/botamusique/media/system.py", line 29, in clear_tmp_folder
if get_size_folder(path=path) > size:
File "/home/myfolder/botamusique/media/system.py", line 14, in get_size_folder
folder_size += os.path.getsize(filename)
File "/usr/lib/python3.8/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/.org.chromium.Chromium.VCFRaZ/SingletonCookie'

I hope to have been clear. Thank you for the help!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions