Popcorn-desktop: Chromecast functionality lost on v4 update

Created on 20 Mar 2020  路  15Comments  路  Source: popcorn-official/popcorn-desktop

Operating System Version: OS X

Popcorn Time Version: V4

Download date: Long time ago

Expected Behaviour

When playing something, should have option to cast content to chrome cast.

Actual Behaviour

Chromecast devices are not listed anymore.

All 15 comments

Get us more logs as we cannot reproduce
Chromecast is working fine

The AirPlay also has gone and in addition, the cover of the movie is not loading in macosx

also happening the covers error mentioned by @aryaroudi (I thought it was only a local caching problem or something)

@team-pct where/how to print logs?

the covers error has an issue already #1189

chromecast well detected too.

@nachocifu see here: http://docs.nwjs.io/en/latest/For%20Users/Debugging%20with%20DevTools/
Open the developer tools and switch to "console" tab

@Persei08 on Mac?
Im attaching screenshot. DevTools with no activity. PopCornTime not showing chrome cast option and VLC showing the chrome cast option (and current alternative to cast video)
Screen Shot 2020-03-28 at 02 56 52

I'm on linux but it should also work on mac too.

There is something wrong here with the developer tools window. It says (in title bar) "chrome-search://local-ntp/local-ntp.html" which is a new tab in chrome. Are you sure you opened the developer tools from PT window ?

I'm also having issues with chromecast. In my case, the chromecast device is detected but I get an error when streaming to it.

I've uploaded the logs here: https://gist.github.com/gabrielgradinaru/055d3e11607d6586ade401c0c6057e91

Let me know if I can provide any other info.

Try to disable ipv6

Ok, I've disabled IPv6 and my other network adapters and the error is gone.
However, it seems like the playback is stopped immediately:

....
app.js 17 [INFO] 27 subtitles found
app.js:17 [INFO] Loading torrent: playingExternally
app.js:17 [INFO] Device IP: d14c04a5-2f93-df95-65bd-c21ac6000132.local
app.js:17 [INFO] Available IPs: ["192.168.1.102"]
app.js:17 [INFO] 192.168.1.102 picked for external playback
app.js:17 [INFO] Chromecast: play http://192.168.1.102:57654/0 on 'Living Room TV'
app.js:17 [INFO] Chromecast: connecting to d14c04a5-2f93-df95-65bd-c21ac6000132.local
app.js:17 [INFO] Playing http://192.168.1.102:57654/0 on Living Room TV
app.js:17 [INFO] Stopping external device
app.js:17 [INFO] Closing Chromecast Casting
app.js:17 [INFO] Streaming cancelled
app.js:17 [INFO] Closing loading view
app.js:17 [INFO] Streaming cancelled
app.js:17 [INFO] Chromecast: stopped. Listeners removed!

It looks like my chromecast v3 does not support 1080p movies. But instead it works using 720p.

So far I've found 2 issues related to chromecast:

  1. Incorrect IP address found for chromecast.
app.js:17 [INFO] Device IP: d14c04a5-2f93-df95-65bd-c21ac6000132.local
app.js:17 [INFO] Available IPs: ["fe80::a16f:542:77e3:8654","192.168.14.49","fe80::5451:ffa2:4d2d:b64f","192.168.1.102","fe80::f130:a191:2706:9024","169.254.144.36"]
app.js:17 [INFO] fe80::a16f:542:77e3:8654 picked for external playback

This is a bug in the chromecasts library: https://github.com/mafintosh/chromecasts/issues/32
This causes popcorn-time to pick an incorrect IP address for playback (an IPV6 address in my case).

Unfortunately the chromecasts lib looks like it is not maintainted anymore.
I guess a better option is to use another similar library.

As a workaround, disabling other network interfaces/adapters should do it.

  1. 1080p movies fail to cast.
    The actual issue seems to be the 6 channel audio of the mp4 files. Looks like a chromecast issue.

Very fast implementation. Kudos @team-pct.

I am running Ubuntu 19.10. Since the 417-build I have lost the ability to cast to Chromecast. (Device does not show up at all.)

By reverting to 416, I am able to cast again. Although it has to be in 720p or less.

@Persei08 issue is fixed, close please

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bewakertje picture bewakertje  路  3Comments

lucasdcrk picture lucasdcrk  路  3Comments

jojobling picture jojobling  路  4Comments

kumavis picture kumavis  路  5Comments

vanhelsing2042 picture vanhelsing2042  路  4Comments