[OpenPHT 1.8.0] OpenPlexTheater (Kodi ffmpeg based)

User avatar
father.mande
Posts: 1817
youtube meble na wymiar Warszawa
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

[OpenPHT 1.8.0] OpenPlexTheater (Kodi ffmpeg based)

Post by father.mande »

Hi,

I am please to announce a port of OpenPHT (PlexHomeTheater) 1.8.0 (last) on NAS
MOST IMPORTANT NEWS : ... now based on KODI/FFmpeg official versions ...
... it use a specific HOME FOLDER in /home/newpht1.6/
... please test and return

F.Y.I. first port under Ubuntu will be done near June 8 then June 16 for 1.6.1 ... new ffmpeg 2.8.7 libraries with patches are added (so NO usage of default ffmpeg if exist)
... then port to NAS ... then adapt to NAS architecture ... then do some tests

openpht_64.png
openpht_64.png (8.99 KiB) Viewed 15619 times
Update available from 1.7.1 NOT from previous version (1.5.2 is based on XBMC Frodo (12) ... 1.7 is based on KODI 16) normally you keep your settings available ... you must have to save it (in case of) and you can put it in the NEW FOLDER if you need to restart with your previous settings ...
[Name]
OpenPHT

[Versions]
1.8.0
... update OpenPHT
... solve tearing in menu by using Xorg 10.14.7.R29 Beta + Asportal 1227 Beta

1.7.1

1.6.2.1
... solve a asportal crash (typo error in json file)

1.6.2 : DON'T USE IT ... asportal crash ...
... reintegrate ffmpeg inside the delivery
... read changelog hereafter for OpenPHT release
... now Ubuntu package are available (even not use on NAS) ... so source is more coherent ...

1.6.1.1 :
... initial release

[KNOW RESTRICTIONS / BUGS]
SOLVED ... FLICKERING TEARING in menu ... this problem don't seem to come with OpenPHT ... even if you use Plex Black Edition skin it's reduced ...
... Now we can confirm it's linked to previous Xorg delivery
ONLY tested with AE_ENGINE=ALSA (for Kodi motor audio engine) ... so if you have sound problem :
... 1 think to uncheck audio passthrough ... AND BE SURE to have selected the GOOD audio HDMI output
... 2 suppress it (the AE_ENGINE line) and try

[tested]
on AS5002T with last ADM 2.7 / Last xorg / asportal (beta)
ATTENTION I have not tested the others skin proposed Aeon Nox 5.2.2 ; Aeon Nox 5.2.3 ONLY Plex - Black Edition and default OpenPHT ... up to you to be the first one ...

[CHANGELOG]
[quote]1.8.0
New
- Voice Control (Alexa) support
- Support server terminated playback
- Use music metadata from Streaming Brain
- Only load first 200 items in a photo slideshow
- Addon repository is refresed on start
- Non-working Airplay setting is removed from preferences
- Updates the HIDRemote class to the latest version (thanks @xzcvczx )
- Update german language file (thanks @Eloo )
- Option to display server name instead of user name in home listing (thanks @Fmstrat )
- Updated to ffmpeg 2.8.11
- Embedded: Upgraded to LibreELEC 8.0 base OS
- Embedded: Dropped bundled hyperion
Fixes
- Fixes transcoding issues when using PMS 1.3.x or newer
- Re-downloads theme music if it failed first time
- Fixes a crash in search
- Fixes a crash due to missing openssl locking
- Fixes a memory leak when using ssa subtitles
- Fix pin pad alignment in default skin
Known Issues
- Auto-update of windows portable installs will fail and corrupt your portable install/quote]

[Download]
You can also use : https://www.father-mande.ovh/ (follow link to download section)
APKG 1.8.0 : https://www.father-mande.ovh/A/apkg/ope ... x86-64.apk

APKG 1.7.1 : https://www.father-mande.ovh/A/apkg/ope ... x86-64.apk

have fun.

Philippe.
Last edited by father.mande on Wed Mar 22, 2017 2:06 am, edited 4 times in total.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [OpenPHT 1.6.2] OpenPlexTheater (Kodi 16.1 based)

Post by father.mande »

Hi,

