[PROJECT] OpenHT

http://forum.kodi.tv/showthread.php?tid=158880

add copy paste please ;)

Night Skin already has this feature for some channels but I assume you already knew that. Yes, I might add additional features like that but before I do so I want to have a stable build environment and beta clients up for OSX, Windows and Linux ... (btw. OSX beta client will be available for testing this week)

OSX beta client? OSX beta client? This week officially ended 15h ago...  :D

Can't wait to try this! Thanks for making this a reality!

BTW:

Could UI support for 3D modes also be possible with openPHT? With Kodi the UI (Menus, etc.) display correctly when switching 3D-modes like side-by-side (SBS).

OSX beta client? OSX beta client? This week officially ended 15h ago...  :D

Can't wait to try this! Thanks for making this a reality!

Well, sometimes things don't work out as planned :-)

BTW:

Could UI support for 3D modes also be possible with openPHT? With Kodi the UI (Menus, etc.) display correctly when switching 3D-modes like side-by-side (SBS).

No, not without updating the xbmc/kodi core ... PHT is still based on frodo and I suppose it's not going to change anytime soon.
 
Beta is up but don't expect too much ... it's still a long way to go.
(hint: white background/dialogs = not skinned yet)

* Ubuntu 14.04 package is now available for download ...

I haven't setup a ubuntu 14.10 build environment for testing yet, I'm not sure but this package might also work with ubuntu 14.10 ... for those who want to test it, let me know if/how it works.

Windows build will follow (hopefully) early next year  :)

Great! I'm not running Ubuntu 14.04 atm, but i'm willing to test in a virtual machine. Looking forward to the windows client build.

* Ubuntu 14.04 package is now available for download ...

I haven't setup a ubuntu 14.10 build environment for testing yet, I'm not sure but this package might also work with ubuntu 14.10 ... for those who want to test it, let me know if/how it works.

Windows build will follow (hopefully) early next year  :)

First of all, big thanks for this great effort!!!

I cannot download, I am getting connection time out. Is this only on my side? Anyone else?

I cannot download, I am getting connection time out. Is this only on my side? Anyone else?

My bad (typo in URL), try again ...

My bad (typo in URL), try again ...

Thanks, now is OK, I had already a taste at the mac version, but my main player is Ubuntu. I will play longer with this one…

Ok. I've installed the Mac beta and played with it. Installed Kodi addons which seem to work pretty good.

One big issue i have is the extrem slowness when accessing PMS data. Everything keeps loading forever an ever before being displayed. Fanart, Deck items on home screen and all library sections.

One big issue i have is the extrem slowness when accessing PMS data. Everything keeps loading forever an ever before being displayed. Fanart, Deck items on home screen and all library sections.

That's weird, make sure that your PMS/Network connection isn't busy ... OpenPHT uses different directories to store cache and other data, so when you first start it openpht has to pull every image/cover from the server but even that shouldn't cause your problem.

If you are sure that your PMS/Network is working fine and you still have this problem every time you start openpht then please "enable debug" and send/pm me your logs.

thanks!

Any timetable for Live TV working ? 

Really looking forward to migrating away from MCE someday :-)

Thanks so much for adding dvd support. Will test it out next week when I setup my new system.



Sent from my iPad using Tapatalk

Any timetable for Live TV working ? 

Really looking forward to migrating away from MCE someday :-)

No, not really ... that depends on how much (free)time I have to work on it and to be honest it could take a while. It's hard to spend even more (free)time on my plex projects without financial support as things are getting more complex and time consuming. 

I will try my best to drive this project forward and work on it as often as I can ...

Dude this is one of the greatest things I've read. I await with baited breath for the windows build. thanks a bunch for doing this.

I’ve just attempted to test the Ubuntu package of OpenPHT under ‘VMware Workstation 10’ using a VM running Ubuntu 14.04 LTS (64-bit), but I run into two issues. One of these is probably of no importance and can be ignored, though I report it here for completion.

When installing the ‘.deb’ package through the Ubuntu Software Center, I got a complaint about ‘Bad package’ as shown in the screenshot below:
post-96491-0-52647900-1420395679.png
Unfolding the “Details” info showed the following text.

Lintian check results for /home/ronald/RA_temp/OpenPHT-0.1~ubuntu14.04_amd64.deb:
E: openpht: maintainer-name-missing support@openpht.org

