Package Details: popcorntime 0.5.0-2

Git Clone URL: https://aur.archlinux.org/popcorntime.git (read-only, click to copy)
Package Base: popcorntime
Description: Stream movies from torrents. Skip the downloads. Launch, click, watch.
Upstream URL: https://popcorn-time.site/
Licenses: GPL3
Submitter: ItachiSan
Maintainer: ItachiSan
Last Packager: ItachiSan
Votes: 56
Popularity: 0.036970
First Submitted: 2016-03-01 20:36 (UTC)
Last Updated: 2024-02-25 21:21 (UTC)

Dependencies (8)

Required by (0)

Sources (3)

Pinned Comments

ItachiSan commented on 2018-07-24 21:01 (UTC) (edited on 2021-06-14 09:35 (UTC) by ItachiSan)

You are free to report issues regarding the packaging here! Please read all the info of this message as they include quite some information.

Be aware that sometimes the package will fail to build because of outdated upstream and updated dependency, which will require me some time to test and solve the problem.

I do also have life stuff, packaging is a free-time activity.

I believe I have an issue that is Arch-related and not upstream related

I too found out only recently this way to debug the app (as of: 2021-06-13), which helps immensely.

Whenever reporting here or on the Github issues, please provide the output of the command:

popcorntime --enable-logging=stderr

In case you are forwarding the log to a file, as the log entries will end in stderr, remember to redirect stderr to stdout

popcorntime --enable-logging=stderr 2>&1 > my_output.log
Info regarding the package
  1. The package uses the sources available at: https://github.com/popcorn-official/popcorn-desktop. I am aware of the different clones and branches; I do still believe that this code is acceptable (not affected itself from malware).

  2. This package uses a custom NW.js build provided from the PopcornTime team; essentially, a custom compiled browser. While this won't affect you as it should be used only within the app, you are here informed that I have no power over this component.

  3. The above point stands as the official NW.js Chromium source lacks multiple modern codecs, such as AC3 and HEVC (H.265).

  4. Earlier this package used the official nw.js toolchain provided available at https://dl.nwjs.io/ and the prebuilt FFmpeg library with additional codecs available at https://github.com/iteufel/nwjs-ffmpeg-prebuilt/ . This was because the nw.js toolchain provided by the PopcornTime team can not be proven as non-malware easily. However, due to point 3, this approach was reverted. You are free to use an older PKGBUILD with the appropriate variable updates to re-enable this, however you will miss support for recent codecs.

  5. In addition, the PKGBUILD won't point to the Git release reference but will also include important commits, for e.g. security reasons or providers changes.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 17 Next › Last »

je-vv commented on 2021-06-10 22:21 (UTC)

@ItachiSan, btw, there's no need to patch to adjust the URLs anymore, that has been commited by upstream already:

https://github.com/popcorn-official/popcorn-desktop/issues/2196#issuecomment-858619315

And, the commit:

https://github.com/popcorn-official/popcorn-desktop/commit/43efd3883184496af57c2dc833e4e618bac90626

But, I believe top of master is way better, the last commit:

https://github.com/popcorn-official/popcorn-desktop/commit/022450e2f27f9ebebc81607d8cba86fcf98bb34b

So, perhaps you just sync with latest commit on master, and you don't need to patch anymore...

ItachiSan commented on 2021-06-10 22:10 (UTC)

Hi @je-vv and @B3l3tte, I "blindly" adjusted the URLs from a non-Arch machine. I got the same issue and thought there was some issue with my X server config...

Will try to fix in the weekend, however it is weird that the new toolchain breaks stuff.

B3l3tte commented on 2021-06-10 10:40 (UTC) (edited on 2021-06-10 10:41 (UTC) by B3l3tte)

I have the same behavior on my end :

$ popcorntime

DevTools listening on ws://127.0.0.1:9222/devtools/browser/3ccd9ade7ca3-4175-xxxx-673510c7ccc6

No window shows up after that.

je-vv commented on 2021-06-10 00:34 (UTC)

@ItachiSan, with your latest changes, popcorntime builds fine. However it doesn't work, :(

% popcorntime 

