49cb564d14
* par is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
16 lines
680 B
Diff
16 lines
680 B
Diff
--- a/src/player/CodecsComponent.cpp 2020-05-19 19:32:23.000000000 +0200
|
|
+++ b/src/player/CodecsComponent.cpp 2020-07-28 08:00:34.966060781 +0200
|
|
@@ -684,9 +684,11 @@
|
|
{
|
|
Downloader::HeaderList headers;
|
|
QString auth = SystemComponent::Get().authenticationToken();
|
|
+ QString prod = WITH_CODECS ? "Plex Media Player" : "openpmp";
|
|
+ QString plat = "Konvergo";
|
|
if (auth.size())
|
|
headers.append({"X-Plex-Token", auth});
|
|
- headers.append({"X-Plex-Product", WITH_CODECS ? "Plex Media Player" : "openpmp"});
|
|
- headers.append({"X-Plex-Platform", "Konvergo"});
|
|
+ headers.append({"X-Plex-Product", prod});
|
|
+ headers.append({"X-Plex-Platform", plat});
|
|
return headers;
|
|
}
|