Permalink
Browse files

0.9.14

  • Loading branch information...
zynine- committed Feb 27, 2017
1 parent 953847e commit 230d8c11f122b60ecb3f4d52b85789c56ec48e7a
Showing with 29 additions and 12 deletions.
  1. +6 −0 CHANGELOG.md
  2. +10 −8 Contents/Code/__init__.py
  3. +6 −2 README.md
  4. +7 −2 install_ubuntu.sh
View
@@ -1,3 +1,9 @@
##0.9.14 (2017-02-26)
- PMS 1.4.x video codec fix.
##0.9.13 (2017-02-15)
- PMS 1.4.1.3362 Fix.
##0.9.12 (2016-11-07)
- Potential fix for HDHomeRun Prime + Roku 7.5.
View
@@ -1,4 +1,4 @@
# HDHR Viewer V2 v0.9.11
# HDHR Viewer V2 v0.9.14
import time
import string
@@ -8,9 +8,9 @@
from lxml import etree
DEBUGMODE = True
TITLE = 'HDHR Viewer 2 (0.9.12)'
TITLE = 'HDHR Viewer 2 (0.9.14)'
PREFIX = '/video/hdhrv2'
VERSION = '0.9.12'
VERSION = '0.9.14'
#GRAPHICS
@@ -890,7 +890,9 @@ def AddChannelObjectContainer(oc, tuneridx, title, channels, search=False):
#HDTC-2US and transcoding enabled:
if modelNumber=='HDTC-2US' and transcode not in ['default','none']:
videoCodec=VideoCodec.H264
videoCodec=VideoCodec.H264
else:
videoCodec=videoCodec.lower()
# For older firmwares/products.
if audioCodec=='':
@@ -916,15 +918,15 @@ def AddChannelObjectContainer(oc, tuneridx, title, channels, search=False):
# This function is taken straight (well, almost) from the HDHRViewer V1 codebase
###################################################################################################
@route(PREFIX + '/CreateVO')
def CreateVO(tuneridx, url, title, year=None, tagline='', summary='', thumb=R(ICON_DEFAULT_CHANNEL), starRating=0, include_container=False, checkFiles=0, videoCodec='mpeg2video',audioCodec='ac3',transcode='default'):
def CreateVO(tuneridx, url, title, year=None, tagline='', summary='', thumb=R(ICON_DEFAULT_CHANNEL), starRating=0, include_container=False, checkFiles=0, videoCodec='mpeg2video',audioCodec='ac3',transcode='default',includeBandwidths=1):
uniquekey = str(tuneridx)+url
if transcode=='auto':
#AUTO TRANSCODE
vo = VideoClipObject(
rating_key = uniquekey,
key = Callback(CreateVO, tuneridx=tuneridx, url=url, title=title, year=year, tagline=tagline, summary=summary, thumb=thumb, starRating=starRating, include_container=True, checkFiles=checkFiles, videoCodec=videoCodec,audioCodec=audioCodec,transcode=transcode),
key = Callback(CreateVO, tuneridx=tuneridx, url=url, title=title, year=year, tagline=tagline, summary=summary, thumb=thumb, starRating=starRating, include_container=True, checkFiles=checkFiles, videoCodec=videoCodec,audioCodec=audioCodec,transcode=transcode,includeBandwidths=includeBandwidths),
rating = float(starRating),
title = xstr(title),
year = xint(year),
@@ -981,7 +983,7 @@ def CreateVO(tuneridx, url, title, year=None, tagline='', summary='', thumb=R(IC
elif transcode=='default':
vo = VideoClipObject(
rating_key = uniquekey,
key = Callback(CreateVO, tuneridx=tuneridx, url=url, title=title, year=year, tagline=tagline, summary=summary, thumb=thumb, starRating=starRating, include_container=True, checkFiles=checkFiles, videoCodec=videoCodec, audioCodec=audioCodec, transcode=transcode),
key = Callback(CreateVO, tuneridx=tuneridx, url=url, title=title, year=year, tagline=tagline, summary=summary, thumb=thumb, starRating=starRating, include_container=True, checkFiles=checkFiles, videoCodec=videoCodec, audioCodec=audioCodec, transcode=transcode,includeBandwidths=includeBandwidths),
rating = float(starRating),
title = xstr(title),
year = xint(year),
@@ -1007,7 +1009,7 @@ def CreateVO(tuneridx, url, title, year=None, tagline='', summary='', thumb=R(IC
else:
vo = VideoClipObject(
rating_key = uniquekey,
key = Callback(CreateVO, tuneridx=tuneridx, url=url, title=title, year=year, tagline=tagline, summary=summary, thumb=thumb, starRating=starRating, include_container=True, checkFiles=checkFiles, videoCodec=videoCodec, audioCodec=audioCodec, transcode=transcode),
key = Callback(CreateVO, tuneridx=tuneridx, url=url, title=title, year=year, tagline=tagline, summary=summary, thumb=thumb, starRating=starRating, include_container=True, checkFiles=checkFiles, videoCodec=videoCodec, audioCodec=audioCodec, transcode=transcode,includeBandwidths=includeBandwidths),
rating = float(starRating),
title = xstr(title),
year = xint(year),
View
@@ -8,15 +8,19 @@ This is the best method. **HDHR Viewer 2** can be updated easily through the **U
**UAS V2** is available at <https://forums.plex.tv/discussion/202282/unsupported-appstore-v2-as-in-totally-unsupported/p1>
### Method 2 : Manual Installation
Copy **HDHRViewerV2.bundle** to Plex Plug-in Directory.
[How do I find the Plug-Ins folder?](https://support.plex.tv/hc/en-us/articles/201106098-How-do-I-find-the-Plug-Ins-folder-)
a. git clone the the github **HDHRViewerV2.bundle** package to your local system
b. Copy the **HDHRViewerV2.bundle** files to Plex Plug-in Directory.
[How do I find the Plug-Ins folder?](https://support.plex.tv/hc/en-us/articles/201106098-How-do-I-find-the-Plug-Ins-folder-)
note that this info is not 100% foolproof
### Method 3 : Scripts
Run install scripts included. (Limited OS)
## 2. Initial Plug-in Settings/Preferences
Most Plex clients can't access the Plug-in Settings/Preferences. Use Plex/Web to configure it.
Open your browser to the Plex Web Admin page, select Channels, and you should see the HDHR Viewer Icon in the list.
If not, then go back to step 1 and correct the location where you copied the plgin package files
### 0.9.x and above:
Multiple tuners are supported, and tuners are automatically discovered. Tuners can be manually define in **HDHomeRun IP**. You can manually list multiple tuners, with space delimited. See examples below.
View
@@ -1,3 +1,8 @@
#! /bin/bash
cp -R . "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/HDHRViewerV2.bundle/"
plugin_path=~/Library/Application\ Support/Plex\ Media\ Server/Plug-ins
if [ -d "$plugin_path" ]; then
cp -Rf . "${plugin_path}/HDHRViewerV2.bundle/"
else
echo "could not locate the Plex Media Server Plugins folder at ${plugin_path}"
echo "Please correct the path and retry"
fi

0 comments on commit 230d8c1

Please sign in to comment.