DevTools listening on ws://127.0.0.1:9222/devtools/browser/c5bcfe96-b592-4d96-9136-d969bcdf5a0f
[28399:28399:0609/182928.622344:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.

And the GUI never pops up... Though I see a bunch of jobs still running:

% ps auxww | 'grep' -i popcorn
<username> 28377  0.9  0.9 2518864 155100 pts/5  Sl+  18:29   0:01 popcorntime
<username> 28379  0.0  0.3 230604 53776 pts/5    S+   18:29   0:00 /usr/share/popcorntime/Popcorn-Time --type=zygote --enable-crash-reporter=, --user-data-dir=/home/<username>/.config/Popcorn-Time --nwapp-path=/usr/share/popcorntime
<username> 28380  0.0  0.0   8400  1692 pts/5    S+   18:29   0:00 /usr/share/popcorntime/nacl_helper
<username> 28399  0.1  0.7 1353372 115848 pts/5  Sl+  18:29   0:00 /proc/self/exe --type=gpu-process --field-trial-handle=6996278799398215377,12843663696197742813,131072 --no-sandbox --enable-crash-reporter=, --user-data-dir=/home/<username>/.config/Popcorn-Time --nwapp-path=/usr/share/popcorntime --gpu-preferences=KAAAAAAAAAAgAAAgAAAAAAAAYAAAAAAAEAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAA --shared-files
<username> 28403  0.1  0.5 828936 82148 pts/5    Sl+  18:29   0:00 /proc/self/exe --type=utility --field-trial-handle=6996278799398215377,12843663696197742813,131072 --lang=en-US --service-sandbox-type=network --no-sandbox --enable-audio-service-sandbox --enable-crash-reporter=, --user-data-dir=/home/<username>/.config/Popcorn-Time --nwapp-path=/usr/share/popcorntime --shared-files
<username> 28420  0.5  0.8 5407148 135928 pts/5  Sl+  18:29   0:00 /proc/self/exe --type=renderer --no-sandbox --enable-node-worker --file-url-path-alias=/gen=/usr/share/popcorntime/gen --no-zygote --remote-debugging-port=9222 --field-trial-handle=6996278799398215377,12843663696197742813,131072 --lang=en-US --enable-crash-reporter=, --user-data-dir=/home/<username>/.config/Popcorn-Time --nwapp-path=/usr/share/popcorntime --nwjs --extension-process --disable-client-side-phishing-detection --enable-auto-reload --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=4 --shared-file

So, there's something wrong with the resulting package, though not sure if the package itself or something from upstream... Are you experiencing the same?

je-vv commented on 2021-06-09 23:16 (UTC)

Ohh, if we wait:

https://github.com/popcorn-official/popcorn-desktop/issues/2196#issuecomment-858160503

upstream will actually fix the gulp issue (it'll point to the right sources). Perhaps it's better to wait a bit for that commit, :)

je-vv commented on 2021-06-09 23:11 (UTC)

Following:

https://github.com/popcorn-official/popcorn-desktop/issues/2196

I now understand there's hope to get the server up again, or define a new official server soon, and that's why upstream haven't made the change in their repos to reflect where to grab the custom nwjs from. However they plan to keep popcorn-official and popcorn-time-ru pretty much in sync, :)

je-vv commented on 2021-06-09 22:48 (UTC)

OK, on:

https://github.com/popcorn-official/popcorn-desktop/issues/2196

I got corrected. Actually popcorn-ru.tk is not the new official site, it's just hosting the official builds for now (not sure for how long, or if forever), and the custom nwjs. So according to the answer I got:

https://github.com/popcorn-official/popcorn-desktop/issues/2196#issuecomment-858145156

popcorntime-official is still the official repo, hehe... What I still don't understand is why not changing the repo to reflect where to grab the new nwjs, hehe. At any rate, sorry for the noise...

je-vv commented on 2021-06-09 21:12 (UTC) (edited on 2021-06-09 21:33 (UTC) by je-vv)

@ItachiSan, I think this is more clear:

https://teddit.net/r/PopCornTimeApp/wiki/faq

So this is the official now:

https://popcorn-ru.tk

Which uses sources from:

https://github.com/popcorn-time-ru/popcorn-desktop/releases

That's where this diff/patch:

https://github.com/popcorn-official/popcorn-desktop/compare/development...popcorn-time-ru:nw-location

Comes from any ways... So perhaps it's better to follow the popcorn-time-ru sources as the official ones now, since that's considered the official popcorntime now? Not sure if keeping following:

https://github.com/popcorn-official/popcorn-desktop

Will keep this popcorntime package behind or non working unless adding more and more patches to update popcorn-official with changes on popcorn-time-ru... Well, unless I'm mistaken, and I'm misunderstand that the official popcorntime moved to:

https://popcorn-ru.tk

That's what I understood from the reddit popcorntime FAQ (they explain there why the moved subreddit)...

BTW, there's a binary popcorntime-ru-bin, but that's the binary version, and I pretty much prefer the non binary one... Again, perhaps it's better to use the new official sources. Not sure if there will actually be an update on the popcorn-official sources on github, neither if it'll be kept up to date...

Also, I asked a similar question on:

https://github.com/popcorn-official/popcorn-desktop/issues/2196

But not sure if it'll get answered by actual popcorntime devs/maintainers. But to me it looks like we have new official sources, :)

ItachiSan commented on 2021-06-09 06:53 (UTC) (edited on 2021-06-09 06:57 (UTC) by ItachiSan)

@je-vv I am also unable to reach the popcorntime website, which is required to fetch their Node.js toolchain.

I will open an issue upstream right away and add it here.

Edit 1: It seems other people got the same issue and a workaround is mentioned here:

https://github.com/popcorn-official/popcorn-desktop/issues/2194

I will try later to adjust the build appropriately.

je-vv commented on 2021-05-30 23:37 (UTC) (edited on 2021-05-30 23:40 (UTC) by je-vv)

@ItachiSan, I'm now getting the same error @dr460nf1r3 reported, but I see an earlier build error, which might be the cause:

Error: getaddrinfo EAI_AGAIN popcorntime.app
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
    at GetAddrInfoReqWrap.callbackTrampoline (internal/async_hooks.js:131:14) {
  errno: -3001,
  code: 'EAI_AGAIN',
  syscall: 'getaddrinfo',
  hostname: 'popcorntime.app'
}
[17:29:54] Finished 'nwjs' after 25 s
[17:29:54] Starting '<anonymous>'...
[17:29:54] Finished '<anonymous>' after 875 μs
[17:29:54] Finished 'build' after 30 s
Done in 31.49s.
==> Entering fakeroot environment...
==> Starting package()...
/home/general/.pkgs/src/laur/popcorntime/PKGBUILD: line 92: cd: /home/general/.pkgs/src/laur/popcorntime/src/popcorn-desktop/build/Popcorn-Time/linux64: No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

It's like it's not finding something it's attempting to download... Moreover, prior successful builds from long time ago are no longer working, just hanging...