Please find in first post the new version : OpenpHT 1.6.2
Today we announce the release of OpenPHT 1.6.2.
This release includes an important fix for compatibility with Plex Media Server 1.0.0+ and builds for debian, ubuntu and new embedded devices.
New
- Embedded builds for Odroid C2, WeTek Core and WeTek Play
- Special Intel VAAPI embedded build for Sandy Bridge or newer cpu (e.g. NUC, Chromebox)
- Linux builds for debian (jessie) and ubuntu (xenial, wily, trusty)
- Make seek steps configurable in advancedsetting.xml (RasPlex/OpenPHT#92)
- Allow dts audio when dts-hd or ac3 transcode is selected
- Use local server to resolve watch later, recommended and channel clip url
- Add preference option for direct play of hevc videos
- Add preference option for scanning localhost for server
- Add support for mceusb_hauppauge remote (thanks anythingtechaus)
- Improved Italian translation for the default skin (thanks NicolaIsotta)
Fixes
- Fix parse of PMS 1.0.0+ version (RasPlex/OpenPHT#94, RasPlex/RasPlex#514)
- Fix empty line in video setting (RasPlex/OpenPHT#84)
- Fix issue with some watch later and recommended videos
- Fix auto-close of stereoscopic selection dialog
- Fix jumping watch later in default skin
- Embedded/RasPlex: Update to latest hyperion, linux 4.4.14 and latest rpi firmware
Known Issues
- Windows SmartScreen could block the installer, use the Run anyway option to install
- Auto-update of windows portable installs will fail and corrupt your portable install
Have fun
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
tuscani
Posts: 1
Joined: Fri Jul 03, 2015 4:11 am

Re: [OpenPHT 1.6.2] OpenPlexTheater (Kodi 16.1 based)

Post by tuscani »

Hi, I have on my asustor AS5110T / ADM: 2.6.2.R6L2 OpenPHT 1.6.2 installed.
After the installation, the "ASUSTOR Portal shows" just a black screen. I uninstall OpenPHT 1.6.2 and install OpenPHT 1.5.2 If everything is okay...
Sorry for my bad English ;-)
AS5110T / 8GB Ram / 5x 2TB Raid5 / 5x 4TB Raid5 / AS-RC10 Remote Control
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [OpenPHT 1.6.2] OpenPlexTheater (Kodi 16.1 based)

Post by father.mande »

Hi,
tuscani wrote:Hi, I have on my asustor AS5110T / ADM: 2.6.2.R6L2 OpenPHT 1.6.2 installed.
After the installation, the "ASUSTOR Portal shows" just a black screen. I uninstall OpenPHT 1.6.2 and install OpenPHT 1.5.2 If everything is okay...
Sorry for my bad English ;-)
Don't be worry ... all is understandable ... :lol:

I can suggest to you to restart asportal after install 1.6.2 or do the install after a boot ... for some reason (that I don't understand) if you have run some old version of Xbmc (the case with openpht 1.5.2 ... based on Frodo) and if you start the new one (based on Kodi) ... sometimes you are in front of a black screen (even plexhometheater run ... )
if you have some knowledge ... open a console, kill plexhometheater ... restart (relaod) asportal ... restart openPHT
if not ... just try a reboot ... the short way
or if you have 1.5.2 ... uninstall it reboot, install the new version ...

Also things to uninstall 1.5.2 (this is also to clear some old libraries ... that now obsolete ... with kodi 16.1 (inside plexhometheater ... )

Philippe.
NB I fall one time in this situation ... but due to the fact that my AS5002T is my dev. NAS and also my "user" NAS ... I can't clearly split the two
NB2 remember the remarks in the announcement post ... 1.5.2 run as well ... 1.6.2 run well but you can have some tearing / flickering NOT in playback music or video BUT in menu ... it's under investigation (because same binary don't generate this on similar plate-form ... so not easy to debug ...)
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
damien599901
Posts: 575
Joined: Mon Dec 30, 2013 2:53 am

Re: [OpenPHT 1.6.2] OpenPlexTheater (Kodi 16.1 based)

Post by damien599901 »

tuscani wrote:Hi, I have on my asustor AS5110T / ADM: 2.6.2.R6L2 OpenPHT 1.6.2 installed.
After the installation, the "ASUSTOR Portal shows" just a black screen. I uninstall OpenPHT 1.6.2 and install OpenPHT 1.5.2 If everything is okay...
Sorry for my bad English ;-)
Hi Philippe

thanks for your work

The issue is different (1) for me and similar (2)

Explanations
1)
a) if OpenPHT 1.6.2 is enabled => i can't see the icon of OpenPHT (so i can't launch the app)
b) the "arrows" of ASUSTOR Portal have disappeared (probably linked to the c) below)
c) a list of icons has also disappeared (youtube, chrome, chromium, netflix - by ASUSTOR, virtualbox)

2) if OpenPHT is disabled, the screen becomes black. The issue stays : even if all is disabled (x-org, ASUSTOR Portal etc) => black screen with only the "mouse" icon

