HPlayer2 icon indicating copy to clipboard operation
HPlayer2 copied to clipboard

Is it starting or bugging ?

Open siteswapjuggler opened this issue 5 years ago • 1 comments

Hello this is what I get when I start HPlayer2 via SSH (RPi3, Raspbian stretch, Openframeworks installed) :

`HPlayer2: loading default profile...

HPlayer2 basepath: /home/mgr/Videos HPlayer2 settings: /home/mgr/hplayer2.cfg HPlayer2 IP for eth0 is 192.168.1.24 HPlayer2 started.. Welcome !

OSC -myPlayer- sending to 127.0.0.1 on port 4000 OSC -myPlayer- receiving on port 4000 HTTP -myPlayer- listening on port 8080 MPV -myPlayer- connected to player backend Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner self.run() File "/usr/lib/python3.5/threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "/home/pi/HPlayer2/core/players/mpv.py", line 119, in _mpv_communicate if 'name' in mpvsays: UnboundLocalError: local variable 'mpvsays' referenced before assignment`

I don't even know if i works as nothing appear on the HDMI screen and I found no documentation to know what to go from there.

siteswapjuggler avatar Aug 21 '19 23:08 siteswapjuggler

Hi Sylvain, i am just back from vacations,

it doesn't seems to work but you did not create a viable profile to launch, so it is using the default one which looks to be broken (you can see it is using paths like /home/mgr which is my user on my linux machine).

I did not take time to clean the documentation, exemples and default profiles recently.

I see you are based in France as i am, we could communicate directly in french via email: [email protected]

As a side note: HPlayer2 is not using Openframeworks, it is fully writen in Python3 and bind to MPV binary using IPC (using Unix pipes). You can see there is a Python error at line 119 in file "/home/pi/HPlayer2/core/players/mpv.py" The error is: variable 'mpvsays' referenced before assignment

I will try to check this soon.

Best,

Le jeu. 22 août 2019 à 01:15, Sylvain GARNAVAULT [email protected] a écrit :

Hello this is what I get when I start HPlayer2 via SSH (RPi3, Raspbian stretch, Openframeworks installed) :

`HPlayer2: loading default profile...

HPlayer2 basepath: /home/mgr/Videos HPlayer2 settings: /home/mgr/hplayer2.cfg HPlayer2 IP for eth0 is 192.168.1.24 HPlayer2 started.. Welcome !

OSC -myPlayer- sending to 127.0.0.1 on port 4000 OSC -myPlayer- receiving on port 4000 HTTP -myPlayer- listening on port 8080 MPV -myPlayer- connected to player backend Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner self.run() File "/usr/lib/python3.5/threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "/home/pi/HPlayer2/core/players/mpv.py", line 119, in _mpv_communicate if 'name' in mpvsays: UnboundLocalError: local variable 'mpvsays' referenced before assignment`

I don't even know if i works as nothing appear on the HDMI screen and I found no documentation to know what to go from there.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Hemisphere-Project/HPlayer2/issues/9?email_source=notifications&email_token=AAFLNQLSQVQZYV3X4XJBSNDQFXD7XA5CNFSM4IOPFR2KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGUSSJA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFLNQMCZCUNJH6QFVFLXALQFXD7XANCNFSM4IOPFR2A .

-- http://www.hemisphere-project.com/

Maigre avatar Sep 02 '19 15:09 Maigre