Commit Graph

69 Commits

Author SHA1 Message Date
Tobias Hieta
063e870ecc Bump required CMake version to 3.1.0.
Earlier versions did not include CXX_STANDARD that we use to figure out
what compiler flags needs to be used.
2015-10-26 08:16:31 +01:00
Daniel Eriksson
820e02f42b Fix drunken error for decrease_audio_delay
The lack of the two \\ caused the decrease_audio_delay not to work.
2015-10-26 01:06:36 +01:00
Lionel CHAZALLON
e768dc55e0 Add a setting to disable the mouse, part of #46 2015-10-24 09:53:11 +02:00
Chris Lee
e036fd413a Add detailed Linux build instructions to README
Other README changes are probably warranted, but this should help Linux
users build the new Plex Media Player.

Plex-CLA-1.0-signed-off-by: Chris Lee <clee@mg8.org>
2015-10-23 17:47:21 +02:00
Tobias Hieta
102afdd4e1 Automatic update of web-client 2015-10-23 14:48:12 +02:00
Tobias Hieta
cbfb121f8d If the web server can't start it should not be a fatal error.
Fixes #44
2015-10-23 13:14:14 +02:00
Tobias Hieta
fb3c4452c9 Remove debug code. 2015-10-23 13:11:25 +02:00
Tobias Hieta
0f13034b04 Log more information when we can't bind to UniqueApplication socket
Related to #45
2015-10-23 13:07:45 +02:00
Vincent Lang
9a6272a296 Bump deps 2015-10-22 15:39:36 +02:00
Vincent Lang
b09f3222ef Experimental better alt+-tab handling on Windows
Unconfirmed if/how well this works.
2015-10-22 15:39:25 +02:00
Vincent Lang
2380dbcd45 Use exclusive audio by default on OSX
Should solve the USB audio issues. But is equally likely to cause entire
new classes of problems, as this mode is not well-tested. On the other
hand, this uses the same OSX API as PHT, so it might be easier to match
user expectations.

With non-exclusive mode, the change-physical-format option ruins
everything for us if the OSX USB audio driver is used. It's a pretty
nasty issue that has a low chance of getting fixed properly. As we now
rely on exclusive mode for multichannel PCM, this option is not really
needed anymore, and we remove it to avoid further problems, should the
user select non-exclusive mode.
2015-10-22 15:39:25 +02:00
Vincent Lang
e7ebd72246 Disable hardware decoding by default on most platforms
Appears to cause heavy problems in some cases. Until this is fixed, I'd
rather require users to enable it manually, instead of having _all_
users run into potential issues.
2015-10-22 15:39:25 +02:00
Vincent Lang
ad0347d191 Add a mechanism for per-platform defaults
So we can have different default settings on different target platforms.
2015-10-22 15:39:25 +02:00
Vincent Lang
592af53b5d Do not show channel count on debug overlay when using passthrough
This usually showed "stereo" output when passthrough was enabled, and
without any context that it was using passthrough. Pretty misleading.
2015-10-22 15:39:25 +02:00
Vincent Lang
b2e23d7c53 Fix potential crash in restorePreviousVideoMode()
We did get a crash upload about it. And indeed, the display and/or mode
list can asynchronously change, making these IDs invalid. Verify them
before doing anything. The "correct" fix would probably be getting rid
of these IDs, but this will have to wait for later.

Also, the DisplayManager::isValid* methods erroneously accepted negative
IDs as valid, which is definitely wrong. (No, the QMap.size method does
not return an unsigned integer either.)
2015-10-22 15:39:25 +02:00
Vincent Lang
6b105231ab Put display FPS on debug overlay
It prints two numbers; one detected by PMP, and the one we told to
libmpv. Unless there's some sort of bug, unless something broke. (This
is a debug overlay, so we want to know about such cases.)

On RPI, libmpv also does its own FPS detection.
2015-10-22 15:39:25 +02:00
Vincent Lang
556a0e63e3 Do not force a specific subtitle charset prober
libmpv has autodetection by default, and it's not necessarily enca.
(uchardet is better.)
2015-10-22 15:39:25 +02:00
Tobias Hieta
6fe01e8a30 Adjust debug overlay margins
Use 64 for left/right margin and 54 for top/bottom.

