Merge pull request #3 from DEFENDORe/master

bring dev up to date
This commit is contained in:
Austin Tinius 2020-05-14 15:50:20 -07:00 committed by GitHub
commit 3c49aed633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 10 deletions

View File

@ -1,6 +1,3 @@
This is a fork from the official gitlab at https://gitlab.com/DEFENDORe/pseudotv-plex
# pseudotv-plex
PseudoTV is a Plex DVR plugin. It allows you to host your own fake live tv service by dynamically streaming media from your Plex servers(s). Your channels and settings are all manged throught the PseudoTV Web UI.
@ -74,7 +71,7 @@ docker run --name pseudotv -p 8000:8000 -v C:\.pseudotv:/home/node/app/.pseudotv
#### Unraid Install
Add
```
https://github.com/powdermilkman/pseudotv
https://github.com/DEFENDORe/pseudotv
```
to your "Template repositories" in the Docker tab.
Click the "Add Container" button

View File

@ -1,8 +1,8 @@
<?xml version="1.0"?>
<Container version="2">
<Name>pseudotv</Name>
<Repository>powdermilkman/pseudotv:latest</Repository>
<Registry>https://hub.docker.com/r/powdermilkman/pseudotv</Registry>
<Repository>defendore/pseudotv:latest</Repository>
<Registry>https://hub.docker.com/r/defendore/pseudotv</Registry>
<Network>host</Network>
<MyIP/>
<Shell>bash</Shell>

View File

@ -1,8 +1,8 @@
<?xml version="1.0"?>
<Container version="2">
<Name>pseudotv</Name>
<Repository>powdermilkman/pseudotv:latest</Repository>
<Registry>https://hub.docker.com/r/powdermilkman/pseudotv</Registry>
<Repository>defendore/pseudotv:latest</Repository>
<Registry>https://hub.docker.com/r/defendore/pseudotv</Registry>
<Network>host</Network>
<MyIP/>
<Shell>bash</Shell>

View File

@ -122,7 +122,7 @@ module.exports = function ($http, $window, $interval) {
}
if (program.type === 'episode' || program.type === 'movie') {
program.file = `${server.protocol}://${server.host}:${server.port}${res.Metadata[i].Media[0].Part[0].key}?X-Plex-Token=${server.token}`
program.opts = { deinterlace: false, videoIndex: '-1', audioIndex: '-1', subtitleIndex: '-1' }
program.opts = { deinterlace: false, videoIndex: '-1', audioIndex: '-1', subtitleIndex: '-2' }
}
if (program.type === 'episode') {
program.showTitle = res.Metadata[i].grandparentTitle
@ -156,4 +156,4 @@ function msToTime(duration) {
seconds = (seconds < 10) ? "0" + seconds : seconds;
return hours + ":" + minutes + ":" + seconds + "." + milliseconds;
}
}