Skip to content

Kantahe v1.2.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 00:53
· 7 commits to master since this release

Kantahe is a self-hosted karaoke server: one program with its web app inside. Upload your own .kar and .karmp3 songs, sign in with email and password, and sing from a browser, a phone or a TV. Kantahe ships no songs.

New in 1.2.0

Made for the phone

  • A bottom menu on phones. On a phone the main menu is a bar at the bottom of the screen, in reach of the thumb: Library, Queue, Player, Me (and Admin for administrators), each with a small picture and its name. On a wider screen it is a row of tabs under the name Kantahe. The theme choice and Sign out moved to Me › Appearance and account, which gives the top of a phone screen back to your songs.
  • Install Kantahe on your phone. The web app can be put on the home screen and opens full screen. On Android a bar at the top offers Install (also Me › Install the app). On an iPhone the bar explains the three steps: Share, Add to Home Screen, Add. The page must be opened with https://.
  • Songs stay on the device. A screen that plays songs keeps the ones it has played, and fetches the next song in the queue while the current one plays, so the next song starts at once. The oldest songs are removed first and room is always left for other apps. Me › Devices shows what is kept and can turn it off or clear it. A browser that opens the server through a plain http address cannot keep songs; the phone and TV apps can.

Songs and the library

  • W and L badges. Next to MP3 or MIDI, a W says the lyrics are timed word by word and an L says line by line. Songs made with Kantahe Maker 1.2.6 say so in their .nfo; for the others Kantahe reads it from the lyrics. A one-line legend sits under every song list, and Me › Help explains the badges.
  • Filters and sorting for administrators. Admin › Songs filters by format, by guide vocals and by lyric timing, and every column header sorts. On a phone a Sort by box does the same.
  • Only administrators upload songs. Upload is now a page of Admin. In Admin › Songs an administrator can also download a song file and replace it. The old Uploader switch of a user has no effect any more and is gone from the page.
  • The Library has Search and Number. The Browse tab is gone, in the web app and in the phone app.
  • Play next. In the ⋯ menu of a song, Play next puts it right after the song that is playing, ahead of what was queued, and offers Undo.
  • Undo for a favourite. Taking a song off your favourites offers Undo for a few seconds. Favourites, playlists and history only remove a song from that list: they never delete it from the library.

Move a whole server

  • Admin › Transfer. Export a server into a folder on its disk, copy the folder to another machine, and import it there: users and their passwords, queues, history, favourites, playlists, settings, edited titles, every song (the songs of watched folders and the guide vocals included) and the background videos. Check shows what the folder holds before anything changes; Replace everything on this server then restarts the server by itself and keeps the old database in backups/before-import-DATE. With Docker the folder must be a mounted one. --transfer-root FOLDER (or KANTAHE_TRANSFER_ROOT) limits where exports and imports may read and write. The folder holds password hashes: keep it private and delete it after the move. See the administrator guide.

Easier to use

  • Buttons you can tell apart. The main action of an area is filled, the others are outlined, anything that removes something is red, and Cancel and Close are quiet. Song rows keep the star in place and put the other actions in a ⋯ menu, so a row is one line on a phone. Dropdowns and checkboxes now look like the text boxes, in both themes.
  • Menus that look like menus. The menus of Me and Admin are tabs like the Library's, and Approve a TV is a page of Me, with the menu around it. New user opens in its own window instead of a form under the table.
  • Me › Devices. Each device is one line that opens on demand, and devices that have been offline for a long time can be removed together.
  • Help and shortcuts. Me › Help is the short version of the user guide inside the app. On a computer, single keys work: Space or K play or pause, N skip, F full screen, + and − volume, V guide vocals, / the search box and ? the list. They can be turned off in Me › Appearance and account.
  • The player. The artist, the time and the status line are centred, the buttons are smaller, and the messages no longer cover Skip and the volume. The shortcuts do nothing behind the score screen.
  • Copyright and version. The last line of every page, and of the phone app's screens, shows the copyright and the version of the server (for example Kantahe 1.2.0). Say it when you ask for help.

Accessibility

  • An automated check (axe-core) of every page, on a phone and on a desktop, in both themes, now runs with the tests and finds no violation of WCAG 2.2 level AA. A name read by a screen reader starts with the words you see on the button, the badges W, L and V announce what they mean, a focused control is never hidden behind the bottom menu, and every page has one main area and a skip link.

Faster and smaller

  • The server compresses its text responses, so a plain install without a reverse proxy sends the web app compressed. Pages carry a description for link previews.

Fixed

  • The clock and lyrics of a TV froze while the music played, after a player screen had been closed.
  • The guide vocals could come late on songs whose music played straight from the page.
  • A song that was kept on a device competed with the song being played for bandwidth on its first play.
  • An export or an import that ran out of disk space was reported as an internal error; it now says so.

Good to know

  • Make a backup before you upgrade. Replace the program or pull the new image; the database is upgraded when the server starts (it gains the lyric timing of every song). Going back to 1.1.x is done by restoring the backup. An export from Admin › Transfer is a backup too.
  • Songs you uploaded before keep their files and numbers. Only administrators can upload from now on, so give the Admin role to the people who add songs.
  • The iPhone steps for installing the app are in the app and the user guide but have not been tried on a real iPhone yet, and the song cache has not been checked on a Samsung or an LG TV. Please tell us if something does not work.
  • Kantahe Maker 1.2.6 writes the Timing by row that the W and L badges read; older .karmp3 files keep working.

Downloads

One file per system, named kantahe-v1.2.0-OS-ARCH for linux, darwin (macOS) and windows (the Windows files end in .exe), each for amd64 and arm64, and SHA256SUMS with the checksum of each file. Check the file you downloaded with sha256sum -c --ignore-missing SHA256SUMS. The programs are not signed: on macOS run sudo xattr -c on the file after you download it, and Windows may show a SmartScreen warning. A multi-arch Docker image is on ghcr.io: ghcr.io/andrewloable/kantahe:v1.2.0 (latest follows it). Start the program you downloaded: it listens on port 8080 and creates its data folder; open http://localhost:8080 and create the first account, which becomes the administrator. The installation guide covers the data and library folders, Docker, services and a reverse proxy.

Full changelog: v1.1.0...v1.2.0