Syncplay / syncplay

Client/server to synchronize media playback on mpv/VLC/MPC-HC/MPC-BE on many computers
http://syncplay.pl/
Apache License 2.0
2.1k stars 214 forks source link

[OS X] Can't add files to shared playlist. #146

Closed Duamer closed 6 years ago

Duamer commented 6 years ago

This problem occurred in two different systems I have. A clean slate system that only had Syncplay installed and my main, lived-in system.

I can'd add files to the shared playlist. Neither drag-and-drop, nor right-click, "Add file(s) to bottom of playlist" function. I momentarily see a files browser window pop up when I right-click. I can add URLs to the playlist and they work as they should. I've setup the media directories and had a different user make the playlist and that works as well.

albertosottile commented 6 years ago

Confirmed. Looking for a workaround. Thanks.

albertosottile commented 6 years ago

If you have time, please test the workaround that I have just pushed to my branch: https://github.com/alby128/syncplay . Right now, I tested it on 10.12.6 and it works for me. EDIT: please keep in mind that it requires to install pyobjc (e.g. pip install pyobjc).

Duamer commented 6 years ago

How do I install pyobjc with homebrew? I used the homebrew method of your directions.

Incase that's not what's causing my error, here's what I got:

users-iMac:syncplay user$ python2 syncplayClient.py 2017-09-15 19:22:39.429 Python[628:5526] modalSession has been exited prematurely - check for a reentrant call to endModalSession: Traceback (most recent call last): File "syncplayClient.py", line 19, in SyncplayClientManager().run() File "/Users/user/syncplay/syncplay/clientManager.py", line 9, in run interface = ui.getUi(graphical=not config["noGui"]) File "/Users/user/syncplay/syncplay/ui/init.py", line 9, in getUi ui = GraphicalUI() NameError: global name 'GraphicalUI' is not defined Segmentation fault: 11

albertosottile commented 6 years ago

To install pyobjc on your homebrew, just run pip2 install pyobjc. However, I have to admit that your error message puzzles me a little... How did you get it? When you tried to add something to a shared playlist?

Duamer commented 6 years ago

Looks like that fixed it. I'll be able to test it by Monday to see if it works with other users in the room.

I got that error when I clicked "Store configuration and run Syncplay."

Forgot to mention, I'm running 10.11.6.

albertosottile commented 6 years ago

@Duamer Did you test this fix with other users?

Duamer commented 6 years ago

Testing now and it looks good. I was able to setup the room and the order user joined. Works like it does when I was using the windows client.

albertosottile commented 6 years ago

@Duamer Thanks, but please reopen this, as it has only been fixed in my fork. To fix it here, we still need to merge the PR #148 .