My API not working

How do I get my API to work again, for popcorn time? I’m using a Mini Mac, do I need reinstall the popcorn time app?

Delete these (highlighted) support folders/file from your (user account) ~/Library folder:

~/Library/Application Support/Popcorn-Time
~/Library/Cache/Popcorn-Time
~/Library/Saved Application State/com.nw-builder.popcorn-time.savedState
~/Library/Preferences/com.nw-builder.popcorn-time.plist

… then reboot the app. You should get the “Terms of Service” window again … just like the first time you installed the PT app?
(n.b. the app should auto-update API itself)

If you’re having difficulty finding the user ‘Library’ folder:
Click ‘Go’ in the Finder menu bar, and hold down the ‘Option’ (Alt) key.

(if all that doesn’t work - delete the app (repeat the above) and download the latest build of 0.4.9)

You probably don’t have the latest build version where almost all of the bugs and issues are fixed. The last build was 12 hours ago (July 7, 2023)

Go to https://github.com/popcorn-official/popcorn-desktop/actions/runs/5481452659 and download the version for your OS. Let me know if you need further help (This is the page for the LATEST release until now (July 7, 2023)

Steps to always get the latest release:Workflow runs · popcorn-official/popcorn-desktop · GitHub > Click on “Latest Build” on the menu to the left > Click on “Update build_old_nwjs.yml” > Scroll to the bottom of the page and find the releases on the Artifacts section.

and for those still manually putting in api servers whats the url?

Some use the https://yts.mx/ option for movies (probably won’t work without VPN, though).

Are you using 0.4.6, then … if not, which (other) version?

You can use: https://shows.cf/,https://movies-api.tk/,https:movies-api.gq/

I know this was a year ago but you seem the most knowledgeable on this. I’m using 0.5.1 version but that api for shows didn’t work. Any chance you have the update or can tell me where to look? My app is just not automatically updating. Thanks!

https://shows.cf was it. thanks.

https://shows.cf

Still works? https://shows.cf/status

{
"repo": "https://github.com/popcorn-time-ru/popcorn-ru",
"server": "serv01",
"status": "idle",
"totalAnimes": 0,
"totalMovies": 70000,
"totalShows": 9000,
"updated": 1686887419,
"uptime": 100000,
"version": "0.0.1",
"commit": "ac462477"
}

Still works?

We know?

That’s some mighty big postage stamp!

You’re too kind … make it the back of an envelope, then? :slight_smile:

since some people are dead-set on making (pct)life harder for themselves for some unspecified
reason…,

lol … you’re taking about me! Remember? … Free the Cat!!! :smiley:

Anyway, fixed tvOS app GitHub - sweetw0r/PopcornTimeTV: Popcorn Time for Apple TV 4, iPhone and iPad

I’m sick of you, will you change it every time?

Write you the code that receives the list of servers and stop changing addresses every time. There’s a hundred lines.

Look here - https://github.com/popcorn-official/popcorn-desktop/blob/development/src/app/dht.js

and here

https://github.com/popcorn-official/popcorn-android/commit/877ab95af5e55e5e4a25a3f15613da763ebd88ba

How many times do you think the dns names of the pirate server will change? It’s been a year since everything is ready, the code is open, no, damn it, they can’t copy it.

Anyway, fixed tvOS app GitHub - sweetw0r/PopcornTimeTV: Popcorn Time for Apple TV 4, iPhone and iPad

Don’t use it, myself … but make a post (tell the community?). Your comment will get missed - way down here!

Fair point. Why don’t you come up with a commit?

i can not build and test code for ios

you have ot issues on you github

I saw you on the forum and wrote

please implement this feature in your client so that the next time need change address you need to update

[Imgur](https://imgur.com/4vMMeRL)

cool

if you also add dht it will be perfect

u/Ivan-1986 can you please elaborate on what exactly the bittorrent-dht should do in a client?

we annonce to dht network json by protocol

https://www.bittorrent.org/beps/bep_0044.html - mutable items

this json is signed by key and has json array data with field server and some other info fields as reddit, site and other, each time when server change i change json on dht annincer.

Information hash is stable, one of it need for get information from network (it’s depend on library)

hash: a4a9ad29e303e137ecb995c50a4e104b3e8f72e5

public key: 3704c4f5f0426d9c726c5b195539c42c7383816e8d756bd68fa5340435f99070

get data from dht periodic and use endpoints from it.

for now update is perfect work, whe change servers 3 times after release 0.4.6 and users with new version transparent migrate to new endpoints

bittorrent-dht it’s just part of webtorrent, and you torrent lib has same function - get node from dht

With dht a client does not need an API url?