Package Details: popcorntime 0.4.8-1

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://popcorntime.app/
Licenses: GPL3
Submitter: ItachiSan
Maintainer: ItachiSan
Last Packager: ItachiSan
Votes: 55
Popularity: 1.11
First Submitted: 2016-03-01 20:36 (UTC)
Last Updated: 2022-07-15 08:13 (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

korimitsu commented on 2022-07-18 19:33 (UTC)

Error:

0 verbose cli /usr/bin/node /usr/bin/npm
1 info using npm@8.14.0
2 info using node@v18.6.0
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 2ms
6 timing config:load:builtin Completed in 2ms
7 warn config production Use `--omit=dev` instead.
8 timing config:load:cli Completed in 4ms
9 timing config:load:env Completed in 2ms
10 timing config:load:file:/var/tmp/pamac-build-user/popcorntime/src/popcorn-desktop/.npmrc Completed in 0ms
11 timing config:load:project Completed in 4ms
12 timing config:load:file:/home/user/.npmrc Completed in 0ms
13 timing config:load:user Completed in 0ms
14 timing config:load:file:/usr/etc/npmrc Completed in 0ms
15 timing config:load:global Completed in 0ms
16 timing config:load:validate Completed in 2ms
17 timing config:load:credentials Completed in 1ms
18 timing config:load:setEnvs Completed in 0ms
19 timing config:load Completed in 16ms
20 timing npm:load:configload Completed in 16ms
21 timing npm:load:mkdirpcache Completed in 1ms
22 timing npm:load:mkdirplogs Completed in 1ms
23 verbose title npm ls
24 verbose argv "ls" "--all" "true" "--production" "true" "--parseable" "true"
25 timing npm:load:setTitle Completed in 1ms
26 timing config:load:flatten Completed in 3ms
27 timing npm:load:display Completed in 6ms
28 verbose logfile logs-max:10 dir:/home/user/.npm/_logs
29 verbose logfile /home/user/.npm/_logs/2022-07-18T19_29_01_646Z-debug-0.log
30 timing npm:load:logFile Completed in 6ms
31 timing npm:load:timers Completed in 0ms
32 timing npm:load:configScope Completed in 0ms
33 timing npm:load Completed in 32ms
34 timing arborist:ctor Completed in 1ms
35 silly logfile start cleaning logs, removing 1 files
36 silly logfile done cleaning log files
37 timing command:ls Completed in 1708ms
38 verbose stack Error: invalid: backbone@1.4.0 /var/tmp/pamac-build-user/popcorntime/src/popcorn-desktop/node_modules/backbone
38 verbose stack invalid: underscore@1.13.1 /var/tmp/pamac-build-user/popcorntime/src/popcorn-desktop/node_modules/underscore
38 verbose stack invalid: http-node@1.2.0 /var/tmp/pamac-build-user/popcorntime/src/popcorn-desktop/node_modules/http-node
38 verbose stack invalid: vtt.js@0.12.1 /var/tmp/pamac-build-user/popcorntime/src/popcorn-desktop/node_modules/vtt.js
38 verbose stack     at LS.exec (/usr/lib/node_modules/npm/lib/commands/ls.js:205:9)
38 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
38 verbose stack     at async module.exports (/usr/lib/node_modules/npm/lib/cli.js:78:5)
39 verbose cwd /var/tmp/pamac-build-user/popcorntime/src/popcorn-desktop
40 verbose Linux 5.18.11-1-MANJARO
41 verbose node v18.6.0
42 verbose npm  v8.14.0
43 error code ELSPROBLEMS
44 error invalid: backbone@1.4.0 /var/tmp/pamac-build-user/popcorntime/src/popcorn-desktop/node_modules/backbone
44 error invalid: underscore@1.13.1 /var/tmp/pamac-build-user/popcorntime/src/popcorn-desktop/node_modules/underscore
44 error invalid: http-node@1.2.0 /var/tmp/pamac-build-user/popcorntime/src/popcorn-desktop/node_modules/http-node
44 error invalid: vtt.js@0.12.1 /var/tmp/pamac-build-user/popcorntime/src/popcorn-desktop/node_modules/vtt.js
45 verbose exit 1
46 timing npm Completed in 1892ms
47 verbose code 1
48 error A complete log of this run can be found in:
48 error     /home/user/.npm/_logs/2022-07-18T19_29_01_646Z-debug-0.log

je-vv commented on 2022-03-03 07:06 (UTC)

@ItachiSan, 0.4.7 already released:

https://github.com/popcorn-official/popcorn-desktop/releases/tag/v0.4.7

According to:

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

It includes auto API update, so it seems pretty useful

ItachiSan commented on 2021-07-30 14:13 (UTC)

@je-vv yes, the error is safe to ignore.

It is a gulp build step where they report missing dependencies, that are however solved from NW.JS builder. :)

je-vv commented on 2021-07-29 20:58 (UTC)

Thanks a lot @ItachiSan, it seems to be working back.

BTW, I see some npm error, but I'm guessing they are don't care, since I remember seen errors before, and popcorntime still working:

Error: Command failed: npm ls --all=true --production=true --parseable=true
npm ERR! code ELSPROBLEMS
npm ERR! invalid: backbone@1.4.0 /home/general/.pkgs/src/laur/popcorntime/src/popcorn-desktop/node_modules/backbone
npm ERR! invalid: underscore@1.12.1 /home/general/.pkgs/src/laur/popcorntime/src/popcorn-desktop/node_modules/underscore
npm ERR! invalid: webtorrent@0.118.0 /home/general/.pkgs/src/laur/popcorntime/src/popcorn-desktop/node_modules/webtorrent
npm ERR! invalid: bittorrent-protocol@3.3.1 /home/general/.pkgs/src/laur/popcorntime/src/popcorn-desktop/node_modules/bittorrent-protocol
npm ERR! invalid: http-node@1.2.0 /home/general/.pkgs/src/laur/popcorntime/src/popcorn-desktop/node_modules/http-node
npm ERR! invalid: vtt.js@0.12.1 /home/general/.pkgs/src/laur/popcorntime/src/popcorn-desktop/node_modules/vtt.js

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/general/.npm/_logs/2021-07-29T20_47_08_980Z-debug.log

    at ChildProcess.exithandler (node:child_process:397:12)
    at ChildProcess.emit (node:events:394:28)
    at ChildProcess.emit (node:domain:532:15)
    at maybeClose (node:internal/child_process:1067:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
    at Process.callbackTrampoline (node:internal/async_hooks:130:17) {
  killed: false,
  code: 1,
  signal: null,
  cmd: 'npm ls --all=true --production=true --parseable=true'
}

These are to be ignored, right?

ItachiSan commented on 2021-07-29 16:50 (UTC)

Hi @je-vv,

I am currently on holiday, so I have some but little time to work on side projects (the seaside calls :P)

I've verified and confirmed all the issues & solutions. You are correct, I used 0.4.5 plus a few extra commits which however made PopcornTime unusable.

I've now changed the PKGBUILD in order to build from the tag. :)

je-vv commented on 2021-07-24 01:58 (UTC)

One thing I noticed though, is that the AUR popcorntime package is using commit:

https://github.com/popcorn-official/popcorn-desktop/commit/076d4dc387c58d2dcb4d9c1482c226fed749c251

Whereas the 0.4.5 release is using commit:

https://github.com/popcorn-official/popcorn-desktop/commit/47c1b6cfa54d5f146291da43c355a6ecaba07d35

The one used by the package, on master, is around 35 commits ahead of the one for release 0.4.5. Could it be @ItachiSan that you got an unstable commit?

Is it possible to use the released tarball instead of git commits? And if in need grab specific commits/patches for specific fixes, then do so? Like, for 0.4.5, use instead of a git commit:

https://github.com/popcorn-official/popcorn-desktop/archive/refs/tags/v0.4.5.tar.gz

And additional commits as patches as needed? At this point, the current commit used by the AUR package is not the one for 0.4.5, neither top of master. There might be some fixes ahead of it for its current behavior...

Thanks !

je-vv commented on 2021-07-24 01:39 (UTC)

It seems the issue from popcorntime is actually not being able to read at leas some of the configurations, such as the custo APIs... I installed popcorntime-bin, and the issue doesn't show up with popcorntime-bin, which means the configs seem fine, but I pretty much prefer using Arch/Artix built packages than *-bin ones. I have no clue why the built popcorntime can't read the configurations/preferences...

je-vv commented on 2021-07-13 05:53 (UTC) (edited on 2021-07-13 05:54 (UTC) by je-vv)

@ItachiSan, it seems whenever starting popcorntime after the last upgrade (to 0.4.5-1), the license agreement is always shown. Also the custom API settings (required to specify *-ru.tk) are always lost, so popcorntime can't be used (the change to the custom apis require popcorn to be restarted), since on start, the prior settings are lost. Any ways to fix or work this around? Thanks !

je-vv commented on 2021-06-21 00:56 (UTC)

Thanks @ItachiSan, actually I realized the -ru.tk api server was already an option one could select for movies and series. So pretty cool. Unfortunately it doesn't show up for anime, neither it works writing it as the server for anime. Anime seems to remain unreachable with whatever default server or with -ru.tk. Any suggestion?

je-vv commented on 2021-06-15 23:00 (UTC)

Thanks @ItachiSan, I though that was part of the changes incorporated from the RU sources, hehe... My mistake. I'll try changing the API server URLs to https://popcorn-ru.tk/ and testing, later, when having some time, and then report back...

Thanks again !

ItachiSan commented on 2021-06-15 21:21 (UTC)

@je-vv you may be interested in this:

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

je-vv commented on 2021-06-15 01:52 (UTC)

Thanks @ItashiSan. Now the GUI shows up, :)

Unfortunately, it doesn't connect to anything, the GUI doesn't offer anything, and it keeps trying connecting somewhere but it remains trying forever, :(

So no joy with popcorntime yet...

ItachiSan commented on 2021-06-14 09:29 (UTC) (edited on 2021-06-14 09:30 (UTC) by ItachiSan)

Update is out! This should fix all the recent issues.

The main problem (the disappeared GUI) was because of the nwjs step within gulpfile.js, which directly calls npm in order to check the required dependencies.

This worked well until npm v.7 which changed its npm ls behaviour, from showing all the dependencies to only the root level ones. This was fixed by adding --all=true to the npm command via the Gulp fixes patch.

I will also add as an edot to the pinned comment a way to output good logs :)

ItachiSan commented on 2021-06-13 22:48 (UTC)

@je-vv , I've tried to build as of now but got some major issues.

However, I have a gut feeling of where the issue lies.

Will update here soon (and hopefully also the package)

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...

dr460nf1r3 commented on 2021-04-23 09:21 (UTC)

Getting this error on package() in clean chroot /home/main-builder/pkgwork/PKGBUILD: line 92: cd: /home/main-builder/pkgwork/src/popcorn-desktop/build/Popcorn-Time/linux64: No such file or directory

je-vv commented on 2021-04-22 02:13 (UTC) (edited on 2021-04-22 02:15 (UTC) by je-vv)

@ItachiSan, yarn build is failing to download stuff:

Error: connect ECONNREFUSED 165.227.24.62:443
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1138:16)
    at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:132:14) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '165.227.24.62',
  port: 443
}

I tried re-building, since popcorntime is hanging when started, not showing anything

ItachiSan commented on 2021-01-13 10:18 (UTC) (edited on 2021-01-13 10:40 (UTC) by ItachiSan)

Hi @B3l3tte,

As of now the PopcornTeam NW.js build is used due to multiple missing codecs in the official NW.js build. Even when using an FFMpeg library with all codecs, the official NW.js build won't load them.

You can check these links:

I will edit my comment and mention that the non-NWjs-official build is used :)

B3l3tte commented on 2021-01-08 14:14 (UTC)

Hello, thanks for your answer, I have been able to build PPT with various commit hashes successfully.

Do this package really uses https://dl.nwjs.io/ though ? Because the log states :

Using v0.44.5 (sdk)
Create cache folder in /home/belette/.cache/yay/popcorntime/src/popcorn-desktop/cache/0.44.5-sdk
Downloading: https://get.popcorntime.app/repo/nw/v0.44.5/nwjs-sdk-v0.44.5-linux-x64.tar.gz

And I don't see any dl.nwjs.io mention in the PKGBUILD either. Is your pinned comment still up to date ? Thanks for reading

ItachiSan commented on 2020-09-17 09:56 (UTC)

