Comments (9)
I see that the port 9090 has been used as a static port for serving the video, srt
To my knowledge, I believe it only serves .srt
files.
Shall I take this issue up and fix it ?
That would be great! I would recommend looking into how create-react-app does this.
from popcorn-time-desktop.
@amilajack I actually checked out the links which are serving the files, in my browser.
Here's a snapshot :
You should check it out yourself. And yeah, I saw the code you linked. Looks pretty neat. I was looking at some similar packages for detecting if a given port is used or not. I guess I will just use detect-port
and do it myself after checking about Promises.
By the way, the code you mentioned, it asks users if they want to use another port. But in our case, I think we don't need to ask the user such questions. We can just abstract them from that, and just use the free port provided by detect-port
from popcorn-time-desktop.
My bad. I forgot which port was which:
9090
is for torrents
4000
is for subtitles (vtt) files
from popcorn-time-desktop.
Oh, okay! And yeah, I did search for the port number in the repo in GitHub search box and found a constant port, only after which I reported the issue.
And actually, I saw that for some of the movies, the srt files were also being served at 9090. I don't know which movies they were though. Is that some weird behavior ? I will check those movies again if I can recall and get back.
from popcorn-time-desktop.
And actually, I saw that for some of the movies, the srt files were also being served at 9090
If you have FLAG_SUBTITLES=true
, then .srt
files should be served. If they're served and the flag is set to false, this is a bug.
from popcorn-time-desktop.
Would be great if you could make a PR to prevent port collision for the subtitle and torrent server.
from popcorn-time-desktop.
from popcorn-time-desktop.
Great! Thanks 🎉
from popcorn-time-desktop.
Fixed this
from popcorn-time-desktop.
Related Issues (20)
- publish to launchpad
- NavBar should be sticky
- tv show torrents broken HOT 2
- tv shows runtime broken HOT 1
- re-enable e2e tests
- migrate to typescript HOT 1
- replace mdns dependency with pure JS implementation
- Virtualize CardGrid for better performance
- Migrate to hooks
- Migrate to ionicons@5
- Default movie player contains blank space
- Project status query HOT 5
- Looking for contributors?
- Action Required: Fix Renovate Configuration
- Dependency Dashboard
- Yarn fails on M1 Macbook Air with BigSur 11.6 HOT 1
- [Security] Workflow publish.yml is using vulnerable action actions/checkout
- [Security] Workflow test.yml is using vulnerable action actions/checkout
- Popcorntime for Android
- Seeding
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from popcorn-time-desktop.