Chromecaster

Rating: 
4.833335
Your rating: None Average: 4.8 (6 votes)

A simple application to watch youtube videos on your Chromecast. 

Just copy the url of the youtube video to your clipboard, open this app, select your Chromecast device, and push the share button.

Uses the pychromecast library, big thanks to the authors!

 

Application versions: 
AttachmentSizeDate
File cast-0.1-4.noarch.rpm345.41 KB18/06/2019 - 13:10
Changelog: 

- embedding more dependencies in the rpm

- the install script now executes python3 -m pip install protobuf to install the protobuf dependency 

Comments

too's picture

FileNotFoundError: No module named 'chardet'

felixw's picture

Installation worked properly. But it does not find my chromecast.

PamNor's picture

Solved for me too.

daniele's picture

Great! Thanks for the feedback!

3vixan's picture

Mee too: there are some trouble with pip...

PamNor's picture

Installed version 0.1-4. As rooot: python -m pip install pychromecast.
Output gives a lot of errors.

PamNor's picture

Installed python3-base. Same error. /usr/share/Cast/python/__init__.py is 0 bytes. Is that correct?

rob_k's picture

Cannot install, error about python 3.7. Should I install a separate package?

daniele's picture

Maybe you do not have python3 installed? The update that I just uploaded includes python3 as a requirement.

Alternatively, you can run "pkcon install python3-base" as root. 

3vixan's picture

Hi! Thanks for the app!
Here I am not able to find my chromecast...

daniele's picture

Thanks for your feedback. I suspect you're missing some dependencies.

Could you try to run the app from the terminal (with "sailfish-qml Cast"), and post the output?

3vixan's picture

[nemo@Sailfish ~]$ sailfish-qml Cast
[D] unknown:0 - Using Wayland-EGL
[D] unknown:0 - Got library name: "/usr/lib/qt5/qml/io/
thp/pyotherside/libpyothersideplugin.so"
[D] unknown:0 - "PyOtherSide error: Traceback (most rece
nt call last):\n\n File \"/usr/share/Cast/python/main.p
y\", line 5, in \n import pychromecast\n\n F
ile \"/usr/share/Cast/python/pychromecast/pychromecast/_
_init__.py\", line 9, in \n from .config impo
rt * # noqa\n\n File \"/usr/share/Cast/python/pychrome
cast/pychromecast/config.py\", line 6, in \n
import requests\n\n File \"/usr/share/Cast/python/reque
sts/__init__.py\", line 43, in \n import urll
ib3\n\nModuleNotFoundError: No module named 'urllib3'\n"
[W] unknown:0 - Unhandled PyOtherSide error: Cannot impo
rt module: main (Traceback (most recent call last):

File "/usr/share/Cast/python/main.py", line 5, in
import pychromecast

File "/usr/share/Cast/python/pychromecast/pychromecast
/__init__.py", line 9, in
from .config import * # noqa

File "/usr/share/Cast/python/pychromecast/pychromecast
/config.py", line 6, in
import requests

File "/usr/share/Cast/python/requests/__init__.py", li
ne 43, in
import urllib3

ModuleNotFoundError: No module named 'urllib3'
)
[D] unknown:0 - "PyOtherSide error: Traceback (most rece
nt call last):\n\n File \"\", line 1, in \n\nNameError: name 'main' is not defined\n"
[W] unknown:0 - Unhandled PyOtherSide error: Function no
t found: 'main.findDevices' (Traceback (most recent call
last):

File "", line 1, in

NameError: name 'main' is not defined
)

daniele's picture

Should be fixed in 0.1-3

3vixan's picture

I have again:[nemo@Sailfish ~]$ sailfish-qml Cast
[D] unknown:0 - Using Wayland-EGL
[D] unknown:0 - Got library name: "/usr/lib/qt5/qml/io/
thp/pyotherside/libpyothersideplugin.so"
[D] unknown:0 - "PyOtherSide error: Traceback (most rece
nt call last):\n\n File \"/usr/share/Cast/python/main.p
y\", line 5, in \n import pychromecast\n\n F
ile \"/usr/share/Cast/python/pychromecast/__init__.py\",
line 9, in \n from .config import * # noqa\
n\n File \"/usr/share/Cast/python/pychromecast/config.p
y\", line 6, in \n import requests\n\n File
\"/usr/share/Cast/python/requests/__init__.py\", line 44
, in \n import chardet\n\nModuleNotFoundError
: No module named 'chardet'\n"
[W] unknown:0 - Unhandled PyOtherSide error: Cannot impo
rt module: main (Traceback (most recent call last):
File "/usr/share/Cast/python/main.py", line 5, in
import pychromecast
File "/usr/share/Cast/python/pychromecast/__init__.py"
, line 9, in
from .config import * # noqa
File "/usr/share/Cast/python/pychromecast/config.py",
line 6, in
import requests
File "/usr/share/Cast/python/requests/__init__.py", li
ne 44, in
import chardet
ModuleNotFoundError: No module named 'chardet'
)
[D] unknown:0 - "PyOtherSide error: Traceback (most rece
nt call last):\n\n File \"\", line 1, in \n\nNameError: name 'main' is not defined\n"
[W] unknown:0 - Unhandled PyOtherSide error: Function no
t found: 'main.findDevices' (Traceback (most recent call
last):
File "", line 1, in
NameError: name 'main' is not defined
)

daniele's picture

Ok, more dependencies missing. Let's make pip take care of that. As root: "python3 -m pip install pychromecast". 

3vixan's picture

I have an error installing...