[APKG PlexMediaPlayer v 1.3.12] END move to PMP2 2.4.1

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

[APKG PlexMediaPlayer v 1.3.12] END move to PMP2 2.4.1

Post by father.mande »

Hi,

I am please to post here the first update for PlexMediaPlayer to Version 1.3.12
======
Due to some big mistake in previous PMP 1.2.3 and less ... you can't easily get your previous settings in case of update (read post where I announce this version)
BETTER is to restart from zero ... just get you settings to reintroduce them (short list)
sorry for the inconvenience
======
icon
icon
plex-90_enable.png (19.92 KiB) Viewed 14338 times
[Name]
pmp (for PlexMediaServer]

[Versions]
changelog : https://forums.plex.tv/discussion/19008 ... dia-player
1.3.12
... Desktop web-client updated to 3.29.7

1.3.11
NEW:
... Desktop web-client updated to 3.26.2
... Bumped deps
... lib mpv updated to 1.26
FIXED:
... (Desktop) Seeking while transcoding
... (macOS) Fullscreen UI corruption

1.3.10
... Desktop web-client updated to 3.21.2
... Bumped deps
FIXED:
... Ghosting effect with some files
... (Desktop) Library scanning alerts appearing over video

1.3.9
... TV web-client updated to 3.13.3
... Fixed Scaling issues on 4k screens

1.3.8
... update 1.3.6 and 1.3.7 exist only very few days ... so go to 1.3.8 directly

1.3.5.1
... update of apkg structure and scripts to be able to run PMP 2 BETA (PlexPass user only) in parallel on same system
... transfer your settings manually from 1.3.5 to 2.1.0 if you needed to have like an update with Beta
... ... BUT preferred is start from scratch (not a big deal)
UPDATE IS MANDATORY to be able to use BETA also ... in other case you can wait for next version

1.3.5
... update pmp
... keep using Qt 5.9
... update mpv (player library) to 1.0.25

1.3.4
... update Web
... update to QT 5.9 that seems to solve some screen size display problems ...

1.3.2
... update web desktop
... fix casting to pmp (desktop)

1.3.1.1
... add NEW MODE to solve some problem when PMP don't start correctly in TV mode
... use /usr/local/AppCentral/pmp/CONTROL/start-stop.sh set_mode scaletv ... to test it
... replace 1.3.1 download (absolutely same code ... only one more option)

1.3.1
... OFFICIAL version back to Qt5.7
... APKG :
... ... restructure the APKG to be compliant with one shared code source for other brand (reduce building delay)
... ... update some obsolete libraries provide by Asustor (so now generate symbol error on new applications)

1.3.0
... update pmp
... use last mpv library and program
... reverse to Qt5.7 (Qt5.8 support is stopped for the moment Qt.io) ... thanks to Plex.tv team for their help
ATTENTION ... always try first with TV mode before reverting to scale mode (so use start-stop.sh to set it)
F.Y.I. remember that TV or Desktop (scale or NOT) ALL are Web interface (JavaScript + CSS) with an internal server (conan)
... ALL mode use mpv to play music, movies, etc.
... So choosing TV mode is for aesthetic (BUT important for non technical users) or to have the better access to PMP settings

1.2.5
... update pmp, mpv and libraries
... solve a BIG MISTAKE in where are settings and logs ... (sorry)

1.2.3 (Final)
APKG 1.2.3.2
... final release 1.2.3

1.2.3 RC1
APKG 1.2.3.1 (1.2.3.RC1)
- Support added for Xorg R29 / Asportal 2.0.3.R1227 MANDATORY to run under this versions ...

APKG 1.2.3.0 (1.2.3.RC1)
NEW:
- Desktop web-client updated to 3.0.1
- TV web-client updated to 2.13.1
- Add an experimental setting to force what screen PMP should be shown on in fullscreen
- Add experimental refreshrate.avoid_25hz_30hz and audio_delay.50hz hidden settings
FIXES:
- (Desktop) Mark as watched/unwatched not working on recently played items
- (Desktop) Added exit fullscreen button for Windows users
- (Desktop) Fixed translations
- (OSX) Improvements to cursor hiding
- (OSX) Fix display mode switching and display mode determination not working (by FrostedMint)
- (Windows) Disable HIDPI scaling to avoid certain problems
- Fixes to autorepeat handling (includes fixing accidental pausing when starting playback)
1.2.2
... update PMP

