Development

Phantom-Player is coded in Python*, so it is actually pretty easy to develop. It is only necessary to install VLC, GTK, a few Python dependencies, and it will run out of the box.

*There is also a C version, of the player, but for the moment it is just to experiment.

GNU-Linux

  1. Download the master branch.
  2. Install the dependencies:
    • Debian / Ubuntu

      apt-get install libgtk-3-0 python3 python3-gi-cairo python3-pil python3-magic python3-send2trash python3-vlc
      Note: python3-vlc must be >= 3.0.2, so currently it is not possible to use the software on Debian bookworm.
    • ArchLinux

      pacman -S gtk3 python python-cairo python-pillow python-magic python-send2trash
      and python-vlc from the AUR.

  3. Run main.py

Windows

  1. Download the master branch.
  2. Install MSYS2.
  3. Install the dependencies from the MSYS2 console:
    pacman -S \
        mingw-w64-ucrt-x86_64-gtk3 \
        mingw-w64-ucrt-x86_64-python \
        mingw-w64-ucrt-x86_64-python-pip \
        mingw-w64-ucrt-x86_64-python-gobject \
        mingw-w64-ucrt-x86_64-python-pillow \
        mingw-w64-ucrt-x86_64-file \ 
        mingw-w64-ucrt-x86_64-python-send2trash \
        

    python -m pip install python-magic python-vlc

  4. Install Vlc x64 under C:\Program Files\VideoLAN
  5. Run main.py with Python of the MSYS2 UCRT directory.

Mac

To be tested.