Skip to content

Commit ce7d494

Browse files
IpmakePixyTM
andauthored
Version 1.3.1 (#57)
* feat: replace Bonjour service with udp-discovery for service discovery * feat: update README and server configuration for environment variables * feat: initialize Discovery with configurable port from environment variables * Fixed an issue with horizontal scroll Added overflow-x hidden to the body to prevent out of bounds elements to cause horizontal scrolling Added a scrollbar-width: thin on every scrollbar purely for aesthetic reasons. * feat: update Dockerfile and README to expose UDP port 44201 for service discovery * Added an option to remove the libraries section from the home screen An option to remove the libraries section from the home screen as it is redundant with the top nav. I made a new UI section in the settings page, it may or may not be the most organized idea, let me know! * Added an option to remove the libraries section from the home screen An option to remove the libraries section from the home screen as it is redundant with the top nav. I made a new UI section in the settings page, it may or may not be the most organized idea, let me know! * Moved "Disable Home Libraries Section" to Libraries Settings * Revert "Moved "Disable Home Libraries Section" to Libraries Settings" This reverts commit d2b26be. * Revert "Added an option to remove the libraries section from the home screen" This reverts commit f574891. * Moved "Disable Home Libraries Section" to Libraries Settings * Add platform detection functionality and cache implementation * Enhance getXPlexProps function to use platform detection * Add device name retrieval and update platform cache structure * Use HLS instead of DASHJS for Desktop * Fixed the videos in the hero banner not taking the whole height/width Added an objectFit: cover to the HeroDisplay Component so that the videos takes the whole space, also moved the z-index property as it was no being applied when not directly on the video component. * Fixed hero video controls buttons being displayed on top of the app bar Changed the z-index of the buttons of the hero to not make them appear over the app bar --------- Co-authored-by: PixyTM <43484698+PixyTM@users.noreply.github.com>
1 parent b2eb703 commit ce7d494

19 files changed

Lines changed: 318 additions & 168 deletions

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ RUN npx tsc
1212
RUN chmod +x /app/run.sh
1313

1414
EXPOSE 3000
15+
EXPOSE 44201/udp
1516
VOLUME /app/data
1617

1718
COPY frontend/build/ /app/www/

README.md

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# NEVU for Plex
2+
23
Fixing Plex's old and simple UI.
34

45
[**Now also available for Android & AndroidTV**](https://github.com/Ipmake/Nevu/discussions/43)
56

67
[**Docker Hub**](https://hub.docker.com/r/ipmake/nevu)
78

8-
*Click image for video*
9+
_Click image for video_
910
[![Nevu1](assets/screenshot1.png)](https://www.youtube.com/watch?v=PuTOw3Wg9oY)
1011
![Nevu2](assets/screenshot2.png)
1112
[More Screenshots](https://github.com/Ipmake/Nevu/tree/main/assets)
@@ -18,7 +19,6 @@ Nevu currently supports Movie and TV Show libraries. You can also play media via
1819

1920
Mind that this project is still in development and may be unstable.
2021

21-
2222
## Features
2323
- Modern, immersive UI
2424
- Seamless Plex integration
@@ -40,7 +40,7 @@ The easiest way to run Nevu is to use Docker. You can use the following command
4040

4141
```bash
4242
docker volume create nevu_data
43-
docker run --name nevu -p 3000:3000 -v nevu_data:/data -e PLEX_SERVER=http://your-plex-server:32400 ipmake/nevu
43+
docker run --name nevu -p 3000:3000 -p 44201:44201/udp -v nevu_data:/data -e PLEX_SERVER=http://your-plex-server:32400 ipmake/nevu
4444
```
4545

4646
### Docker Compose
@@ -49,18 +49,19 @@ Alternatively, you can use Docker Compose to run Nevu. Create a `docker-compose.
4949

5050
```yaml
5151
services:
52-
nevu:
53-
image: ipmake/nevu
54-
container_name: nevu
55-
ports:
56-
- "3000:3000"
57-
volumes:
58-
- nevu_data:/data
59-
environment:
60-
- PLEX_SERVER=http://your-plex-server:32400
52+
nevu:
53+
image: ipmake/nevu
54+
container_name: nevu
55+
ports:
56+
- "3000:3000"
57+
- "44201:44201/udp"
58+
volumes:
59+
- nevu_data:/data
60+
environment:
61+
- PLEX_SERVER=http://your-plex-server:32400
6162

6263
volumes:
63-
nevu_data:
64+
nevu_data:
6465
```
6566
6667
Then run:
@@ -70,17 +71,19 @@ docker-compose up -d
7071
```
7172

7273
### Environment Variables
73-
| Name | Type | Required | Description |
74-
|--------------------------|------------|----------|-----------------------------------------------------------------------------|
75-
| `PLEX_SERVER` | string | Yes | The URL of the Plex server that the backend will proxy to (CAN BE LOCAL) |
76-
| `DISABLE_TLS_VERIFY` | true/false | No | If set to true, the proxy will not check any https ssl certificates |
77-
| `DISABLE_NEVU_SYNC` | true/false | No | If set to true, Nevu sync (watch together) will be disabled |
78-
| `DISABLE_REQUEST_LOGGING`| true/false | No | If set to true, the server will not log any requests |
79-
| `DISABLE_GLOBAL_REVIEWS` | true/false | No | If set to true, nevu global reviews will be disabled |
80-
8174

75+
| Name | Type | Required | Description |
76+
| ------------------------- | ---------- | -------- | -------------------------------------------------------------------------------- |
77+
| `PLEX_SERVER` | string | Yes | The URL of the Plex server that the backend will proxy to (CAN BE LOCAL) |
78+
| `PORT` | number | No | The port you published the docker container to, defaults to 3000 (For discovery) |
79+
| `LISTEN_PORT` | number | No | The port the nevu server will listen on |
80+
| `DISABLE_TLS_VERIFY` | true/false | No | If set to true, the proxy will not check any https ssl certificates |
81+
| `DISABLE_NEVU_SYNC` | true/false | No | If set to true, Nevu sync (watch together) will be disabled |
82+
| `DISABLE_REQUEST_LOGGING` | true/false | No | If set to true, the server will not log any requests |
83+
| `DISABLE_GLOBAL_REVIEWS` | true/false | No | If set to true, nevu global reviews will be disabled |
8284

8385
## Contributing
86+
8487
Pull requests are welcome for any feature or a bug fix. For major changes, please open an issue first to discuss what you would like to change.
8588

8689
## Development

backend/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
22
# Keep environment variables out of version control
33
.env
4-
/data
4+
/data
5+
/www

backend/package-lock.json

Lines changed: 107 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
"dependencies": {
66
"@prisma/client": "^6.2.1",
77
"axios": "^1.6.8",
8-
"bonjour-service": "^1.3.0",
98
"express": "^4.18.2",
109
"http-proxy": "^1.18.1",
1110
"socket.io": "^4.8.1",
11+
"udp-discovery": "^2.0.2",
1212
"undici-types": "^5.26.5"
1313
},
1414
"devDependencies": {
1515
"@types/express": "^4.17.21",
1616
"@types/http-proxy": "^1.17.16",
1717
"@types/node": "^20.11.16",
18+
"@types/udp-discovery": "^2.0.4",
1819
"prisma": "^6.2.1",
1920
"typescript": "^5.3.3"
2021
},

0 commit comments

Comments
 (0)