1.2.1
... update PMP
... update Qt to 5.7.1
... add shell option to change the start mode
... ... PMP support multiple start mode :
... ... ... tv ... it's normal mode for your Asustor (Media Player)
... ... ... desktop ... default ... use web interface need Chrome to be installed
... ... ... none ... (let PMP choice)
... ... ... scale (real desktop scale format) ... use this mode ONLY if PMP start but display nothing (in fact out of the visible screen) ... this is a workaround waiting for a full solution ... this exist only on some specific hardware and driver (none on my AS5002T) Plex dev. team works on this problem IF YOU DON'T HAVE THIS PROBLEM ... DON'T USE IT
To set the mode if needed do :
/usr/local/AppCentral/pmp/CONTRIL/start-stop.sh set_mode [tv|desktop|none|scale]
default at install : tv
RETURN to TV mode using the internal settings menu ... so after it use tV mode normally ...

1.2.0
... free version (no more Plexpass for all)
... add multiple interface
... be attention than official version don't exist for Linux ... but this build is 100% the github code
ATTENTION in some case you can start (even in Asportal) with the included Web Interface ... in this case do : switch in TV mode on the upper left menu
then if P.M.P. don't restart by itself ... Disable it in App Central menu then Enable it again ... I will work on a patch to select TV mode as soon as possible.

1.1.7
... update of PlexMediaPlayer
... read changelog on PlexMediaPlayer preview forum (PlexPass)
... update from QT5.6 to QT5.7

1.1.6-1
... update of PlexMediaPlayer
... read changelog on PlexMediaPlayer preview forum (PlexPass)
... ADD support of Asustor Remote Control
... ... arrows, OK=Enter, Back=Escape ... unfortunatly P.M.P. don't manage the default button when enter ... so you have to move the mouse to the button to activate it

1.1.4-1
APKG bug solved :
... add link to Xserver keyboard folder (so previous patch are not needed any more)
APKG news :
... MOVE .plexmediaplayer ($HOME) and plexmediaplayer ( $HOME/.local/share/ ) to the APKG folder /usr/local/AppCentral/pmp/home/
... ... this is to prevent lost of your settings in case of new A.D.M. for ex.

1.1.4 PLEASE STOP using this version
initial release for Asustor

[Prerequisites]
Xorg
Asportal

[Delivered]
plexmediaplayer binary (and pmhelper)
large MVP library (include it own ffmpeg3)
Qt5.7.0 (1.1.7 version)(reduced no Docs no Examples) but stay large. QT5.7.0 is complete and can be use independently of pmp (if you need it for your own)

[Sources & Build]
All have been compiled from Github source : https://github.com/plexinc/plex-media-player
... Licence for plexmediaplayer can be get in the github and in delivery
... License for QT are in the delivery
Build have been done on Ubuntu 14.04 + adding specific requirements ... with target prefix : /usr/local/AppCentral/pmp
APKG have been build on AS5002T with specific ad-dons (library missing)
Some libraries (Samba for ex.) have been modded (change RPATH) to don't conflict (versioning) with Asustor delivery