Hi @B3l3tte, sorry for the huge delay, had issues setting up Arch on my new personal laptop.

I tried yesterday using a more recent commit and the build points out to the new commits. You can check the built revision via the information page on the bottom right.

You need to update the variable _commit_hash in the PKGBUILD in order to change revision.

B3l3tte commented on 2020-09-05 16:22 (UTC)

Hello ItachiSan, I am wondering how i am supposed to tune the PKGBUILD to get the latest commits packaged ? Just changing the hash currently doesn't work, do you have any tips with the NWJS version and / or commits that broke the building process used by the current PKGBUILD ? Thanks

ItachiSan commented on 2020-07-28 09:11 (UTC)

Regarding the ARM build, you may want to ask the PopcornTime team to build their NW.js with extra codecs for ARM also.

About Github, it seems up for me; what is exactly the error?

gear4 commented on 2020-07-28 08:14 (UTC)

can't get the sources, github says invalid repo url

bkb commented on 2020-07-23 18:03 (UTC)

Ask to upstream I guess lol

glitxh commented on 2020-07-22 18:24 (UTC) (edited on 2020-07-22 18:25 (UTC) by glitxh)

Can this be ported over to Arch ARM? That would make Arch ARM the go to OS for raspberry Pi's guaranteed ;)

ItachiSan commented on 2020-06-17 20:27 (UTC)

Removing out-of-date flag as I successfully built the package today from scratch.

Archer1X commented on 2020-05-08 08:14 (UTC)

Can't install at all. I think the URL for package source has been taken down by DMCA.

ItachiSan commented on 2020-05-05 17:16 (UTC)

@xolst and all: the Git repository is currently (2020-05-05) not available due to a DMCA.

The package should be working all fine if/after Github restores the repository visibility.

bkb commented on 2020-04-17 07:46 (UTC)

The software works now, I don't know if since the 16th the old version has encountered major issue, but I was used to work with this package and it always worked, anyway ty!

ItachiSan commented on 2020-04-16 22:22 (UTC)

I've updated the package, hopefully that solves all the issues. :)

bkb commented on 2020-04-16 07:57 (UTC)

Anyway since today I experience a Error Something went wrong downloading the update.

je-vv commented on 2020-04-15 03:02 (UTC)

@bkb, it seems there's a 0.4.4-1 binary release, whereas this one is 0.4.1-1, not sure if that's the reason though

bkb commented on 2020-04-14 19:55 (UTC)

why it's flagged out of date? Is there a newer version of popcorntime?

ItachiSan commented on 2020-02-23 20:10 (UTC)

@je-vv: I am testing now an updated version pointing to latest PopcornTime commits + using latest NW.js. If it works, I will release it soon :)

@rsa: Got it! Coming in next release

rsa commented on 2020-02-18 23:14 (UTC)

Hey, domain changed to popcorntime.app https://www.reddit.com/r/PopCornTime/comments/eryhqx/psa_new_domain_popcorntimeapp/

je-vv commented on 2020-01-04 22:38 (UTC) (edited on 2020-01-04 22:48 (UTC) by je-vv)

Is it possible to make gconf an "optional" dependency? It has been dropped from Arch, and if popcorntime doesn't really depend on it, I'd like to get rid of gconf as Arch has done it (and avoid installing its deps either). BTW, I build it myself, removing gconf as a dep (and not having it in the box), and it worked just fine. Thanks !

ItachiSan commented on 2019-09-29 11:15 (UTC)

Package got flagged because of a "repo not found" error... Tried to build it, no errors. Unflagged

@Amriptal1456 no worries, package should work with no problem :)

Amritpal1456 commented on 2019-08-22 02:15 (UTC)

warning " > backbone.marionette@3.5.1" has incorrect peer dependency "underscore@~1.8.3".

is this something should i worry about?

sorry i am not good with torrents :)

ItachiSan commented on 2019-08-21 09:25 (UTC)

@xereon for that exists popcorntime-bin.

Amritpal1456 commented on 2019-08-13 13:45 (UTC)

@xereon dude tf, why use that looooong process when you could use just 2 commands to get popcorn time installed without doing the complicated stuff git clone <https://aur.archlinux.org/popcorntime.git> cd popcorntime makepkg -si

thats all you have to do install pakages from aur, if following the long process then what is the use of packaging.....

xereon commented on 2019-08-12 19:51 (UTC) (edited on 2019-08-14 11:12 (UTC) by xereon)

This process worked for me.

   <<< Arch Linux Popcorn-Time Installation >>>

To install Popcorn-Time on Arch linux follow these steps...

  1. Download Popcorn-Time-0.3.10-Linux-64.tar.gz from the following link: https://popcorntime.sh/

Or you can use this direct link for 64bit version: https://get.popcorntime.sh/build/Popcorn-Time-0.3.10-Linux-64.tar.xz

  1. Create a new directory in /opt:

    sudo mkdir /opt/popcorntime

  2. Now go to the Downloads directory.

    cd Downloads

  3. Extract the downloaded Popcorn Time files into the newly created /opt/popcorntime directory.

    sudo tar Jxf Popcorn-Time-* -C /opt/popcorntime

  4. Create and edit a new file named popcorntime.desktop by using this command

    sudo nano /usr/share/applications/popcorntime.desktop

Insert the following lines:

[Desktop Entry]
Version = 1.0 
Type = Application 
Terminal = false 
Name = Popcorn Time 
Exec = /usr/bin/Popcorn-Time 
Icon = /opt/popcorntime/src/app/images/icon.png 
Categories = Application; 

Save the file by pressing Ctrl + x then press y and hit Enter

Open your Menu and type popcorntime, right click on the icon then click Add to Panel. On the Add New Item popup window, select Panel 2 then click Add.

The Popcorn Time shortcut will be added to your launcher.

Enjoy your movie :)

Aqa-Ib commented on 2019-05-31 23:42 (UTC)

I like this package more than popconrtime-bin. Thank you very much for it.

ItachiSan commented on 2019-05-16 09:04 (UTC) (edited on 2019-05-16 09:04 (UTC) by ItachiSan)

@kronikpillow that is a basic Python error; you're running a Python2 script with Python3.

Just execute:

python2 build_ffmpeg.py --target_arch=x64

No need for sudo, although I doubt the build is going to work without patching the build script.

kronikpillow commented on 2019-05-15 14:32 (UTC)