3) the only way to solve the point number 2 : reboot the NAS + uninstall and reinstall all the apps : ASUSTOR Portal + x-org + remote center + webbrowser etc

4) No issue with OpenPHT 1.5.2

FYI NAS AS7004T (Haswell CPU)
Storage: AS7004T & AS5002T
Network: FREEBOX REVOLUTION V6
Laptop: Apple MACBOOK Pro OS X El Capitan & Windows 10
Media Player: ASUSTOR NAS with Kodi 16 Beta & HD_Engine 1 (thanks Fathe_Mande)
Portable: iPhone 6S Plus, iPad Mini 2 & iPad Air
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [OpenPHT 1.6.2] OpenPlexTheater (Kodi 16.1 based)

Post by father.mande »

Hi Damien,

I don't understand ... because I can't reproduce it ...
I will try to clean my AS5002T and redo a full clean install just to be sure

If your screen is black ... with mouse it's just Xorg running (ex. you have a short time this when switching from Asportal to hx-engine)
So perhaps the problem is linked to asportal ? is it same as in AS5002T ?
OpenPHT is a "normal" Asportal application ... so no way to kill asportal itself ??? easy to verify by looking in the asportal folder in APKG folder

If OpenPHT is running (look in a console) , try just to kill it and disable OpenPHT by command line and , then reload asportal

If you know how :
... if plexhometheater run (verify in a console) ... can you before killing it get plexhometheater.log and Xorg.0.log and provide it here ...

Perhaps linked to an Xorg different libraries linked to IGP ???

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [OpenPHT 1.6.2] OpenPlexTheater (Kodi 16.1 based)

Post by father.mande »

Hi,

OK ... I have a similar problem ... but I don't understand why ... because OpenPHT is NOT started ... so it's internal to asportal ... one thing break it ... but I don't know where are asportal log ...

SO I cancel it for the moment ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [OpenPHT 1.6.2] OpenPlexTheater (Kodi 16.1 based)

Post by father.mande »

Hi,

OK I have discover the problem ... no need to kill all or uninstall

it's an error (I have already fall in) due to the fact that asregister (Asustor asportal program that register the applications) that segfault ... because asregister DON'T CHECK the syntax of the json file supply with application ...

In this case it's a (simple) typo error : (you can see an extra " in the name line )

Code: Select all

root@AS5002TaPhil:/volume1/.@plugins/AppCentral/openpht/asportal # cat openpht.json
{
    "app":{
        "name":"OpenPlexHomeTheater" 1.6",
        "icon":"/usr/local/AppCentral/openpht/asportal/openpht.png",
        "envi":"/usr/local/AppCentral/openpht/CONTROL/env.sh",
        "exec":"/usr/local/AppCentral/openpht/run_openpht.sh",
        "desc":"Currently PlexHomeTheater can be used to play almost all of the popular audio and video formats FROM a PLEX media server. It was designed for network playback allowing you to stream multimedia directly from your NAS via HDMI to any monitor or directly from the internet using practically any protocol available.",
        "show":"true",
        "ctrl":"xbmc"
    }
}
This typo error not managed (no check syntax) is provide as is to the libjson.so ... that crash ...

I have no possibility to add syntax check to asregister :lol: :lol: but I can solve the problem by deleting the extra "

Please wait for new version
... if not just do in a console :
edit the file and suppress the extra " ; then ... reload asportal ( /usr/local/AppCentral/asportal/CONTROL/start-stop.sh reload )

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [OpenPHT 1.6.2] OpenPlexTheater (Kodi 16.1 based)

Post by father.mande »

Hi,

New version with correct .json file ... is available for download in first post (update is possible )

version : OpenPHT 1.6.2.1

Apologize again ... I have to recheck my "auto generation tools" ... that created to generate result for multiple NAS models ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
damien599901
Posts: 575
Joined: Mon Dec 30, 2013 2:53 am

Re: [OpenPHT 1.6.2] OpenPlexTheater (Kodi 16.1 based)

Post by damien599901 »

hi Philippe

by adding the support of the asustor remote control (and/or airemote) this app could be better again + and/or your version of X-org in one app if necessary
Same thing for filezilla (about the remote)

BR
Storage: AS7004T & AS5002T
Network: FREEBOX REVOLUTION V6
Laptop: Apple MACBOOK Pro OS X El Capitan & Windows 10
Media Player: ASUSTOR NAS with Kodi 16 Beta & HD_Engine 1 (thanks Fathe_Mande)
Portable: iPhone 6S Plus, iPad Mini 2 & iPad Air
Post Reply

Return to “OpenPlexHome Theater”