Use of uninitialized value $name in pattern match (m//) at /usr/share/perl5/Lintian/Check.pm line 203.

I chose to ignore the problem and complete the installation anyway, which seemed to work properly.

Unfortunately the second issue is much more serious, preventing program use:

After the installation I copied the launch icon of OpenPHT to my taskbar (just as I’ve previously done with the icon for normal PHT), but when I attempt to launch the program nothing much happens. The only result I can see is that the icon background flashes yellow a few times, which stops after appx 5 seconds, with no other results at all.

I’ve also tried launching OpenPHT directly from Unity’s application search window, with similar lack of results (that window closes on clicking, so I didn’t even see any icon flashing).

I’m not sure what I could have done wrong, but am open to suggestions.

Edit:
I’ve now made additional tests using two OSX VMs similar to the above Ubuntu VM, so as to test the OSX release package of OpenPHT under both Mavericks and Yosemite, which tests worked fine. So the problem I had earlier seems specific to the Ubuntu package.

Best regards: dlanor

When installing the '.deb' package through the Ubuntu Software Center, I got a complaint about 'Bad package' as shown in the screenshot below:

Thanks for the info! I tested/installed the package with "dpkg -i" which worked without errors, didn't notice that ubuntu software center has additional .deb checks in place, will fix that in the code ...
 

I've also tried launching OpenPHT directly from Unity's application search window, with similar lack of results (that window closes on clicking, so I didn't even see any icon flashing).

I'm not sure what I could have done wrong, but am open to suggestions.

  • Is PHT running on the same vm host without problems? (if PHT isn't working it's very likely that openpht won't work either)
  • Please open a terminal (within X) and enter "/usr/bin/openpht.sh", copy/paste output here (my guess is you might be missing some dependencies or I forgot to add them in the package requirements)

Is PHT running on the same vm host without problems? (if PHT isn't working it's very likely that openpht won't work either)

I agree with your reasoning on this, but standard PHT runs fine on the same VM. I installed it several versions ago, and have since then autoupdated it several times, currently running PHT 1.3.5.dev-git.
 

Please open a terminal (within X) and enter "/usr/bin/openpht.sh", copy/paste output here (my guess is you might be missing some dependencies or I forgot to add them in the package requirements)

That does seem to be the case, as that terminal window command immediately terminated with an error message complaining about a missing file.

The entire terminal window session looked like this:
ronald@ubuntu:~$ /usr/bin/openpht.sh
/opt/openpht/bin/plexhometheater: error while loading shared libraries: libpcrecpp.so.0: cannot open shared object file: No such file or directory
ronald@ubuntu:~$ 
Presumably your Ubuntu test system already has that file installed from some earlier work, so that you never see this error in your own testing.

Best regards: dlanor
ronald@ubuntu:~$ /usr/bin/openpht.sh
/opt/openpht/bin/plexhometheater: error while loading shared libraries: libpcrecpp.so.0: cannot open shared object file: No such file or directory
ronald@ubuntu:~$ 
Presumably your Ubuntu test system already has that file installed from some earlier work, so that you never see this error in your own testing.

Best regards: dlanor

I see, just install the package "libpcrecpp0" (sudo apt-get install libpcrecpp0) and try again ... will add this to the package dependencies, please report back if there are more missing shared libraries after you installed libpcre. thanks!

I see, just install the package "libpcrecpp0" (sudo apt-get install libpcrecpp0) and try again ... will add this to the package dependencies, please report back if there are more missing shared libraries after you installed libpcre. thanks!

Installing that libpcrecpp0 package fixed the main issue, so that OpenPHT now starts without problems in this Ubuntu VM.

What I've tried so far mostly works fine, with just one exception.
The mouse support seems rather broken.

When I enable the mouse (and touch) support in Preferences > System > Input devices, I do get a mouse pointer, but it does not move correctly on screen, but rather 'flickers' between widely spaced positions, even for very slight movements of the physical mouse, but mostly returning to the top left corner. This makes it completely unusable, and even interferes with keyboard operation when not trying to use the mouse, as even the slightest vibration of the desk can cause a single pixel movement of the physical mouse, sending the mouse pointer into some significant area (like left screen edge of home menu) causing a switch of the keyboard command context to a side menu.

Note that this problem is similar to what I get if I enable the mouse for standard PHT on this Ubuntu system, by editing the guisettings.xml file in the subfolder "~/.plexht/userdata/" so it is possible that you 'inherited' this problem from original PHT source for Ubuntu.

That said, I should emphasize that the problem is Ubuntu-specific.
The mouse works fine with standard PHT in Win7 and in OSX VMs, and in the latter it also works fine with OpenPHT, except for the limitation of left-clicks not working in main menu. That too is probably inherited from standard PHT, where I cure it with a custom 'mouse.xml' file. But I'm not sure exactly where to put such a file for OpenPHT, nor do I know whether the one I use would be directly compatible without changes.

I'm attaching it to this post in a ZIP file, in case you want to check it for compatibility.
But it's not involved in my testing of OpenPHT so far, since I wasn't sure either of placement or suitability.
Suggested 'mouse.xml'.zip (406 Bytes)

Best regards: dlanor

Did you install VMware Tools in the VM?