Fixes #34
2015-10-22 15:27:01 +02:00
Tobias Hieta
737f9eb4fc Force the directory for installation to c:\program files
This is most likely not 100% correct, because we should use an
environment or ship a 64 bit installer instead, but for now it will
have to make due.
2015-10-22 15:17:42 +02:00
Tobias Hieta
50f1a6c280 Hopefully fix the Windows 7 check in the installer. 2015-10-22 15:16:59 +02:00
Tobias Hieta
8c72022b74 Try to limit the windows installer to Windows 7 or higher and only 64Bits 2015-10-22 11:20:44 +02:00
Tobias Hieta
95dd151731 Rename windows binary to end with x86_64 instead of x86
We are 64bit only.
2015-10-22 11:15:07 +02:00
Tobias Hieta
64e48a7f67 Bump version to 1.0.1 2015-10-22 11:14:48 +02:00
Tobias Hieta
53192cb022 Revert "Update updater.exe for Windows"
This reverts commit 3309cb23af.
This created problems with updating on windows. We need to revert
for release and then revisit this later.
2015-10-20 17:07:48 +02:00
Tobias Hieta
cd80d81135 Gate update channel based on your plex.tv role 2015-10-20 15:51:03 +02:00
Tobias Hieta
1e703f0cf3 Default fullscreen to true 2015-10-20 15:26:22 +02:00
Vincent Lang
60d3d7eb69 Disable display reinitialization on start on RPI by default
This can put PMP/Qt into an endless loop of crashing and restarting on
some systems. The reason is unknown (possibly due to the kind of unclean
way we restore the graphics state on RPI), so disable it to be on the
safe side for now.
2015-10-20 15:09:52 +02:00
Vincent Lang
74454c4813 Log SSL errors 2015-10-20 13:33:17 +02:00
Vincent Lang
7f54170aaf Revert "Ignore SSL errors when uploading crash dumps on OpenELEC"
This reverts commit 06fb7e0d64.

Let's see whether it works now.
2015-10-20 13:26:55 +02:00
Tobias Hieta
5cc52744e6 Add release notes for 1.0.0 2015-10-20 12:51:58 +02:00
Tobias Hieta
06fb7e0d64 Ignore SSL errors when uploading crash dumps on OpenELEC 2015-10-20 12:44:20 +02:00
Tobias Hieta
9cfb07071d Automatic update of web-client 2015-10-20 12:16:38 +02:00
Vincent Lang
b31b05d48a Log breakpad server HTTP status code 2015-10-20 12:08:32 +02:00
Vincent Lang
cb28e77910 Always overwrite/create the config file if it could not be loaded
Instead of doing this at a random later point. (Or risking that it
doesn't happen at all.)
2015-10-20 11:31:31 +02:00
Vincent Lang
8f19b06385 Separate saving the settings config file
Instead of having a single save() method with a bool parameter, split it
into 2 separate functions. This doesn't really increase code
duplication, as the code was already pretty much duplicated, and makes
it clearer what is happening on the caller site.

Add a saveSection() function, which decides which config file should be
written depending on which file the section belongs to.
2015-10-20 11:31:31 +02:00
Tobias Hieta
0d4282a6b3 Remove certification skipping 2015-10-20 10:37:06 +02:00
Tobias Hieta
e1e52428e6 Switch crash upload URL 2015-10-20 09:54:13 +02:00
Vincent Lang
1b68b6e4a4 Bump deps 2015-10-20 00:59:01 +02:00
Vincent Lang
bd958b2ddd Add a hidden setting for disabling HDMI auto power on on RPI
Some users want to run with "hdmi_ignore_cec_init=1" (in RPI's
config.txt). This disables automatically switching on HDMI on boot. Our
PMP code does something similar, and essentially negates the
hdmi_ignore_cec_init setting. So there's a need to allow the user to
disable the PMP code too.

(We could also try to retrieve the firmware hdmi_ignore_cec_init setting
somehow, potentially by parsing config.txt, but let's not for now.)
2015-10-20 00:28:31 +02:00
Tobias Hieta
7b91f4a160 Removed some uneccessary log statements 2015-10-19 21:12:16 +02:00
Tobias Hieta
51b83f47e4 Automatic update of web-client 2015-10-19 13:02:14 +02:00
Dom Crayford
3e36562ee7 Add autoupdate optin/out setting 2015-10-19 11:57:39 +01:00
Tobias Hieta
3309cb23af Update updater.exe for Windows 2015-10-19 11:05:54 +02:00
Tobias Hieta
34ac2476a3 Automatic update of web-client 2015-10-19 09:49:08 +02:00
Chris Allen
e03570a40a Update Apple Remote input map
Add support for the silver Apple Remote play button.
2015-10-19 16:53:11 +13:00
Chris Allen
77f69bcbb9 Send lowercase "pc" Device-Class 2015-10-18 03:55:36 +13:00
Vincent Lang
e4bcabe3f4 Bump deps
('Im not even sure if I still need to do this.)
2015-10-16 17:37:37 +02:00
Vincent Lang
b1f762bc39 RPI: Update display mode list after powering on
The list could be empty or stale. Hopefully fixes the following case:
1. Switch RPI off
2. Remove HDMI cable from RPI
3. Switch RPI on, wait until PMP has started
4. Plug in HDMI cable
5. Screen remains off
2015-10-16 17:26:00 +02:00
Vincent Lang
4129e05f11 Add compatibility hack for newer mpv builds
libmpv did not rebase mkv stream timestamps so that the stream starts at
timestamp 0 (unlike for .ts files and such). This was fixed, but
unfortunately web-client now relies on this mpv bug. Add this hack so
that it can be fixed later, instead of breaking transcode seeking.
2015-10-16 17:26:00 +02:00
Tobias Hieta
1ba36139c7 Automatic update of web-client 2015-10-16 17:18:55 +02:00