Holy Snail Player v0.11
=======================

A light, fast, always-on-top audio player for Windows 10 and 11 (x64). One
small exe (1,018,368 bytes, under 1 MB): no installer, no DLLs of its own, no
runtime to install. It opens in about 30 ms and uses no CPU while paused.

Bug reports and feature requests: contact@holysnail.org


Install
-------
None. Put HolySnailPlayer.exe in any folder and run it.

Before the first run, check the download: compare its SHA-256 checksum with
the published one and scan it for viruses. CHECKING-DOWNLOADS.txt shows how;
both take about a minute.

Windows may show a SmartScreen warning the first time, because the exe is not
code-signed: choose "More info", then "Run anyway".

To remove the player, delete the exe and the folder
%LOCALAPPDATA%\HolySnailPlayer.


What it plays
-------------
- Music files: MP3, WAV, FLAC, M4A (AAC and Apple Lossless) and WMA
  (Standard, Pro, Lossless and Voice). Tracks play gaplessly. Titles come
  from the files' tags, including legacy Cyrillic tags.
- Audiobooks and long files: M4B and long MP3s. Chapters show as ticks on the
  seek bar and in a Chapters menu, and Prev/Next move by chapter. Tracks of 20
  minutes or more resume where you left them.
- Internet radio: MP3 and AAC streams (AAC+ and AAC+ v2 too), plus .pls and
  .m3u station links. Song titles show as they change. Pause on a station
  keeps buffering, so Play carries on from where you paused.
- Podcasts: add a feed's address and its episodes appear in the list.
  Episodes stream without downloading, resume where you left them, and get a
  check mark once heard.
- Audio CDs: track titles from CD-Text where the disc has it, played
  gaplessly from the drive.


Using it
--------
The buttons along the top are Open folder, Prev, Play/Pause, Next, Shuffle
and Repeat (off, all, one), with the volume slider on the right and the list
button, Mini mode and Pin (always on top) by the title. The list button hides
the track list, leaving only the controls, and shows it again at its old
height. Double-click a track to play it. The mouse wheel changes the volume
anywhere outside the list. You can also drop a file or folder on the window.

Right-click anywhere for the menu:

  Open folder..., Rescan, Include subfolders
      Choose the folder to play and whether its subfolders count.
  Radio
      Your stations; Add station..., Find stations online... (opens
      radio-browser.info) and Remove.
  Podcasts
      Your podcasts; Add podcast..., Find podcasts online... (opens
      podcastindex.org) and Remove.
  Audio CD
      One entry per CD drive; choose one to list and play its disc.
  Chapters
      Jump to a chapter of the current file.
  Audiobook mode
      Switches to a separate list holding one book: open a folder, drop a
      file, or use "Open book file...". Turning it off returns to the music
      list; each list stays paused where you left it. In this mode jumps ask
      first, a listening log keeps your place, and "Back to" undoes the last
      jump. Radio, Podcasts and Audio CD belong to the music list.
  Remove "track" from the list
      Shown when you right-click a track. Takes it out of the list until the
      next rescan or restart; the file itself is untouched.
  Always on top, Mini mode, Opacity
      Window behavior; Mini mode shrinks the window to one row.

The keyboard media keys and the Windows media flyout work through the system
media controls. The player has no keyboard shortcuts of its own, by design.
Tab moves between the controls.

Starting the exe a second time hands any files to the window that is already
open. The window, folder, track and position come back at the next start.


Settings
--------
Settings live in %LOCALAPPDATA%\HolySnailPlayer\settings.ini (a UTF-16 INI
file), with the Audiobook mode listening log, listening.log, next to it.


New in v0.11
------------
- Internet radio plays AAC stations: AAC, AAC+ (HE-AAC) and AAC+ v2, with
  song titles, pause as time-shift and reconnects, as for MP3 stations.
- Plays Apple Lossless (ALAC) files in .m4a and WMA files (Standard, Pro,
  Lossless and Voice), with their titles; WMA podcast episodes play too.
  Protected (DRM) files are refused with a message.
- Radio stations at low bitrates start sooner (a 32 kbps station took 2 s).
- Gapless playback of M4A files: the last frame or two of a track was cut.
- A list button by the title hides the track list in the full window,
  leaving only the controls, and shows it again. The choice is kept for the
  next start.


New in v0.1
-----------
First release.

- Plays MP3, WAV, FLAC, M4A and M4B from a folder, gaplessly, with shuffle,
  repeat, a seek bar and volume; always on top, mini mode and opacity; the
  keyboard media keys and the Windows media flyout.
- Long files resume where you left them (20 minutes or more); chapters from
  ID3 and M4B show in the title, on the seek bar and in a Chapters menu.
- Audiobook mode: a separate list holding one book (a folder or a single
  file). Turning the mode on or off switches between the book and the music
  list, each paused where it was left. Jumps ask first, a listening log keeps
  the place even after a crash, and "Back to" undoes the last jump.
- Internet radio (MP3 streams, .pls and .m3u links) with pause as
  time-shift; podcasts from RSS feeds, streamed, with resume and heard marks;
  audio CDs with CD-Text.
- "Find stations online..." and "Find podcasts online..." open
  radio-browser.info and podcastindex.org.
- Right-click a track to remove it from the list for the session.


Known limits
------------
- The exe is not code-signed, so Windows SmartScreen may warn the first time
  it runs.
- Radio plays MP3 and AAC (ADTS) streams; Ogg, HLS and WMA streams are not
  supported. M4A and WMA files and AAC stations need the Media Feature Pack
  on Windows N editions (not tested). Multichannel files were not tested.
- WMA seeks land within a millisecond of the spot, not on the exact sample
  (WMA files time their audio in whole milliseconds).
- A refused radio connection takes about 26 seconds to give up. Swapping one
  CD for another without choosing the drive again plays the new disc under
  the old titles.
- No keyboard shortcuts, by design (the media keys work).

Tested on Windows 11 Pro (x64). Windows 10 should work but was not tested.


Downloads and documents
-----------------------
Holy Snail Player comes as three downloads, each with a SHA-256 checksum next
to it:

  HolySnailPlayer.exe                      the program, ready to run
                                           (1,018,368 bytes)
  HolySnailPlayer-v0.11-docs.zip           these documents
  HolySnailPlayer-v0.11-source.zip         the complete source code

The documents:

  README.txt                 this guide
  CHECKING-DOWNLOADS.txt     how to check that a download is genuine and
                             scan it for viruses
  DEVELOPERS.txt             how to build and test, and how the program is
                             put together
  LICENSE.txt, NOTICE.txt    the license (Apache License 2.0) and the
                             attribution notice
  TRADEMARKS.txt             the name and the snail icon are not covered by
                             the code license
  THIRD-PARTY-NOTICES.txt    third-party code, its licenses, and every
                             component the program depends on


Contact
-------
Bug reports and feature requests: contact@holysnail.org
Please mention your Windows version and, for a playback problem, the kind of
file or the station or feed address.
