Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having problem with playing from url
After a few seconds shows message: "Process suddenly died".
Show files gives:

error: 500

Traceback (most recent call last):
File "./", line 95, in default
ret = call(**datadict)
File "/home/pi/blissflixx/lib/api/", line 7, in files
return showmore(link).to_dict()
File "/home/pi/blissflixx/lib/chanutils/torrent/", line 52, in showmore
files = torrent_files(link)
File "/home/pi/blissflixx/lib/chanutils/torrent/", line 49, in torrent_files
return peerflix_metadata(torrent2magnet(link))
File "/home/pi/blissflixx/lib/chanutils/torrent/", line 38, in peerflix_metadata
s = subprocess.check_output(["peerflix", link, "-l"], stdin=subprocess.PIPE)
File "/usr/lib/python2.7/", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['peerflix', u'magnet:?xt=urn:btih:33e244d712851b2882ca05d9d0152e91f7f4aadc&dn=xxxxxxf_torr_idx=-1', '-l']' returned non-zero exit status 8
(05-07-2016, 11:10 PM)Jura_Stublic Wrote: Forgot to mention - using jesse on raspberry pi 3
It looks like your magnet link is not correct - the bit that says dn=xxxxxxx is not valid. Try just pasting the following link:

I changed it, ( because they are long ) tried with several magnet links all with the same results. Probably why yts and other pluggins don't work ether.
OK try running peerflix directly from the command line. So open a terminal window and run:

peerflix magnet:?xt=urn:btih:33e244d712851b2882ca05d9d0152e91f7f4aadc

Do you see any errors or does it seem to be working?
It doesn't work. The error is:

const fs = require('fs');
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/node_modules/peerflix/node_modules/torrent-stream/node_modules/fs-chunk-store/index.js:8:18)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
I know the problem. Am looking at fixing this as soon as possible...
OK this is a breaking change in Peerflix submodule. I will try to get the author to fix it. In the meantime you can manually go back to the old version by doing the following steps:

cd /usr/local/lib/node_modules/peerflix/node_modul

Note: the above should be all one command.

Now open the package.json file using your favourite editer e.g:

sudo vi package.json

Note: make sure you run your editor using sudo

Now change the line:

"path-exists": "^3.0.0",

to the following:

"path-exists": "2.1.0",

Now save the file and exit from your editor.

Finally run:
sudo npm install

It should now all work. 
This has now been properly fixed in the peerflix submodule.
It is working flawlessly now, Thanks.

Forum Jump:

Users browsing this thread: 1 Guest(s)