[Tested on]
incomplete test (I don't paid for a Plex Pass)
... it's not too expensive BUT I paid for a lot of things need only for integration ... one more again ... is too much ... I will buy one if error are too complicated to solve
Model : AS5002T
ADM : 2.7.0 RF72
... but I think it can run in 2.5 and more

[Support]
Plex Forum (if you have Plex Pass)
Plex Advanced configuration : https://support.plex.tv/hc/en-us/articl ... figuration
... the personal and settings files are in Asustor in : /usr/local/AppCentral/pmp/home (LOGS are also in)
General information : https://support.plex.tv/hc/en-us/sectio ... dia-Player
... please remember that I have a limited experience using this Player (no Plex Pass)
FIRST verify the limitation of this Player on Plex.tv site ... don't ask to me :roll:

[Update]
from 1.1.4 to 1.1.4-1
... please get a copy or an archive of
... /root/.plexmediaplyer and /root/.local/share/plexmediaplayer FOLDERS in a safe place (in case of)
... now (and normally AUTOMATICALLY) this folder will be move to /usr/local/AppCentral/home/


[Download]
APKG 1.3.12 : https://www.father-mande.ovh/A/apkg/pmp ... x86-64.apk

APKG 1.3.11 : https://www.father-mande.ovh/A/apkg/pmp ... x86-64.apk

Attention the size is large

Have fun, report here (or in new post to don't mix problems)
Philippe.
NB this represent hours and hours of works ... so please be indulgent ... and remember I propose the package but I am not responsible for the product ... :lol:
Last edited by father.mande on Tue Feb 20, 2018 4:54 pm, edited 27 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: [APKG PlexMediaPlayer] ALPHA (need a plex pass)

Post by father.mande »

Hi,
==== NOT need after 1.1.4-1 update

Due to an error ... keyboard seem to not be supported ... to solve this up a new version :
it's a missing link to X11 folder of Xorg
open a console (root / your_password)
cd /usr/share
ln -s /usr/local/AppCentral/xorg/usr/share/X11


It's all ... but this can be lost at reboot (T.B.C.) or after an update in all case ... be attention

Apologize to all tester ...
Philippe.
Last edited by father.mande on Wed Oct 05, 2016 6:47 pm, edited 1 time 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: [APKG PlexMediaPlayer] ALPHA (need a plex pass)

Post by father.mande »

Hi,
==== NOT need after 1.1.4-1 update

To make the patch (to have keyboard permanent) you can do the modification in one file
cd /usr/local/AppCentral/pmp/CONTROL
use your preferred editor (ex. vim)
EDIT file start-stop.sh
add in start_daemon function the lines in BLUE :
===================================================
start_daemon () {

[ -e "$rcP" ] || ln -s $PKG_PATH/CONTROL/start-stop.sh $rcP

###
sed -i 's/\"show\":\".*\"/\"show\":\"true\"/g' $PKG_PATH/asportal/plexmediaplayer.json

if [ -e "$ASPORTAL_PATH" ] && [ "Yes" == "$ASPORTAL_STAT" ]; then
$ASPORTAL_PATH/CONTROL/start-stop.sh reload &
fi
ln -s /usr/local/AppCentral/pmp/Qt5.6.1 /opt/
XORG_PATH=/usr/local/AppCentral/xorg
if [ ! -e /usr/share/X11 ] ; then
ln -s ${XORG_PATH}/usr/share/X11 /usr/share/
fi

}
=======================================================================
then in stop_daemon function the unique line in BLUE (in fact not mandatory) :
=======================================================================
stop_daemon () {

[ "`pidof plexmediaplayer`" ] && killall plexmediaplayer

[ -e "$rcP" ] && rm -rf $rcP
###
sed -i 's/\"show\":\".*\"/\"show\":\"false\"/g' $PKG_PATH/asportal/plexmediaplayer.json

if [ -e "$ASPORTAL_PATH" ] && [ "Yes" == "$ASPORTAL_STAT" ]; then
$ASPORTAL_PATH/CONTROL/start-stop.sh reload &
fi
rm -f /opt/Qt5.6.1
rm -f /usr/share/X11
}
==================================================================

Philippe.
NB another error exist but it's a redundant action (plexhometheater in place of plexmediaplayer) in restart choice ... but normally use by no one ...
Last edited by father.mande on Wed Oct 05, 2016 6:47 pm, edited 1 time in total.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
damien599901
Posts: 575
Joined: Mon Dec 30, 2013 2:53 am

Re: [APKG PlexMediaPlayer] ALPHA (need a plex pass)

Post by damien599901 »

Hi Philippe

thank you so much!!!
will you create another package for the "beginners" in Linux ;)

have a nice evening
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
MikeG.6.5
Posts: 917
Joined: Fri May 15, 2015 1:56 am

Re: [APKG PlexMediaPlayer] ALPHA (need a plex pass)

Post by MikeG.6.5 »

No Keyboard was my first thought when I tried it, and no way to exit the app once it started. With pmp on Windows, I know the esc key was the "back" button, and I thought I was going crazy, trying to find a set of batteries for my wireless keyboard... :)

All in all I like it so far! In fact it played a few movies that I couldn't play on my TV for some strange reason. (There was also an update to the PMS app yesterday, so that might have been a fix, too.)