so i tried installing https://github.com/iteufel/nwjs-ffmpeg-prebuilt did git clone https://github.com/iteufel/nwjs-ffmpeg-prebuilt.git cd nwjs-ffmpeg-prebuilt sudo python build_ffmpeg.py --target_arch=x64

and i get a

File "build_ffmpeg.py", line 104 print '\n\nShutdown requested... \x1b[0;31;40m' + 'exiting' + '\x1b[0m' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('\n\nShutdown requested... \x1b[0)?

... so maybe this is the reason? codecs for NW.js aren't installed at all

Kaliwaal commented on 2019-05-12 05:39 (UTC)

thanks for the suggestion @ItachiSan,

I will uninstall this one and re-install the now orphaned package. At least it was working fine.

Cheers!

ItachiSan commented on 2019-05-10 16:14 (UTC) (edited on 2019-05-10 16:14 (UTC) by ItachiSan)

@kronikpillow & @Kaliwaal

  1. As the software works as it should (most of the videos play back fine), I don't see why this package miss something.
  2. The fact that series can't be played back is an issue, not of the packaging (build the software and put it in proper place) but of the software itself. So you can't blame me, even partially.
  3. If you read the pinned comment (I doubt you do, due to the answer), I say the ffmpeg library is pre-built, so it might possibly be an upstream issue.
  4. popcorntime-bin as a package is not maintained from upstream at all; it just repackages the official tarball.
  5. If such package is fine, you might use it meanwhile.
  6. I do AUR packaging in my free time, which I might not have (as for this week)
  7. I still believe the ffmpeg library is the main culprit and will test stuff during the weekend; meanwhile, I still recommend you to open a ticket upstream at the prebuilt ffmpeg library Github repository (just to be clear)

kronikpillow commented on 2019-05-10 15:04 (UTC)

it also does not detect any subtitles ... while -bin does

kronikpillow commented on 2019-05-10 14:53 (UTC)

@ItachiSan strange, mine terminal output is nothing similar to @Kaliwaal https://pastebin.com/kPC313Ji - terminal output

after i run F12 in Popcorntime, i get this in the terminal https://pastebin.com/x999hLrF

and in the F12 console i get this https://pastebin.com/QNcwuBCr

File in question: The Flash Season 5 Episode 21 Issue: Video yes, Audio No

I don't know how to determine file format from butter when i run the file in VLC and MPV it plays properly with both video and audio

... once again mate, you are asking us to provide a issue report to upstream ... but this is not a upstream issue as popcorntime-bin package reproduces all file formats properly both in audio and video, which means, that something in your package is missing ... also upstream is not responsible for user created packages on the Arch Linux AUR, the packer is

Kaliwaal commented on 2019-05-07 11:56 (UTC)

@ItachiSan, Here is the output which I get when I press F12 from within the app when trying to run the aforementioned file. I tried to copy it but then realised a screenshot would be better.

https://i.postimg.cc/mrKwDSLR/Screenshot-20190507-164923.png

I also ran the app from within the terminal and here is the output: https://pastebin.com/q7TXyy6u I hope it helps.

kronikpillow commented on 2019-05-07 10:40 (UTC) (edited on 2019-05-07 10:41 (UTC) by kronikpillow)

@ItachiSan try watching TV Series like Arrow, The Flash, Legends of Tommorow, Game of Thrones etc etc etc

I will provide you with the logs a little later ... my main consern atm is recovering my lost data partition :-/ accidentally wiped my backup hdd :-D (boom)

ItachiSan commented on 2019-05-06 19:20 (UTC)

@Kaliwaal I can reproduce the error! It might be that the current FFMpeg library has some changes that give the error.

For that, you should

  1. Find out the codecs of the file
  2. Open an issue on the provider of the library (see the pinned comment)

What I can mention is that I am going to update the package soon with NW.js 0.38.1, as the FFMpeg library is now updated for that; I will test again the video and, if it doesn't work, I will try also older versions of NW.js + FFMpeg to find a working one.

Kaliwaal commented on 2019-05-06 10:03 (UTC)

@ItchiSan

The pilot played fine with the now oprhaned package. Plus, I have not made any changes to my system as far as ffmpeg or codecs are concerned.

Therefore, I think the problem is not with my installation. Lets hope that we are able to solve this.

Kaliwaal commented on 2019-05-06 10:00 (UTC)

@Itchisan,

I didn't complete the steps 2 and 3. I will soon complete them as I am short of time as of now. However this is what I get when I try to play the pilot of The BigBang Theory Season 1 (of course :p). This I could as of now.

https://i.postimg.cc/qRL9KGX6/Screenshot-20190506-145543.png

ItachiSan commented on 2019-05-05 14:54 (UTC)

@Kaliwaal & @kronikpillow, I've rebuilt the package and tested a few movies, which includes but are not limited to:

  • Avengers: Infinity War
  • Cold Pursuit
  • Glass
  • Aquaman
  • Moana

All of them worked well at both 720p and 1080p.

As I can't reproduce the issue, I have a few things I can say:

  1. Please provide me the names of the movies causing troubles, to check that I can replicate
  2. Please create a gist/pastebin or something similar with both the logs from the terminal (yup, run the app from the terminal) and the nw.js developer console (use F12 within the app to make it appear)
  3. The issue might be dependent on factors such as missing codecs on your computer; although the FFMpeg library should be static, I can't exclude something might be fishy there

Waiting for feedback!

ItachiSan commented on 2019-05-05 13:10 (UTC)

@Kaliwaal & @kronikpillow didn't have time untill now for testing, going to rebuild the package now.

Just to mention, Arch standard environment is usually much more updated, in term of tools, than the official team's one, leading to differences in the Node packages installed, which usually break stuff.

On the other hand, it might be that the FFMpeg prebuilt library had some changes in the past days, that might be also a reason why the codecs does not work anymore.

kronikpillow commented on 2019-05-03 20:56 (UTC) (edited on 2019-05-03 21:02 (UTC) by kronikpillow)

@ItachiSan upstream doesn't accept bug reports from badly packaged user repositories as it's not a upstream bug, the popcorntime-bin package works without any problems and never needed any codecs and uses the same source, which means this package is missing something ...

I have found a situation that on some videos i have video no audio, and on some videos i have audio no video... i don't think that .mp4 and .mkv are weird codecs/file formats

Kaliwaal commented on 2019-05-03 08:49 (UTC)

@ItachiSan I can confirm that I am having the same error. I installed this package a couple of hours ago after removing the orphaned popcorntime-bin package.

A video file was not played because of codec errors and had to watch it in vlc, which aslo had codec issues with that file.

Never faced such issues with the previous package

ItachiSan commented on 2019-05-02 12:18 (UTC) (edited on 2019-05-02 12:19 (UTC) by ItachiSan)

@kronikpillow I will try to rebuild the package tonight; if I find the issue playing a few movies, I will investigate further, but if I don't encounter the problem it might be that film which has a weird codec.

Additionally, not all the ffmpeg-available codecs are available but a few more than the usual ones, which are the most mainstream ones. Check: https://github.com/iteufel/nwjs-ffmpeg-prebuilt/ to see which ones are.

kronikpillow commented on 2019-05-01 20:15 (UTC)

hm.... movies/series aren't displaying video, only audio when running butter, when streaming trough VLC it works just fine, so ... what codec could i be missing?

vagelis commented on 2019-04-09 17:52 (UTC)

Hi @ItachiSan. Thanx for the tip. Submitted.

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

ItachiSan commented on 2019-04-09 10:35 (UTC)

@vagelis not sure why that happens, I actually never had a tray icon; maybe you can report an issue upstream?

vagelis commented on 2019-04-08 17:01 (UTC)

Hi ItachiSan, thanx for the latest commit. I've noticed tough when popcorntime is minimized to systray it duplicates the icon, instead of removing it when restoring. Maybe something to do with latest gnome-shell update? There were some issues all around cause of this.

Thanx again.

vagelis commented on 2019-03-05 20:54 (UTC) (edited on 2019-03-31 09:38 (UTC) by vagelis)

Same thing as krosen's. Favorites just vanished. Recompiled from scratch. Favorites now on tab and not "heart" icon.

ItachiSan commented on 2019-01-20 20:44 (UTC)

@krosen I actually do have it, so I can't replicate the issue...

krosen commented on 2019-01-15 11:59 (UTC)

0.3.10-14 "Favorites" category disappeared after updating from 0.3.10-12.

Tio commented on 2018-12-30 00:53 (UTC)

@ItachiSan indeed it works now! great!

ItachiSan commented on 2018-12-29 21:23 (UTC)

@teoretic I do believe there were some issues downloading the NW.js zip; please try again, as I can't reproduce it.

Tio commented on 2018-12-29 17:53 (UTC)

I get an error for the lat update

Preparing... Nothing to do.

Synchronizing package databases... Starting full system upgrade... Cloning popcorntime build files... Checking popcorntime dependencies... Building popcorntime... ==> Making package: popcorntime 0.3.10-13 (sáb 29 dic 2018 18:35:44 CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning popcorn-desktop git repo... Cloning into bare repository '/tmp/pamac-build/popcorntime/popcorn-desktop'... -> Found popcorntime.desktop -> Found gulp-fixes.patch ==> Validating source files with sha256sums... popcorn-desktop ... Skipped popcorntime.desktop ... Passed gulp-fixes.patch ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of popcorn-desktop git repo... Cloning into 'popcorn-desktop'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... -> Apply Gulpfile fixes ... -> Installing normal dependencies yarn install v1.12.3 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... info fsevents@1.2.4: The platform "linux" is incompatible with this module. info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation. [4/5] Linking dependencies... warning " > backbone.marionette@3.5.1" has incorrect peer dependency "underscore@~1.8.3". [5/5] Building fresh packages... success Saved lockfile. Done in 21.53s. -> Install missing dependencies, if any ... -> Changing NW.js version to 0.31.5 ... ==> Starting build()... yarn run v1.12.3 $ gulp build

╭─────────────────────────────────────────────────────────────────╮ │ │ │ nw-builder update available (3.5.1 → 3.5.4) │ │ To update, run one of the following commands: │ │ - npm i -g nw-builder (if nw-builder is installed globally) │ │ - npm i -D nw-builder (if nw-builder is installed locally) │ │ │ ╰─────────────────────────────────────────────────────────────────╯

linux-x64.zip [18:36:12] Using gulpfile /tmp/pamac-build/popcorntime/src/popcorn-desktop/gulpfile.js [18:36:12] Starting 'build'... [18:36:12] Starting 'injectgit'... Branch: makepkg Commit: e2351a0c [18:36:12] Finished 'injectgit' after 18 ms [18:36:12] Starting 'css'... Stylus files compiled in /tmp/pamac-build/popcorntime/src/popcorn-desktop/src/app/themes/ [18:36:15] Finished 'css' after 3.45 s [18:36:15] Starting 'downloadffmpeg'... FFmpeg download starting.... [18:36:15] Downloading https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.31.5/0.31.5-linux-x64.zip...

Done

FFmpeg Downloaded to cache folder. [18:36:21] Finished 'downloadffmpeg' after 5.99 s [18:36:21] Starting 'nwjs'... { Error: Command failed: npm ls --production=true --parseable=true npm ERR! peer dep missing: underscore@~1.8.3, required by backbone.marionette@3.5.1 npm ERR! peer dep missing: underscore@~1.8.3, required by backbone.marionette@3.5.1 npm ERR! missing: colour@latest, required by ascli@0.3.0 npm ERR! missing: optjs@latest, required by ascli@0.3.0

at ChildProcess.exithandler (child_process.js:276:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

killed: false, code: 1, signal: null, cmd: 'npm ls --production=true --parseable=true' } Using v0.31.5 (sdk) Create cache folder in /tmp/pamac-build/popcorntime/src/popcorn-desktop/cache/0.31.5-sdk Downloading: https://dl.nwjs.io/v0.31.5/nwjs-sdk-v0.31.5-linux-x64.tar.gz (node:24262) UnhandledPromiseRejectionWarning: Error: unexpected end of file at Gunzip.zlibOnError (zlib.js:153:15) (node:24262) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:24262) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [18:36:35] The following tasks did not complete: build, nwjs [18:36:35] Did you forget to signal async completion? error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ==> ERROR: A failure occurred in build(). Aborting...

ItachiSan commented on 2018-12-29 13:34 (UTC)

Hi everyone,

Finally the package is updated and working!

A small patch is still available for Gulp, which I hope it will be merged upstream soon. But finally we can build the app without relying on nvm :wink:

Let me know if any issue arises! Additionally it would be great if anyone could try different versions of NW.js to check which one is working; this can be done by patching the _nwjs variable with the proper NW.js version! Due to the FFMpeg library, versions up to 0.34.0 can be tested.

Have a nice holiday!

ItachiSan commented on 2018-11-01 17:38 (UTC)

@lambroisie thanks for the report; however, this is due to packages that have never been updated and I am not sure if they will ever be.

This will require quite some time; I am not sure if it will succeed also and right now I am busy a lot, so no promises if/when fixes will be available.

lambroisie commented on 2018-10-29 14:40 (UTC)

When I run makepkg -si I get the following error: https://bpaste.net/show/53adc2f1fb85

Excerpt:

fs.js:25 'use strict'; ^

ReferenceError: internalBinding is not defined at fs.js:25:1 at req_ (/home/tina/Downloads/popcorntime/src/popcorn-desktop/node_modules/natives/index.js:137:5) at Object.req [as require] (/home/tina/Downloads/popcorntime/src/popcorn-desktop/node_modules/natives/index.js:54:10) at Object.<anonymous> (/home/tina/Downloads/popcorntime/src/popcorn-desktop/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:99) at Module._compile (internal/modules/cjs/loader.js:707:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10) at Module.load (internal/modules/cjs/loader.js:605:32) at tryModuleLoad (internal/modules/cjs/loader.js:544:12) at Function.Module._load (internal/modules/cjs/loader.js:536:3) at Module.require (internal/modules/cjs/loader.js:643:17) ==> ERROR: A failure occurred in build(). Aborting...

fhfs commented on 2018-10-10 22:03 (UTC)

0.3.10-12 no sound with butter. when running vlc slow/no download

dkazantzas commented on 2018-09-17 10:34 (UTC)

I have no sound on 0.3.10-12

kouros17 commented on 2018-09-06 20:49 (UTC)

0.3.10-12 running without issues for me! :)

ItachiSan commented on 2018-09-06 17:23 (UTC)

@gerardo-junior I can't reproduce such an issue; I tried removing my configuratio but PopcornTime started properly.

@everyone sorry for the multiple updates, but seems that nw.js 0.32.x and its FFmpeg library does not work at all (tested all the versions from 0.32.0 to 0.32.5 but none worked). So, back to old-and-working 0.31.5

coldreaver commented on 2018-09-05 11:57 (UTC) (edited on 2018-09-05 12:00 (UTC) by coldreaver)

popcorntime never starts playing anything (not with butter or vlc); doesnt matter how far the download is (even if complete). I have a build saved with pkgver=9 that works fine, but its prolly caused by some nodejs package update or the 0.32 ffmpeg update (pkgver=9 is build with 0.31).

kouros17 commented on 2018-09-04 18:36 (UTC) (edited on 2018-09-05 06:33 (UTC) by kouros17)

Opens normally but crashes when I select to play a movie: [11065:11065:0904/212829.286590:ERROR:sandbox_linux.cc(380)] InitializeSandbox() called with multiple threads in process gpu-process.

gerardo-junior commented on 2018-09-04 18:18 (UTC)

Still stopped in "init Database .." @ItachiSan

ItachiSan commented on 2018-09-04 13:58 (UTC)

@gerardo-junior should be fixed now.

gerardo-junior commented on 2018-09-04 11:09 (UTC)

stoped load on start, and no log error with font's

ItachiSan commented on 2018-09-03 10:10 (UTC)

@everyone the issue is caused from my local environment as it is shared between Windows and Linux, so whenever the issue is spotted I need to fix it (AKA dos2unix).

nanners commented on 2018-09-03 09:02 (UTC)

Out of curiosity, how would I find the correct sha512 sum for a bad file in the future? I figure maintainer here will update ASAP, but if I could locate or generate the right one based on an upstream file, I'll know in the future.

kouros17 commented on 2018-09-02 21:20 (UTC)

ERROR: One or more files did not pass the validity check!

G4Zz0L1 commented on 2018-09-02 17:52 (UTC)

The sha512sum for popcorntime.desktop is wrong

servimo commented on 2018-09-02 15:59 (UTC)

Same here: "popcorntime.desktop sha256sums check fail"

gerardo-junior commented on 2018-09-02 12:56 (UTC)

popcorntime.desktop sha256sums check fail

ItachiSan commented on 2018-07-30 13:05 (UTC)

@servimo I suppose you launch the application through your application bar of KDE (I suppose it is your DE). Because of that, the app is started from kdeinit thus getting all the information present in your desktop session, thus also SSH. It's a guess, but I believe to be correct,

servimo commented on 2018-07-29 16:51 (UTC)

https://forum.manjaro.org/t/popcorn-time-and-proc-self-exe/53697

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.

bartus commented on 2018-07-24 16:49 (UTC)

@ItachiSan: Works like a charm - thanks ;)

ItachiSan commented on 2018-07-24 13:30 (UTC)

@everyone I am going to release a new version soon (tonight), so please bear with it; all the building issues will be fixed with it.

bartus commented on 2018-07-24 10:46 (UTC)

Unable to build the package, full build log: https://pastebin.com/cn9iUN41

kouros17 commented on 2018-07-24 09:43 (UTC) (edited on 2018-07-24 09:44 (UTC) by kouros17)

I can't install 0.3.10-8 because:

Validating source files with sha256sums... popcorn-desktop ... Skipped gulp-fixes.patch ... FAILED popcorntime.desktop ... Passed ==> ERROR: One or more files did not pass the validity check!

je-vv commented on 2018-07-23 23:31 (UTC) (edited on 2018-07-24 01:09 (UTC) by je-vv)

Got when upgrading 0.3.10-7 -> 0.3.10-8:

==> Validating source files with sha256sums... popcorn-desktop ... Skipped gulp-fixes.patch ... FAILED popcorntime.desktop ... Passed ==> ERROR: One or more files did not pass the validity check! ==> ERROR: build: failure on package popcorntime

Seems like the new gulp-fixes.patch has different sha256sum hash:

212a60c2c9f5cf5aa0e16a5c8baa511d5d63a2fd25945efa0c9056d97ab31d24

But it still fails in the end, even by fixing the checksum:

added 29 packages from 30 contributors in 24.728s patching file gulpfile.js Hunk #1 FAILED at 64 (different line endings). Hunk #2 FAILED at 83 (different line endings). 2 out of 2 hunks FAILED -- saving rejects to file gulpfile.js.rej ==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: build: failure on package popcorntime

xantares commented on 2018-05-13 10:35 (UTC)

The indie (vodo) tab does not display anything, then the app freezes.

Recapir commented on 2018-05-12 16:12 (UTC)

Thanks for the update but its not working for me. The loading screen shows up briefly and then I get an empty black screen.

ItachiSan commented on 2018-05-12 13:32 (UTC)

@Eschwartz thanks for the tip, didn't know of it. Will change the PKGBUILD accordingly. I won't do a version bump though, as there is no release change (it would just build the same).

eschwartz commented on 2018-05-07 13:36 (UTC) (edited on 2018-05-07 13:39 (UTC) by eschwartz)

Please don't set the npm cache like that, you have no guarantee you'll have a chance to reset it later on.

See npm help 7 config under "Environment Variables" and use

export npm_config_cache="$srcdir/npm_cache"

xantares commented on 2018-04-03 16:40 (UTC)

this time it's working, thanks for the update!

ItachiSan commented on 2018-04-02 17:34 (UTC)

Hi guys, Not sure where my message has gone (I am pretty sure I posted here something yesterday but nothing is here), anyways I have a working version.

Before was fully broken, now I can get through the menu, up to breaking other stuff (nicely done software), I am testing another commit to see if a fresher version doesn't break all the UI.

Anyways, there are many issues building; the current version of npm has a nasty bug, you can find it here: https://github.com/npm/npm/issues/19989

The "fix" is that I install locally (within node_modules) a working npm version and use it for the build. I also have, some times, the same error while installing the non-broken npm!!! The only """tested""" way for me that """works""" is in my home directory (mine is a ext4 filesystem). I can't help with that. Consider that, if you survive to the first NPM install, you are good to go. Other options is to use an older npm available in the AUR (I recall there are npm4 and npm53).

Stay tuned!

pilililo2 commented on 2018-03-26 17:09 (UTC)

Same issue here. Previous version (0.3.10-3) still works perfectly. Something messed up in 0.3.10-4. Fortunately version 0.3.10-3 is still available as package popcorntime-bin.

whynothugo commented on 2018-03-25 17:06 (UTC)

pacman -Rnscu

aeliseo commented on 2018-03-25 17:05 (UTC)

Same issue! Stuck on startup. makepkg does many download and net-tools (vpn.ht) is somewhat suspisious. Is there any way of getting rid of all packages this makepkg installed? pacman -Rs popcorntime does only remove popcorntime itself.

xantares commented on 2018-02-23 16:25 (UTC)

Same issue: stuck also at startup. I succeeded in rebuilding the previous version (0.3.10-3) using npm4 instead of npm.

G4Zz0L1 commented on 2018-02-18 22:55 (UTC)

Here too, same problem, no matter what I try.

Haagentis commented on 2018-02-17 19:36 (UTC)

Doesn't work on Manjaro : the program is stuck at launch, the "stuck at loading screen? click here" option just relaunch the program which stays stuck anyway.

ViperXvenom8888 commented on 2017-12-29 15:35 (UTC)

I tried the Dirty workaround, it didn't work unfortunately. Hope they fix it soon.

flacks commented on 2017-12-24 05:29 (UTC)

Dirty workaround: https://github.com/popcorn-official/popcorn-desktop/issues/566

sciant commented on 2017-12-23 09:41 (UTC)

I'm getting the same error ivdok mentioned before

ivdok commented on 2017-12-18 16:02 (UTC)

This package is extremely broken at build time: https://pastebin.com/RyuJwe4u

whynothugo commented on 2017-11-19 06:46 (UTC)

Looks like you're commenting on the wrong package, this looks like an error in gulp: [00:08:48] Try running: npm install gulp ==> ERROR: A failure occurred in build().

gbr commented on 2017-11-19 02:11 (UTC)

==> Starting build()... [00:08:48] Local gulp not found in ~/.cache/pacaur/popcorntime/src/popcorn-desktop_0.3.10 [00:08:48] Try running: npm install gulp ==> ERROR: A failure occurred in build(). Aborting... :: bower is now an orphan package :: grunt-cli is now an orphan package :: gulp is now an orphan package :: npm is now an optional package :: failed to build popcorntime package(s)

ItachiSan commented on 2017-11-05 12:41 (UTC)

Now it builds again, without changes... Node.js modules for the win!

thamaraiselvam commented on 2017-10-07 20:41 (UTC)

Cannot install `npm ERR! Cannot read property 'pause' of undefined`

e270889o commented on 2017-10-01 14:29 (UTC)

After reading and doing 'npm rebuild' the error has changed. This time is line 79: 3128 Segmentation fault (core dumped) gulp build

e270889o commented on 2017-10-01 14:19 (UTC)

Same as @andrej84. line 79: 9482 Do you need any log from to help?

andrej84 commented on 2017-09-29 17:11 (UTC)

Getting a segmentation fault as well here -Time/linux64 /tmp/yaourt-tmp-andrea/aur-popcorntime/./PKGBUILD: line 79: 9482 Segmentation fault (core dumped) gulp build

ItachiSan commented on 2017-09-11 12:21 (UTC)

@jacobtey: also the source supported here is a legit source. All the sources are available on Github and the project is well-known by the community. Another post like this and I will consider it spam.

jacobtey commented on 2017-09-10 19:45 (UTC)

http://www.popcorn-time.is/

jacobtey commented on 2017-09-10 19:43 (UTC)

Other domains as .sh or .ch are fake, it may steal your information or give you virus. There are many versions out there and not all of them has your best interest in mind. Here is a diagram that has been circulating on Reddit and attempts to put the current mess into an easy to understand format. It might help you navigate in the PT jungle out there.

oldgaro commented on 2017-09-03 04:22 (UTC) (edited on 2017-09-03 04:23 (UTC) by oldgaro)

Pacaur could not install it. But Yaourt could! haha

denis.soto commented on 2017-09-02 14:26 (UTC)

I got the same issue as tazam: Create release folder in /tmp/yaourt-tmp-denis/aur-popcorntime/src/popcorn-desktop_0.3.10/build/Popcorn-Time/linux64 /tmp/yaourt-tmp-denis/aur-popcorntime/./PKGBUILD: línea 79: 21423 Violación de segmento (`core' generado) gulp build ==> ERROR: Se produjo un fallo en build(). Cancelando... ==> ERROR: Makepkg no ha podido compilar popcorntime. Does somebody fix it?

tazam commented on 2017-08-22 17:16 (UTC)

I get a seg fault on building ==> Starting build()... [21:34:55] Using gulpfile /tmp/yaourt-tmp-yohann/aur-popcorntime/src/popcorn-desktop_0.3.10/gulpfile.js [21:34:56] Starting 'build'... [21:34:56] Starting 'injectgit'... Branch: makepkg Commit: 9e25e9f0 [21:34:56] Finished 'injectgit' after 24 ms [21:34:56] Starting 'css'... Stylus files compiled in /tmp/yaourt-tmp-yohann/aur-popcorntime/src/popcorn-desktop_0.3.10/src/app/themes/ [21:35:00] Finished 'css' after 4.64 s [21:35:00] Starting 'nwjs'... Using v0.18.6 (sdk) Create cache folder in /tmp/yaourt-tmp-yohann/aur-popcorntime/src/popcorn-desktop_0.3.10/cache/0.18.6-sdk Downloading: https://get.popcorntime.sh/repo/nw/v0.18.6/nwjs-sdk-v0.18.6-linux-x64.tar.gz downloading [====================] 100% 0.0s Create release folder in /tmp/yaourt-tmp-yohann/aur-popcorntime/src/popcorn-desktop_0.3.10/build/Popcorn-Time/linux64 /tmp/yaourt-tmp-yohann/aur-popcorntime/./PKGBUILD: line 79: 2026 Segmentation fault (core dumped) gulp build

ItachiSan commented on 2017-08-01 08:07 (UTC)

@Plexcon not really sure why you dump the build log. I do packaging, so I am not changing stuff in the code if not needed to make it work. If you've problems with the old dependencies, you can report it upstream.

Plexcon commented on 2017-07-28 20:55 (UTC) (edited on 2017-07-28 20:59 (UTC) by Plexcon)

-> Installing normal dependencies npm WARN deprecated bower@1.8.0: ..psst! While Bower is maintained, we recommend Yarn and Webpack for *new* front-end projects! Yarn's advantage is security and reliability, and Webpack's is support for both CommonJS and AMD projects. Currently there's no migration path, but please help to create it: https://github.com/bower/bower/issues/2467 npm WARN deprecated es5class@2.3.1: this package isn't maintained anymore because ES6+ npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

amitavmohanty01 commented on 2017-03-26 09:56 (UTC)

The app is getting stuck. When I click on "Loading stuck? Click here!" it starts again and this keep on going on in a loop. Everytime I click on I get back to the main screen. When I close the app, it core dumps. Stack trace of thread 2917: #0 0x00007f8b33679706 n/a (libnw.so) In gdb, I get the following: #0 0x00007f8b33679706 in () at /usr/share/popcorntime/lib/libnw.so #1 0x000055ffcd446980 in () #2 0x00007f8b31bb49e3 in () at /usr/share/popcorntime/lib/libnw.so #3 0x00007ffe37bd1b01 in () #4 0x0000000000000000 in ()

ItachiSan commented on 2016-12-21 08:19 (UTC)

@Commander not really sure about that... The source code for this package is here: https://github.com/popcorn-official/popcorn-desktop If you can find any malware, please report me and I will switch repository. I have sincerely no problem with it, also on my Windows 10 OS.

Commander commented on 2016-12-20 22:42 (UTC)

Acording to http://popcorntime.ag/ This version maybe got maleware The clones are a mess atm.

letty commented on 2016-12-14 07:34 (UTC) (edited on 2016-12-14 07:37 (UTC) by letty)

Typo in source: src/debug/debug.js namespae -> namespace after manual correction, it compiles fine and works! (no black window)

alexkubica commented on 2016-10-19 20:13 (UTC)

Doesn't work: after the first screen when you have to accept the terms I accept and then there is an empty window. This package seems to work: https://aur.archlinux.org/packages/popcorntime-bin/

RidingLuck commented on 2016-10-17 13:46 (UTC)

This version is not working for me....It opens but show me black screen only. I suggest to use popcorntime-bin if someone have the same problem.

goetzc commented on 2016-08-03 21:34 (UTC)

You can remove the update-desktop-database from install file, as that is now handled by Pacman hooks.

ItachiSan commented on 2016-06-07 21:43 (UTC)

@xantares and @PetrGottesman I am getting the same issue, I was able to reproduce it. Now I am pointing the PKGBUILD to a different commit which is working. Keeping it there.

PeterGottesman commented on 2016-06-02 00:46 (UTC)

@ItachiSan Probably getting the same issue, here is the output. http://pastebin.com/2JpDCbr2

ItachiSan commented on 2016-05-20 14:27 (UTC)

@xantares I just tried the package and works properly for me. What exactly happens?

xantares commented on 2016-05-06 20:56 (UTC)

I'm stuck at the loading screen with a fresh install. Any help ?

ItachiSan commented on 2016-04-27 13:37 (UTC)

@florosus unflaged the package; this package is built from source, it is not a binary repackaging. Also, the "-2" is the PKGBUILD version, the "0.3.9" is the actual package version. The package is using the same source code, but this build it from scratch, the other uses prebuilt binaries.

florosus commented on 2016-04-20 17:45 (UTC) (edited on 2016-04-20 17:45 (UTC) by florosus)

https://aur.archlinux.org/packages/popcorntime-bin/ has the latest version (0.3.9-6). This package is a REDUNDANT DUPLICATE copy of the one from the link above, using an archived old version (0.3.9-2). This is cluttering up the AUR. This outdated package should be removed.

Archeon commented on 2016-03-26 22:25 (UTC) (edited on 2016-03-26 22:36 (UTC) by Archeon)

cesasol is posting propaganda on behalf of popcorntime.ag as they have been on other packages (https://aur.archlinux.org/packages/popcorntime-bin/). There is no evidence of popcorntime.sh being a honeypot.

cesasol commented on 2016-03-05 07:40 (UTC)

This version is honnypot http://popcorntime.ag/official-statement.html#honeypotDepartment