

return 0 return orig_is_system_dll(_pathname) # return the orginal function py2exe.build_exe.isSystemDLL = isSystemDLL # override the default function with this one class pygame2exe( py2exe.build_exe.py2exe): #This hack make sure that pygame default font is copied: no need to modify code for specifying default font def copy_extensions( self, _extensions): #Get pygame default fontĬlass BuildExe: def _init_( self): #Name of starting.

Orig_is_system_dll = py2exe.build_exe.isSystemDLL # save the orginal before we edit it def isSystemDLL( _pathname): # checks if the freetype and ogg dll files are being included if os.path.basename(_pathname).lower() in ( "libfreetype-6.dll", "libogg-0.dll", "sdl_ttf.dll"): # "sdl_ttf.dll" added by arit. Py2exe.build_extensions(self, extensions) Pygame_default_font = os.path.join(pygamedir, _default_font())Įxtensions.append(Module( "pygame.font", pygame_default_font)) Pygamedir = os.path.split(pygame.base._file_) return 0 return origIsSystemDLL(pathname) # return the orginal function py2exe.build_exe.isSystemDLL = isSystemDLL # override the default function with this one class pygame2exe( py2exe.build_exe.py2exe): #This hack make sure that pygame default font is copied: no need to modify code for specifying default font def copy_extensions( self, extensions): #Get pygame default font OrigIsSystemDLL = py2exe.build_exe.isSystemDLL # save the orginal before we edit it def isSystemDLL( pathname): # checks if the freetype and ogg dll files are being included if os.path.basename(pathname).lower() in ( "libfreetype-6.dll", "libogg-0.dll", "sdl_ttf.dll"): # "sdl_ttf.dll" added by arit. Raise SystemExit, "Unable to load module. Py2exe.build_extensions(self, _extensions)Ĭlass BuildExe: def _init_( self): #Name of starting. _extensions.append(Module( "pygame.font", pygame_default_font)) #Add font to list of extension to be copied

Pygame_default_font = os.path.join(pygame_dir, _default_font()) Pygame_dir = os.path.split(pygame.base._file_) Py2exe.build_exe.isSystemDLL = isSystemDLL # override the default function with this one class pygame2exe( py2exe.build_exe.py2exe): #This hack make sure that pygame default font is copied: no need to modify code for specifying default font def copy_extensions( self, _extensions): #Get pygame default font return 0 return orig_is_system_dll(_pathname) # return the orginal function #hack which fixes the pygame mixer and pygame font
#Syncplay safe license#
A copy of this license is included in the LICENSE file of this repository. Syncplay is an open-source app that you can use to sync media players like VLC on your computer. This project, the Syncplay released binaries, and all the files included in this repository unless stated otherwise in the header of the file, are licensed under the Apache License, version 2.0.
#Syncplay safe software#
Syncplay also includes text-based chat so you can discuss a video as you watch it (or you could use third-party Voice over IP software to talk over a video). When a new person joins they will also be synchronised. This means that when one person pauses/unpauses playback or seeks (jumps position) within their media player then this will be replicated across all media players connected to the same server and in the same 'room' (viewing session). Syncplay synchronises the position and play state of multiple media players so that the viewers can watch the same thing at the same time. Solution to synchronize video playback across multiple instances of mpv, VLC, MPC-HC, MPC-BE and mplayer2 over the Internet.