Now what I would like to know, is how to get the PMP into the HX_Engine desktop. I made the administrator's account as per your instructions in previous threads, but still do not have full access rights to the entire drive on the desktop. I can't seem to get higher on the drive levels than the HX_Engine's root level within the desktop.

I had been leaving the Desktop running all the time, because I couldn't get PlexRequest.net or Calibre running outside of it. Somewhat frustrating, to say the least. As long as the desktop is running they work. Exit it, they stop and can't be started without it.
damien599901
Posts: 575
Joined: Mon Dec 30, 2013 2:53 am

Re: [APKG PlexMediaPlayer] ALPHA (need a plex pass)

Post by damien599901 »

already brilliant
the videos are smooth
great job !
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: [APKG PlexMediaPlayer] BETA 1 (need a plex pass)

Post by father.mande »

Hi,

New version (update available BUT read the update section first) 1.1.4-1

APKG :
solved bug (link to keyboard definition)
new : move settings folder to the APKG folder to prevent external destruction ...
now in /usr/local/AppCentral/pmp/home folder
... corresponding link in HOME are created to replace normal folder ...

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: [APKG PlexMediaPlayer v 1.1.6 ] (need a plex pass)

Post by father.mande »

Hi,

Update of Plex Media Player to 1.1.6 (You don't see any Linux directly related (like Ubuntu) it's because NO LINUX VERSION exist ... only hands build like this :lol: :lol: )

APKG change : add support (limited) of Asustor Remote Control (back=escape and arrow + OK=enter )

1.1.5 changes
NEW:
Updated web-client to 2.10.0 which includes fixes for Streaming Brain
Updated LibreELEC to version 7.90.006
Added always on top setting (thanks to Lukas Pitschl)
Enabled power options on Embedded x86 (thanks to Jonathan Leroy)
PMP now selects multi-channel audio over stereo if your system is configured for more channels than 2 in settings.
Add audio_delay.25hz setting for tweaking audio delay for 25hz mode
Add new mode to force 16:9 aspect ratio for 4:3 video
Audio now does not always force upmixing, e.g. playing stereo even if 7.1 is configured. To enable this you need to go and reselect the number of channels in audio configuration.
FIXED:
(Embedded) Linux kernel updated to 4.7.5 for RPi and x86_64
(Embedded) Samba fixes
(Embedded) NVIDIA driver update (legacy to 340.98 and regular to 367.44)
(Embedded) Update to audio drivers
Fixed respawning helper process
Fixed a bug where going into fullscreen could end up in a bad loop
Subtitle selection for vobsubs should now work
Crash fixes
1.1.6 bugs fixes
FIXED:
(Embedded) Fix video playback crashing on Raspberry PI
Fix that PMP did not remember the fullscreen state on Windows
Download link if first post of this topic.
Have fun.

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

Re: [APKG PlexMediaPlayer v 1.1.6 ] (need a plex pass)

Post by damien599901 »

works very well !!!
thank you so much
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
MikeG.6.5
Posts: 917
Joined: Fri May 15, 2015 1:56 am

Re: [APKG PlexMediaPlayer v 1.1.6 ] (need a plex pass)

Post by MikeG.6.5 »

OK, got ASPortal going again, finally. Took a TeamViewer session from Asustor Tech Support, to find out the driver was locked up0 somehow.

So back to some serious testing of PMP. Running it from within the HX_Engine Desktop, PMP uses about 20-30% system resources of one core (4 on this model) to Direct Play a 1080p movie or episode. This is according to NetData's tracking, at least. I'm going to try it within ASPortal too, to see if the results are similar.

I just figured out today, after messing with ASPortal the last couple of days, that it may be possible to start HX_Engine on a system boot. The option is in the ADM -> Portal app to pick a default application on portal startup... Will try messing with it to see what happens.

So far I'm really start to love this. I can remote into the PMP from my tablet to control what I'm watching, or start a VNC session from the computer, or go to the TV and do things on it via keyboard/mouse... This is, for lack of a better term, EXCITING!

What this means to anyone running a 64-bit model is, now they can use the PMP for their full blown HTPC now. The NAS can run PMS and PMP, and in theory still be able to run most everything people could run. I would expect that Direct Play would be even more important than most other situations for smaller models.

Asustor needs to get all in on this, IMO. XBMC being dead, this opens a whole new world of options!
Post Reply

Return to “PMP (PlexMediaPlayer)”