Home

Awesome

Instructions and scripts for installing kawaii-player on Raspberry Pi with some other miscellaneous scripts and configs.

Making Raspberry Pi 4 (with Debian Buster) into a casting device with kawaii-player

  1. ssh into Raspberry Pi (RPi) then execute following instructions for installing kawaii-player on it.

     $ git clone https://github.com/kanishka-linux/rpi-utilities
     $ cd rpi-utilities
     $ chmod +x rpiscript.py
     $ ./rpiscript.py
     
     with latest mpv on debian bullseye
    
     $ ./rpiscript mpv-latest
             
    
  2. Note down local http address which will be printed on the terminal at the end of above step. It will be of the format http://ip:port (e.g. http://192.168.1.1:9001)

  3. Disable xcompmgr on RPi using raspi-config, otherwise it will cause screen tearing when playing video.

  4. Edit /etc/dphys-swapfile and increase swap value CONF_SWAPSIZE=1024

    • Default swap value is 100, set this value to 1024. It is necessary for Rpi with 1 GB memory.
    • For 2 GB or higher memory it is not required.
  5. $ sudo reboot : reboot to apply changes

  6. Now install kawaii-player on any other computer (GNU/Linux, OSX or Windows). We'll call this computer Master PC, from which we'll cast videos to RPi

    • Enable Media Server on the Master
    • Set Preferences->PC-To-PC Casting -> Master, which will add new menu PC To PC Casting to the playlist context menu.
    • From the newly added context menu, setup Slave IP Address (i.e. add address of RPi which one has noted down in step 2).
    • Once slave ip addres has been setup on the master, one can cast any video/audio/playlist from library of the master to Rpi, using the same context menu.
    • For more information on PC-To-PC Casting in the context of kawaii-player, visit this link

Any Advantage of using RPi and kawaii-player instead of regular casting device?

How to reinstall kawaii-player in case of some problems in the initial installation?

More settings

Is it possible to install kawaii-player on RPi 3 models?